eth_getUncleCountByBlockHash

Returns the number of uncle blocks for a block hash; 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. DATA, 32 Bytes — block hash.

Example

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