Account interface

interface IAccount {
    address: IAddress;
    path?: string;
    privateKey?: Uint8Array<ArrayBufferLike>;
    publicKey: Uint8Array;
    type: "SECP256K1" | "BLS";
}

Properties

address: IAddress
path?: string

Derivation path - only for HD wallets

privateKey?: Uint8Array<ArrayBufferLike>

Private key - only for RAW and HD wallets

publicKey: Uint8Array
type: "SECP256K1" | "BLS"