Home

Get uncle block by block number and index

POST
https://linea.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns an uncle block by number and index. Linea does not produce uncle blocks, so the result is normally null.

Body

application/json

JSON-RPC request envelope.

jsonrpcstring2.0required

JSON-RPC protocol version.

methodstringeth_getUncleByBlockNumberAndIndexrequired

JSON-RPC method name.

paramsArray<string>required
  • blockNumber: The block number as hex string (e.g., "0x10fb78"), or "latest", "earliest", "pending".
  • index: The uncle index as hex (e.g., "0x0" for the first uncle).
idintegerrequired

Identifier echoed in the response.

Response

200OK

Uncle block object or null