Dex Tracking For BSC Tokens

Hello,
i was wondering is there is a way how to keep track about dextrades in realltime with moralis?

So basically i call an web3 api function to get the latest dextrades?

Greetings

what you mean by latest dex trade, like a trade from a liquidity pool?

i mean the question i asked is quite simple. a dex trade is a trade from a liquidity pool . like if someone sells / buys on pancakeswap, i want to be able to see that trade , so i can track it

you can sync the Swap event from the router (I believe they have it since they’re clone of Uniswap V2) and then from there you can fetch the data from DB to display it on your website :raised_hands:

2 Likes