https://docs.taal.com/core-products/whatsonchain
npm install whatsonchain --save
Check out these test code in JavaScript and TypeScript to get up and running quickly.
- Move to Taal new document
- Added some new apis
- 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.
- Initate, Support all API in document.
It is released under the terms of the MIT license.