getblockbynum

TRONC1

Returns the block at the given number, including transactions. Historic blocks resolve against our archive TRON nodes.

Endpoint
POST https://api.1st-node.com/v1/tron/wallet/getblockbynum

Parameters

NameTypeDescription
numnumberThe block number.

Returns

object — the block at that height.

Request

curl https://api.1st-node.com/v1/tron/wallet/getblockbynum \
  -H "Authorization: Bearer $ONE_KEY" \
  -H "content-type: application/json" \
  -d '{ "num": 50000000 }'
{ "num": 50000000 }

Response

{ "blockID": "0000000002fd…", "block_header": {}, "transactions": [] }
More blocks methods on TRON

TRON API

よくある質問

Can I fetch historic TRON blocks?

Yes — our archive nodes serve any past block number.

チャージして、キーを取得し、リリース。

セルフサーブ。暗号資産またはカードで支払い。クレジットで従量課金——重いプリミティブは高く、単純なものは安価。

APIキーを取得