Skip to content

encodeIcrcAccount

encodeIcrcAccount(account): string

Defined in: packages/ledger-icrc/src/utils/ledger.utils.ts:27

Encodes an Icrc-1 account compatible into a string. Formatting Reference: https://github.com/dfinity/ICRC-1/blob/main/standards/ICRC-1/TextualEncoding.md

IcrcAccount

{ owner: Principal, subaccount?: Uint8Array }

string

string