Skip to content
NodeJS library for Blockonomics
Branch: master
Clone or download
Pull request Compare This branch is 12 commits ahead of sgsshankar:master.
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.
test Deleting app.js Apr 30, 2019
.gitignore Initial Commit Oct 20, 2016
LICENSE
README.md Creating script for runnning test cases. Apr 29, 2019
blockonomics.js Setting appropriate(exception) http response status when blockonomics… Apr 27, 2019
config.js Implementing unit test cases. Fixing issues with new address creation. Apr 17, 2019
package.json Updating package.json. Apr 30, 2019
run-tests.js

README.md

blockonomics-node

Nodejs Library for blockonomics

Installation

npm install blocknomics

Instance

var blockonomics = require('blockonomics');

Usage

blockonomics.method(<args>).then(function(response) {
		//Results here
	});

Methods

Refer to the Blockonomics API to know about each output and explanation

getBalance(address)
getHistory(address)
getTransactionDetail(txid)
getTransactionReceipt(txid, address)
getBalance(APIKEY)
insertAddress(APIKEY, addr, tag)
deleteAddress(APIKEY, addr)
getNewAddress(APIKEY, reset, match_account)

Development

Feel free to fork from blockonomics-node

Issues

https://github.com/blockonomics/blockonomics-node/issues

Running test cases

Global Package

$ blockonomics-run-tests

Local cloned repo

$ npm test

You can’t perform that action at this time.