solana_swap_transaction
Build an unsigned Solana swap transaction through a DEX aggregator for a wallet you control. The response contains the base64 transaction, the quote and every fee in basis points, including any integrator fee. Non-custodial: you sign locally, we never see keys or funds and do not send transactions. Not investment advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taker | Yes | Your wallet address (public key) that will sign and pay. | |
| amount | Yes | Amount of the input token in its smallest unit. | |
| inputMint | Yes | Mint address of the token to sell. | |
| outputMint | Yes | Mint address of the token to buy. | |
| slippageBps | No | Maximum slippage in basis points. Omit for the automatic estimate. |