pub fn get_remitted_balance(
token: Wallet,
chain: Chain,
account: Wallet,
dc_canister: Principal,
amount: u64,
) -> WithheldAccount
Expand description
Retrieves the remitted balance for a given account and amount.
§Parameters
token
: The wallet token.chain
: The blockchain chain.account
: The user’s wallet account.dc_canister
: The principal of the DC canister.amount
: The amount to check for remittance.
§Returns
A WithheldAccount
containing the remitted balance or zero if no remittance exists.