Phoenix
Swap tokens and provide liquidity on Phoenix DEX
TL;DR
The Phoenix agent handles DEX operations on Phoenix protocol. Execute token swaps with competitive rates, provide liquidity to earn fees, and manage your LP positions.
Supported Operations
| Operation | What it does | Example prompt |
|---|---|---|
| Swap | Exchange tokens via Phoenix DEX | "Swap 50 USDC to XLM on Phoenix" |
| Add Liquidity | Provide tokens to a Phoenix pool | "Add 100 USDC to Phoenix USDC/XLM pool" |
| Remove Liquidity | Withdraw your LP position | "Remove my Phoenix LP" |
| Check Position | View your Phoenix LP status | "What's my Phoenix position?" |
Swap on Phoenix
Type your swap request. Example: "Swap 50 USDC to XLM on Phoenix"
Review the quote. The agent shows expected output, price impact, and fees.
Approve and sign. Confirm the transaction in your wallet.
Provide Liquidity
Type your LP request. Example: "Add 100 USDC to the Phoenix USDC/XLM pool"
Review pool details. See current APY, your expected share, and token requirements.
Approve and confirm. Sign the transaction to deposit.
Remove Liquidity
Request withdrawal. Example: "Remove my Phoenix USDC/XLM LP"
Review and approve. See the tokens you'll receive, then sign.
Tokens returned. Both assets arrive back in your wallet.
Check Position
Example prompts:
- "What's my Phoenix position?"
- "How much am I earning on Phoenix?"