NOTE
- Lite URL:
https://lite-api.jup.ag/trigger/v1/execute
- Pro URL:
https://api.jup.ag/trigger/v1/execute
/execute
endpoint to do it for you.
Sign Transaction
Using the Solanaweb3.js
v1 library, you can sign the transaction as follows:
Execute Order
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.
Execute Order Response
After making the post request to the/execute
endpoint, you will receive a response with the status of the order.
Example response of successful order: