swap_build
Construct an unsigned swap transaction on Solana by specifying input and output tokens, amount, and slippage. Returns a transaction ready for local signing.
Instructions
Build an unsigned swap transaction with Dritan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| walletPath | No | ||
| userPublicKey | No | ||
| inputMint | Yes | ||
| outputMint | Yes | ||
| amount | Yes | ||
| slippageBps | No | ||
| swapType | No | ||
| feeWallet | No | ||
| feeBps | No | ||
| feePercent | No |