Function verifyMessageSignature

  • Helper function to verify a signed message.

    Parameters

    • message: string | Uint8Array

      the message to sign, assumed to be utf8 encoded string or a Uint8Array/buffer.

    • signature: AccountTransactionSignature

      the signature of a message, from a specific account.

    • accountInfo: Pick<AccountInfo, "accountThreshold" | "accountCredentials" | "accountAddress">

      the address and credentials of the account

    Returns Promise<boolean>

Generated using TypeDoc