simple-uniswap-sdk icon indicating copy to clipboard operation
simple-uniswap-sdk copied to clipboard

How to get the pool reserves?

Open it-n-ova opened this issue 3 years ago • 1 comments

How i can get the pool reserves of tokens pair? Is there some like getReserves() method?

Thanks!

it-n-ova avatar Jul 30 '21 16:07 it-n-ova

Hey thanks for this issue. We do not expose anything like this at the moment. It is on my todo list to return the pool sizes back within the trade context so you know how much is in the pool etc but its not on the top of my list. For now you can call the pair contract directly to get that information. Will keep this open and let you know when this feature is in.

joshstevens19 avatar Aug 01 '21 00:08 joshstevens19