Skip to content
docs

CowQuoted

Defined in: protocol-swap2-cow/src/provider.ts:141

The parts of a quote this module uses, each checked.

buyAmount: bigint

Defined in: protocol-swap2-cow/src/provider.ts:145

What the quoted price pays for it.


expirationMs: number

Defined in: protocol-swap2-cow/src/provider.ts:151


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: bigint

Defined in: protocol-swap2-cow/src/provider.ts:143

Input left after the solver’s network cost.


validTo: number

Defined in: protocol-swap2-cow/src/provider.ts:148


verified: boolean

Defined in: protocol-swap2-cow/src/provider.ts:153

The orderbook simulated the trade from this account’s balances.