Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 894 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 894 Bytes

neo3-dapi

A standalone bundle for interfacing with the NEO N3 blockchain

Installation

In a browser - cdn

<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/neo3-dapi.min.js"></script>
window.neo3Dapi

Install via npm npm version

npm i --save neo3-dapi

or

yarn add neo3-dapi
var neo3Dapi = require('neo3-dapi');

import neo3Dapi from 'neo3-dapi';

Usage Example

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));

Documentation