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…
Query the latest N blocks from the chain head. This is useful for near-real-time block display and lightweight polling, but returned blocks may not be solidified.
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