Avalanche SDK Client
    Preparing search index...

    Function xpSignMessage

    • Signs a message with an XP private key.

      Parameters

      • message: string

        The message to sign.

      • privateKey: string

        The private key to sign with.

      Returns Promise<string>

      A promise that resolves to the signature as a 0x prefixed string.