Function verifyTealSign

  • verifyTealSign verifies a signature as would the ed25519verify opcode

    Parameters

    • data: Uint8Array | Buffer

      buffer with original signed data

    • programHash: string

      string representation of teal program hash (= contract address for LogicSigs)

    • sig: Uint8Array

      uint8array with the signature to verify (produced by tealSign/tealSignFromProgram)

    • pk: Uint8Array

      uint8array with public key to verify against

    Returns boolean

Generated using TypeDoc