SDEX
Last updated
Last updated
GET
https://api.expand.network/dex/getprice
Name | Type | Description |
---|---|---|
GET
https://api.expand.network/dex/getuserliquidity
Name | Type | Description |
---|---|---|
GET
https://api.expand.network/dex/getpoolliquidity
GET
https://api.expand.network/dex/gettokenliquidity
GET
https://api.expand.network/dex/getliquidityholders
POST https://api.expand.network/dex/swap
POST https://api.expand.network/dex/addliquidity
POST https://api.expand.network/dex/removeliquidity
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
amountIn*
String
Amount of token.
path*
String
Comma separated values of token addresses whose price is to be fetched.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
address*
String
Public address of liquidity provider.
path*
String
Comma separated values of token addresses whose price is to be fetched. Note: 1) Assets should be in lexicographic order. 2) For assets other than XLM (Native token), the token issuer is required.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
poolAddress*
String
Pool address whose liquidity is to be fetched.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
poolAddress*
String
Pool address whose liquidity is to be fetched.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
poolAddress*
String
Pool address whose liquidity is to be fetched.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
path*
String
Comma-separated values of token addresses, inside an array, to swap. Note: For assets other than XLM (Native token), the token issuer is required.
amountIn*
String
Amount of token to be swapped.
amountOutMin*
String
Minimum amount accepted as the 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
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
path*
String
Comma-separated values of token addresses, inside an array, to swap. Note: For assets other than XLM (Native token), the token issuer is required.
amountIn*
String
Amount of token to be swapped.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
from*
String
Address of the sender of the token.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
path*
String
Comma-separated values of token addresses, inside an array, to swap. Note: For assets other than XLM (Native token), the token issuer is required.
amountOutMin*
String
Minimum amount to be received.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
from*
String
Address of the sender of the token.
liquidity*
String
The liquidity to be removed.