eth_getUncleByBlockNumberAndIndex - Ethereum
The eth_getUncleByBlockNumberAndIndex method retrieves an uncle block by its block number and index, helping developers analyze network performance and consensus behavior using Ethereum's API
Supported Networks
Parameters
Request
https://go.getblock.io/<ACCESS-TOKEN>/curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "eth_getUncleByBlockNumberAndIndex",
"params": [
"0x7689D2",
"0x0"
],
"id": "getblock.io"
}'wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/
# wait for connection and send the request body
{
"jsonrpc": "2.0",
"method": "eth_getUncleByBlockNumberAndIndex",
"params": [
"0x7689D2",
"0x0"
],
"id": "getblock.io"
}Response
Response Description
Use Case
Code Example
Last updated
Was this helpful?