Diako999top_10_borrowers
    Updated 2023-03-02
    select distinct sender, tx_id,
    date_trunc('day', block_timestamp) as date,
    amount,
    currency,
    action
    from
    osmosis.mars.ez_redbank_actions
    where
    action = 'borrow'
    group by
    date,
    tx_id,
    action,
    currency,
    amount,
    sender
    order by
    amount desc
    limit
    10
    Run a query to Download Data