How can I get the latest transactions

for a token that is traded on a dex like uniswap or pancakeswap?

if that token doesn’t have too many transactions, you could use sync event or sync address to sync the transactions to your Moralis Server database:

and if it does?
Whats not to many transactions?
The token has more than 5k transactions, i dont know if thats a lot

5k transactions is not a lot, 100k it is a lot

ok, i will test above things you mentioned