Balancer v2
Below is the list of tokens we currently support for the mentioned endpoints. We are happy to add support for additional tokens upon request.
/getprice
Returns the swap quotation for the given token pairs.
Query Parameters
Name
Type
Description
/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
/getliquidityholders
Returns the total number of liquidity holders in the specified pool.
Query Parameters
Name
Type
Description
/getindividualposition
Returns the liquidity position for a specified user address across all the pools for the DEX.
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

