Blockchain APIs for bitcore
JavaScript HTML
Latest commit 1f1334f Dec 19, 2016 @matiu matiu committed on GitHub Merge pull request #35 from maraoz/master
Add getTransaction endpoint, upgrade to bitcore-lib 0.13.14, rename getUnspentUtxos to getUtxos
Permalink
Failed to load latest commit information.
docs format Oct 20, 2015
lib
test add getTransaction endpoint, upgrade to bitcore-lib 0.13.14 Dec 16, 2016
.coveralls.yml Add coveralls Jan 15, 2015
.gitignore Initial commit Jan 14, 2015
.jshintrc Move to bitcore-build Jan 16, 2015
.travis.yml Remove bower from travis Jan 15, 2015
LICENSE Initial commit Jan 14, 2015
README.md add getTransaction endpoint, upgrade to bitcore-lib 0.13.14 Dec 16, 2016
bower.json Bump package version to 1.0.1 Oct 21, 2015
gulpfile.js Move to bitcore-build Jan 16, 2015
index.js
package.json

README.md

bitcore explorers

# Blockchain APIs for bitcore

NPM Package Build Status Coverage Status

A module for bitcore 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 bitcore-explorers
bower install bitcore-explorers

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

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

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

Contributing

See CONTRIBUTING.md on the main bitcore repo for information about how to contribute.

License

Code released under the MIT license.

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