eth

Ethereum (ETH)

Method: POST eth_getMinerDataByBlockNumber

dropdown
POST

eth_getMinerDataByBlockNumber

Returns miner data for the specified block.

Parameters

quantity|tag - None

Integer representing a block number or one of the string tags latest, earliest, or pending, as described in Block Parameter.

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_getMinerDataByBlockNumber",
"params": ["0x7689D2"],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "coinbase": "0x464b0b37db1ee1b5fbe27300acfbf172fd5e4f53",
        "difficulty": "0x000000000000000000000000000000000000000000000000000779f04ae8fcea",
        "extraData": "0x666b706f6f6c2e636e2f636e39",
        "netBlockReward": "0x0000000000000000000000000000000000000000000000001e8b565c18f7be70",
        "staticBlockReward": "0x0000000000000000000000000000000000000000000000001bc16d674ec80000",
        "totalDifficulty": "0x000000000000000000000000000000000000000000000229b06731fb2de1bc26",
        "transactionFee": "0x00000000000000000000000000000000000000000000000001ebdd898fb97e70",
        "uncleInclusionReward": "0x00000000000000000000000000000000000000000000000000de0b6b3a764000",
        "uncleRewards": [
            {
                "coinbase": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
                "hash": "0x42d83ae9c0743f4b1f9c61ff7ea8b164c1bab3627decd49233760680be006ecf"
            }
        ]
    }
}