Skip to main content
Glama

MCP Jupiter

by dcSpark

jupiter_build_swap_transaction

Build a Solana blockchain swap transaction using Jupiter's API. Input a quote response and user public key to generate a transaction for token swaps, with optional parameters for prioritization fees and legacy transaction format.

Instructions

Build a swap transaction on Jupiter

Input Schema

NameRequiredDescriptionDefault
asLegacyTransactionNo
computeUnitPriceMicroLamportsNo
prioritizationFeeLamportsNo
quoteResponseYes
userPublicKeyYes

Input Schema (JSON Schema)

{ "properties": { "asLegacyTransaction": { "type": "boolean" }, "computeUnitPriceMicroLamports": { "type": "number" }, "prioritizationFeeLamports": { "type": "number" }, "quoteResponse": { "type": "string" }, "userPublicKey": { "type": "string" } }, "required": [ "quoteResponse", "userPublicKey" ], "type": "object" }
Install Server

Other Tools from MCP Jupiter

Related Tools

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/dcSpark/mcp-server-jupiter'

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