Axiom is a coprocessor that allows smart contracts to trustlessly compute over the entire history of Ethereum. Axiom uses ZK proofs to trustlessly read from block headers, states, transactions, and receipts in any historical Ethereum block. The Axiom Dune query can be found here.
The query transactions sent to the AxiomV2Query proxy contract that invoke fulfillQuery. The traces in the AxiomV2HeaderVerifier and AxiomV2QueryVerifier are used for calculating gas spent on verification.
The proof volume is the sum of fulfillQuery function calls
The cost is calculated using the following formula:
Where:
is the amount of gas consumed by the traces in AxiomV2HeaderVerifier and AxiomV2QueryVerifier
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