Interface: EnrichedOrder
An order with the total fee added.
Hierarchy
-
↳
EnrichedOrder
Properties
appData
• appData: string
This field comes in two forms for backward compatibility. The hash form will eventually stop being accepted.
Inherited from
Order.appData
Defined in
external/cow-sdk/src/order-book/generated/models/OrderCreation.ts:84
appDataHash
• Optional
appDataHash: null
| string
May be set for debugging purposes. If set, this field is compared to what the backend
internally calculates as the app data hash based on the contents of appData
. If the
hash does not match, an error is returned. If this field is set, then appData
MUST be
a string encoding of a JSON object.
Inherited from
Order.appDataHash
Defined in
external/cow-sdk/src/order-book/generated/models/OrderCreation.ts:92
availableBalance
• Optional
availableBalance: null
| string
Unused field that is currently always set to null
and will be removed in the future.
Deprecated
Inherited from
Order.availableBalance
Defined in
external/cow-sdk/src/order-book/generated/models/OrderMetaData.ts:32
buyAmount
• buyAmount: string
see OrderParameters::buyAmount
Inherited from
Order.buyAmount
Defined in
external/cow-sdk/src/order-book/generated/models/OrderCreation.ts:38
buyToken
• buyToken: string
see OrderParameters::buyToken
Inherited from
Order.buyToken
Defined in
external/cow-sdk/src/order-book/generated/models/OrderCreation.ts:26
buyTokenBalance
• Optional
buyTokenBalance: BuyTokenDestination
see OrderParameters::buyTokenBalance
Inherited from
Order.buyTokenBalance
Defined in
external/cow-sdk/src/order-book/generated/models/OrderCreation.ts:62
class
• class: OrderClass
Inherited from
Order.class
Defined in
external/cow-sdk/src/order-book/generated/models/OrderMetaData.ts:24
creationDate
• creationDate: string
Creation time of the order. Encoded as ISO 8601 UTC.
Inherited from
Order.creationDate
Defined in
external/cow-sdk/src/order-book/generated/models/OrderMetaData.ts:23
ethflowData
• Optional
ethflowData: EthflowData
Inherited from
Order.ethflowData
Defined in
external/cow-sdk/src/order-book/generated/models/OrderMetaData.ts:76
executedBuyAmount
• executedBuyAmount: string
The total amount of buyToken
that has been executed for this order.
Inherited from
Order.executedBuyAmount
Defined in
external/cow-sdk/src/order-book/generated/models/OrderMetaData.ts:47
executedFeeAmount
• executedFeeAmount: string
The total amount of fees that have been executed for this order.
Inherited from
Order.executedFeeAmount
Defined in
external/cow-sdk/src/order-book/generated/models/OrderMetaData.ts:51
executedSellAmount
• executedSellAmount: string
The total amount of sellToken
that has been executed for this order including fees.
Inherited from
Order.executedSellAmount
Defined in
external/cow-sdk/src/order-book/generated/models/OrderMetaData.ts:37
executedSellAmountBeforeFees
• executedSellAmountBeforeFees: string
The total amount of sellToken
that has been executed for this order without fees.
Inherited from
Order.executedSellAmountBeforeFees
Defined in
external/cow-sdk/src/order-book/generated/models/OrderMetaData.ts:42
executedSurplusFee
• Optional
executedSurplusFee: null
| string
Surplus fee that the limit order was executed with.
Inherited from
Order.executedSurplusFee
Defined in
external/cow-sdk/src/order-book/generated/models/OrderMetaData.ts:95
feeAmount
• feeAmount: string
see OrderParameters::feeAmount
Inherited from
Order.feeAmount
Defined in
external/cow-sdk/src/order-book/generated/models/OrderCreation.ts:46