blockchain / Api V1 Client Node
Licence: mit
Blockchain Bitcoin Developer APIs - NodeJS
Stars: ✭ 302
Programming Languages
javascript
184084 projects - #8 most used programming language
Blockchain API Library (Node, v1)
An official Node module for interacting with the Blockchain.info API.
Getting Started
Installation via npm:
$ npm install --save blockchain.info
Importing:
var blockchain = require('blockchain.info')
Responses
All functions in this module return a JavaScript promise for handling asynchronous actions.
Submodules
This module consists of these submodules:
-
MyWallet
- Interact with or create a Blockchain Wallet -
blockexplorer
- View data for addresses, blocks, transactions, and more -
exchange
- Get real-time bitcoin exchange rates -
pushtx
- Push custom transactions -
Receive
- Receive notifications for payments -
Socket
- Live notifications for transactions and blocks -
statistics
- Fetch historical blockchain data and statistics
You can access sub-modules from the properties of the imported main module, or by importing them individually.
Individual import:
var MyWallet = require('blockchain.info/MyWallet')
Property import:
var MyWallet = require('blockchain.info').MyWallet
Testnet Support
This library supports Testnet for the blockexplorer
, pushtx
, and Socket
modules.
You can find examples of how to use each in the specific modules README file.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].