AR
aeX402 RPC (Solana + Robinhood Chain)
/aex402_buildSwap
aex402 buildSwap
Build an AeX402 AMM swap action. Fetches live pool state, computes output with slippage protection, returns all instruction parameters and account addresses for
liveverifiedunknown~5s typical
mcpprobedaex402rpc(solana
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-com-aex402-rpc /aex402_buildSwap for me.
Input
| Field | Type | Description |
|---|---|---|
| pool* | string | Pool account address (base58) |
| inputMint* | string | Input token mint address |
| amount* | number | Input amount in atomic units |
| slippageBps | number | Max slippage in basis points (default 50 = 0.5%) |
| userWallet* | string | User wallet address (for account derivation) |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-com-aex402-rpc","endpoint":"/aex402_buildSwap","input":{"pool":"...","inputMint":"...","amount":1,"userWallet":"..."}}'cli
npx cracked-ai run -p mcp-com-aex402-rpc -e /aex402_buildSwap -i '{"pool":"...","inputMint":"...","amount":1,"userWallet":"..."}'mcp
run_tool({ provider: "mcp-com-aex402-rpc", endpoint: "/aex402_buildSwap", input: {"pool":"...","inputMint":"...","amount":1,"userWallet":"..."} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.