Skip to content

Wrapper around blockcypher's api. Conforms to standards mainly set forth by bitcoind.

Notifications You must be signed in to change notification settings

andrewmalta13/blockcypher-unoffical

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blockcypher-unofficial

Installation

you can install the npm module here

npm install blockcypher-unofficial

See abstract-common-blockchain for API

BlockCyphers's Abstract Common Blockchain Coverage

Use this link to see what BlockCypher 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 blockcypher = require('blockcypher-unofficial');

##Networks This adapter supports testnet, mainnet, and blockcyphers testnet. You may access each network by setting the network option to one of these options:

testnet3: "testnet", Blockcypher's testnet: "blockcypher-testnet", mainnet: (anything but other two)

you may specify the options you wish to make a call like so:

var client = blockcypher({
  network: "testnet"
});

//example call
client.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

About

Wrapper around blockcypher's api. Conforms to standards mainly set forth by bitcoind.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published