Elprognerd5 - Top 10 wallets with the most of the generated fee
    Updated 2023-05-11
    SELECT
    --block_timestamp::date as date,
    tx_signer as "Wallet",
    SUM(transaction_fee/pow(10,24)) AS "Total TX fees"
    FROM near.core.fact_transactions
    WHERE TX_SIGNER IN
    (
    SELECT
    distinct tx_signer
    FROM near.core.fact_transactions
    WHERE tx_receiver = 'nethmap.near'
    AND block_timestamp >= '2022-12-18'
    )

    GROUP by 1
    order by 2 DESC
    limit 10
    Run a query to Download Data