Skip to content

Get Latest Block Height

Retrieves the most recent block height from a blockchain network. Internally it uses the Get Latest Block API call.

Method Declaration

Python
async def latest_block_height(self) -> int

Parameters

Response

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

Examples: Python | Rust