@wharfkit/signing-request - v4.0.2
    Preparing search index...

    Class SigningRequest

    Index

    The raw signing request data.

    signature?: RequestSignature

    The request signature.

    version: number

    The signing request version.

    • Encode this request into an esr: uri.

      Parameters

      • Optionalcompress: boolean
      • Optionalslashes: boolean
      • scheme: string = 'esr:'

      Returns string

      An esr uri string.

      compress Whether to compress the request data using zlib, defaults to true if omitted and zlib is present; otherwise false.

      slashes Whether add slashes after the protocol scheme, i.e. esr://. Defaults to true.

    • Present if the request is an identity request and requests a specific account.

      Returns Name | null

      This returns nil unless a specific identity has been requested, use isIdentity to check id requests.

    • Present if the request is an identity request and requests a specific permission.

      Returns Name | null

      This returns nil unless a specific permission has been requested, use isIdentity to check id requests.

    • Present if the request is an identity request and requests a specific permission.

      Returns Name | null

      This returns nil unless a specific permission has been requested, use isIdentity to check id requests.

    • Set broadcast flag.

      Parameters

      • broadcast: boolean

        Whether the transaction should be broadcast by receiver.

      Returns void

    • Set the request callback, mutating.

      Parameters

      • url: string

        Where the callback should be sent.

      • background: boolean

        Whether the callback should be sent in the background.

      Returns void

    • Set a metadata key.

      Parameters

      • key: string
      • object: ABISerializable
      • Optionaltype: ABISerializableType

      Returns void

    • Set the signature data for this request, mutating.

      Parameters

      • signer: string

        Account name of signer.

      • signature: string

        The signature string.

      Returns void