Comment on page
eth_getUncleByBlockHashAndIndex
Returns information about an uncle of a block by hash and uncle index position.
QUANTITY|TAG
- a block number, or the string "earliest", "latest" or "pending", as in theQUANTITY
- the uncle's index position.
params: [
'0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b',
'0x0' // 0
]
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
Note: An uncle doesn’t contain individual transactions.
Last modified 6mo ago