test-ic-wallet-middleware-icrc
Version:
Ic middleware wallet ICRC protocol
18 lines (17 loc) • 735 B
TypeScript
import { Principal } from "@dfinity/principal";
export declare class SubAccountId {
private _subAccount;
private constructor();
toUint8Array(): Uint8Array;
toString(): string;
toNumber(): number;
toPrincipal(): Principal;
equals(subAccountId: SubAccountId): boolean;
notEquals(subAccountId: SubAccountId): boolean;
static parseFromUint8Array(uint8Array: Uint8Array): SubAccountId;
static parseFromNumber(number: number): SubAccountId;
static Default(): SubAccountId;
static tryParseFromNumber(number: number): SubAccountId | undefined;
static parseFromString(hexString: string): SubAccountId;
static tryParseFromString(hexString: string | undefined): SubAccountId | undefined;
}