Polygon zkEVM is a ZK rollup that posts transaction data to Ethereum using a verifier contract to validate PLONK proofs. The current verifier is a Fflonk implementation which can be found here. The Polygon zkEVM Dune query can be found here.
The query filters transactions sent to the PolygonRollupManager proxy contract that were successful and invoke the verifyBatchesTrustedAggregator function.
The proof volume is the number of invocations of PolygonRollupManager that invoke verifyBatchesTrustedAggregator
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