post
https://api.shasta.trongrid.io/wallet/getblockbylatestnum
Query the latest N blocks from the chain head, useful for near-real-time block synchronization.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Returned blocks may not be solidified, so do not use this API for final-state confirmation.
For deterministic backfills, prefer range-based scanning with GetBlockByLimitNext and persist the last processed block number.
Related resources
- GetNowBlock — query only the latest block
- GetBlockByLimitNext — query a block-number range
- GetBlockByNum — query one block by number
- Blocks — block structure and composite block ID