Skip to content

baryon/whatsonchain

Repository files navigation

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.

About

WhatsOnChain API JS Wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published