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.GetLatestBlockResponseParameters
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | Block | The latest block. |
400 | Bad Request | The request was malformed or invalid. |
Examples: Python | Rust | API| Guide - Get Latest Block