An ERC20 interface to native Cosmos SDK tokens for balance queries and supply information
x/bank
module.
Address: 0x0000000000000000000000000000000000000804
Related Module: x/bank
balances(address account) → Balance[] memory
Description: Queries all native token balances for a specific account address and returns an array of Balance
(ERC-20 contract address & amount) structures.
account
(address): The account address to query balances fortotalSupply() → Balance[] memory
Description: Queries the total supply of all native tokens in the system. Returns comprehensive supply information for every token registered in the system.
supplyOf(address erc20Address) → uint256
Description: Queries the total supply of a specific token by providing its ERC20 contract address. More efficient when you need supply information for a single token.
erc20Address
(address): The ERC20 contract address of the tokencontractAddress
(address): The ERC20 contract address representing the native tokenamount
(uint256): Token amount in the smallest denomination