v1

latestOpenAPI 3.1.02026-07-2612501.4 MB

getblockbynum

Returns the Block Object corresponding to the 'Block Height' specified (number of blocks preceding it).

post/node/v1/tron/mainnet/{apiKey}/wallet/getblockbynum

Path parameters

apiKeystring required

please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>

Request body

numinteger required

num is the block height

Response

200

blockIDstring