Query editor
with fees as (select sum(gas_price*gas_used/1e18) as ETH_tx_feesfrom sepolia.transactionswhere hash in (select evt_tx_hash from powerpool_sepolia.PPAgentV2_evt_Executewhere contract_address = 0xbde2aed54521000dc033b67fb522034e0f93a7e5)),compensation as (selectsum(compensation/1e18) as ETH_compensated,count(*) as total_executionsfrom powerpool_sepolia.PPAgentV2_evt_Executewhere contract_address = 0xbde2aed54521000dc033b67fb522034e0f93a7e5)select ETH_compensated, ETH_tx_fees, total_executionsfrom feesleft join compensation on 1=1