get_last_block_numberΒΆ

get_last_block_number() -> int

Retrieves the number of the latest block in the blockchain.

Example:

last_block_number = await btc_client.get_last_block_number()