Eth_getUncleByBlockNumberAndIndex

Get uncle block by block number and index

post

Sends a JSON-RPC request to retrieve an uncle block by its block number and uncle index. Returns the uncle block object if found; otherwise, returns null.

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstringRequiredExample: eth_getUncleByBlockNumberAndIndex
paramsstring[] · min: 2 · max: 2Required
  • 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)
Example: ["0x5daf3b","0x0"]
idintegerRequiredExample: 1
Responses
chevron-right
200

Uncle block object or null

application/json
jsonrpcstringOptionalExample: 2.0
idintegerOptionalExample: 1
post
/
200

Uncle block object or null

Last updated