stake

xDai (STAKE)

Method: POST eth_getUncleByBlockNumberAndIndex

dropdown
POST

eth_getUncleByBlockNumberAndIndex

返回由块号和索引指定的叔叔。

Parameters

quantity|tag -

块的索引,或最新、最早或未决的字符串标签之一,如块参数中所述。

quantity -

叔叔的索引。

Request

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


Response

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

It’s Black Friday Sale!
Don’t Miss.