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

Sıkça sorulanlar

Can I fetch historic TRON blocks?

Yes — our archive nodes serve any past block number.

Bakiye yükle, anahtarını al, yayına çık.

Self servis. Kripto ya da kartla öde. Krediyle ölçümlenir — ağır ilkel yapılar daha pahalı, basitler ucuz.

API anahtarı al