@multiversx/sdk-core - v14.0.1
    Preparing search index...

    Class UserVerifier

    ed25519 signature verification

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    publicKey: UserPublicKey

    Methods

    • Parameters

      • data: Buffer | Uint8Array<ArrayBufferLike>

        the raw data to be verified (e.g. an already-serialized enveloped message)

      • signature: Buffer | Uint8Array<ArrayBufferLike>

        the signature to be verified

      Returns Promise<boolean>

      true if the signature is valid, false otherwise