MCPcopy Create free account
hub / github.com/dfinity/orbit / fetch_account_balances

Function fetch_account_balances

tests/integration/src/utils.rs:863–879  ·  view source on GitHub ↗
(
    env: &PocketIc,
    station_canister_id: Principal,
    requester: Principal,
    input: FetchAccountBalancesInput,
)

Source from the content-addressed store, hash-verified

861}
862
863pub fn fetch_account_balances(
864 env: &PocketIc,
865 station_canister_id: Principal,
866 requester: Principal,
867 input: FetchAccountBalancesInput,
868) -> station_api::FetchAccountBalancesResponse {
869 update_candid_as::<(FetchAccountBalancesInput,), (ApiResult<FetchAccountBalancesResponse>,)>(
870 env,
871 station_canister_id,
872 requester,
873 "fetch_account_balances",
874 (input,),
875 )
876 .expect("Failed to send query call")
877 .0
878 .expect("Failed to get account balances")
879}
880
881pub fn get_icp_asset(
882 env: &PocketIc,

Callers 2

make_icrc1_transferFunction · 0.70
make_icrc1_icp_transferFunction · 0.70

Calls

no outgoing calls

Tested by 2

make_icrc1_transferFunction · 0.56
make_icrc1_icp_transferFunction · 0.56