Home

Create a new log filter

POST
https://linea.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Creates a temporary log filter for the supplied block range, addresses, and topics.

Body

application/json

JSON-RPC request envelope.

jsonrpcstring2.0required

JSON-RPC protocol version.

methodstringeth_newFilterrequired

JSON-RPC method name.

paramsArray<object>required

One log-filter object with optional fromBlock, toBlock, address, and topics fields.

Show child attributes
fromBlockstring

First block included in the log query.

toBlockstring

Last block included in the log query.

addressstring

Optional emitting contract address.

topicsArray<string>

Indexed event topics used to filter or identify logs.

idintegerrequired

Identifier echoed in the response.

Response

200OK

Filter ID created successfully