Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blockhain.info

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockhain.info

A Node implementation for accessing the Blockchain.info API.

  • 2.12.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
0
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 01 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc