Query editor
with mainnet as (select date_trunc('day', call_block_time) as day,sum(gas_used) / 1e9 as gas_usedfrom (select call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_ethereum.EUROe_call_burnunion allselect call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_ethereum.EUROe_call_burnFromunion allselect call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_ethereum.EUROe_call_burnFromWithPermitunion allselect call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_ethereum.EUROe_call_mintunion allselect call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_ethereum.EUROe_call_mintSet) ainner join ethereum.transactions ton a.call_tx_hash = t.hashgroup by 1order by 1 desc),testnet as (select date_trunc('day', call_block_time) as day,sum(gas_used) / 1e9 as gas_usedfrom (select call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_goerli.EUROe_call_burnunion allselect call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_goerli.EUROe_call_burnFromunion allselect call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_goerli.EUROe_call_burnFromWithPermitunion allselect call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_goerli.EUROe_call_mintunion allselect call_block_time, call_tx_hash, call_trace_addressfrom euroe_stablecoin_v1_goerli.EUROe_call_mintSet) ainner join goerli.transactions ton a.call_tx_hash = t.hashgroup by 1order by 1 desc)select coalesce(m.day, t.day) as day,m.gas_used as mainnet_gas_used,t.gas_used as testnet_gas_usedfrom mainnet mfull outer join testnet ton m.day = t.day