SpecterDistribution of user Repeated Deposits
Updated 2024-08-23
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
WITH Cypher AS (
SELECT
DATE_TRUNC('day', block_timestamp) AS day,
tx_hash,
from_address AS user,
value AS amount_eth
FROM ethereum.core.fact_transactions
WHERE to_address = '0xfdf7c22ca4704dfef46e7e5ef53dca1d5a9f8e12'
AND block_timestamp >= '2024-05-24'
AND status = 'SUCCESS'
UNION ALL
--BASE
SELECT
DATE_TRUNC('day', block_timestamp) AS day,
tx_hash,
from_address AS user,
value AS amount_eth
FROM base.core.fact_transactions
WHERE to_address = '0xfdf7c22ca4704dfef46e7e5ef53dca1d5a9f8e12'
AND block_timestamp >= '2024-05-24'
AND status = 'SUCCESS'
UNION ALL
--Blast
SELECT
DATE_TRUNC('day', block_timestamp) AS day,
tx_hash,
from_address AS user,
value AS amount_eth
FROM blast.core.fact_transactions
WHERE to_address = '0xfdf7c22ca4704dfef46e7e5ef53dca1d5a9f8e12'
AND block_timestamp >= '2024-05-24'
AND status = 'SUCCESS'
UNION ALL
QueryRunArchived: QueryRun has been archived