tkvresearchverbal-gold
    Updated 2025-03-23
    with list_contract as (
    select *
    from (values
    ('0x7712c34205737192402172409a8F7ccef8aA2AEc'),
    ('0xA6525Ae43eDCd03dC08E775774dCAbd3bb925872'),
    ('0xa1CDAb15bBA75a80dF4089CaFbA013e376957cF5'),
    ('0x2893Ef551B6dD69F661Ac00F11D93E5Dc5Dc0e99'),
    ('0x53FC82f14F009009b440a706e31c9021E1196A2F')
    ) as l(address)
    ),
    --ethereum, optimism, arbitrum, polygon, avalanche

    holder as
    (select datetime,
    address,
    sum(amt) as total_bal
    from
    (select date(block_timestamp) as datetime,
    'Ethereum' as chain,
    to_address as address,
    amount as amt
    from ethereum.core.ez_token_transfers
    where contract_address in (select lower(address) from list_contract)
    and
    from_address = '0x0000000000000000000000000000000000000000'
    union all
    select date(block_timestamp) as datetime,
    'Ethereum',
    from_address,
    -amount
    from ethereum.core.ez_token_transfers
    where contract_address in (select lower(address) from list_contract)
    and
    to_address = '0x0000000000000000000000000000000000000000'
    union all
    select date(block_timestamp) as datetime,
    Last run: about 1 month ago
    DATE
    HOLDER_CNT
    1
    2025-01-14 00:00:00.00035
    2
    2024-08-28 00:00:00.00017
    3
    2024-12-23 00:00:00.00031
    4
    2025-02-18 00:00:00.00038
    5
    2024-07-11 00:00:00.00016
    6
    2024-09-21 00:00:00.00020
    7
    2025-02-20 00:00:00.00038
    8
    2024-07-07 00:00:00.00014
    9
    2024-12-12 00:00:00.00029
    10
    2024-06-18 00:00:00.00012
    11
    2024-06-02 00:00:00.0001
    12
    2024-10-23 00:00:00.00024
    13
    2024-10-14 00:00:00.00023
    14
    2024-12-07 00:00:00.00029
    15
    2024-06-25 00:00:00.00013
    16
    2025-02-01 00:00:00.00037
    17
    2024-09-10 00:00:00.00019
    18
    2025-02-28 00:00:00.00039
    19
    2025-03-11 00:00:00.00039
    20
    2024-09-27 00:00:00.00020
    ...
    300
    9KB
    27s