An official Node module for interacting with the Blockchain.info API.
Installation via NPM:
$ npm install blockchain.info
var blockchain = require('blockchain.info');
Callback functions are passed two parameters:
- An error parameter (string or null) in the event that an error occurs
- A data parameter (json object, unless stated otherwise) carrying the response
Example:
var callback = function(error, data) { // Do something };
This module consists of these sub-modules:
blockexplorer
(docs) (Block Explorer API)CreateWallet
(docs) (CreateWallet API)exchangerates
(docs) (Exchange Rates API)MyWallet
(docs) (MyWallet API)pushtx
(docs) (pushtx)Receive
(docs) (Receive API)statistics
(docs) (Statistics API)