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

Eth_newBlockFilter

Create a new block filter

post

Sends a JSON-RPC request to create a new filter that tracks new blocks. Returns a filter ID which can be used to query for new blocks using eth_getFilterChanges.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstringRequiredExample: eth_newBlockFilter
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