Skip to main content
Glama

EDUCHAIN Agent Kit

swap_tokens

Execute token swaps on SailFish DEX by specifying input/output token addresses, amounts, slippage tolerance, and fees using the sender's private key for secure transactions.

Instructions

Swap tokens on SailFish DEX (token to token)

Input Schema

NameRequiredDescriptionDefault
amountInYesAmount of input token 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
tokenOutYesAddress of the output token

Input Schema (JSON Schema)

{ "properties": { "amountIn": { "description": "Amount of input token 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" }, "tokenOut": { "description": "Address of the output token", "type": "string" } }, "required": [ "privateKey", "tokenIn", "tokenOut", "amountIn" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SailFish-Finance/educhain-ai-agent-kit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server