Sbhn_NP2024-07-06 07:55 PM
    Updated 6 days ago
    --credits to Rayyyk for Affiliate addresses
    select date_trunc('day',block_timestamp) as date,
    count(DISTINCT tx_id) as txs,
    count(DISTINCT from_address) as users,
    sum(from_amount_usd) as usd_volume
    from thorchain.defi.fact_swaps
    where block_timestamp >= current_date-30
    and affiliate_address in ('t', 'T', 'thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk')
    group by 1
    Last run: 6 days ago
    DATE
    TXS
    USERS
    USD_VOLUME
    1
    2025-03-31 00:00:00.000473412143.523881206
    2
    2025-04-16 00:00:00.00081309495.452868811
    3
    2025-04-12 00:00:00.00047268149.84939526
    4
    2025-03-22 00:00:00.00016915456.579567621
    5
    2025-03-29 00:00:00.0004831121280.432049242
    6
    2025-03-23 00:00:00.000171328308.373808228
    7
    2025-04-08 00:00:00.000563711799.238316644
    8
    2025-04-06 00:00:00.00043306268.353353766
    9
    2025-04-01 00:00:00.000403014015.190165468
    10
    2025-03-25 00:00:00.000534053787.678277054
    11
    2025-03-21 00:00:00.00028257366.30257504
    12
    2025-04-03 00:00:00.000543710496.428950658
    13
    2025-03-27 00:00:00.000342643877.69203038
    14
    2025-04-11 00:00:00.000943212407.267783288
    15
    2025-04-15 00:00:00.000392914274.829052203
    16
    2025-04-02 00:00:00.000181718664.684591227
    17
    2025-04-20 00:00:00.000776366.596740805
    18
    2025-03-30 00:00:00.000413132316.266726816
    19
    2025-04-18 00:00:00.000433116391.316209448
    20
    2025-03-28 00:00:00.0008646115780.572941986
    31
    2KB
    24s