eth_getUncleCountByBlockNumber

返回指定高度区块的叔块数量;TRON 不产生叔块,因此返回 0x0。

TRON 不产生叔块,因此该兼容方法返回十六进制数量 0x0

参数

  1. QUANTITY|TAG——十六进制区块高度,或 latestearliestpending

示例

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"}