Skip to content
docs

EthFlowData

Defined in: protocol-swap2-cow/src/ethflow.ts:66

EthFlowOrder.Data with this module’s fixed fields left out: feeAmount 0, partiallyFillable false.

appData: string

Defined in: protocol-swap2-cow/src/ethflow.ts:73


buyAmount: string

Defined in: protocol-swap2-cow/src/ethflow.ts:72

Base units, decimal: the least the receiver accepts.


buyToken: string

Defined in: protocol-swap2-cow/src/ethflow.ts:67


quoteId: number

Defined in: protocol-swap2-cow/src/ethflow.ts:77

The quote the order was priced from (the orderbook links them).


receiver: string

Defined in: protocol-swap2-cow/src/ethflow.ts:68


sellAmount: string

Defined in: protocol-swap2-cow/src/ethflow.ts:70

Wei, decimal: the whole input.


validTo: number

Defined in: protocol-swap2-cow/src/ethflow.ts:75

Unix seconds: the order trades until then.