Skip to content
No description, website, or topics provided.
JavaScript TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
src
.gitignore
.npmignore
LICENSE
README.md
package.json
tsconfig.json
tslint.json
webpack.config.js
yarn.lock

README.md

neo-dapi

A standalone bundle for interfacing with the NEO blockchain

Installation

In a browser - cdn

<script src="https://cdn.jsdelivr.net/npm/neo-dapi@2.0.4/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

You can’t perform that action at this time.