Notorious Preying Mantis
Publish your own packages to the world's most popular software ecosystem with npm Pro.Get started »

neo-dapi

2.0.4 • Public • Published

neo-dapi

A standalone bundle for interfacing with the NEO blockchain

Usage

In a browser - cdn

<script src="https://cdn.jsdelivr.net/npm/neo-dapi/lib/neo-dapi.min.js"></script>
window.o3dapiOntClient

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

Example

import neoDapi from 'neo-dapi';

neoDapi.getBalance({
  params: [{address: 'AScKxyXmNtEnTLTvbVhNQyTJmgytxhwSnM'}],
  network: 'MainNet',
})
.then(balances => console.log(balances));

Keywords

Install

npm i neo-dapi

DownloadsWeekly Downloads

2

Version

2.0.4

License

MIT

Unpacked Size

541 kB

Total Files

11

Last publish

Collaborators

  • avatar