Skip to main content

sendSignature

Callable

  • sendSignature(account: PublicKey, state: string, signature: string, link: string | URL): Promise<boolean>

  • Send the results of a Solana Pay sign-message request to the server.

    @throws

    {SendSignatureError}


    Parameters

    • account: PublicKey

      Account that signed the data

    • state: string

      MAC value that was sent by the server during the POST request.

    • signature: string

      The base58-encoded signature from signing the data.

    • link: string | URL

      link in the Solana Pay spec.

    Returns Promise<boolean>