pancakeswap / pancake-swap-sdk

MIT License
191 stars 475 forks source link

Feature request: Pool API #8

Open belizar opened 3 years ago

belizar commented 3 years ago

As a client I want to have a pool API, to automate my earnings

Chef-Cheems commented 2 years ago

Hi! Sorry for late response. What exactly you mean by "pool API"? Do you mean syrup pools? If you mean "liquidity pools API" - you can make all the chain calls outside of this SDK. This SDK is focused on trading and helper classes for various trading-related things like Trade, Price, Currency, etc.

But we are currently building another API for PancakeSwap farms and pools, you'll be able to use that to automate farm & pool harvesting, etc. Although you'd still need to write your own call for on chain calls, but that API at least would provide you easy-to-consume data about your stakings. Keep an eye on our twitter, we'll probably announce it in March 🙂

trulyliu commented 2 years ago

@Chef-Cheems Is the new SDK you mentioned above ready?