Skip to content

O3Labs/neo3-dapi

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published