deevhynSatellite weekly txns, users and usd volume
    Updated 2025-02-21
    WITH axl_price AS (
    SELECT
    trunc(recorded_hour, 'week') AS Time,
    AVG(price) AS usd_price
    FROM osmosis.price.ez_prices
    WHERE symbol = 'AXL'
    GROUP BY 1
    )
    SELECT
    date_trunc('day', block_timestamp) AS date,
    COUNT(DISTINCT tx_hash) AS Transactions,
    COUNT(DISTINCT sender) AS Users,
    amount * axl.usd_price AS usd_volume,
    COUNT(DISTINCT tx_hash) / COUNT(DISTINCT sender) AS avg_tx_per_user
    FROM
    axelar.defi.ez_bridge_satellite
    JOIN
    axl_price axl ON date_trunc('day', block_timestamp) = axl.Time
    GROUP BY 1,4
    ORDER BY 1
    Last run: 2 months ago
    DATE
    TRANSACTIONS
    USERS
    USD_VOLUME
    AVG_TX_PER_USER
    1
    2022-09-26 00:00:00.00011725.8409589041
    2
    2022-09-26 00:00:00.000221919.4743556091
    3
    2022-09-26 00:00:00.000112.1552967091
    4
    2022-09-26 00:00:00.000113.902931191
    5
    2022-09-26 00:00:00.00022284.3665712011
    6
    2022-09-26 00:00:00.000113554.5821400161
    7
    2022-09-26 00:00:00.00011213.0543338771
    8
    2022-09-26 00:00:00.000111447.4258474151
    9
    2022-09-26 00:00:00.00011773.2993445611
    10
    2022-09-26 00:00:00.00011106.3994152561
    11
    2022-09-26 00:00:00.00011938.0356334421
    12
    2022-09-26 00:00:00.00011543.8327257791
    13
    2022-09-26 00:00:00.0001115.2817884451
    14
    2022-09-26 00:00:00.00011353.0525886891
    15
    2022-09-26 00:00:00.0001117.6210489981
    16
    2022-09-26 00:00:00.000114.9753486211
    17
    2022-09-26 00:00:00.000112282.7526503181
    18
    2022-09-26 00:00:00.000110.10439440591
    19
    2022-09-26 00:00:00.00011169.2837909351
    20
    2022-09-26 00:00:00.000116398.2478520291
    ...
    38448
    2MB
    11s