ic_cdk::api
pub fn canister_balance(unit: Unit) -> i64
Get the amount of funds available in the canister.