eth_getUncleByBlockNumberAndIndex - BNB

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

Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key

Body Params
integer
Defaults to 1
string
Defaults to 2.0
params
array of strings
length between 2 and 2
Defaults to latest,0x0
  1. String - either the hex value of a block number OR One of the following block tags:
    • pending - A sample next block built by the client on top of latest and containing the set of transactions usually taken from local mempool. Intuitively, you can think of these as blocks that have not been mined yet.
    • latest - The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions.
    • safe - The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination. Intuitively, this block is “unlikely” to be re-orged.
    • finalized - The most recent crypto-economically secure block, that has been accepted by >2/3 of validators. Cannot be re-orged outside of manual intervention driven by community coordination. Intuitively, this block is very unlikely to be re-orged.
    • earliest - The lowest numbered block the client has available. Intuitively, you can think of this as the first block created.
  2. String - The uncle's index position (in hex)
params
string
Defaults to eth_getUncleByBlockNumberAndIndex
Response

Response body
object
integer
string
result
object

A block object with the following fields, or null when no block was found.

string

8 Bytes - hash of the generated proof-of-work. null when its pending block.

string

32 Bytes - hash of the block. null when its pending block.

string

the base fee, in wei, that is charged for each unit of gas used, during the execution of the given block, encoded as a hexadecimal.

string

the block number. null when its pending block.

string

32 Bytes - hash of the parent block.

string

32 Bytes - SHA3 of the uncles data in the block.

string

256 Bytes - the bloom filter for the logs of the block. null when its pending block.

string

32 Bytes - the root of the transaction trie of the block.

string

32 Bytes - the root of the final state trie of the block.

string

32 Bytes - the root of the receipts trie of the block.

string

20 Bytes - the address of the beneficiary to whom the mining rewards were given.

string

integer of the difficulty for this block.

string

integer of the total difficulty of the chain until this block.

string

the "extra data" field of this block.

string

integer the size of this block in bytes.

string

the maximum gas allowed in this block.

string

the total used gas by all transactions in this block.

string

the unix timestamp for when the block was collated.

transactions
array of strings

Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter.

transactions
uncles
array of strings

Array of uncle hashes.

uncles
Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json
ReadMe
Support Hub