nitsLido Holders
    Updated 2022-06-03
    with top100 as
    (SELECT user_address from ethereum.erc20_balances
    where contract_address = '0x5a98fcbea516cf06857215779fd812ca3bef1b32' and balance_date = CURRENT_DATE -1 and label is NULL
    order by balance desc
    limit 100 ),
    steth_holders as
    (SELECT
    count(*) as total_steth_addresses
    from ethereum.erc20_balances
    where contract_address = '0xae7ab96520de3a18e5e111b5eaab095312d7fe84' and user_address in (SELECT * from top100) and balance_date = CURRENT_DATE - 1 ),
    wsteth_holders as
    (SELECT
    count(*) as total_wsteth_addresses
    from ethereum.erc20_balances
    where contract_address = '0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0' and user_address in (SELECT * from top100) and balance_date = CURRENT_DATE - 1 )
    SELECT * from wsteth_holders, steth_holders


    Run a query to Download Data