Interface: TradeParameters
Trade type, assets, amounts, and optional parameters.
Hierarchy
-
↳
TradeParameters
Properties
amount
• amount: string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:58
buyToken
• buyToken: string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:56
buyTokenDecimals
• buyTokenDecimals: number
Inherited from
TradeBaseParameters.buyTokenDecimals
Defined in
external/cow-sdk/src/trading/types.ts:57
env
• Optional
env: CowEnv
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:65
kind
• kind: OrderKind
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:52
owner
• Optional
owner: `0x${string}`
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:53
partiallyFillable
• Optional
partiallyFillable: boolean
Inherited from
TradeOptionalParameters.partiallyFillable
Defined in
external/cow-sdk/src/trading/types.ts:66
partnerFee
• Optional
partnerFee: PartnerFee
Inherited from
TradeOptionalParameters.partnerFee
Defined in
external/cow-sdk/src/trading/types.ts:70
receiver
• Optional
receiver: null
| string
Inherited from
TradeOptionalParameters.receiver
Defined in
external/cow-sdk/src/trading/types.ts:68
sellToken
• sellToken: string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:54
sellTokenDecimals
• sellTokenDecimals: number
Inherited from
TradeBaseParameters.sellTokenDecimals
Defined in
external/cow-sdk/src/trading/types.ts:55
slippageBps
• Optional
slippageBps: number
Inherited from
TradeOptionalParameters.slippageBps
Defined in
external/cow-sdk/src/trading/types.ts:67
validFor
• Optional
validFor: number
Inherited from
TradeOptionalParameters.validFor
Defined in
external/cow-sdk/src/trading/types.ts:69