Query editor
WITH txns AS (SELECThash,block_time,block_number,"from","to",type AS transaction_type,max_priority_fee_per_gas,max_fee_per_gas,effective_gas_price,gas_used,gas_used_for_l1FROM arbitrum.transactionsWHERE block_number >= 508190474),blks AS (SELECTnumber AS block_number,base_fee_per_gasFROM arbitrum.blocksWHERE number >= 508190474),base AS (SELECTt.hash,t.block_time,date_trunc('minute', t.block_time) AS minute,t.block_number,t."from",t."to",t.transaction_type,t.max_priority_fee_per_gas,t.max_fee_per_gas,b.base_fee_per_gas,t.effective_gas_price,t.gas_used,t.gas_used_for_l1,-- ====================================================-- PGA PRIORITY FEE PER GAS-- DynamicFee + EIP-7702 only-- ====================================================CASEWHEN t.transaction_type IN ('DynamicFee', 'EIP-7702')