Aztec is a privacy-first L2 that posts batches of transactions to Ethereum with PLONK proofs. The Aztec Dune query can be found here.
The query filters successful traces sent to the Aztec's RollupProcessor, RollupProcessorV2 and RollupProcessorV3 contracts that call the processRollup function.
The proof volume is the sum of successful processRollup function calls
The cost is calculated using the following formula:
Where:
is the amount of gas consumed by a trace in one of the verifiers
is the price of gas on the day of the transaction
is the average price of ETH in USD on the day of the transaction