Get uncle block by block hash and index
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-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.0requiredJSON-RPC protocol version.
methodstringeth_getUncleByBlockHashAndIndexrequiredJSON-RPC method name.
paramsArray<string>requiredblockHash: 32-byte block hashindex: the uncle index as hex (e.g., "0x0" for the first uncle)
idintegerrequiredIdentifier echoed in the response.
Response
200OK
Uncle block object or null