Swap tokens via the Jupiter aggregator
Executes a token swap using the Jupiter aggregator, automatically routing through the best available liquidity pools.Documentation Index
Fetch the complete documentation index at: https://docs.useknot.xyz/llms.txt
Use this file to discover all available pages before exploring further.
allowTrading: true).USDC) or mint address.SOL) or mint address.50 equals 0.5%. The transaction fails if the actual slippage exceeds this value.true when the trade succeeds.| Status | Description |
|---|---|
400 | Invalid token symbol, amount, or slippage value |
401 | Missing or invalid Bearer token |
403 | Trading disabled by agent policy |
429 | Rate limit exceeded |