eth

Ethereum (ETH)

Method: POST eth_getMinerDataByBlockHash

dropdown
POST

eth_getMinerDataByBlockHash

返回指定区块的矿工数据。

Parameters

data -

32 字节块哈希。

Request

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


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "coinbase": "0x09ab1303d3ccaf5f018cd511146b07a240c70294",
        "difficulty": "0x00000000000000000000000000000000000000000000000000076bffa240f156",
        "extraData": "0xd883010817846765746888676f312e31302e31856c696e7578",
        "netBlockReward": "0x0000000000000000000000000000000000000000000000001f2b4bdaa1322bf2",
        "staticBlockReward": "0x0000000000000000000000000000000000000000000000001bc16d674ec80000",
        "totalDifficulty": "0x000000000000000000000000000000000000000000000229ad3b36bcee81c393",
        "transactionFee": "0x000000000000000000000000000000000000000000000000028bd30817f3ebf2",
        "uncleInclusionReward": "0x00000000000000000000000000000000000000000000000000de0b6b3a764000",
        "uncleRewards": [
            {
                "coinbase": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
                "hash": "0xc20189c0b1a4a23116ab3b177e929137f6e826f17fc4c2e880e7258c620e9817"
            }
        ]
    }
}