From 0b5d8192c277299db2e19206a62c9367d00538fa Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Thu, 26 Oct 2023 14:45:35 -0500 Subject: [PATCH] Update ledger.md --- docs/references/ledger.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/references/ledger.md b/docs/references/ledger.md index 2207fe5416..4341506c54 100644 --- a/docs/references/ledger.md +++ b/docs/references/ledger.md @@ -34,7 +34,7 @@ The ledger canister keeps track of **accounts**: h = sha224(“\x0Aaccount-id” || principal || subaccount_identifier) -The following call to the method `account_identifier` on the ledger canister (`ryjl3-tyaaa-aaaaa-aaaba-cai`) can be used to get your account identifier; replace the value `PRINCIPAL` with your account's principal: +The following call to the method `account_identifier` on the ledger canister (`ryjl3-tyaaa-aaaaa-aaaba-cai`) can be used to get the account identifier of the first subaccount for your principal; replace the value `PRINCIPAL` with your account's principal: ``` dfx canister call ryjl3-tyaaa-aaaaa-aaaba-cai account_identifier '(record {owner = principal "PRINCIPAL"; subaccount = opt blob "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01" })' --candid rs/rosetta-api/icp_ledger/ledger.did