Function verifyAccountSignature

  • Helper function to verify an account signature on a signed digest.

    Returns

    whether the signature is valid.

    Parameters

    • digest: Uint8Array

      the digest to verify the signature in the context of.

    • signature: AccountTransactionSignature

      the signature on the transaction, from a specific account.

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

      the address and credentials of the account

    Returns Promise<boolean>

Generated using TypeDoc