{
  "format": "delx/intent-card/v1",
  "id": "evm-receipt-gas-variance-api",
  "intent": "EVM Receipt Gas Variance for an agent workflow",
  "title": "EVM Receipt Gas Variance API for agents",
  "description": "EVM Receipt Gas Variance: EVM Receipt Gas Variance compares gas used with a preflight estimate and reports variance from bounded caller-supplied values without an external provider. Call EVM Receipt Gas Variance before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for EVM Receipt Gas Variance as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Uses caller-supplied values only; it performs no RPC call, signing, broadcasting, balance lookup, custody, trading, or live-chain claim. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "EVM Receipt Gas Variance API",
    "EVM Receipt Gas Variance for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/evm-receipt-gas-variance-api",
  "machine_url": "https://commerce.delx.ai/intents/evm-receipt-gas-variance-api.json",
  "recommendation": {
    "tool_name": "util_evm_receipt_gas_variance",
    "service_name": "EVM Receipt Gas Variance",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/evm-receipt-gas-variance",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "estimated_gas": {
          "type": "integer",
          "description": "Estimated Gas supplied to EVM Receipt Gas Variance; used only for this bounded calculation and processed in memory without retention."
        },
        "gas_used": {
          "type": "integer",
          "description": "Gas Used supplied to EVM Receipt Gas Variance; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "estimated_gas",
        "gas_used"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "estimated_gas": 21000,
      "gas_used": 22000
    },
    "example_output": {
      "schema": "delx/util-evm-receipt-gas-variance/v1",
      "operation": "evm_preflight:evm_receipt_gas_variance",
      "status": "pass",
      "result": {
        "delta_gas": 1000,
        "variance_fraction": 0.047619047619047616,
        "under_estimate": true
      },
      "evidence": {
        "input_sha256": "a8bc5f5e6432a5c0ce8704795f333314b6d4458c5d628cf11f5e511b08a257c6",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/evm-receipt-gas-variance -m POST -H 'x-delx-source: intent-card-evm-receipt-gas-variance-api' --max-amount 0.001 -b '{\"estimated_gas\":21000,\"gas_used\":22000}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-evm-receipt-gas-variance-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/evm-receipt-gas-variance"
  }
}
