Returns information about an uncle block by the block number and uncle index position. Uncle blocks are valid blocks that were not included in the main chain but are referenced by the main chain blocks.
eth_getUncleByBlockNumberAndIndex JSON-RPC method returns information about an uncle block by block number and uncle index position. Uncle blocks are valid blocks that were not included in the main chain but are referenced by the main chain blocks for network security.
null if no uncle exists at the specified index.
null if no uncle exists at the specified index"latest" — The most recent block in the chain"earliest" — The genesis block (block 0)"pending" — The pending state/transactionseth_getUncleByBlockNumberAndIndex method is useful for applications that need to:
JSON-RPC version
2.0 The RPC method name
eth_getUncleByBlockNumberAndIndex Parameters: [block_number, uncle_index]
Request identifier