Skip to main content

Whale Alerts

Updated on
Dec 14, 2023

Overview

A whale is an individual or entity holding substantial amounts of tokens. Tracking a whale's transactions is crucial as it can significantly impact market trends and prices.

Below are some points highlighting the importance of tracking whale transactions:

  • Market Influence: Whales significantly impact market movements; their tracking is essential for understanding dynamics and predicting price changes.
  • Strategic Investment: Whale transaction analysis informs market trend insights, aiding in strategic investment and risk management decisions.
  • Transparency and Verification: Tracking these transactions can give us transparency into some of the asset pools, and the liquidity can also be verified.

To learn more about different blockchain/web3 terms refer to our web3 glossary.

ETH (Native token) Whale Transactions

We will track the value field of Ethereum transactions. The values are in Wei which is the smallest unit of ETH. 1 Wei = 10^-18 ETH. So, if we want to track 100 ETH we'd have to track for 100000000000000000000 Wei.

To create our expression, we will need to target one value:

  1. The value of the token being transferred - We will track transactions where more than 100 ETH are transferred, so we will track for 100000000000000000000 Wei. This value gets set as the tx_value.
Expression
Deploy
1
tx_value > 100000000000000000000

ERC-20 Whale Transactions

Whenever an ERC-20 transfer takes place Transfer (index_topic_1 address from, index_topic_2 address to, uint256 value) event is emitted by the smart contract. The third parameter value is where the number of tokens being transferred is logged. We will track this value, these values are with the decimal value of that particular token. For example, the decimal value of Tether (USDT) is 6. So, if we want to track for 10 USDT tokens, we will have to check for values with the decimals added which will be 10000000.

To create our expression, we will need to target two values:

  1. The ERC-20 token smart contract - To track the transfer of a particular token we will need the smart contract address of that token (USDT in this case). This value gets set as the tx_logs_address, as we will be looking for any transactions from this address (the contract).
  2. The value of token being transferred - We will track transactions where more than 100,000 USDT are transferred, so we will track for 100000000000 value. This value gets logged in the data field of the transaction. So, we will set the integer value of tokens in tx_logs_data_int.
Expression
Deploy
1
tx_logs_address == '0xdAC17F958D2ee523a2206206994597C13D831ec7'
2
&&
3
tx_logs_data_int > 100000000000
Share this doc