Home

Create a new block filter

POST
https://linea.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Creates a temporary filter that reports new block hashes.

Body

application/json

JSON-RPC request envelope.

jsonrpcstring2.0required

JSON-RPC protocol version.

methodstringeth_newBlockFilterrequired

JSON-RPC method name.

paramsArray<any>required

No parameters; send an empty array.

idintegerrequired

Identifier echoed in the response.

Response

200OK

Filter ID created successfully