Whale Alert for specific amounts

Hi, I was watching the Whale Alert Clone. But I wanted to do a watch for only certain fixed amounts of executed trade for a newly created tokens. How would I accomplish that?

Let’s say I want to know when y (number) of β€œx” tokens from user A to user B are traded from AND a trade of w (number) of the β€œz” tokens (same or different token) are traded within a 15 minute time span from same users: B to user A. Then it gets documented on the site

I guess that you could process the transactions for that particular new created token every x minutes to see if they match a particular pattern.

For example maybe you could use getContractEvents: https://docs.moralis.io/moralis-server/web3-sdk/native#getcontractevents

1 Like

yea i think this looks right, but i dont quite know how to do it. specifically to do

100 tokens from A to B and 100 tokens from B to A within 15 minutes.

can i hire you to do this. maybe take you a day or two to make this website.

+1 714 519 4674

you could try to use getLogsByAddress: https://docs.moralis.io/moralis-server/web3-sdk/native#getlogsbyaddress-new

thank you so much for helping me. i really appreciate it. These do look like they are right. I need to do more homework to properly do this, im quite new to coding. let me know if you would be willing to help me out on this small project.

1 Like