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

Parameters

Params - a string array containing (required):

  • DATA(hex string, required), 32 Bytes - the hash of a block.
  • QUANTITY(hex string, required) - the uncle’s index position.

Returns

Object - a block object, or null when no block was found:

  • number(hex string). QUANTITY - the block number. null when it's a pending block.
  • hash(hex string). DATA, 32 Bytes - hash of the block. null when it's a pending block.
  • parentHash(hex string). DATA, 32 Bytes - hash of its parent block.
  • nonce(hex string). DATA, 8 Bytes - hash of the generated proof-of-work. null when it's a pending block.
  • sha3Uncles(hex string). DATA, 32 Bytes - SHA3 of the uncles data in the block.
  • logsBloom(hex string). DATA, 256 Bytes - the bloom filter for the logs of the block. null when it's a pending block.
  • transactionsRoot(hex string). DATA, 32 Bytes - the root of the transaction trie of the block.
  • stateRoot(hex string). DATA, 32 Bytes - the root of the final state trie of the block.
  • receiptsRoot(hex string). DATA, 32 Bytes - the root of the receipts trie of the block.
  • miner(hex string). DATA, 20 Bytes - the address of the beneficiary to whom the mining rewards were given.
  • difficulty(hex string). QUANTITY - integer of the difficulty for this block.
  • totalDifficulty(hex string). QUANTITY - integer of the total difficulty of the chain until this block.
  • extraData(hex string). DATA - the “extra data” field of this block.
  • size(hex string). QUANTITY - integer of the size of this block in bytes.
  • gasLimit(hex string). QUANTITY - the maximum gas allowed in this block.
  • gasUsed(hex string). QUANTITY - the total used gas by all transactions in this block.
  • timestamp(hex string). QUANTITY - the unix timestamp for when the block was collated.
  • transactions(array of object). Array - array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter.
  • uncles(array of hex string). Array - array of uncle hashes.
Language
Click Try It! to start a request and see the response here!