{"id":21659001,"url":"https://github.com/MetaMask/eth-json-rpc-filters","last_synced_at":"2025-07-17T21:32:04.617Z","repository":{"id":21865734,"uuid":"94269478","full_name":"MetaMask/eth-json-rpc-filters","owner":"MetaMask","description":"json-rpc-engine middleware implementing ethereum filter methods","archived":false,"fork":false,"pushed_at":"2025-03-28T17:49:49.000Z","size":1190,"stargazers_count":31,"open_issues_count":20,"forks_count":41,"subscribers_count":46,"default_branch":"main","last_synced_at":"2025-07-05T18:12:22.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MetaMask.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":"metamask","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-06-14T00:06:42.000Z","updated_at":"2025-04-04T03:31:43.000Z","dependencies_parsed_at":"2023-11-07T07:26:54.313Z","dependency_job_id":"11104e1b-dcc6-42d8-b68d-07ddf75d3786","html_url":"https://github.com/MetaMask/eth-json-rpc-filters","commit_stats":{"total_commits":197,"total_committers":16,"mean_commits":12.3125,"dds":0.6243654822335025,"last_synced_commit":"f2490dcde03c31a13598b2ac8a08e2eaaa37d0f8"},"previous_names":["kumavis/eth-json-rpc-filters"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/MetaMask/eth-json-rpc-filters","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Feth-json-rpc-filters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Feth-json-rpc-filters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Feth-json-rpc-filters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Feth-json-rpc-filters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MetaMask","download_url":"https://codeload.github.com/MetaMask/eth-json-rpc-filters/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Feth-json-rpc-filters/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264904141,"owners_count":23681151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T09:30:16.698Z","updated_at":"2025-07-17T21:32:04.327Z","avatar_url":"https://github.com/MetaMask.png","language":"JavaScript","funding_links":["https://opencollective.com/metamask"],"categories":["JavaScript"],"sub_categories":[],"readme":"# `@metamask/eth-json-rpc-filters`\n\n[json-rpc-engine](https://github.com/MetaMask/json-rpc-engine) middleware implementing Ethereum filter methods.\nBacked by an [eth-block-tracker](https://github.com/MetaMask/eth-block-tracker) and web3 provider interface (`web3.currentProvider`).\n\n### supported rpc methods\n- `eth_newFilter`\n- `eth_newBlockFilter`\n- `eth_newPendingTransactionFilter`\n- `eth_uninstallFilter`\n- `eth_getFilterChanges`\n- `eth_getFilterLogs`\n\n### usage\n\nbasic usage:\n```js\nconst filterMiddleware = createFilterMiddleware({ blockTracker, provider })\nengine.push(filterMiddleware)\n```\n\ncleanup:\n```js\n// remove blockTracker handler to free middleware for garbage collection\nfilterMiddleware.destroy()\n```\n\n## Running Tests\n\n```bash\nyarn test\n```\n\n## Changelog\n[`CHANGELOG.md`](./CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMetaMask%2Feth-json-rpc-filters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMetaMask%2Feth-json-rpc-filters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMetaMask%2Feth-json-rpc-filters/lists"}