G
G
Golem SDK
Search
K

Class: Agreement

yajsapi / Exports / rest/market / Agreement

Class: Agreement

rest/market.Agreement

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Agreement(api, subscription, agreement_id)
Parameters
Name
Type
api
RequestorApi
subscription
agreement_id
string
Defined in

Properties

_api

Private _api: any
Defined in

_id

Private _id: any
Defined in

_subscription

Private _subscription: any
Defined in

Methods

confirm

confirm(): Promise
Returns
Promise
Defined in

details

details(): Promise
Returns
Promise
Defined in

id

id(): string
Returns
string
Defined in

terminate

terminate(reason?): Promise
Parameters
Name
Type
Default value
reason
string
"Finished"
Returns
Promise
Defined in