Interface: SwapParameters
Trade type, assets, amounts, and optional parameters.
Hierarchy
-
↳
SwapParameters
Properties
amount
• amount: string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:59
appCode
• appCode: string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:79
buyToken
• buyToken: string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:57
buyTokenDecimals
• buyTokenDecimals: number
Inherited from
TradeParameters.buyTokenDecimals
Defined in
external/cow-sdk/src/trading/types.ts:58
chainId
• chainId: SupportedChainId
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:78
env
• Optional
env: CowEnv
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:66
kind
• kind: OrderKind
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:54
partiallyFillable
• Optional
partiallyFillable: boolean
Inherited from
TradeParameters.partiallyFillable
Defined in
external/cow-sdk/src/trading/types.ts:67
partnerFee
• Optional
partnerFee: PartnerFee
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:71
receiver
• Optional
receiver: null
| string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:69
sellToken
• sellToken: string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:55
sellTokenDecimals
• sellTokenDecimals: number
Inherited from
TradeParameters.sellTokenDecimals
Defined in
external/cow-sdk/src/trading/types.ts:56
signer
• signer: string
| Signer
| ExternalProvider
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:80
slippageBps
• Optional
slippageBps: number
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:68
validFor
• Optional
validFor: number
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:70