brian-terraNEAR Combined Bridges - Daily Stats
    Updated 2024-12-14
    with

    pricet as (
    select
    hour::date as date,
    decimals,
    token_address,
    symbol,
    avg(price) as price_usd
    from
    near.price.ez_prices_hourly
    group by 1, 2, 3, 4
    ),

    main as (
    select
    tx_hash,
    block_timestamp,
    args:amount as amount_unadj,
    args:receiver_id::string as user,
    receiver_id as token_address
    from
    near.core.fact_actions_events_function_call
    where
    predecessor_id = 'aurora'
    and signer_id = 'relay.aurora'
    and receipt_succeeded
    and tx_hash in (select distinct tx_hash from near.core.fact_actions_events_function_call where logs::string ilike '%0xe93685f3bba03016f02bd1828badd6195988d950%')
    ),

    final as (
    select
    main.tx_hash,
    main.block_timestamp,
    main.amount_unadj::float,
    main.user,
    Last run: 3 months ago
    DATE
    TRANSACTIONS
    USERS
    VOLUME_USD
    AVERAGE_AMOUNT_USD
    CUMULATIVE_VOLUME_USD
    CUMULATIVE_TRANSACTIONS
    CUMULATIVE_USERS
    1
    2021-03-15 00:00:00.000211.5000818040.75004090221.50008180421
    2
    2021-03-17 00:00:00.0001160.2371743860.2371743861.73725618432
    3
    2021-03-18 00:00:00.000311.6086125060.536204168663.3458686963
    4
    2021-03-19 00:00:00.000118270.71840280354.143680561334.0642714921711
    5
    2021-03-20 00:00:00.00011334.0642714921812
    6
    2021-03-21 00:00:00.000227468.3365076597468.3365076597802.4007791522014
    7
    2021-03-23 00:00:00.00022100.00583577100.005835777902.4066149212216
    8
    2021-03-26 00:00:00.0001150.02071014150.0207101417952.4273250622317
    9
    2021-03-27 00:00:00.0002220.50161951310.2508097577972.9289445762519
    10
    2021-03-29 00:00:00.00043102.19557237234.0651907918075.1245169482922
    11
    2021-03-30 00:00:00.0003349.33272982824.6663649148124.4572467763225
    12
    2021-03-31 00:00:00.000118124.4572467763326
    13
    2021-04-02 00:00:00.00022200.19419146100.097095738324.6514382363528
    14
    2021-04-03 00:00:00.00011250.374106376250.3741063768575.0255446123629
    15
    2021-04-04 00:00:00.0002140.18993951340.1899395138615.2154841263830
    16
    2021-04-05 00:00:00.000153231761.67912333128970.209890416240376.8946074575333
    17
    2021-04-06 00:00:00.00014114518.543889849410.776717259244895.4384973056744
    18
    2021-04-07 00:00:00.0002816234289.45568630815619.297045754479184.8941836149560
    19
    2021-04-08 00:00:00.000373011327.220965435755.148064362490512.11514904813290
    20
    2021-04-09 00:00:00.0003824238855.560720638530.555740022729367.675869678170114
    ...
    1395
    131KB
    567s