# Delx Base Fee Budget Breakdown

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

Computes a detailed breakdown of EVM transaction fee components (base, priority, ceiling) given gas limit and fee parameters in wei.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/base-fee-budget-breakdown
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-base-fee-budget-breakdown-47b864e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__-ZAaDqW8jQKkUZtPYWxI

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-base-fee-budget-breakdown-47b864e8 -d '<json body>'
```

Example prompt: Break down the 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 — show me the base component, priority component, and fee ceiling.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, in-memory breakdown of EVM transaction fee components (base, priority, ceiling) without executing a transaction or making external blockchain calls. Ideal for preflight checks in autonomous agent workflows on Base or other EVM-compatible networks. Prefer it over on-chain simulation when you already have the fee parameters and only need the arithmetic decomposition.

## Known failure modes

- Invalid or non-numeric wei string values may cause parsing errors
- Gas limit of zero or negative values may produce division errors or unexpected results
- Max fee per gas lower than base fee may produce an invalid or zero ceiling result
- Extremely large wei strings exceeding maxLength 8192 will be rejected
- Missing required fields may return a schema validation error

## How this service works

Base Fee Budget Breakdown: Base Fee Budget Breakdown breaks a Base transaction fee ceiling into gas, priority, and total values from bounded caller-supplied values without an external provider. Call Base Fee Budget Breakdown 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 Fee Budget Breakdown as versioned determin…

## Output

Returns a JSON object with fee_ceiling_wei (maximum possible fee), base_component_wei (portion attributable to base fee), priority_component_wei (portion attributable to priority/tip fee), and effective_fee_per_gas_wei — all computed in memory with no data retained, along with audit evidence including input hash and external call count.

## 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-base-fee-budget-breakdown-47b864e8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
