Sologenic
Last updated
Last updated
Available on XRPL Mainnet and Testnet
Click on the endpoint to jump to the section with full details
GET
- Returns the swap quotation for a given token pair on Sologenic.
GET
- Returns the balance of a particular token pair of accounts.
GET
- Returns the total liquidity for a specified pool.
GET
- Returns the individual token liquidity within the specified liquidity pool.
POST
- Initiate a swap transaction on a specified DEX.
POST
- Add liquidity to a specified pool in a specified DEX.
POST
- Remove liquidity from a specified pool for a specified DEX.
Many endpoints have a parameter where you can provide a DEX ID.
Below is a list of DEX IDs related to Sologenic. For a complete list and more information, please see the page.
Sologenic
XRPL Mainnet
3500
Sologenic
XRPL Testnet
3501
Returns the swap quotation for a given token pair.
GET
https://api.expand.network/dex/getprice
rpc
String
Remote procedural call URL.
dexId*
String
amountIn*
String
Amount of token.
path*
String
Comma separated values of token addresses whose price is to be fetched.
Returns the balance of a particular token pair of an account.
GET
https://api.expand.network/dex/getuserliquidity
rpc
String
Remote procedural call URL.
dexId*
String
address*
String
Public address of liquidity provider.
poolAddress*
String
Pool address whose liquidity is to be fetched.
Returns the total liquidity for a specified pool.
GET
https://api.expand.network/dex/getpoolliquidity
rpc
String
Remote procedural call URL.
dexId*
String
poolAddress*
String
Pool address whose liquidity is to be fetched.
Returns the individual token liquidity within the specified liquidity pool.
GET
https://api.expand.network/dex/gettokenliquidity
rpc
String
Remote procedural call URL.
dexId*
String
poolAddress*
String
Pool address whose liquidity is to be fetched.
Initiate a swap transaction on a specified DEX.
POST https://api.expand.network/dex/swap
rpc
String
Remote procedural call URL.
dexId*
String
path*
String
Comma separated values of token addresses.
amountIn*
String
Amount of token to be swapped.
amountOutMin*
String
Minimum amount accepted as a result of swap.
from*
String
Address of the sender of the token.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
Add liquidity to a specified pool in a specified DEX.
POST https://api.expand.network/dex/addliquidity
rpc
String
Remote procedural call URL.
dexId*
String
path*
String
Comma separated values of token addresses.
amountIn*
String
Amount of token0 and token1 to be added.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
from*
String
Address of the sender of the token.
amountOutMin*
String
Minimum amount accepted as a result of add liquidity.
Remove liquidity from a specified pool for a specified DEX.
POST https://api.expand.network/dex/removeliquidity
rpc
String
Remote procedural call URL.
dexId*
String
path*
String
Comma separated values of token addresses.
from*
String
Address of the sender of the token.
liquidity*
String
The liquidity to be removed.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.
Refer to the page for details.