zakkisyedStep 1: How much have you spent on fees?
Updated 2021-11-19
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
›
⌄
-- Use this query to find out how much someone has paid in fees on the Ethereum network.
--
-- For demonstration purposes, we've selected a wallet that *may* belong to Snoop Dogg,
-- who is, among other things, a legendary NFT connoisseur.
-- The first column tells you how much Snoop has spent in terms of ETH, the second
-- tells you the same thing in terms of USD.
--
-- Copy paste your own wallet address in lines 15 & 22 to find the answer for your wallet!
--
-- If you want to see a breakdown by week, just uncomment lines 15 and 22 and re-run the query.
SELECT
-- date_trunc('week', block_timestamp) as date,
sum(tx_fee) as total_tx_fees_paid,
sum(fee_usd) as total_tx_fees_paid_usd
FROM ethereum.transactions
WHERE
from_address = lower('0x76106b2F5369f95d881D38aA9442E8A7148BcFd6') OR
to_address = lower('0x76106b2F5369f95d881D38aA9442E8A7148BcFd6')
-- group by 1
Run a query to Download Data