eth_getUncleByBlockNumberAndIndex
Returns information about an uncle of a block by number and uncle index position.
Parameters
QUANTITY|TAG
- a block number, or the string "earliest", "latest" or "pending", as in the default block parameter.QUANTITY
- the uncle's index position.
Returns
BLOCK
- A block object, or null when no block was found:
number
: the block number. Null when the returned block is the pending block.hash
: 32 Bytes - hash of the block. null when its pending block.parentHash
: 32 Bytes - hash of the parent block.nonce
: 8 Bytes - hash of the generated proof-of-work. Null when the returned block is the pending block.sha3Uncles
: 32 Bytes - SHA3 of the uncles data in the block.logsBloom
: 256 Bytes - the bloom filter for the logs of the block. Null when the returned block is the pending block.transactionsRoot
: 32 Bytes - the root of the transaction trie of the block.stateRoot
: 32 Bytes - the root of the final state trie of the block.receiptsRoot
: 32 Bytes - the root of the receipts trie of the block.miner
: 20 Bytes - the address of the beneficiary to whom the mining rewards were given.difficulty
: hexadecimal of the difficulty for this block.totalDifficulty
: hexadecimal of the total difficulty of the chain until this block.extraData
: the "extra data" field of this block.size
: hexadecimal the size of this block in bytes.gasLimit
: the maximum gas allowed in this block.gasUsed
: the total used gas by all transactions in this block.timestamp
: the unix timestamp for when the block was collated.uncles
: an Array of uncle hashes.
Note: An uncle doesn't contain individual transactions.
Request example
Response example
Last updated