Static
COSMWASM_Fetches the token balances for a given address on a specific chain.
The blockchain address.
An array of CosmosChainData objects.
A Promise resolving to an array of token amounts ([]).
An error if the chain is not supported or if there's a failure in fetching balances.
Static
getOptional
isTestnet: booleanStatic
getOptional
isTestnet: booleanStatic
getFetches rich token balances which includes detailed token information along with the balance.
The blockchain address.
A record of denom data indexed by denom strings.
An array of CosmosChainData objects.
Optional
isTestnet: booleanA Promise resolving to a ChainBalanceData object containing rich balance data (ChainBalanceData).
An error if the chain is not supported or if there's a failure in fetching rich balances.
TokenBalanceAPI
provides methods for retrieving token balances and rich token balance data for Cosmos chains.