eth_getUncleByBlockNumberAndIndex

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

Parameters

params: [
   '0x29c', // 668
   '0x0' // 0
]

Returns

See eth_getBlockByHash

circle-info

**NOTE: **The return does not contain a list of transactions in the uncle block, to get this, make another request to eth_getBlockByHash or eth_getBlockByNumber

Example

Request

curl https://rpc-mainnet.u2u.xyz \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getUncleByBlockNumberAndIndex","params":["0x29c", "0x0"],"id":0}'

Result

Last updated