Jupiter (Aggregator)
/getprice
Returns the swap quoatation for the given token pair.
GET
https://api.expand.network/dex/getprice
Query Parameter
rpc
String
Remote procedural call URL.
dexId*
String
path*
String
Comma separated values of token addresses/token symbol whose price is to be fetched.
amountIn*
String
Amount of token.
/getroute
Retrieves the route details for a swap for a given token pair.
GET
https://api.expand.network/dex/getroute
Query Parameter
rpc
String
Remote procedural call URL.
dexId*
String
path*
String
Comma separated values of token addresses/token symbol whose price is to be fetched.
amountIn*
String
Amount of token.
/getliquiditysources
Retrieves the liquidity sources on Jupiter
GET
https://api.expand.network/dex/getliquiditysources
Query Parameter
rpc
String
Remote procedural call URL.
dexId*
String
/swap
Initiate a swap on the Solana network leveraging Jupiter.
POST
https://api.expand.network/dex/swap
Request Body
rpc
String
Remote procedural call URL.
dexId*
String
path*
String
Comma-separated values of token addresses/token symbol, inside an array, to swap.
amountIn*
String
Amount of token to be swapped.
from*
String
Address of the sender of the token.
slippage*
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 100
Last updated