Query editor
1SELECT2 DATE_TRUNC('month', block_time) AS month,3 SUM(CAST(gas_used AS DOUBLE)*CAST(gas_price AS DOUBLE))/1e18 AS total4FROM5 gnosis.transactions6WHERE7 block_time > CURRENT_TIMESTAMP - INTERVAL '12' month8GROUP BY9 110ORDER BY11 1 DESC
SELECT
DATE_TRUNC('month', block_time) AS month,
SUM(CAST(gas_used AS DOUBLE)*CAST(gas_price AS DOUBLE))/1e18 AS total
FROM
gnosis.transactions
WHERE
block_time > CURRENT_TIMESTAMP - INTERVAL '12' month
GROUP BY
1
ORDER BY
1 DESC