Returns information about the 'Uncle' of a block by hash and the Uncle index position.

While this method is supported, the BSC network uses the Proof of Staked Authority ( PoSA ) consensus mechanism which doesn't involve 'Uncle' blocks.

Hence all results from eth_getUncleByBlockHashAndIndex will always return 0x0.


curl https://bsc-<network> 
-H "Content-Type: application/json"  
-d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getUncleByBlockHashAndIndex\",\"params\": [\"0xc0c70f405b193aeacd34190ef4f665aa1c8bb766530859be7560fb14ec292f05\",\"0x0\"],\"id\":1}" 
  1. BLOCK HASH - a string representing the hash (32 bytes) of a block.

  2. UNCLE INDEX POSITION - a hex of the integer representing the uncle's index position in the block, appended with 0x such as 0x0.

Last updated