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
Parameters
Section titled “Parameters”account
Section titled “account”{ owner: Principal, subaccount?: Uint8Array }
Returns
Section titled “Returns”string
string