A standalone bundle for interfacing with the NEO N3 blockchain
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/neo3-dapi.min.js"></script>
window.neo3Dapi
npm i --save neo3-dapi
or
yarn add neo3-dapi
var neo3Dapi = require('neo3-dapi');
import neo3Dapi from 'neo3-dapi';
The following is an example of requesting the balances for a specific address.
import neo3Dapi from 'neo3-dapi';
neo3Dapi.getBalance([{
address: 'NfuwpaQ1A2xaeVbxWe8FRtaRgaMa8yF3YM',
contracts: ['NEO'],
}])
.then(balances => console.log(balances));