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:58
appCode
• appCode: string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:78
buyToken
• buyToken: string
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:56
buyTokenDecimals
• buyTokenDecimals: number
Inherited from
TradeParameters.buyTokenDecimals
Defined in
external/cow-sdk/src/trading/types.ts:57
chainId
• chainId: SupportedChainId
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:77
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
TradeParameters.partiallyFillable
Defined in
external/cow-sdk/src/trading/types.ts:66
partnerFee
• Optional
partnerFee: PartnerFee
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:70
receiver
• Optional
receiver: null
| string
Inherited from
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
TradeParameters.sellTokenDecimals
Defined in
external/cow-sdk/src/trading/types.ts:55
signer
• signer: SignerLike
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:79
slippageBps
• Optional
slippageBps: number
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:67
validFor
• Optional
validFor: number
Inherited from
Defined in
external/cow-sdk/src/trading/types.ts:69