whatsonchain

0.3.0 • Public • Published

A WhatsOnChain API JS Wrapper library for Bitcoin SV Developer

NPM version Build Status

https://whatsonchain.com/

Documentation

https://docs.taal.com/core-products/whatsonchain

Install


npm install whatsonchain --save

Sample Usage

Check out these test code in JavaScript and TypeScript to get up and running quickly.

History

0.3.0

  • Move to Taal new document
  • Added some new apis

0.2.0

  • Support Cache, default is true. if you don't want cache, set option { enableCache: false }
  • Support ApiKey and rate limit to 3 requests/sec without apiKey.
  // with apiKey, no threshold
  const woc = new WhatsOnChain( 'testnet', { apiKey: 'your api key'}  )
  // without apiKey, threshold is 3 requests/1000ms
  const woc = new WhatsOnChain( 'testnet' )
  • Support JSDoc type check.

0.1.0

  • Initate, Support all API in document.

License

It is released under the terms of the MIT license.

Package Sidebar

Install

npm i whatsonchain

Weekly Downloads

20

Version

0.3.0

License

MIT

Unpacked Size

20.9 kB

Total Files

4

Last publish

Collaborators

  • baryon