Skip to content

Get Latest Block

Retrieves the most recent block from the blockchain network. This is useful for obtaining the latest state or data committed on the chain, ensuring the application operates with up-to-date information.

Method Declaration

Python
async def latest_block(self) -> tendermint_query.GetLatestBlockResponse

Parameters

Response

StatusMeaningSchemaDescription
200OKBlockThe latest block.
400Bad RequestThe request was malformed or invalid.

Examples: Python | Rust | API| Guide - Get Latest Block