Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 1.38 KB

File metadata and controls

13 lines (7 loc) · 1.38 KB

Request

Description

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

Properties

requestIdstringThe 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

NameDescription
waitForConfirmation()Wait for request to be persisted and indexed
getData()Unwrap the request contents
refresh()Refresh the request data and balance
cancel()Cancel a request
accept()Accept a request
increaseExpectedAmountRequest()Increase the expected amount
reduceExpectedAmountRequest()Reduce the expected amount
Others...Other features exist. Docs coming soon...