Skip to main content
Glama

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
NameRequiredDescriptionDefault
walletPathNo
userPublicKeyNo
inputMintYes
outputMintYes
amountYes
slippageBpsNo
swapTypeNo
feeWalletNo
feeBpsNo
feePercentNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amirdauti/dritan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server