EDUCHAIN Agent Kit

swap_tokens_for_edu

Swap specified tokens for EDU on the SailFish DEX. Define input token, amount, fee tier, and slippage tolerance for efficient token exchange on the EDUCHAIN network.

Instructions

Swap tokens for EDU on SailFish DEX

Input Schema

NameRequiredDescriptionDefault
amountInYesAmount of tokens to swap
feeNoFee tier (100=0.01%, 500=0.05%, 3000=0.3%, 10000=1%)
privateKeyYesPrivate key of the sender wallet
slippagePercentageNoSlippage tolerance percentage (default: 0.5)
tokenInYesAddress of the input token

Input Schema (JSON Schema)

{ "properties": { "amountIn": { "description": "Amount of tokens to swap", "type": "string" }, "fee": { "description": "Fee tier (100=0.01%, 500=0.05%, 3000=0.3%, 10000=1%)", "type": "number" }, "privateKey": { "description": "Private key of the sender wallet", "type": "string" }, "slippagePercentage": { "description": "Slippage tolerance percentage (default: 0.5)", "type": "number" }, "tokenIn": { "description": "Address of the input token", "type": "string" } }, "required": [ "privateKey", "tokenIn", "amountIn" ], "type": "object" }
ID: fd54q7e2lz