Request

Description

An object used to interact with requests. Returned by createRequest() and _createEncryptedRequest()

Properties

requestId

string

The ID of the request. Hash derived from the request contents. Stored alongside the request contents so can be used to look up a request.

Instance Methods

Name
Description

Wait for request to be persisted and indexed

Unwrap the request contents

Refresh the request data and balance

Cancel a request

Accept a request

Increase the expected amount

Reduce the expected amount

Others...

Other features exist. Docs coming soon...

Last updated