swapExactOut
Swapping one coin for another
.swapExactOut({
token0: {
token: TOKENS.KDA,
amount: 0.02
},
token1: {
token: TOKENS.ABC,
amount: 0.1
},
slippage: '0.05'
})Parameter
Type
Default Value
new KaddexSdk({ account, secretKey })Last updated
