My usecase is for datascience, I am not building a dapp per se. I want to build a server ( I will be querying with python) containing all pancakeswap txs to build up a list of wallets swapping certain tokens, however I am finding it difficult to do so. I understand I can sync transfers of tokens by the token address, however when that database populates it doesnt show me the data I need. It only shows me data usable for volume, but I want “sender, tokenIn, tokenOut, timestamp.” Is there a way to just sync every event related to the pancakeswap routerv2 contract? If you can help me in anyway I would hugely appreciate it.
It is possible to sync specific events for a contract. You will need to know the abi.
We are working now at a separate API for event syncs that may help you.
i did see some tutorials on this, however for example something like the pancakeswap routerv2 contract, the actual swaps seem to be functions as opposed to events, and you can only find the abis for the functions.
https://bscscan.com/address/0x10ed43c718714eb63d5aa57b78b54704e256024e#code
you can look on what events are present in a transaction, there is an events/logs tab usually for a transaction