sol_swap
Build a NON-CUSTODIAL Solana DEX swap via RiftBeam aggregator (Orca + Raydium CLMM native IX, Jupiter fallback, 0.10% fee). Returns UNSIGNED base64 VersionedTransaction — sign with your wallet and send. Non-custodial.
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) |