# Delx Commerce — EVM Batch Gas Sum

> Delx Commerce — EVM Batch Gas Sum 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-02).

Computes the total gas and fee ceiling for a batch of EVM transactions without retaining input data or making external calls.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/evm-batch-gas-sum?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-evm-batch-gas-sum-cbdec64e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_489jFVrxYh0iNMQowGH5r

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-evm-batch-gas-sum-cbdec64e -d '<json body>'
```

Example prompt: Calculate the total gas and fee ceiling for these 2 EVM transactions before I submit them — I want to know the combined gas units and the wei cost ceiling so I can preflight my batch.

## When to prefer this

Choose this endpoint when you need a fast, verifiable, no-retention gas aggregation across multiple EVM transactions before broadcasting. It is ideal for preflight checks in agent workflows where auditability matters (SHA256 evidence included), no signup is required, and you want exact USDC micropayment pricing via x402 rather than running your own gas estimation logic.

## Known failure modes

- Exceeds 256 transaction limit — request rejected
- Individual transaction object exceeds 128 properties — validation error
- Malformed transaction array — 400 bad request
- Payment not received via x402 — 402 payment required
- Empty transactions array — may return zero totals or error

## 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 containing total_gas (aggregate gas units across all transactions), fee_ceiling_wei (maximum fee in wei as a string), and transaction_count. Also includes an evidence block with retained=false, the SHA256 hash of the input for verifiability, and external_calls=0 confirming pure in-memory computation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "transactions": {
   "type": "array",
   "items": {
    "type": "object",
    "maxProperties": 128,
    "additionalProperties": true
   },
   "maxItems": 256,
   "description": "Transactions supplied to EVM Batch Gas Sum; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "total_gas": 71000,
   "fee_ceiling_wei": "81000000000000",
   "transaction_count": 2
  },
  "schema": "delx/util-evm-batch-gas-sum/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "37fd9d992f36719b2a5335554b644d0245f5e690b6bf017cfb5b8cb21fe3dbde",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_batch_gas_sum"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-evm-batch-gas-sum-cbdec64e/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)
