# Delx Commerce — Base Fee Budget Breakdown

> Delx Commerce — Base Fee Budget Breakdown is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes a breakdown of EVM transaction fee components (ceiling, base, priority) from gas limit and fee parameters on the Base network

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/base-fee-budget-breakdown?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-base-fee-budget-breakdown-2d675a48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BK6BMfP-r-EGvpU_NA53n

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-base-fee-budget-breakdown-2d675a48 -d '<json body>'
```

Example prompt: Break down the gas fee budget for a transaction with a gas limit of 21000, base fee of 1000000000 wei, priority fee of 100000000 wei, and max fee per gas of 1500000000 wei — I want to see the fee ceiling, base component, priority component, and effective fee per gas.

## When to prefer this

Use this endpoint when you need a fast, verifiable, in-memory computation of EVM gas fee components specifically for the Base network, with no data retention and cryptographic proof of input. Prefer this over manual calculation when you need the fee ceiling, base component, priority component, and effective fee per gas decomposed clearly before submitting a transaction. It is especially useful for AI agents doing pre-flight transaction cost estimation without needing a full node connection.

## Known failure modes

- Invalid or missing gas_limit may cause a validation error or incorrect calculation
- Malformed wei values (non-numeric strings) will likely result in a parsing error
- Inconsistent fee parameters (e.g. max_fee_per_gas lower than base_fee + priority_fee) may produce unexpected or bounded results
- Payment failure via x402 protocol will block the call before computation
- Extremely large wei string values exceeding schema limits may be rejected

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with the computed fee ceiling in wei, the base component in wei, the priority component in wei, and the effective fee per gas in wei. Also includes metadata confirming no data was retained, the input hash, and zero external calls made during computation.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "fee_ceiling_wei": "31500000000000",
   "base_component_wei": "21000000000000",
   "priority_component_wei": "2100000000000",
   "effective_fee_per_gas_wei": "1100000000"
  },
  "schema": "delx/util-base-fee-budget-breakdown/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "79ced49b4970917d82509380d058c73a99ed2722bdaf780f9439d2a0a39b4745",
   "external_calls": 0
  },
  "operation": "evm_preflight:base_fee_budget_breakdown"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-base-fee-budget-breakdown-2d675a48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
