{
  "format": "delx/discovery-pack/v1",
  "id": "preflight-base-agent-payments",
  "title": "Preflight a Base payment before an agent spends",
  "description": "Combine live Base gas context with deterministic budget, freshness, fee, USDC amount, recipient, payment-match and receipt checks before an autonomous buyer spends. The pack is read-only and validation-only: it never signs, broadcasts, approves or transfers assets.",
  "audience": "Autonomous buyers, wallet operators and payment engineers",
  "query": "check Base gas USDC amount recipient and settlement evidence before an autonomous payment",
  "keywords": [
    "Base gas for agents",
    "USDC payment preflight",
    "agent wallet spending control",
    "Base settlement receipt",
    "x402 payment budget"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/packs/preflight-base-agent-payments",
  "machine_url": "https://commerce.delx.ai/packs/preflight-base-agent-payments.json",
  "entrypoints": {
    "human": "https://commerce.delx.ai/?q=check%20Base%20gas%20USDC%20amount%20recipient%20and%20settlement%20evidence%20before%20an%20autonomous%20payment",
    "intent_search": "https://api.delx.ai/api/v1/x402/start?q=check%20Base%20gas%20USDC%20amount%20recipient%20and%20settlement%20evidence%20before%20an%20autonomous%20payment",
    "graph": "https://commerce.delx.ai/discovery.json"
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "discovery-pack-preflight-base-agent-payments"
  },
  "products": [
    {
      "tool_name": "get_base_gas",
      "service_name": "Delx Base Gas",
      "category": "blockchain",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/base-gas",
      "product_url": "https://commerce.delx.ai/products/get-base-gas",
      "intent_url": "https://commerce.delx.ai/intents/base-gas-api",
      "machine_url": "https://commerce.delx.ai/intents/base-gas-api.json",
      "input_schema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "example_input": {},
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-gas -m POST -H 'x-delx-source: discovery-pack-preflight-base-agent-payments' --max-amount 0.001 -b '{}'"
    },
    {
      "tool_name": "util_base_gas_budget_check",
      "service_name": "Base Gas Budget Check",
      "category": "blockchain-data",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/base-gas-budget-check",
      "product_url": "https://commerce.delx.ai/products/util-base-gas-budget-check",
      "intent_url": "https://commerce.delx.ai/intents/base-gas-budget-check-api",
      "machine_url": "https://commerce.delx.ai/intents/base-gas-budget-check-api.json",
      "input_schema": {
        "type": "object",
        "properties": {
          "gas_price_gwei": {
            "type": "number",
            "minimum": 0
          },
          "gas_limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30000000
          },
          "budget_eth": {
            "type": "number",
            "minimum": 0
          },
          "eth_usd": {
            "type": "number",
            "exclusiveMinimum": 0
          }
        },
        "required": [
          "gas_price_gwei",
          "gas_limit",
          "budget_eth"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "gas_price_gwei": 0.08,
        "gas_limit": 21000,
        "budget_eth": 0.00001,
        "eth_usd": 3500
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-gas-budget-check -m POST -H 'x-delx-source: discovery-pack-preflight-base-agent-payments' --max-amount 0.001 -b '{\"gas_price_gwei\":0.08,\"gas_limit\":21000,\"budget_eth\":0.00001,\"eth_usd\":3500}'"
    },
    {
      "tool_name": "util_base_gas_price_staleness",
      "service_name": "Base Gas Price Staleness",
      "category": "chain-primitives-local",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/base-gas-price-staleness",
      "product_url": "https://commerce.delx.ai/products/util-base-gas-price-staleness",
      "intent_url": "https://commerce.delx.ai/intents/base-gas-price-staleness-api",
      "machine_url": "https://commerce.delx.ai/intents/base-gas-price-staleness-api.json",
      "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
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-gas-price-staleness -m POST -H 'x-delx-source: discovery-pack-preflight-base-agent-payments' --max-amount 0.001 -b '{\"quoted_at_epoch\":1720000000,\"now_epoch\":1720000060,\"maximum_age_seconds\":120}'"
    },
    {
      "tool_name": "util_base_fee_budget_breakdown",
      "service_name": "Base Fee Budget Breakdown",
      "category": "chain-primitives-local",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/base-fee-budget-breakdown",
      "product_url": "https://commerce.delx.ai/products/util-base-fee-budget-breakdown",
      "intent_url": "https://commerce.delx.ai/intents/base-fee-budget-breakdown-api",
      "machine_url": "https://commerce.delx.ai/intents/base-fee-budget-breakdown-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "gas_limit": {
            "type": "integer",
            "description": "Gas Limit supplied to Base Fee Budget Breakdown; used only for this bounded calculation and processed in memory without retention."
          },
          "base_fee_wei": {
            "type": "string",
            "maxLength": 8192,
            "description": "Base Fee Wei supplied to Base Fee Budget Breakdown; used only for this bounded calculation and processed in memory without retention."
          },
          "priority_fee_wei": {
            "type": "string",
            "maxLength": 8192,
            "description": "Priority Fee Wei supplied to Base Fee Budget Breakdown; used only for this bounded calculation and processed in memory without retention."
          },
          "max_fee_per_gas_wei": {
            "type": "string",
            "maxLength": 8192,
            "description": "Max Fee Per Gas Wei supplied to Base Fee Budget Breakdown; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "gas_limit",
          "base_fee_wei",
          "priority_fee_wei",
          "max_fee_per_gas_wei"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "gas_limit": 21000,
        "base_fee_wei": "1000000000",
        "priority_fee_wei": "100000000",
        "max_fee_per_gas_wei": "1500000000"
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-fee-budget-breakdown -m POST -H 'x-delx-source: discovery-pack-preflight-base-agent-payments' --max-amount 0.001 -b '{\"gas_limit\":21000,\"base_fee_wei\":\"1000000000\",\"priority_fee_wei\":\"100000000\",\"max_fee_per_gas_wei\":\"1500000000\"}'"
    },
    {
      "tool_name": "util_base_usdc_amount_check",
      "service_name": "Base USDC Amount Check",
      "category": "chain-primitives-local",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/base-usdc-amount-check",
      "product_url": "https://commerce.delx.ai/products/util-base-usdc-amount-check",
      "intent_url": "https://commerce.delx.ai/intents/base-usdc-amount-check-api",
      "machine_url": "https://commerce.delx.ai/intents/base-usdc-amount-check-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "amount_raw": {
            "type": "string",
            "maxLength": 8192,
            "description": "Amount Raw supplied to Base USDC Amount Check; used only for this bounded calculation and processed in memory without retention."
          },
          "expected_raw": {
            "type": "string",
            "maxLength": 8192,
            "description": "Expected Raw supplied to Base USDC Amount Check; used only for this bounded calculation and processed in memory without retention."
          },
          "maximum_raw": {
            "type": "string",
            "maxLength": 8192,
            "description": "Maximum Raw supplied to Base USDC Amount Check; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "amount_raw",
          "expected_raw",
          "maximum_raw"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "amount_raw": "1000",
        "expected_raw": "1000",
        "maximum_raw": "2000"
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-usdc-amount-check -m POST -H 'x-delx-source: discovery-pack-preflight-base-agent-payments' --max-amount 0.001 -b '{\"amount_raw\":\"1000\",\"expected_raw\":\"1000\",\"maximum_raw\":\"2000\"}'"
    },
    {
      "tool_name": "util_base_usdc_recipient_check",
      "service_name": "Base USDC Recipient Check",
      "category": "chain-primitives-local",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/base-usdc-recipient-check",
      "product_url": "https://commerce.delx.ai/products/util-base-usdc-recipient-check",
      "intent_url": "https://commerce.delx.ai/intents/base-usdc-recipient-check-api",
      "machine_url": "https://commerce.delx.ai/intents/base-usdc-recipient-check-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "recipient": {
            "type": "string",
            "maxLength": 8192,
            "description": "Recipient supplied to Base USDC Recipient Check; used only for this bounded calculation and processed in memory without retention."
          },
          "expected": {
            "type": "string",
            "maxLength": 8192,
            "description": "Expected supplied to Base USDC Recipient Check; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "recipient",
          "expected"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "recipient": "0x1111111111111111111111111111111111111111",
        "expected": "0x1111111111111111111111111111111111111111"
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-usdc-recipient-check -m POST -H 'x-delx-source: discovery-pack-preflight-base-agent-payments' --max-amount 0.001 -b '{\"recipient\":\"0x1111111111111111111111111111111111111111\",\"expected\":\"0x1111111111111111111111111111111111111111\"}'"
    },
    {
      "tool_name": "util_base_usdc_payment_match",
      "service_name": "Base USDC Payment Match",
      "category": "chain-primitives-local",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/base-usdc-payment-match",
      "product_url": "https://commerce.delx.ai/products/util-base-usdc-payment-match",
      "intent_url": "https://commerce.delx.ai/intents/base-usdc-payment-match-api",
      "machine_url": "https://commerce.delx.ai/intents/base-usdc-payment-match-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "recipient": {
            "type": "string",
            "maxLength": 8192,
            "description": "Recipient supplied to Base USDC Payment Match; used only for this bounded calculation and processed in memory without retention."
          },
          "expected_recipient": {
            "type": "string",
            "maxLength": 8192,
            "description": "Expected Recipient supplied to Base USDC Payment Match; used only for this bounded calculation and processed in memory without retention."
          },
          "amount_raw": {
            "type": "string",
            "maxLength": 8192,
            "description": "Amount Raw supplied to Base USDC Payment Match; used only for this bounded calculation and processed in memory without retention."
          },
          "expected_amount_raw": {
            "type": "string",
            "maxLength": 8192,
            "description": "Expected Amount Raw supplied to Base USDC Payment Match; used only for this bounded calculation and processed in memory without retention."
          },
          "chain_id": {
            "type": "integer",
            "description": "Chain Id supplied to Base USDC Payment Match; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "recipient",
          "expected_recipient",
          "amount_raw",
          "expected_amount_raw",
          "chain_id"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "recipient": "0x1111111111111111111111111111111111111111",
        "expected_recipient": "0x1111111111111111111111111111111111111111",
        "amount_raw": "1000",
        "expected_amount_raw": "1000",
        "chain_id": 8453
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-usdc-payment-match -m POST -H 'x-delx-source: discovery-pack-preflight-base-agent-payments' --max-amount 0.001 -b '{\"recipient\":\"0x1111111111111111111111111111111111111111\",\"expected_recipient\":\"0x1111111111111111111111111111111111111111\",\"amount_raw\":\"1000\",\"expected_amount_raw\":\"1000\",\"chain_id\":8453}'"
    },
    {
      "tool_name": "util_base_settlement_receipt_check",
      "service_name": "Base Settlement Receipt Check",
      "category": "chain-primitives-local",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/base-settlement-receipt-check",
      "product_url": "https://commerce.delx.ai/products/util-base-settlement-receipt-check",
      "intent_url": "https://commerce.delx.ai/intents/base-settlement-receipt-check-api",
      "machine_url": "https://commerce.delx.ai/intents/base-settlement-receipt-check-api.json",
      "input_schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "receipt": {
            "type": "object",
            "maxProperties": 128,
            "additionalProperties": true,
            "description": "Receipt supplied to Base Settlement Receipt Check; used only for this bounded calculation and processed in memory without retention."
          },
          "expected_recipient": {
            "type": "string",
            "maxLength": 8192,
            "description": "Expected Recipient supplied to Base Settlement Receipt Check; used only for this bounded calculation and processed in memory without retention."
          },
          "expected_amount_raw": {
            "type": "string",
            "maxLength": 8192,
            "description": "Expected Amount Raw supplied to Base Settlement Receipt Check; used only for this bounded calculation and processed in memory without retention."
          }
        },
        "required": [
          "receipt",
          "expected_recipient",
          "expected_amount_raw"
        ],
        "additionalProperties": false
      },
      "example_input": {
        "receipt": {
          "chain_id": 8453,
          "status": 1,
          "recipient": "0x1111111111111111111111111111111111111111",
          "amount_raw": "1000"
        },
        "expected_recipient": "0x1111111111111111111111111111111111111111",
        "expected_amount_raw": "1000"
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/base-settlement-receipt-check -m POST -H 'x-delx-source: discovery-pack-preflight-base-agent-payments' --max-amount 0.001 -b '{\"receipt\":{\"chain_id\":8453,\"status\":1,\"recipient\":\"0x1111111111111111111111111111111111111111\",\"amount_raw\":\"1000\"},\"expected_recipient\":\"0x1111111111111111111111111111111111111111\",\"expected_amount_raw\":\"1000\"}'"
    }
  ]
}
