rsk

Rsk (RSK)

Method: POST eth_getUncleByBlockNumberAndIndex

dropdown

POST eth_getUncleByBlockNumberAndIndex

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

Parameters

QUANTITY|TAG - integer or string

block number or "latest", "earliest" or "pending"

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


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "bitcoinMergedMiningCoinbaseTransaction": "0x00000000000001008ad0b7a0a9cecac2ac3000db8ca8df861a832c416bc7ca4e6c2b09cfba566b49ee3bb77500000000000000002b6a2952534b424c4f434b3a07fbf24ae7b8ed862505d870f2ea4671927bac4996fcd710ea81432900383bc400000000",
        "bitcoinMergedMiningHeader": "0x0400ff3fbc13c9647edde3b952a5703e8c60cfd001f6cf724dfd00000000000000000000563402ad81a283a5d191af15e07461c53cf872786854f3496956efcb7158b53df8754061e4480f1774bf7727",
        "bitcoinMergedMiningMerkleProof": "0xf4a74b33082db6569639fae9c484099581396580a0632ed5209fcdaffa854411b34923f200cbe7e57d1cfe3c568ecb6d5c6f1cb6a98a299e3417008e262acc34e1aeecd14d4437edfeee87153e32b217c13150fea06fcf228a92791073f3d0881486421543994aafa432fd8af8b6ee039c9d9d42c2d7443bf8556725f17df0da9efa7184cce51228d137176831cb41b7e53ed021f1c8b34f1ee42eec981e006821fceee7eba0b2568f2dcc35695a6201baa594e4733680d54ce39695dfb5abad77bc4b448262de80cee718861e95d8871293383ddd607c8f6f2d8eb36584b31dd6988c376c79942657ad980ca1cd594cc66fdcb7b4bfb68dd75811f969d00bacfb840cec0e9584ab245fe764ddc5f8cda10bf452fee5e5107d179995272271713d55d1fd36103997077247dfbb9029d6adfa0bedafecd394844b91149993c6fcf7d0d8893a0f46e9ef107ddd4114be229c72537af99e4b712596095f6951924ef6b2cc4122b4434c37c559bff29c1905209febe7d0909b5d921cc0112a0f66db",
        "cumulativeDifficulty": "0x39b7a874a06fca9321",
        "difficulty": "0x39b7a874a06fca9321",
        "extraData": "0xce018c495249532d62613031656132",
        "gasLimit": "0x67c280",
        "gasUsed": "0x0",
        "hash": "0x53c8ede399b310095f677af9bdbe2c911b02534815a0fc9c33ca88dba6b99a5b",
        "hashForMergedMining": "0x07fbf24ae7b8ed862505d870f2ea4671927bac4996fcd710ea81432900383bc4",
        "logsBloom": "0x00000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000008000001000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000100020000000000000000000000200000000001000000000000000000001000000000000000000000000000020000100000000200020100000000000000000000000000000000080009000020800000000000000000000000000",
        "miner": "0x0539c4278803dd8991d8239d6c8d05fcf0a6fe91",
        "minimumGasPrice": "0x387d71c",
        "number": "0x383bc4",
        "paidFees": "0x0",
        "parentHash": "0xbfe55c38fdc3672f14ba772485981ff241a9a83b060e122e76c7a4f70b7940d0",
        "receiptsRoot": "0xbf0c66deb9d22e560d7dd9f136defcdfab7ec9796a185dcb44db46b61d27a78f",
        "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
        "size": "0x451",
        "stateRoot": "0x8016aba1216088dcb8fadfb9668b933f59f89d5f3f063acfd34318c09cc3714c",
        "timestamp": "0x614075e0",
        "totalDifficulty": "0xde342e9fe340078ea4bbb50",
        "transactions": [
            "0x68c21b13cd3a3633dcde189e29f8411dd6564c6408ffda5a7faed61b0f3c7ae4"
        ],
        "transactionsRoot": "0x7ee78590d15bb8a50690885c33674b57862805174cd0ad4fdaa0c63d986c7583",
        "uncles": []
    }
}