{
  "format": "delx/intent-card/v1",
  "id": "base-gas-price-staleness-api",
  "intent": "Base Gas Price Staleness for an agent workflow",
  "title": "Base Gas Price Staleness API for agents",
  "description": "Base Gas Price Staleness: Base Gas Price Staleness checks the age of a caller-supplied gas quote before use from bounded caller-supplied values without an external provider. Call Base Gas Price Staleness 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 Base Gas Price Staleness 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": [
    "Base Gas Price Staleness API",
    "Base Gas Price Staleness for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/base-gas-price-staleness-api",
  "machine_url": "https://commerce.delx.ai/intents/base-gas-price-staleness-api.json",
  "recommendation": {
    "tool_name": "util_base_gas_price_staleness",
    "service_name": "Base Gas Price Staleness",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/base-gas-price-staleness",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "quoted_at_epoch": {
          "type": "integer",
          "description": "Quoted At Epoch supplied to Base Gas Price Staleness; used only for this bounded calculation and processed in memory without retention."
        },
        "now_epoch": {
          "type": "integer",
          "description": "Now Epoch supplied to Base Gas Price Staleness; used only for this bounded calculation and processed in memory without retention."
        },
        "maximum_age_seconds": {
          "type": "integer",
          "description": "Maximum Age Seconds supplied to Base Gas Price Staleness; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "quoted_at_epoch",
        "now_epoch",
        "maximum_age_seconds"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "quoted_at_epoch": 1720000000,
      "now_epoch": 1720000060,
      "maximum_age_seconds": 120
    },
    "example_output": {
      "schema": "delx/util-base-gas-price-staleness/v1",
      "operation": "evm_preflight:base_gas_price_staleness",
      "status": "pass",
      "result": {
        "age_seconds": 60,
        "fresh": true
      },
      "evidence": {
        "input_sha256": "71423649bb9f78764df45bb5a8b4de2c13085d598094d66b005c77f6181eac9f",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-gas-price-staleness -m POST -H 'x-delx-source: intent-card-base-gas-price-staleness-api' --max-amount 0.001 -b '{\"quoted_at_epoch\":1720000000,\"now_epoch\":1720000060,\"maximum_age_seconds\":120}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-base-gas-price-staleness-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/base-gas-price-staleness"
  }
}
