Home

Get uncle block by block hash 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 hash 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_getUncleByBlockHashAndIndexrequired

JSON-RPC method name.

paramsArray<string>required
  • blockHash: 32-byte block hash
  • 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