swap_build
Build unsigned Solana swap transactions for token exchanges using the Dritan SDK. Specify input/output tokens and amounts to generate secure transaction data.
Instructions
Build an unsigned swap transaction with Dritan.
Input Schema
TableJSON 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 |