Skip to main content

Interface: TradeParameters

Trade type, assets, amounts, and optional parameters.

Hierarchy

Properties

amount

amount: string

Inherited from

TradeBaseParameters.amount

Defined in

external/cow-sdk/src/trading/types.ts:59


buyToken

buyToken: string

Inherited from

TradeBaseParameters.buyToken

Defined in

external/cow-sdk/src/trading/types.ts:57


buyTokenDecimals

buyTokenDecimals: number

Inherited from

TradeBaseParameters.buyTokenDecimals

Defined in

external/cow-sdk/src/trading/types.ts:58


env

Optional env: CowEnv

Inherited from

TradeOptionalParameters.env

Defined in

external/cow-sdk/src/trading/types.ts:66


kind

kind: OrderKind

Inherited from

TradeBaseParameters.kind

Defined in

external/cow-sdk/src/trading/types.ts:54


partiallyFillable

Optional partiallyFillable: boolean

Inherited from

TradeOptionalParameters.partiallyFillable

Defined in

external/cow-sdk/src/trading/types.ts:67


partnerFee

Optional partnerFee: PartnerFee

Inherited from

TradeOptionalParameters.partnerFee

Defined in

external/cow-sdk/src/trading/types.ts:71


receiver

Optional receiver: null | string

Inherited from

TradeOptionalParameters.receiver

Defined in

external/cow-sdk/src/trading/types.ts:69


sellToken

sellToken: string

Inherited from

TradeBaseParameters.sellToken

Defined in

external/cow-sdk/src/trading/types.ts:55


sellTokenDecimals

sellTokenDecimals: number

Inherited from

TradeBaseParameters.sellTokenDecimals

Defined in

external/cow-sdk/src/trading/types.ts:56


slippageBps

Optional slippageBps: number

Inherited from

TradeOptionalParameters.slippageBps

Defined in

external/cow-sdk/src/trading/types.ts:68


validFor

Optional validFor: number

Inherited from

TradeOptionalParameters.validFor

Defined in

external/cow-sdk/src/trading/types.ts:70