Returns information about an uncle of a block by hash and uncle index position.
Last updated 9 months ago
QUANTITY|TAG - a block number, or the string "earliest", "latest" or "pending", as in the
QUANTITY|TAG
.
QUANTITY - the uncle's index position.
QUANTITY
params: [ '0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b', '0x0' // 0 ]
See
Request
curl https://rpc-mainnet.u2u.xyz \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getUncleByBlockHashAndIndex","params":["0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b", "0x0"],"id":0}'
Result
Result see
eth_getBlockByHash