The Jupiter Developer Platform is live. Previous portal users keep their rate limits for free until 30 June 2026 — set up billing on the new platform before then. See the Migration Guide for details.
Using the Solana web3.js v1 library, you can sign the transaction as follows:
// ... GET /createOrder's response// Extract the transaction from the order responseconst transactionBase64 = createOrderResponse.transaction// Deserialize the transactionconst transaction = VersionedTransaction.deserialize(Buffer.from(transactionBase64, 'base64'));// Sign the transactiontransaction.sign([wallet]);// Serialize the transaction to base64 formatconst signedTransaction = Buffer.from(transaction.serialize()).toString('base64');
By making a post request to the /execute endpoint, Jupiter executes the order transaction on behalf of you/your users. This includes handling of transaction handling, priority fees, RPC connection, etc.
INFODo note that you need both the signed transaction and the order id to execute the order.The order id is returned in the createOrder response.