From 27ac64c8c8256700e903cc37f7347cd113bb8472 Mon Sep 17 00:00:00 2001 From: Saikat Das Date: Mon, 28 Nov 2022 10:29:23 +0530 Subject: [PATCH] docs: remove "--no-wallet" for `balanceOf` API No wallet has been deprected on modern dfx canister calls --- docs/xtc/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/xtc/getting-started.md b/docs/xtc/getting-started.md index 2b1d9f6..477fe2c 100644 --- a/docs/xtc/getting-started.md +++ b/docs/xtc/getting-started.md @@ -163,7 +163,7 @@ This query calls don't require a fee since they only query information. Returns the balance of user `who`. ```bash -dfx canister --network=ic --no-wallet call --query aanaa-xaaaa-aaaah-aaeiq-cai balanceOf "(principal \"who-account-principal\")" +dfx canister --network=ic call --query aanaa-xaaaa-aaaah-aaeiq-cai balanceOf "(principal \"who-account-principal\")" ``` ### Check the set allowance for an ID - allowance