Processor Set variable
This processor assigns a value to a variable and creates the variable if it doesn’t already exist.
Basic variable assignment

WALLET_ADDRESS variableConfiguration meanings:
Field name
Required?
Detail
Variable name for storing result
Yes
Variable name
Value
Yes
Value to assign to the variable
Advanced variable assignment
Assign a variable’s value based on specific conditions

In that example, if:
if
TOKEN_NAMEequalsUSDT, then setSWAP_AMOUNTto100.if
TOKEN_NAMEequalsWETH, setSWAP_AMOUNTto0.1.
Last updated