verity_ic::remittance::utilsFunction get_available_balance
source pub fn get_available_balance(
token: Wallet,
chain: Chain,
account: Wallet,
dc_canister: Principal,
) -> Account
Expand description
Retrieves the total available balance for a user.
§Parameters
token
: The wallet token.
chain
: The blockchain chain.
account
: The user’s wallet account.
dc_canister
: The principal of the DC canister.
§Returns
An Account
containing the available balance.