eth_getUncleByBlockNumberAndIndex

Returns an uncle block by block number and index; TRON has no uncle blocks, so the result is null.

TRON does not produce uncle blocks. This compatibility method accepts an Ethereum-style block number or tag but always returns null.

Parameters

  1. QUANTITY|TAG — hexadecimal block number, or latest, earliest, or pending.
  2. QUANTITY — uncle index.

Example

curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
  "jsonrpc":"2.0","method":"eth_getUncleByBlockNumberAndIndex",
  "params":["latest","0x0"],"id":1
}'
{"jsonrpc":"2.0","id":1,"result":null}