Hi guys, please what pancakeswap function should I use to get pairs an address has provided liquidity for?
Feb 28, 2022, 3:04 PM
Please anybody ?
Hi guys, please what pancakeswap function should I use to get pairs an address has provided liquidity for?
Hi guys, please what pancakeswap function should I use to get pairs an address has provided liquidity for?
Feb 28, 2022, 6:09 PM
I doubt it has such functionality. Pairs don't know of each other and I don't think there is general ledger like that
Feb 28, 2022, 6:10 PM
So how does pancakeswap know that an address has provided liquidity for x token?
Feb 28, 2022, 6:25 PM
Because the address has the relevant LP token
Feb 28, 2022, 6:26 PM
offchain magic
Feb 28, 2022, 6:30 PM
Oh damn, this makes sense. Thanks a lot. I appreciate
Thanks also @Lauri_P 🙌🏻
Feb 28, 2022, 6:31 PM
Look up Arbitrage bots. They use Oracles to check liquidity on different platforms. I’m sure with Pancakeswap it’s just checked internally.
Feb 28, 2022, 6:47 PM
lp tokens are sent to the address that provide liquidity, like a receipt, that is how it is tracked
Feb 28, 2022, 7:00 PM
Ok, I think I’ll do it internally
Thanks @Rictenstein
Feb 28, 2022, 7:33 PM