nsa2000Top 10 Luna senders
    Updated 2022-10-07
    SELECT
    DISTINCT TX:body:messages[0]:from_address AS users,
    count(DISTINCT tx_id) AS transactions,
    --count(DISTINCT TX:body:messages[0]:to_address) AS receivers,
    sum(TX:body:messages[0]:amount[0]:amount)/pow(10,6) AS LUNA_volume,
    sum(fee) AS fees
    from terra.core.fact_transactions
    where tx:body:messages[0]:amount[0]:denom = 'uluna'
    and block_timestamp > '2022-05-15'
    and tx_succeeded ilike 'true'
    group by 1
    order by 3 desc
    limit 10
    Run a query to Download Data