/

Binance Smart Chain (BSC)

bsc

Binance Smart Chain (BSC)

Method: POST eth_getUncleByBlockHashAndIndex

dropdown

POST eth_getUncleByBlockHashAndIndex

Returns uncle specified by block hash and index.

Parameters

data - None

32-byte block hash.

quantity - None

Index of the uncle.

Request

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


Response

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