chain-unofficial
v1.4.0
Published
a wrapper around chain's api. Conforms to a standard derived from bitcoind and common-blockchain
Downloads
25
Readme
chain-unofficial
Installation
you can install the npm module here
npm install chain-unofficial
See abstract-common-blockchain for API
Chain's Abstract Common Blockchain Coverage
Use this link to see what Chain supports
Convention
Standard convention is described fully in the types.json file in the link above.
Usage
simply require the npm module at the top of the file
var chain = require('chain-unofficial');
you may specify the options you wish to make a call like so:
var chainClient = chain({
network: "bitcoin",
key: "your chain api key",
secret: "your chain api secret"
});
//example call
chainClient.Addresses.Unspents(["address 1", "address 2", ...], callback);
alternatively you can check out the comments above each function in lib if you wish to understand what each function expects and returns.
Maintainers
- Andrew Malta: [email protected]
- Howard Wu: [email protected]