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