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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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

Body Params
int32

Number of most recent blocks to retrieve. Example: 5

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json