# Delx Commerce EVM Batch Value Sum

> Delx Commerce EVM Batch Value 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-01).

Sums an array of EVM transaction values expressed in Wei and returns the total Wei and transaction count, processed in-memory without data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/evm-batch-value-sum?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-evm-batch-value-sum-fbb5b2fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SEnE9csO8gGq_3gWhEJp3

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-value-sum-fbb5b2fc -d '<json body>'
```

Example prompt: Sum up these EVM transaction values in Wei for me — ["100", "200", "300"] — and tell me the total Wei and how many transactions there are.

## When to prefer this

Choose this endpoint when you need a fast, verifiable, in-memory sum of multiple EVM Wei values without any data leaving the service or being stored — ideal for pre-flight transaction validation, batch cost estimation, or audit trails where the SHA-256 evidence hash matters. Prefer it over client-side summation when you need a trustless, third-party-verifiable computation result with no external calls.

## Known failure modes

- Array exceeds 256 items — request rejected
- Individual string value exceeds 8192 characters — validation error
- Non-numeric string in values_wei array — computation error
- Empty array input — returns total_wei of 0 and transaction_count of 0
- Malformed JSON body — 400 bad request
- Payment not included or insufficient USDC — 402 payment required

## 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_wei (the summed value of all input Wei amounts as a string), transaction_count (integer count of inputs), a status field ('pass'), the operation name, and an evidence block confirming no data was retained, the SHA-256 hash of the input, and zero external calls made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values_wei": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Values Wei supplied to EVM Batch Value Sum; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "total_wei": "600",
   "transaction_count": 3
  },
  "schema": "delx/util-evm-batch-value-sum/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "fcf938cef1b6f0dd254b891555c2975596fbdec45a46507b6b38042c55723893",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_batch_value_sum"
 }
}
```

## More

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