Query editor
SELECTgas_used / txs AS gas_used_per_tx,tx_fee_native,tx_fee_usd,txs,block_dateFROM (SELECTCOALESCE(SUM(f.gas_used), 0) AS gas_used,COALESCE(SUM(f.tx_fee), 0) AS tx_fee_native,COALESCE(SUM(f.tx_fee_usd), 0) AS tx_fee_usd,COUNT(*) AS txs,eth_txs.block_dateFROM hex_ethereum.HEX_call_stakeEnd AS endsJOIN gas.fees AS fON ends.call_tx_hash = f.tx_hashJOIN ethereum.transactions AS eth_txsON ends.call_tx_hash = eth_txs.hashWHEREf.blockchain = 'ethereum' AND eth_txs.to = 0x2b591e99afe9f32eaa6214f7b7629768c40eeb39GROUP BYeth_txs.block_dateORDER BYeth_txs.block_date)