Trader Joe
/getprice
Returns the swap quotation for the given token pairs.
Query Parameters
Name
Type
Description
https://api.expand.network/dex/getprice?dexId=2100&path=0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7%2C0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB&amountIn=1000000000000000000{
"status": 200,
"msg": "success",
"data": {
"amountIn": "1000000000000000000",
"path": [
"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
"0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB"
],
"amountsOut": "57798768565384314383"
}
}/getuserliquidity
Returns the balance of a particular token pair of an account.
Query Parameters
Name
Type
Description
/getpoolliquidity
Returns the total liquidity for a specified pool.
Query Parameters
Name
Type
Description
/gettokenliquidity
Returns the individual token liquidity within the specified liquidity pool.
Query Parameters
Name
Type
Description
/swap
Initiate a swap transaction on a specified DEX.
Request Body
Name
Type
Description
/addliquidity
Add liquidity to a specified pool in a specified DEX.
Request Body
Name
Type
Description
/removeliquidity
Remove liquidity from a specified pool for a specified DEX.
Request Body
Name
Type
Description
Last updated

