eth_getUncleByBlockNumberAndIndex
Returns information about the 'Uncle' of a block by number 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_getUncleByBlockNumberAndIndex will always return 0x0
.
Example
BLOCK PARAMETER
- Anint
block number in the form of hex, appended with 0x such as0x6D7FE0
, or pre-defined stringslatest
,earliest
,pending
.UNCLE INDEX POSITION
- a hex of the integer representing the uncle's index position in the block, appended with 0x such as0x0
.
Web3API's Composer accepts int
block numbers, which will be auto-converted to a hex representation before being sent to a node.
Last updated