rezarwz# of Takers
    Updated 14 hours ago
    with all_takers as (
    SELECT
    tx_hash,
    block_timestamp,
    decoded_log:taker as Taker_Ad,
    case
    when (decoded_log:taker, block_timestamp) in (
    SELECT
    decoded_log:taker,
    min(block_timestamp)
    from
    blast.core.ez_decoded_event_logs
    where
    contract_address = '0xb1a49c54192ea59b233200ea38ab56650dfb448c'
    and event_name = 'OrderComplete'
    group by
    1
    ) then 'New User'
    else 'Returning User'
    end as user_type
    from
    blast.core.ez_decoded_event_logs
    where
    contract_address = '0xb1a49c54192ea59b233200ea38ab56650dfb448c'
    and event_name = 'OrderComplete'
    )
    SELECT
    date_trunc('{{Time_frame}}', block_timestamp) as date,
    count(DISTINCT taker_ad) as "# of New Takers",
    sum(count(DISTINCT taker_Ad)) over (
    order by
    date_trunc('{{Time_frame}}', block_timestamp) asc
    ) as "# of Total Takers"
    FROM
    all_takers
    WHERE
    Last run: about 14 hours agoAuto-refreshes every 24 hours
    DATE
    # of New Takers
    # of Total Takers
    1
    2024-04-02 00:00:00.0003692871
    2
    2024-03-24 00:00:00.0001411534
    3
    2024-05-03 00:00:00.0001655563
    4
    2024-05-28 00:00:00.000366982
    5
    2024-05-08 00:00:00.000806093
    6
    2024-04-04 00:00:00.0001443185
    7
    2024-05-19 00:00:00.000166802
    8
    2024-05-06 00:00:00.0001385938
    9
    2024-03-23 00:00:00.0001061393
    10
    2024-12-07 00:00:00.00017860
    11
    2024-08-10 00:00:00.00017845
    12
    2024-03-02 00:00:00.000108295
    13
    2024-05-16 00:00:00.000786683
    14
    2024-06-16 00:00:00.000747638
    15
    2024-06-07 00:00:00.000347175
    16
    2024-06-22 00:00:00.000107769
    17
    2024-03-15 00:00:00.00024786
    18
    2024-07-18 00:00:00.000137840
    19
    2024-07-01 00:00:00.00017809
    20
    2024-06-03 00:00:00.000147076
    ...
    152
    5KB
    1s