dashcore-explorers

1.0.10 • Public • Published

Blockchain APIs for bitcore DASH

NPM Package

A module for dashcore that implements HTTP requests to different Web APIs to query the state of DASH blockchain.

Changes

Module updated to use current API version of Insight

Axios module used instead of deprecated Request.

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 dashcore-explorers
bower install dashcore-explorers

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

var explorers = require('dashcore-explorers');
var insight = new explorers.Insight();

insight.getUtxos('Dash...', function(err, utxos) {
  if (err) {
    // Handle errors...
  } else {
    // Maybe use the UTXOs to create a transaction
  }
});

License

Code released under the MIT license.

Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

Readme

Keywords

Package Sidebar

Install

npm i dashcore-explorers

Weekly Downloads

1

Version

1.0.10

License

MIT

Unpacked Size

59.4 kB

Total Files

25

Last publish

Collaborators

  • kutuk