Avalanche SDK Client
    Preparing search index...

    Module accounts

    Type Aliases

    AvalancheAccount

    AvalancheAccount is a type that represents an account on the Avalanche network. It can be a combination of an EVM account and an XP account.

    HDKeyToAvalancheAccountOptions

    Options for the hdKeyToAvalancheAccount function.

    LocalXPAccount

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

    XPAccount

    XPAccount is a type that represents an X or P chain account. It can be a local account or a remote account.

    XPAddress

    XPAddress is a type that represents an X or P chain address.

    Functions

    hdKeyToAvalancheAccount

    Converts a HD key to an Avalanche account.

    memonicsToAvalancheAccount

    Converts a mnemonic to an Avalanche account.

    parseAvalancheAccount

    Parse an account or address to an AvalancheAccount

    privateKeyToAvalancheAccount

    Converts a private key to an Avalanche account.

    privateKeyToXPAccount

    Converts a private key to an XP account.

    privateKeyToXPAddress

    Converts a private key to an XP address.

    privateKeyToXPPublicKey

    Converts a private key to an XP public key.

    publicKeyToXPAddress

    Converts a public key to an XP address.

    xpRecoverPublicKey

    Recovers a public key from a signature and message.

    xpSignMessage

    Signs a message with an XP private key.

    xpSignTransaction

    Signs a transaction hash with an XP private key.

    xpVerifySignature

    Verifies a signature.