Skip to main content
This Processor allows you to perform swaps using Kyberswap Meta Aggregator contract, supported on EVM-compatible chains.
Swap Kyberswap configuration

Example: Swapping AIXBT tokens to ETH

In the example above, the configuration swaps AIXBT tokens to ETH on the Base network.

Configuration fields

FieldRequiredDescription
Variable to save resultYesThis Processor will output the transaction hash of the swap. You can choose a variable name to store the transaction hash. For example: TX_HASH_SWAP_TOKEN_EVM
Private keyYesThis is the private key of the wallet performing the transaction. Each Profile has a default variable for storing the private key, so you can use the default variable WALLET_PRIVATE_KEY
ChainYesThe blockchain network where you want to perform the swap
Node endpoint groupYesSelect the node provider to interact with the blockchain
Input token addressYesFor example, if you want to swap AIXBT for ETH (sell AIXBT), enter the address of the AIXBT token in this field
Output token addressYesEnter the address of the token you want to receive after the swap. For example, if you are swapping AIXBT for WETH (selling AIXBT), input the address of the WETH token here. If you prefer to receive the native token instead of WETH, you can select Receive native tokenas the output token
Input token amountYesEnter the amount of tokens you want to sell. For example, if you want to sell 1,000 AIXBT for ETH, enter 1000
Slippage tolerance (%)YesMaximum slippage for swaps. For pools with low price volatility, you should set this value low (e.g., 0.3%, 0.5%). For pools with high price volatility over short periods, set a higher value to increase the likelihood of a successful swap
Max price impact (%)YesMaximum time allowed to complete the swap transaction. For example, if you enter 10, the transaction will be canceled (reverted) if the swap is not completed within 10 seconds
Deadline (second)YesTransaction timeout window in seconds
Gas limitNoGas limit for executing the transaction
Gas price (Gwei)NoGas price for executing the transaction. If you do not specify a value, the gas price will default to the current average on the chain. For best results, it is recommended to set the gas price to increase the likelihood of a successful swap transaction
Total number of transactionsYesThe minimum value is 1. If you enter a value greater than 1, such as 10, this Processor will broadcast 10 swap transactions simultaneously, each with a different nonce, to increase the likelihood that multiple transactions are mined in the same block
Wait for confirmation?NoIf you enable this option, the Processor will wait for the swap transaction to be confirmed before proceeding to the next Processor. If you leave it unchecked, the Processor will broadcast the swap transaction without waiting for confirmation and immediately move on to the next Processor
Included sourcesNoIf you want your swap transaction to route only through specific protocols, enter a list of DEX IDs here, separated by commas. For example, to swap exclusively via Uniswap V3 and TraderJoe, enter: uniswapv3,traderjoe. For more details, refer to this documentation
Excluded sourcesNoIf you want your swap transaction to avoid certain protocols, enter a list of DEX IDs here, separated by commas. For example, to exclude Pancakeswap V2, Quickswap, and TraderJoe, enter: pancake,quickswap. For more details, refer to this documentation

How to select Gas Limit and Gas Price

Refer to this documentation

List DEX ID

Refer to this documentation