Created
January 7, 2019 08:18
-
-
Save AdvaithD/86b7341602a798ee88e0bf22b5c0c994 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT contracts.address, COUNT(1) AS tx_count | |
FROM `bigquery-public-data.ethereum_blockchain.contracts` AS contracts | |
JOIN `bigquery-public-data.ethereum_blockchain.transactions` AS transactions ON (transactions.to_address = contracts.address) | |
WHERE contracts.is_erc20 = TRUE | |
GROUP BY contracts.address | |
ORDER BY tx_count DESC | |
LIMIT 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment