Created
July 8, 2016 13:05
-
-
Save p-s-dev/3f188eed00a4c111438d0adbc0fff1a5 to your computer and use it in GitHub Desktop.
This file contains 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 | |
to | |
FROM | |
[etherquery:ethereum.transactions] | |
WHERE | |
hash IN ( | |
SELECT | |
hash | |
FROM | |
[etherquery:ethereum.transactions] | |
WHERE | |
logs.address='0xbb9bc244d798123fde783fcc1c72d3bb8c189413' | |
AND logs.topics='0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef' -- transfer | |
GROUP BY | |
hash | |
HAVING | |
COUNT(logs.topics)>2 | |
ORDER BY | |
hash) | |
GROUP BY | |
to | |
LIMIT | |
1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment