interface WalletInstance {
    address: Lowercase<string>;
    addressBytes: ArrayBufferLike;
    chainCode: string;
    depth: number;
    derivePath: (path: string) => Promise<WalletInstance>;
    extendedKey: string;
    fingerprint: string;
    index: number;
    mnemonic?: null | Mnemonic;
    neuter: () => WalletInstance;
    parentFingerprint: string;
    path: null | string;
    previousHash: undefined | Lowercase<string>;
    previousHashBytes: undefined | ArrayBufferLike;
    private?: PrivateKeyInstance;
    privateKey: Lowercase<string>;
    public?: PublicKeyInstance;
    publicKey: Lowercase<string>;
    sign: (
        hash: ArrayBufferLike,
        previousHash?: ArrayBufferLike,
    ) => Promise<[ArrayBufferLike, Lowercase<string>?]>;
    verify: (
        msg: ArrayBufferLike,
        signature: ArrayBufferLike,
    ) => Promise<boolean>;
}

Hierarchy (View Summary)

Properties

address: Lowercase<string>
addressBytes: ArrayBufferLike
chainCode: string
depth: number
derivePath: (path: string) => Promise<WalletInstance>
extendedKey: string
fingerprint: string
index: number
mnemonic?: null | Mnemonic
neuter: () => WalletInstance
parentFingerprint: string
path: null | string
previousHash: undefined | Lowercase<string>
previousHashBytes: undefined | ArrayBufferLike
privateKey: Lowercase<string>
publicKey: Lowercase<string>
sign: (
    hash: ArrayBufferLike,
    previousHash?: ArrayBufferLike,
) => Promise<[ArrayBufferLike, Lowercase<string>?]>
verify: (msg: ArrayBufferLike, signature: ArrayBufferLike) => Promise<boolean>