swap
Swapping one coin for another
Parameter
Type
Default Value
account
Account
config.account (†)
secretKey
string
config.secretKey (†)
token0
TokenAmount
token1
TokenAmount
slippage
string
isSwapIn
boolean
† Can be initialized in the SDK client constructor, i.e
Last updated