Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.59 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.59 KB

Blockchain API Library (Node, v1)

An official Node module for interacting with the Blockchain.info API.

Getting started

Installation via NPM:

$ npm install blockchain.info
var blockchain = require('blockchain.info');

Callback functions

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 };

Documentation

This module consists of these sub-modules: