Query editor
-- MEAN GAS PER DNS IMPORT, BY MONTH — PRICED ON RECEIPTS.---- LIVE. This query recomputes from chain data; it replaces the hardcoded-VALUES-- snapshot (query 8180108), which was frozen at 2026-07 and would silently go-- stale rather than move.---- BASIS: TRANSACTION RECEIPTS. ethereum.transactions.gas_used — the whole-- transaction, which is what the claimant actually paid. This is NOT the harness-- basis the snapshot used, and the difference is not cosmetic:---- harness replay gas runs a mean 124,748 gas per import BELOW receipts, because-- it excludes the 21,000 intrinsic cost and the calldata cost of the proof.-- That gap is roughly constant in absolute terms, so as a share it grows as the-- underlying cost falls: 8.4% of the 2021-08 mean, 20.3% of the 2026-05 mean.---- Consequence for the headline: on harness gas the pre/post-swap drop reads-- 4.30x; on receipts it reads 3.71x. The snapshot therefore OVERSTATED the-- cliff. Its own title claimed "what the chain actually paid", which the harness-- basis does not measure.---- Cross-check: summing gas_used over the realized period (315 imports) gives-- 242,497,608, matching the receipts total the study already publishes for that-- window. Receipts are the honest denominator for any per-transaction claim.---- POPULATION: successful proveAndClaim / proveAndClaimWithResolver against the two-- DNSRegistrar deployments the study measured. Through block 25,627,360 this-- returns 2,127 imports across 59 months, reproducing the study census exactly —-- 58 of 59 months agree on both mean and count, the 59th by 1 gas (a rounding tie).---- DELIBERATELY EXCLUDED, both verified against the census:-- * bare claim() — 18 successful calls the study records with registrarCalls = 0.-- * 7 calls against an earlier registrar deployment, outside the measured set.-- Nothing in the study population is missing here; it is a strict subset.---- 2024-02 has no row because no successful direct import was recorded that month.-- The current month is partial by construction.WITH registrar_calls AS (SELECT call_tx_hash AS tx_hash, call_block_number AS block_numberFROM ens_ethereum.dnsregistrar_call_proveandclaimWHERE call_success AND contract_address IN (0x58774bb8acd458a640af0b88238369a167546ef2,0xb32cb5677a7c971689228ec835800432b339ba2b)UNIONSELECT call_tx_hash, call_block_numberFROM ens_ethereum.dnsregistrar_call_proveandclaimwithresolverWHERE call_success AND contract_address IN (0x58774bb8acd458a640af0b88238369a167546ef2,0xb32cb5677a7c971689228ec835800432b339ba2b)UNIONSELECT call_tx_hash, call_block_numberFROM ethereumnameservice_ethereum.dnsregistrar_call_proveandclaimWHERE call_success AND contract_address IN (0x58774bb8acd458a640af0b88238369a167546ef2,0xb32cb5677a7c971689228ec835800432b339ba2b)UNIONSELECT call_tx_hash, call_block_numberFROM ethereumnameservice_ethereum.dnsregistrar_call_proveandclaimwithresolverWHERE call_success AND contract_address IN (0x58774bb8acd458a640af0b88238369a167546ef2,0xb32cb5677a7c971689228ec835800432b339ba2b)