rsk

Rsk (RSK)

Method: POST eth_getUncleByBlockHashAndIndex

dropdown

POST eth_getUncleByBlockHashAndIndex

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

Parameters

DATA - string

Hash of a block.

QUANTITY - string

the uncle’s index position.

Request

curl --location --request POST 'https://rsk.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "eth_getUncleByBlockHashAndIndex",
"params": ["0xf2a2b854721d4372474fc76cc13445a73369c0c334f4935c88bde3c310f28c9a", "0x0"],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": null
}