litecore-explorers

1.0.1 • Public • Published

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

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

var explorers = require('litecore-explorers');
var insight = new explorers.Insight();
 
insight.getUtxos('[address]', 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.

Package Sidebar

Install

npm i litecore-explorers

Weekly Downloads

9

Version

1.0.1

License

MIT

Last publish

Collaborators

  • blocksoft