altcoin-explorers

0.0.5 • Public • Published
bitcore explorers # Blockchain APIs for bitcore

NPM Package

A module for altcoin-lib that implements HTTP requests to different Web APIs to query the state of the blockchain.

Getting started

Be careful! When using this module, the information retrieved from remote servers may be compromised and not reflect the actual state of the blockchain.

npm install hushcore-explorers
 

At the moment, only Insight is supported, and only getting the UTXOs for an address and broadcasting a transaction.

var explorers = require('hushcore-explorers');
var insight = new explorers.Insight();
 
insight.getUtxos('Wallet Number', function(err, utxos) {
  if (err) {
    // Handle errors...
  } else {
    // Maybe use the UTXOs to create a transaction
  }
});

IT'S FORK

Original: bitcore-explorers I don't support this package

Readme

Keywords

Package Sidebar

Install

npm i altcoin-explorers

Weekly Downloads

2

Version

0.0.5

License

MIT

Last publish

Collaborators

  • chitkiu