Skip to content

O3Labs/neo-dapi

Repository files navigation

neo-dapi

A standalone bundle for interfacing with the NEO blockchain

Installation

In a browser - cdn

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

Install via npm npm version

npm i --save neo-dapi

or

yarn add neo-dapi
var neoDapi = require('neo-dapi');

import neoDapi from 'neo-dapi';

Usage Example

The following is an example of requesting the balances for a specific address.

import neoDapi from 'neo-dapi';

neoDapi.getBalance({
  params: [{address: 'AScKxyXmNtEnTLTvbVhNQyTJmgytxhwSnM'}],
  network: 'MainNet',
})
.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