iboo-jbj2MVtop 20 assets that new wallets interacting with
    Updated 2022-02-15
    with accounts as (
    select address , created_AT from algorand.account
    ),
    created_date as (
    select block_timestamp ,address
    from algorand.block INNER join accounts
    on created_AT = block_id
    where block_timestamp >= '2022-01-01'
    and block_timestamp <= '2022-02-01'
    ),
    interacting_assets as (
    select asset_id ,count(DISTINCT algorand.account_asset.address) as number_of_wallets_interacting
    from algorand.account_asset INNER join created_date
    on algorand.account_asset.address = created_date.address
    GROUP by 1 order by number_of_wallets_interacting DESC limit 20
    ),
    asset_names as (
    select asset_name , number_of_wallets_interacting
    from algorand.asset INNER join interacting_assets
    on algorand.asset.asset_id = interacting_assets.asset_id
    group by 1,2 having asset_name is not null order by number_of_wallets_interacting desc
    )
    select * from asset_names
    Run a query to Download Data