Last updated 5 months ago
.createPair({ token0: TOKENS.KDA, token1: TOKENS.ABC, amountDesired0: 0.2, amountDesired1: 1.0, slippage: '0.05' })
† Can be initialized in the SDK client constructor, i.e
new KaddexSdk({ account, secretKey })
account
Account
config.account (†)
secretKey
string
config.secretKey (†)
token0
Token
token1
amountDesired0
number
amountDesired1
slippage