Returns an uncle block by block hash and index; TRON has no uncle blocks, so the result is null.
TRON uses delegated proof of stake (DPoS) and does not produce the uncle blocks found on proof-of-work Ethereum. This compatibility method always returns null.
Parameters
DATA, 32 Bytes — block hash.QUANTITY— uncle index within the block.
Example
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
"jsonrpc":"2.0","method":"eth_getUncleByBlockHashAndIndex",
"params":["0x0000000000000000000000000000000000000000000000000000000000000000","0x0"],"id":1
}'{"jsonrpc":"2.0","id":1,"result":null}