Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the pool reserves? #13

Open
it-n-ova opened this issue Jul 30, 2021 · 1 comment
Open

How to get the pool reserves? #13

it-n-ova opened this issue Jul 30, 2021 · 1 comment

Comments

@it-n-ova
Copy link

it-n-ova commented Jul 30, 2021

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

Thanks!

@joshstevens19
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants