yajsapi / Exports / rest/market / OfferProposal
rest/market.OfferProposal
• new OfferProposal(subscription
, proposal
)
Parameters
Name | Type |
---|---|
subscription |
Subscription |
proposal |
ProposalEvent |
Defined in
• Private
_proposal: ProposalEvent
Defined in
• Private
_subscription: Subscription
Defined in
▸ create_agreement(timeout?
): Promise
<Agreement>
Parameters
Name | Type | Default value |
---|---|---|
timeout |
number |
3600 |
Returns
Promise
<Agreement>
Defined in
▸ id(): string
Returns
string
Defined in
▸ is_draft(): boolean
Returns
boolean
Defined in
▸ issuer(): string
Returns
string
Defined in
▸ props(): object
Returns
object
Defined in
▸ reject(_reason?
): Promise
Parameters
Name | Type | Default value |
---|---|---|
_reason |
null | string |
null |
Returns
Promise
Defined in
▸ respond(props
, constraints
): Promise
Parameters
Name | Type |
---|---|
props |
object |
constraints |
string |
Returns
Promise
Defined in
▸ state(): ProposalAllOfStateEnum
Returns
ProposalAllOfStateEnum
Defined in