etcchain-node

1.0.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i etcchain-node

Weekly Downloads

1

Version

1.0.1

License

GPLv3

Unpacked Size

37.9 kB

Total Files

5

Last publish

Collaborators

  • heroas