cURL
curl --request GET \ --url https://demo-api.mobula.io/api/2/swap/quoting-instructions
{ "data": { "requestId": "<string>", "solana": { "instructions": { "swapInstructions": [ { "programId": "<string>", "accounts": [ { "pubkey": "<string>", "isSigner": true, "isWritable": true } ], "data": "<string>" } ], "computeBudgetInstructions": [ { "programId": "<string>", "accounts": [ { "pubkey": "<string>", "isSigner": true, "isWritable": true } ], "data": "<string>" } ], "setupInstructions": [ { "programId": "<string>", "accounts": [ { "pubkey": "<string>", "isSigner": true, "isWritable": true } ], "data": "<string>" } ], "cleanupInstructions": [ { "programId": "<string>", "accounts": [ { "pubkey": "<string>", "isSigner": true, "isWritable": true } ], "data": "<string>" } ], "addressLookupTableAddresses": [ "<string>" ] }, "lastValidBlockHeight": 123, "recentBlockhash": "<string>" }, "amountOutTokens": "<string>", "slippagePercentage": 123, "amountInUSD": 123, "amountOutUSD": 123, "marketImpactPercentage": 123, "poolFeesPercentage": 123, "details": { "aggregator": "<string>", "raw": {} } }, "error": "<string>" }
Get swap instructions for Solana that allow you to build custom transactions with your own instructions (e.g., Jito tips, fee transfers).
1
Swap quoting instructions response
Show child attributes