# Delx Commerce — EVM Allowance Budget Check

> Delx Commerce — EVM Allowance Budget Check 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).

Checks whether an EVM token allowance is sufficient to cover a required spend amount, returning a pass/fail with shortfall details.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/evm-allowance-budget-check?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-allowance-budget-check-1bee0a59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TwRZCDOwBvNQ02p7844s3

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-allowance-budget-check-1bee0a59 -d '<json body>'
```

Example prompt: Before I submit this EVM transaction, check if an allowance of 2000000 raw units is enough to cover a required spend of 1500000 raw units — I need to know if there's a shortfall.

## When to prefer this

Use this endpoint when an AI agent or automated workflow needs to preflight-check an EVM token allowance before submitting a transaction, ensuring the approved budget covers the required spend without making any on-chain calls. Ideal for DeFi bots, smart contract agents, and transaction orchestrators that need a cheap, verifiable, stateless check with cryptographic evidence of inputs and no data retention.

## Known failure modes

- Missing or malformed required_raw or allowance_raw fields — API may return a validation error
- Non-numeric string values passed as raw amounts causing parse failures
- Values exceeding maxLength of 8192 characters rejected
- Network or payment failure via x402 protocol resulting in no response

## 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 indicating whether the allowance is sufficient (boolean), the required and available raw amounts, the shortfall (zero if sufficient), a pass/fail status, and tamper-evident evidence including an input SHA-256 hash and a flag confirming no data was retained or sent to external services.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Required Raw supplied to EVM Allowance Budget Check; used only for this bounded calculation and processed in memory without retention."
  },
  "allowance_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Allowance Raw supplied to EVM Allowance Budget Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "sufficient": true,
   "required_raw": "1500000",
   "available_raw": "2000000",
   "shortfall_raw": "0"
  },
  "schema": "delx/util-evm-allowance-budget-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "86f8e28708672cfff8511f7fd84c12592b126a4ae90afbc3845c23a473821c16",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_allowance_budget_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-evm-allowance-budget-check-1bee0a59/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)
