1.0.1 • Published 6 years ago
etcchain-node v1.0.1
etcchain-node
Embarrassingly simple api wrapper for EtcChain api.
Using EtcChain api v1. Get official documentation from here.
Install
npm install --save etcchain-node
Importing
var ETCCHAIN = require('etcchain-node');
var etcchainApi = new ETCCHAIN();
Methods
getBalance
Usage:
etcchainApi.getBalance(address)
Get ETC Balance for a single Account
getTransactionsByAddress
Usage:
etcchainApi.getTransactionsByAddress(address, page, offset, sort)
Get a list of Account Transactions
getIndex
Usage:
etcchainApi.getIndex()
ETC Index