banterlyticscount of token holders daily - erc20 / erc721
Updated 2022-12-13
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 min_date_nft as (
select
min(block_timestamp)::date as min_timestamp
from ethereum.core.ez_balance_deltas
where contract_address = lower('0x6B3595068778DD592e39A122f4f5a5cF09C90fE2') -- sushi token
),
list_of_dates as (
select
distinct block_timestamp::date as full_dates
from ethereum.core.ez_balance_deltas
where full_dates >= (select min_timestamp from min_date_nft )
order by full_dates asc
),
list_address as (
select
distinct user_address as user_addresses
from ethereum.core.ez_balance_deltas
where contract_address = lower('0x6B3595068778DD592e39A122f4f5a5cF09C90fE2')
),
dates_x_address as (
select*
from list_of_dates
cross join list_address
),
delta_raw as (
select
block_timestamp::date as day,
user_address,
prev_bal_unadj,
current_bal_unadj
from ethereum.core.ez_balance_deltas
Run a query to Download Data