@silencelaboratories/walletprovider-sdk
    Preparing search index...

    Class SignRequestBuilder

    Builder class for constructing request payload for DSG. The returned value from build() is the value of message field of SignSetupOpts.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Builds and returns the Map<string, Transaction> as a JSON.

      Returns string

      The canonicalized JSON of Map<string, Transaction>.

    • Sets the transaction ID, message, and request type for the sign request. Ensures that each transaction ID is only set once.

      Parameters

      • transactionId: string

        The transaction ID.

      • message: string

        The message to be signed.

      • requestType: SignRequestType

        The type of the sign request.

      Returns SignRequestBuilder

      The builder instance.