Updated 2024-08-17
    with

    main as (
    select
    block_timestamp,
    tx_id,
    tx_from as user,
    amount
    from solana.core.fact_transfers
    where mint = '2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo'
    and block_timestamp::date between '{{ start_date }}' and '{{ end_date }}'
    )

    select
    count(distinct tx_id) as transfers,
    count(distinct user) as users,
    transfers / count(distinct block_timestamp::date) as daily_average_transfers,
    users / count(distinct block_timestamp::date) as daily_average_users
    from main



    QueryRunArchived: QueryRun has been archived