Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
GET
https://api.expand.network/dex/getorders
Name | Type | Description |
---|---|---|
POST
https://api.expand.network/dex/createorder
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/swap
With gasPriority:
With gasPriority:
Provides connectivity across the various decentralized exchanges available on the EVM and Non-EVM chains.
Following are the common APIs implemented for all the DEXs :-
Name | Type | Description |
---|
Every DEX requires a different set of parameters to perform the common operations. Please refer to the sub-sections for details.
If the user wants to get the list of the price of the pool on multiple DEXs, they can do the same using /getpools endpoint.
GET
https://api.expand.network/dex/getpools
GET
https://api.expand.network/dex/quoteaggregator
GET
https://historicallp.api.expand.network/dex/getwalletposition
POST
https://api.expand.network/dex/swapaggregator
With gasPriority:
With gasPriority:
Following is a sequence diagram for swap() process:-
Following is a sequence diagram for addLiquidity() process:-
Following is a sequence diagram for removeLiquidity() process:-
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|
dexId*
String
Refer to the DEX ID page for details.
status
String
The order status. Accepted values: open, expired, error, cancelled, filled, and insufficient-funds
orderHashes
String
Comma separated order hashes.
filler
String
Address of the filler.
sort
String
"asc" or "desc".
By default, desc.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to DEX ID page for details.
amountOutMin*
String
Minimum amount accepted.
decayStartTime*
String
Dutch order bidding start time. (UNIX Timestamp).
decayEndTime*
String
Dutch order bidding end time. (UNIX Timestamp).
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
from*
String
Address of the sender of the token.
path*
String
Comma-separated values of token addresses, inside an array, to swap.
amountIn*
String
Amount of token to create an order.
to*
String
Address of the recipient of the token.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
dexId*
String
Refer to DEX ID page for details.
gasPriority
String
low, medium, or high.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
signature*
String
The quoter's signature.
serializedOrder*
String
The encoded order data received from UniswapX.
from*
String
Address of the sender of the token.
pageToken | String | The page number that the user wants to fetch. By default, 1. |
address* | String | Public address of the user. |
getprice | Read | Returns the swap quotation for the given token pairs for the specified DEX. |
getuserliquidity | Read | Returns the balance of a particular token pair of an account. |
getpoolliquidity | Read | Returns the total liquidity for a specified pool. |
gettokenliquidity | Read | Returns the individual token liquidity within the specified liquidity pool. |
getliquidityholders | Read | Returns the total number of liquidity holders in the specified pool. |
getindividualposition | Read | Returns the liquidity position for a specified user address across all the pools for a specified DEX. |
getliquiditysources | Read | Get the liquidity sources for the specified dex aggregator(on the basis of chain), supported by expand.network. |
Read | Returns a list of all the quotes for a pool on different DEXs. |
gethistoricaltimeseries | Read | Get the historical time series transactions for a specific pool address. |
gethistoricaltransactions | Read | Get the historical transactions focusing on swaps associated with a specific pool address. |
getpoolchartdata | Read | Get the data for the pool and obtain the OHCL (Open, High, Close, Low) prices within the specified time interval. |
getpooltradedata | Read | Get the trade data from the pool within a specified block range, for the specified event type. |
getpoolindividualliquidity | Read | Get all user addresses, block numbers, and token position details for a specified pool address. Available for Uniswap V2,V3 and Sushiswap only. |
getwalletposition | Read | Get detailed information for user transactions on various DEXs, including transaction type, block-related details, decoded parameters and many more. |
quoteaggregator | Read | Retrieves quotes from various DEXs & aggregators in a unified manner. For a specified pair address, this endpoint will return the respective quotes for each DEX in which the pair address is present. |
swap | Write | Initiate a swap transaction on a specified DEX. |
addliquidity | Write | Add liquidity to a specified pool in a specified DEX. |
removeliquidity | Write | Remove liquidity from a specified pool for a specified DEX. |
swapaggregator | Write | Returns the aggregated prepared swap quotes for every DEX, in which the pair address is present. |
dexId* | String |
path* | String | Comma-separated values of token pair. |
amountIn* | String | Amount of token. |
chainId | String |
path* | String | Comma-separated values of token pair. |
amountIn* | String | Amount of token. |
chainSymbol | String |
excludedDexes | String | Comma-separated values of dexes to exclude. |
chainId | String |
path* | String | Comma-separated values of token pair. |
amountIn* | String | Amount of token. |
chainSymbol | String |
from* | String | Address of the sender of the token. |
gas* | String | Maximum gas limit provided by the sender, for the transaction. |
excludedDexes | String | Comma-separated values of dexes to exclude. |
bestSwap | Boolean | If true, prepared transaction from the dex providing best swap value will be provided. |
to* | String | Address of the recipient of the token. |
gasPriority | String | low, medium, or high. |
Available on Ethereum, Binance Smart Chain, Avalanche and Polygon.
GET
https://api.expand.network/dex/getprice
Name | Type | Description |
---|---|---|
GET
https://api.expand.network/dex/getuserliquidity
GET
https://api.expand.network/dex/getpoolliquidity
GET
https://api.expand.network/dex/gettokenliquidity
GET
https://api.expand.network/dex/getliquidityholders
GET
https://api.expand.network/dex/getindividualposition
GET
https://historicallp.api.expand.network/dex/getpoolindividualliquidity
GET
https://historicaltrade.api.expand.network/dex/gethistoricaltimeseries
GET
https://historicaltrade.api.expand.network/dex/gethistoricaltransactions
GET
https://historicaltrade.api.expand.network/dex/getpoolchartdata
GET
https://historicaltrade.api.expand.network/dex/getpooltradedata
POST
https://api.expand.network/dex/swap
With gasPriority (medium):
With gasPriority:
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/addliquidity
With gasPriority (medium):
With gasPriority:
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/removeliquidity
With gasPriority:
With gasPriority:
With slippage:
With slippage:
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
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/addliquidity
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/removeliquidity
GET
https://api.expand.network/dex/getprice
Name | Type | Description |
---|---|---|
GET
https://api.expand.network/dex/getuserliquidity
GET
https://api.expand.network/dex/getpoolliquidity
GET
https://api.expand.network/dex/gettokenliquidity
GET
https://api.expand.network/dex/getliquidityholders
GET
https://api.expand.network/dex/getindividualposition
POST
https://api.expand.network/dex/swap
With gasPriority:
With gasPriority:
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/addliquidity
With gasPriority:
With gasPriority:
With slippage:
With slippage:
POST
https://api.expand.network/dex/removeliquidity
With gasPriority:
With gasPriority:
With Slippage:
With Slippage:
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
GET
https://api.expand.network/dex/getindividualposition
GET
https://historicallp.api.expand.network/dex/getpoolindividualliquidity
GET
https://historicaltrade.api.expand.network/dex/gethistoricaltimeseries
GET
https://historicaltrade.api.expand.network/dex/gethistoricaltransactions
GET
https://historicaltrade.api.expand.network/dex/getpoolchartdata
GET
https://historicaltrade.api.expand.network/dex/getpooltradedata
POST
https://api.expand.network/dex/swap
With gasPriority:
With gasPriority:
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/addliquidity
With gasPriority:
With gasPriority:
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/removeliquidity
With gasPriority:
With gasPriority:
With slippage:
With slippage:
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
GET
https://api.expand.network/dex/getindividualposition
GET
https://historicallp.api.expand.network/dex/getpoolindividualliquidity
GET
https://historicaltrade.api.expand.network/dex/gethistoricaltimeseries
GET
https://historicaltrade.api.expand.network/dex/gethistoricaltransactions
GET
https://historicaltrade.api.expand.network/dex/getpoolchartdata
GET
https://historicaltrade.api.expand.network/dex/getpooltradedata
POST
https://api.expand.network/dex/swap
With gasPriority (high):
With gasPriority:
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/addliquidity
With gasPriority (low):
With gasPriority:
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/removeliquidity
With gasPriority (high):
With gasPriority:
With slippage:
With slippage:
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
GET
https://api.expand.network/dex/getindividualposition
GET
https://historicaltrade.api.expand.network/dex/gethistoricaltimeseries
GET
https://historicaltrade.api.expand.network/dex/gethistoricaltransactions
POST
https://api.expand.network/dex/swap
With gasPriority:
With gasPriority:
With slippage:
With slippage:
POST
https://api.expand.network/dex/addliquidity
With gasPriority:
With gasPriority:
With slippage:
With slippage:
POST
https://api.expand.network/dex/removeliquidity
With gasPriority:
With gasPriority:
With slippage:
With slippage:
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
POST
https://api.expand.network/dex/swap
With gasPriority:
With gasPriority (high):
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/addliquidity
With gasPriority (medium):
With gasPriority:
With Slippage:
With Slippage:
POST
https://api.expand.network/dex/removeliquidity
With gasPriority:
With gasPriority:
With Slippage:
With Slippage:
GET
https://api.expand.network/dex/getprice
Name | Type | Description |
---|---|---|
GET
https://api.expand.network/dex/getuserliquidity
GET
https://api.expand.network/dex/getpoolliquidity
GET
https://api.expand.network/dex/gettokenliquidity
GET
https://api.expand.network/dex/getliquidityholders
GET
https://api.expand.network/dex/getindividualposition
POST
https://api.expand.network/dex/swap
With gasPriority:
With gasPriority:
With slippage:
With slippage:
POST
https://api.expand.network/dex/addliquidity
With gasPriority:
With gasPriority:
With slippage:
With slippage:
POST
https://api.expand.network/dex/removeliquidity
With gasPriority (medium):
With gasPriority:
With Slippage:
With Slippage:
GET
https://api.expand.network/dex/getprice
Name | Type | Description |
---|---|---|
GET
https://api.expand.network/dex/getliquiditysources
Name | Type | Description |
---|---|---|
POST
https://api.expand.network/dex/swap
With gasPriority:
With gasPriority:
With Slippage:
With Slippage:
GET
https://api.expand.network/dex/getprice
Name | Type | Description |
---|---|---|
GET
https://api.expand.network/dex/getliquiditysources
Name | Type | Description |
---|---|---|
POST
https://api.expand.network/dex/swap
With gasPriority:
With gasPriority:
With Slippage:
With Slippage:
GET
https://api.expand.network/dex/getprice
Name | Type | Description |
---|---|---|
GET
https://api.expand.network/dex/getliquiditysources
POST
https://api.expand.network/dex/swap
With gasPriority:
With gasPriority:
With Slippage:
With Slippage:
Comma-separated values of Dex Id. 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.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
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.
path*
String
Comma separated values of token addresses whose price is to be fetched.
amountIn*
String
Amount of token.
poolFees
String
Different pool based on the fees. By default, it is selected as 3000.
rpc
String
Remote procedural call URL.
tokenId*
String
The token ID for uniswap V3 liquidity position.
dexId*
String
Refer to DexId page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
Pool address whose liquidity is to be fetched.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
address*
String
The public address of the liquidity holder.
dexId*
String
Refer to DEX ID page for details.
poolAddresses
String
The pool Addresses whose liquidity is to be fetched. (Comma-separated vaules)
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
endPage
String
Index of the last page that user wants to query.
By default: startPage+9
startPage
String
Index of the start page that user wants to query.
By default: endPage-9
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose time series is to be fetched.
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose transactions is to be fetched.
dexId*
String
Refer to DEX ID page for details.
interval
String
15 mins(by default), 30 mins, 60 mins, and 90 mins.
poolAddress*
String
Pool address whose transactions is to be fetched.
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose data is to be fetched.
eventType
String
Transfer, Swap, Burn or Mint(by default).
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma-separated values of token addresses, inside an array, to swap.
amountIn*
String
Amount of token to be swapped.
amountOutMin*
String
Minimum amount accepted as a result of swap.
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
involveBaseToken
String
If a base token is involved in the swap;
0
for erc20 -> erc20,
1
for base -> erc20 ("from" address should be of equivalent wrapped token),
2
for erc20 -> base ("to" address should be of equivalent wrapped token).
By default, 0.
poolFees
String
Different pool based on the fees. By default, it is selected as 3000.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
dexId*
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being added.
tokenB*
String
Address of the second token being added.
poolFees*
String
Different pool based on the fees.
amountADesired*
String
Desired amount of token A.
amountBDesired*
String
Desired amount of token B.
amountAMin*
String
Minimum amount of token A.
amountBMin*
String
Minimum amount of token B.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
tokenId
String
The token ID for uniswap V3 liquidity position.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total value. By default, 1.
0 <= slippage value <= 10
dexId*
String
Refer to the DEX ID page for details.
tokenId*
String
The token ID for uniswap V3 liquidity position.
amountAMin
String
Minimum amount of Token A.
amountAMax
String
Maximum amount of Token A.
amountBMax
String
Maximum amount of Token B.
recipient
String
Recipient for sweep tokens.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
tokenA*
String
Address of the first token being removed.
tokenB
String
Address of the second token being removed.
poolFees*
string
Different pools based on the fees.
liquidity*
string
The liquidity to be removed.
amountBMin
String
Minimum amount of Token B.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total 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 whose price is to be fetched.
amountIn*
String
Amount of token.
rpc
String
Remote procedural call URL.
tokenA*
String
Address of token.
address*
String
Public address of liquidity provider.
dexId*
String
Refer to DEX ID page for details.
tokenB*
String
Address of token.
rpc
String
Remote procedural call URL.
poolAddress*
String
Pool address whose liquidity is to be fetched.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma-separated values of token addresses, inside an array, to swap.
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.
gas
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
involveBaseToken
String
If a base token is involved in the swap;
0
for jetton -> jetton,
1
for native -> jetton,
2
for jetton -> native.
By default, 0
.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
referralAddress
String
The referral address.
queryId
String
The query id, used to identify your transaction.
dexId*
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being added.
tokenB*
String
Address of the second token being added.
amountADesired*
String
Desired amount of token A.
amountBDesired*
String
Desired amount of token B.
amountAMin*
String
Minimum amount of token A.
amountBMin*
String
Minimum amount of token B.
from*
String
Address of the sender of the token.
gas
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
slippage
String
Percentage of total value. By default, 1.
0 <= slippage value <= 10
queryId
String
The query id, used to identify your transaction.
dexId*
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being removed.
tokenB*
String
Address of the second token being removed.
liquidity*
String
Total amount of liquidity to be removed from the given pool.
from*
String
Address of the sender of the token.
gas
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
queryId
String
The query id, used to identify your transaction.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
path*
String
Comma separated values of token addresses whose price is to be fetched.
amountIn*
String
Amount of token.
rpc
String
Remote procedural call URL.
tokenA*
String
Address of token.
address*
String
Public address of liquidity provider.
dexId*
String
Refer to DEX ID page for details.
tokenB*
String
Address of token.
tokenC
String
Address of token.
tokenD
String
Address of token.
rpc
String
Remote procedural call URL.
poolAddress*
String
Pool address whose liquidity is to be fetched.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
address*
String
The public address of the liquidity holder.
dexId*
String
Refer to DEX ID page for details.
poolAddresses
String
The pool Addresses whose liquidity is to be fetched. (Comma-separated vaules)
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma-separated values of token addresses, inside an array, to swap.
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.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma separated values of token addresses.
amountIn*
Array
Amount of tokens to add liquidity.
amountOut*
String
Amount of tokens accepted as a result of the transaction.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
slippage
String
Percentage of total value. By default, 1.
0 <= slippage value <= 10
gasPriority
String
low, medium, or high.
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma separated values of token addresses.
amountIn*
String
Amount of tokens to remove liquidity.
amountOut*
Array
Amount of tokens accepted as a result of the transaction.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
slippage
String
Percentage of total value. By default, 1. 0 <= slippage value <= 10
gasPriority
String
low, medium, or high.
rpc
String
Remote procedural call URL.
dexId
String
Refer to the DEX ID page for details.
path*
String
Comma separated values of token addresses whose price is to be fetched.
amountIn*
String
Amount of token.
rpc
String
Remote procedural call URL.
tokenA*
String
Address of token.
address*
String
Public address of liquidity provider.
dexId
String
Refer to DEX ID page for details.
tokenB*
String
Address of token.
rpc
String
Remote procedural call URL.
poolAddress*
String
Pool address whose liquidity is to be fetched.
dexId
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
address*
String
The public address of the liquidity holder.
dexId
String
Refer to DEX ID page for details.
poolAddresses
String
The pool Addresses whose liquidity is to be fetched. (Comma-separated vaules)
poolSize
String
The number of pools for which the user intends to fetch the individual position. By default: 50, Maximum: 9,950
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId
String
Refer to DEX ID page for details.
endPage
String
Index of the last page that user wants to query.
By default: startPage+9
startPage
String
Index of the start page that user wants to query.
By default: endPage-9
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose time series is to be fetched.
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose transactions is to be fetched.
dexId*
String
Refer to DEX ID page for details.
interval
String
15 mins(by default), 30 mins, 60 mins, and 90 mins.
poolAddress*
String
Pool address whose transactions is to be fetched.
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose data is to be fetched.
eventType
String
Transfer, Swap, Burn or Mint(by default).
dexId
String
Refer to the DEX ID page for details.
path*
Array
Comma-separated values of token addresses, inside an array, to swap.
amountIn*
String
Amount of token to be swapped.
amountOutmin*
String
Minimum amount accepted as the result of swap.
to*
String
Address of the recipient of the token.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
involveBaseToken
String
If a base token is involved in the swap;
0
for erc20 -> erc20,
1
for base -> erc20 ("from" address should be of equivalent wrapped token),
2
for erc20 -> base ("to" address should be of equivalent wrapped token).
By default, 0
.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
dexId
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being added.
tokenB*
String
Address of the second token being added.
amountADesired*
String
Desired amount of token A.
amountBDesired*
String
Desired amount of token B.
amountAMin*
String
Minimum amount of token A.
amountBMin*
String
Minimum amount of token B.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total value. By default, 1.
0 <= slippage value <= 10
dexId
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being removed.
tokenB*
String
Address of the second token being removed.
liquidity*
String
Total amount of liquidity to be removed from the given pool.
amountAMin*
String
Minimum amount of Token A.
amountBMin*
String
Minimum amount of Token B.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total 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 whose price is to be fetched.
amountIn*
String
Amount of token.
rpc
String
Remote procedural call URL.
tokenA*
String
Address of token.
address*
String
Public address of liquidity provider.
dexId*
String
Refer to DexId page for details.
tokenB*
String
Address of token
rpc
String
Remote procedural call URL.
poolAddress*
String
Pool address whose liquidity is to be fetched.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
address*
String
The public address of the liquidity holder.
dexId*
String
Refer to DEX ID page for details.
poolSize
String
The number of pools for which the user intends to fetch the individual position. By default: 50, Maximum: 9,950
poolAddresses
String
The pool Addresses whose liquidity is to be fetched. (Comma-separated vaules)
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
endPage
String
Index of the last page that user wants to query.
By default: startPage+9
startPage
String
Index of the start page that user wants to query.
By default: endPage-9
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose time series is to be fetched.
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose transactions is to be fetched.
dexId*
String
Refer to DEX ID page for details.
interval
String
15 mins(by default), 30 mins, 60 mins, and 90 mins.
poolAddress*
String
Pool address whose transactions is to be fetched.
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose data is to be fetched.
eventType
String
Transfer, Swap, Burn or Mint(by default).
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma-separated values of token addresses, inside an array, to swap.
amountIn*
String
Amount of token to be swapped.
amountOutMin*
String
Minimum amount accepted as a result of swap.
to*
String
Address of the recipient of the token.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
involveBaseToken
String
If a base token is involved in the swap;
0
for erc20 -> erc20,
1
for base -> erc20 ("from" address should be of equivalent wrapped token),
2
for erc20 -> base ("to" address should be of equivalent wrapped token).
By default, 0
.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
dexId*
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being added.
tokenB*
String
Address of the second token being added.
amountADesired*
String
Desired amount of token A.
amountBDesired*
String
Desired amount of token B.
amountAMin*
String
Minimum amount of token A.
amountBMin*
String
Minimum amount of token B.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total value. By default, 1.
0 <= slippage value <= 10
dexId*
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being removed.
tokenB*
String
Address of the second token being removed.
liquidity*
String
Total amount of liquidity to be removed from the given pool.
amountAMin*
String
Minimum amount of Token A.
amountBMin*
String
Minimum amount of Token B.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total 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 whose price is to be fetched.
amountIn*
String
Amount of token.
rpc
String
Remote procedural call URL.
tokenA*
String
Address of token.
address*
String
Public address of liquidity provider.
dexId*
String
Refer to the DEX ID page for details.
tokenB*
String
Address of token
rpc
String
Remote procedural call URL.
poolAddress*
String
Pool address whose liquidity is to be fetched.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
address*
String
The public address of the liquidity holder.
dexId*
String
Refer to DEX ID page for details.
poolSize
String
The number of pools for which the user intends to fetch the individual position. By default: 50, Maximum: 9,950
poolAddresses
String
The pool Addresses whose liquidity is to be fetched. (Comma-separated vaules)
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose time series is to be fetched.
dexId*
String
Refer to DEX ID page for details.
endBlock
String
Last block of the range.
startBlock
String
Starting block of the range.
poolAddress*
String
Pool address whose transactions is to be fetched.
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma-separated values of token addresses, inside an array, to swap.
amountIn*
String
Amount of token to be swapped.
amountOutMin*
String
Minimum amount accepted as a result of swap.
to*
String
Address of the recipient of the token.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
involveBaseToken
String
If a base token is involved in the swap;
0
for erc20 -> erc20,
1
for base -> erc20 ("from" address should be of equivalent wrapped token),
2
for erc20 -> base ("to" address should be of equivalent wrapped token).
By default, 0
.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
gasPriority
String
low, medium, or high.
dexId*
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being added.
tokenB*
String
Address of the second token being added.
amountADesired*
String
Desired amount of token A.
amountBDesired*
String
Desired amount of token B.
amountAMin*
String
Minimum amount of token A.
amountBMin*
String
Minimum amount of token B.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
gasPriority
String
low, medium, or high.
dexId*
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being removed.
tokenB*
String
Address of the second token being removed.
liquidity*
String
Total amount of liquidity to be removed from the given pool.
amountAMin*
String
Minimum amount of Token A.
amountBMin*
String
Minimum amount of Token B.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
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 whose price is to be fetched.
amountIn*
String
Amount of token.
rpc
String
Remote procedural call URL.
tokenA*
String
Token Address of first token.
dexId*
String
Refer to DexId page for details.
tokenB*
String
Token Address of second token.
address*
String
User public address.
id*
String
Bin ID whose liquidity is to be fetched.
rpc
String
Remote procedural call URL.
poolAddress*
String
Pool address whose liquidity is to be fetched.
dexId*
String
Refer to DEX ID page for details.
id*
String
Bin ID whose liquidity is to be fetched.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma-separated values of token addresses, inside an array, to swap.
amountIn*
String
Amount of token to be swapped.
amountOutMin*
String
Minimum amount accepted as a result of swap.
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
involveBaseToken
String
If a base token is involved in the swap;
0
for erc20 -> erc20,
1
for base -> erc20 ("from" address should be of equivalent wrapped token),
2
for erc20 -> base ("to" address should be of equivalent wrapped token).
By default, 0
.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
dexId*
String
Refer to the DEX ID page for details.
tokenA*
String
Address of the first token being added.
tokenB*
String
Address of the second token being added.
amountA*
String
Desired amount of token A.
amountB*
String
Desired amount of token B.
amountAMin*
String
Minimum amount of token A.
amountBMin*
String
Minimum amount of token B.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
to*
String
Address of the recipient of the token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total value. By default, 1.
0 <= slippage value <= 10
strategy
String
spotUniform, curve or bidask.
By default, spotUniform.
dexId*
String
Refer to the DEX ID page for details.
amountAMin*
String
Minimum amount of Token A.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
tokenA*
String
Address of the first token being removed.
tokenB*
String
Address of the second token being removed.
amountBMin*
String
Minimum amount of Token B.
gasPriority
String
low, medium, or high.
binStep*
String
Difference between two consecutive bins.
ids*
Array
Bin IDs that liquidity should be removed from.
amounts*
Array
LBToken(Liquidity Book Token) amount that should be removed.
to*
String
Address of the recipient 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 whose price is to be fetched.
amountIn*
String
Amount of token.
rpc
String
Remote procedural call URL.
tokenA*
String
Address of token.
address*
String
Public address of liquidity provider.
dexId*
String
Refer to DEX ID page for details.
tokenB*
String
Address of token.
tokenC
String
Address of token.
rpc
String
Remote procedural call URL.
poolAddress*
String
Pool address whose liquidity is to be fetched.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
poolAddress*
String
The pool address.
dexId*
String
Refer to DEX ID page for details.
rpc
String
Remote procedural call URL.
address*
String
The public address of the liquidity holder.
dexId*
String
Refer to DEX ID page for details.
poolAddresses
String
The pool Addresses whose liquidity is to be fetched. (Comma-separated vaules)
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma-separated values of token addresses, inside an array, to swap.
amountIn*
String
Amount of token to be swapped.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
swapKind*
String
The type of batch swap we want to perform.
deadline*
String
Deadline for the transaction to be executed (UNIX Timestamp).
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma separated values of token addresses.
amountIn*
Array
Amount of tokens to add liquidity.
amountOut*
String
Amount of tokens accepted as a result of the transaction.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
fromInternalBalance*
Boolean
True
if sending from internal token balances. False
if sending ERC20.
to*
String
Address of the recipient of the token.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma separated values of token addresses.
amountIn*
String
Amount of tokens to add liquidity.
amountOut*
Array
Amount of tokens accepted as a result of the transaction.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
toInternalBalance*
Boolean
True
if you receiving tokens as internal token balances. False
if receiving as ERC20.
to*
String
Address of the recipient of the token.
gasPriority
String
low, medium, or high.
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/token symbol whose price is to be fetched.
amountIn*
String
Amount of token.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
dexId*
String
Refer to the DEX ID page for details.
path*
Array
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.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
amountOutMin*
String
Minimum amount accepted as the result of swap.
to*
String
Address of the recipient of the token.
gasPriority
String
low, medium or high.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
path*
String
Comma separated values of token addresses/token symbol whose price is to be fetched.
amountIn*
String
Amount of token.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
dexId*
String
Refer to the DEX ID page for details.
path*
Array
Comma-separated values of token addresses/token symbol, inside an array, to swap.
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.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
gasPriority
String
low, medium, or high.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
path*
String
Comma separated values of token addresses/token symbol whose price is to be fetched.
amountIn*
String
Amount of token.
slippage
String
Percentage of total swap value. By default, 1.
rpc
String
Remote procedural call URL.
dexId*
String
Refer to the DEX ID page for details.
dexId*
String
Refer to the DEX ID page for details.
path*
Array
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.
gas
String
Maximum gas limit provided by the sender, for the transaction.
rpc
String
Remote procedural call URL.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
gasPriority
String
low, medium, or high.