Avalanche SDK Client
    Preparing search index...

    Type Alias LocalXPAccount

    LocalXPAccount is a type that represents an X or P chain account. It is a local account.

    type LocalXPAccount = {
        publicKey: string;
        signMessage: (message: string) => Promise<string>;
        signTransaction: (txHash: string | Uint8Array) => Promise<string>;
        source: "hdKey" | "privateKey" | "mnemonic";
        type: "local";
        verify: (message: string, signature: string) => boolean;
    }
    Index

    Properties

    publicKey: string
    signMessage: (message: string) => Promise<string>
    signTransaction: (txHash: string | Uint8Array) => Promise<string>
    source: "hdKey" | "privateKey" | "mnemonic"
    type: "local"
    verify: (message: string, signature: string) => boolean