npm

Need private packages and team management tools?Check out npm Orgs. »

ont-dapi

1.0.2 • Public • Published

ont-dapi

A standalone bundle for interfacing with the Ontology blockchain

Usage

In a browser - cdn

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

Install via npm npm version

npm i --save ont-dapi

or

yarn add ont-dapi
var ontDapi = require('ont-dapi');

import ontDapi from 'ont-dapi';

Example

import ontDapi from 'ont-dapi';

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

install

npm i ont-dapi

Downloadsweekly downloads

1

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability