Skip to content
Dune Analytics

@phabc / Backrunning Gas Consumption

Amout of Gas UsedBackrunning Gas Consumption

Loading
 

About queries and results

Dune Analytics lets you explore, create, and share Ethereum analytics. You can find an endless amount of great queries and dashboards on Dune.

We have decoded Ethereum smart contract data so you can do powerful analysis with simple SQL queries and visualise the query results into beautiful graphs.

Dune Analytics is free for everyone forever. If you want extra features like private queries, export your results and more check out our Pro plan.

SQL query

1SELECT 
2    sum(t.gas_used) as total_gas,
3    sum(t.gas_used * t.gas_price / 1e18 * (SELECT price FROM prices.layer1_usd_eth ORDER BY minute desc LIMIT 1)) as total_usd,
4    sum(t.gas_used / 12000000) * 14 / 60 / 60 as n_hours_used,
5    sum(t.gas_used / 12000000) as total_blocks
6FROM ethereum.transactions t
7WHERE t."to" = '\x860bd2dba9Cd475A61E6d1b45e16c365F6D78F66'
8    OR t."to" = '\xb958a8f59ac6145851729f73c7a6968311d8b633'
9    OR t."to" = '\x85c5c26dc2af5546341fc1988b9d178148b4838b'
10    OR t."to" = '\x8018280076d7fa2caa1147e441352e8a89e1ddbe'
11    OR t."to" = '\x693c188e40f760ecf00d2946ef45260b84fbc43e'
12    OR t."to" = '\x0000000000c90bc353314b6911180ed7e06019a9'
13    OR t."to" = '\xce5702e94ad38c061e44a4a049cc29261f992846'
14    OR t."to" = '\x514fd3b8109cfb7cde4b17e4912fd56690c23145'
15    OR t."to" = '\xa57bd00134b2850b2a1c55860c9e9ea100fdd6cf'
16    OR t."to" = '\x8977c88d021882ef712200142062ed636031a3fd'
17    OR t."to" = '\x985149cf58af5d2f50dee363a52ed4e0acc10cf1'
18    OR t."to" = '\xb14a74c43ce0bf8f7912f7f1f8feb90b4b5f466b'
19    OR t."to" = '\xc2a694c5ced27e3d3a5a8bd515a42f2b89665003'
20    OR t."to" = '\x00000000b1786c9698c160d78232c78d6f6474fe'
21    OR t."to" = '\x000000000000deab340f067535869a0e5226e58a'
22    OR t."to" = '\x28f2914ebb7ac98feefa7f6008a76e70bfa7963c'
23    OR t."to" = '\x9799b475dec92bd99bbdd943013325c36157f383'
24    OR t."to" = '\xf6fb09a41fa6c18cebc1e7c6f75a8664d69e4d48'
25    OR t."to" = '\xe9519677e6ec8d2d6bfab92a059529fea6075d37'...

SQL query results

Loading
 

Result visualizations

Total Gas used in $USDBackrunning Gas Consumption

Loading