Return the total coin balance for one coin type, owned by the address owner.

interface GetBalanceParams {
    coinType?: null | string;
    owner: string;
}

Properties

Properties

coinType?: null | string

optional type names for the coin (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC), default to 0x2::sui::SUI if not specified.

owner: string

the owner's Sui address