按区块高度和索引查询叔块;TRON 不产生叔块,因此返回 null。
TRON 不产生叔块。该兼容方法接受以太坊格式的区块高度或标签,但始终返回 null。
参数
QUANTITY|TAG——十六进制区块高度,或latest、earliest、pending。QUANTITY——叔块索引。
示例
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}