Get uncle block by block number and index
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-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.0requiredJSON-RPC protocol version.
methodstringeth_getUncleByBlockNumberAndIndexrequiredJSON-RPC method name.
paramsArray<string>requiredblockNumber: 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).
idintegerrequiredIdentifier echoed in the response.
Response
200OK
Uncle block object or null