wallet/getblockbylatestnum
Block operations
wallet/getblockbylatestnum | TRON
TRON API method that retrieves the latest blocks from the TRON blockchain up to a specified number of blocks. TRON via Chainstack.
POST
wallet/getblockbylatestnum
TRON API method that retrieves the latest blocks from the TRON blockchain up to a specified number of blocks.
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— number of latest blocks to retrieve (maximum 100)visible— optional boolean parameter. When set totrue, addresses are in base58 format. Default isfalse.
Response
block— array of block objects, each containing:blockID— the block hashblock_header— block header with raw data and witness signaturetransactions— array of transactions in each block
Use case
Thewallet/getblockbylatestnum method is used for:
- Retrieving recent blockchain activity and transactions
- Building real-time blockchain monitoring dashboards
- Analyzing recent network activity patterns
- Creating live feeds of blockchain events
- Monitoring latest block production and validation
Last modified on May 18, 2026