For the complete documentation index, see llms.txt. This page is also available as Markdown.

Eth_newFilter

Create a new log filter

post

Sends a JSON-RPC request to create a new filter for tracking log events. Returns a filter ID which can be used to query logs using eth_getFilterChanges or eth_getFilterLogs.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstringRequiredExample: eth_newFilter
idintegerRequiredExample: 1
Responses
200

Filter ID created successfully

application/json
jsonrpcstringOptionalExample: 2.0
idintegerOptionalExample: 1
resultstringOptional

Filter identifier as a hex string

Example: 0x16
post/
200

Filter ID created successfully

Last updated