Package Exports
- eth-json-rpc-filters
- eth-json-rpc-filters/index.js
- eth-json-rpc-filters/subscriptionManager
- eth-json-rpc-filters/subscriptionManager.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eth-json-rpc-filters) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eth-json-rpc-filters
json-rpc-engine middleware implementing ethereum filter methods.
Backed by an eth-block-tracker and web3 provider interface (web3.currentProvider).
supported rpc methods
eth_newFiltereth_newBlockFiltereth_newPendingTransactionFiltereth_uninstallFiltereth_getFilterChangeseth_getFilterLogs
usage
basic usage:
const filterMiddleware = createFilterMiddleware({ blockTracker, provider })
engine.push(filterMiddleware)cleanup:
// remove blockTracker handler to free middleware for garbage collection
filterMiddleware.destroy()Running Tests
yarn testChangelog
2.0
- expect EthBlockTracker@4