CowQuoted
Defined in: protocol-swap2-cow/src/provider.ts:141
The parts of a quote this module uses, each checked.
Properties
Section titled “Properties”buyAmount
Section titled “buyAmount”buyAmount:
bigint
Defined in: protocol-swap2-cow/src/provider.ts:145
What the quoted price pays for it.
expirationMs
Section titled “expirationMs”expirationMs:
number
Defined in: protocol-swap2-cow/src/provider.ts:151
feeAmount
Section titled “feeAmount”feeAmount:
bigint
Defined in: protocol-swap2-cow/src/provider.ts:147
The network cost, in the sell token. sellAmount + feeAmount is the input.
id:
number|null
Defined in: protocol-swap2-cow/src/provider.ts:150
The orderbook’s id of the quote, when it stored one.
sellAmount
Section titled “sellAmount”sellAmount:
bigint
Defined in: protocol-swap2-cow/src/provider.ts:143
Input left after the solver’s network cost.
validTo
Section titled “validTo”validTo:
number
Defined in: protocol-swap2-cow/src/provider.ts:148
verified
Section titled “verified”verified:
boolean
Defined in: protocol-swap2-cow/src/provider.ts:153
The orderbook simulated the trade from this account’s balances.