eth_getUncleByBlockHashAndIndex
Returns information about an uncle of a block by hash and uncle index position.β
Parametersβ
-
QUANTITY|TAG
- a block number, or the string "earliest", "latest" or "pending", as in the -
QUANTITY
- the uncle's index position.
params: [
"0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b",
"0x0", // 0
];
Returnsβ
Exampleβ
Request
curl https://eth-mainnet.blastapi.io/<project-id> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getUncleByBlockHashAndIndex","params":["0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b", "0x0"],"id":0}'
Result
Result see eth_getBlockByHash
warning
Note: An uncle doesnβt contain individual transactions.