G
G
Golem SDK
Search…
yapapi - Python high-level API
yajsapi - JavaScript high-level API
Classes
Yagna Contributor Guide
Class: OfferProposal
yajsapi / Exports / rest/market / OfferProposal

Class: OfferProposal

rest/market.OfferProposal

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new OfferProposal(subscription, proposal)
Parameters
Name
Type
subscription
proposal
ProposalEvent
Defined in

Properties

_proposal

Private _proposal: ProposalEvent
Defined in

_subscription

Private _subscription: Subscription
Defined in

Methods

create_agreement

create_agreement(timeout?): Promise<Agreement>
Parameters
Name
Type
Default value
timeout
number
3600
Returns
Promise<Agreement>
Defined in

id

id(): string
Returns
string
Defined in

is_draft

is_draft(): boolean
Returns
boolean
Defined in

issuer

issuer(): string
Returns
string
Defined in

props

props(): object
Returns
object
Defined in

reject

reject(_reason?): Promise
Parameters
Name
Type
Default value
_reason
null | string
null
Returns
Promise
Defined in

respond

respond(props, constraints): Promise
Parameters
Name
Type
props
object
constraints
string
Returns
Promise
Defined in

state

state(): ProposalAllOfStateEnum
Returns
ProposalAllOfStateEnum
Defined in