Need an API that returns pool stats by token addresses.
Closed this issue · 2 comments
octocat512 commented
Now, to get pool stats by token addresses. the frontend uses two APIs. getPoolId
and getPoolStats
in the Dex contract.
Please provide an API that returns pool stats by token addresses.
function requirements:
parameters types: getPoolId
parameters types
return types: getPoolStats
return types
octocat512 commented
This feature is important to fix the speed optimization issue in the frontend. @gedanziger
octocat512 commented
balanced-contracts/core_contracts/dex/dex.py
Line 994 in 5cb18db
Please add the pool Id field in the response. @dbrehmer