Skip to content

Get Account Balance

Retrieves the balance of a specified account address for a particular denomination/token. See the definition.

Method Declaration

Python
async def get_account_balance(
    self,
    address: str,
    denom: str,
) -> bank_query.QueryBalanceResponse

Parameters

ParameterLocationTypeRequiredDescription
addressqueryAddresstrueThe wallet address that owns the account.
denomqueryDenomtrueDenomination of the token associated with the request.

Response

StatusMeaningSchemaDescription
200OKCoinThe account balance.
400Bad RequestThe request was malformed or invalid.

Examples: Python | Rust | API | Guide - Get Account Balance