sol_swap
Build non-custodial Solana swaps via Jupiter routing. Returns unsigned transactions for your wallet to sign, ensuring funds remain under your control.
Instructions
Build a NON-CUSTODIAL Solana DEX swap via Jupiter: returns an UNSIGNED base64 transaction — sign with YOUR OWN wallet and send to any Solana RPC. Server never touches funds. 0.3% on-chain routing fee.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | sol, usdc or base58 mint | |
| from | Yes | sol, usdc or base58 mint | |
| amount | No | Human amount (sol/usdc only) | |
| amountRaw | No | Base units (any mint) | |
| slippageBps | No | 1-1000, default 50 | |
| userPublicKey | Yes | Your Solana wallet address (signs the tx) |