eth_getUncleCountByBlockNumber

Returns the number of uncle blocks for a block number; TRON has none, so the result is 0x0.

TRON does not produce uncle blocks, so this compatibility method returns the hexadecimal quantity 0x0.

Parameters

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

Example

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