Last active
August 12, 2022 15:21
-
-
Save Nickforall/6d44b25bd9cb75345a52abe9ddbc9520 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 | |
transaction_hash, | |
topics [SAFE_OFFSET(1)] AS from_address, | |
topics [SAFE_OFFSET(2)] AS to_address, | |
address AS contract | |
FROM | |
`bigquery-public-data.crypto_ethereum.logs` | |
WHERE | |
topics [SAFE_OFFSET(0)] = "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0" | |
AND DATE(block_timestamp) = "2022-08-12" | |
LIMIT 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment