Create Route Swap
Creates an unsigned transaction for a swap along the provided route using Jupiter.
This endpoint does not submit the transaction to the network.
This endpoint is intended for advanced usage. A simple application of this endpoint would be to use Get Quotes to compute several routes, and then use the best route to create the steps in this endpoint.
Request
Method:
POST ./api/v2/jupiter/route-swap
The tip
parameter is currently not supported. You can create an additional transaction with an tip
instruction and submit the swap & tip transactions as a Bundle.
Parameters:
JupiterRouteStep
StepProject
Fee
Request example:
Response:
Fields:
TransactionMessage
PriceImpactV2
Fee
Example:
Last updated