wallet/getblockbynum
Block operations
wallet/getblockbynum | TRON
TRON API method that retrieves a block by its number. This method returns detailed information about a specific block in the TRON blockchain.
POST
wallet/getblockbynum
TRON API method that retrieves a block by its number. This method returns detailed information about a specific block in the TRON blockchain, including all transactions contained within that block.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
num— the block number to retrieve (integer)visible— optional boolean to specify address format (default: false for hex format)
Response
blockID— unique block identifier hashblock_header— block header information containing:raw_data— raw header data with timestamp, number, and parent hashwitness_signature— block producer’s signature
transactions— array of transaction objects in the blockvisible— boolean indicating address format used
Use case
Thewallet/getblockbynum method is used for:
- Retrieving specific blocks for blockchain analysis and monitoring.
- Accessing transaction history within particular blocks.
- Building block explorers and analytics tools.
- Verifying block data and transaction inclusion for auditing purposes.
Last modified on May 18, 2026