getblockbynum
TRONC1Returns 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/getblockbynumParameters
| Name | Type | Description |
|---|---|---|
| num | number | The 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
Perguntas frequentes
Can I fetch historic TRON blocks?
Yes — our archive nodes serve any past block number.
Recarregue, pegue a chave e publique.
Autoatendimento. Pague em cripto ou cartão. Medido por créditos: primitivas pesadas custam mais, as simples são baratas.
Obter chave de API