irc-json-rpc-filters
v0.1.0
Published
Backed by an [irc-block-tracker] and webu provider interface.
Downloads
2
Readme
irc-json-rpc-filters
Backed by an irc-block-tracker and webu provider interface (webu.currentProvider
).
supported rpc methods
irc_newFilter
irc_newBlockFilter
irc_newPendingTransactionFilter
irc_uninstallFilter
irc_getFilterChanges
irc_getFilterLogs
usage
basic usage:
const filterMiddleware = createFilterMiddleware({ blockTracker, provider })
engine.push(filterMiddleware)
cleanup:
// remove blockTracker handler to free middleware for garbage collection
filterMiddleware.destroy()