swap
This section contains SDK example for performing swap in DEX
Last updated
This section contains SDK example for performing swap in DEX
Last updated
In this section, to illustrate all three possible types of a swap, we will do following exchange chain
swap 1 TON to TesREED (ton to jetton swap)
swap TesREED to TestBlue (jetton to jetton swap)
swap TestBlue back to TON (jetton to ton swap)
Referral Fees: You can specify a referral fee in your swap if needed. For bigger context, see .
To execute the transaction, you need to send a transaction with these parameters to the blockchain. This code will be different based on the wallet you are using to send the tx from, so please check our with examples for different libraries.
Referral Fees: You can specify a referral fee in your swap if needed. For bigger context, see .
To execute the transaction, you need to send a transaction with these parameters to the blockchain. This code will be different based on the wallet you are using to send the tx from, so please check our with examples for different libraries.
Referral Fees: You can specify a referral fee in your swap if needed. For bigger context, see .
To execute the transaction, you need to send a transaction with these parameters to the blockchain. This code will be different based on the wallet you are using to send the tx from, so please check our with examples for different libraries.