demux-js-iost
Demux Action Reader implementations to read block and action data from IOST-based blockchains.
Installation
# Using yarn yarn add demux-iost # Using npm npm install demux-iost --save
Example
Makes requests directly to a specified Node API endpoint to obtain block data.
const IostActionReader = const BaseActionWatcher = const IostActionHandler = const handlerVersion = const actionHandler = handlerVersion const actionReader = startAtBlock: 0 onlyIrreversible: false iostEndpoint: "https://api.iost.io" const actionWatcher = actionReader actionHandler 250 actionWatcher