Alchemy Logo

eth_getUncleByBlockHashAndIndex

POST
/{apiKey}

Returns information about an uncle of a block by hash and uncle index.

Path Parameters

apiKeystringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

Block hashstringformat: "^0x[0-9a-f]{64}$"required

The hash of the block containing the uncle.

Uncle indexstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"required

The index position of the uncle in the block's uncles array.

Responses

200

The uncle block object, or null if not found.

Was this page helpful?