npm.io
0.3.0 • Published 3 years ago

whatsonchain

Licence
MIT
Version
0.3.0
Deps
2
Size
20 kB
Vulns
23
Weekly
0
Stars
4

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.

Keywords