# Delx Commerce — EVM Infinite Approval Flag

> Delx Commerce — EVM Infinite Approval Flag 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).

Checks whether an EVM token approval amount is infinite or near-infinite by comparing a raw approval value against a threshold

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/evm-infinite-approval-flag?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-infinite-approval-flag-9daae5df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u-TePvNZRfA-LXSToRr6P

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-infinite-approval-flag-9daae5df -d '<json body>'
```

Example prompt: Before I approve this token transfer, check whether the approval amount 115792089237316195423570985008687907853269984665640564039457584007913129639935 is infinite or near-infinite — compare it against a threshold of 115792089237316195423570985008687907853269984665640564039457584007913129000000.

## When to prefer this

Use this endpoint when an AI agent or DeFi workflow needs a fast, verifiable, stateless check on whether an EVM token approval amount is infinite or near-infinite before executing a transaction. It is ideal for preflight safety screening in autonomous agent pipelines where no signup or API key management is desired and pay-per-result micropayment billing via x402 is acceptable. Prefer this over on-chain checks when you want a quick off-chain advisory result with cryptographic input evidence (SHA256 hash) and guaranteed no data retention.

## Known failure modes

- Invalid or non-numeric approval_raw causes a parsing error
- Missing required fields returns a validation error
- approval_raw or threshold_raw exceeding 8192 characters returns a size limit error
- Malformed JSON input returns a 400 error
- Payment failure (insufficient USDC or wrong network) blocks the request via x402

## 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 the original approval_raw and threshold_raw values, a boolean field 'infinite_or_near' indicating whether the approval is infinite or near-infinite, an advisory status, an operation identifier, and evidence metadata including whether the input was retained (always false), the SHA256 hash of the input, and the number of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "approval_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Approval Raw supplied to EVM Infinite Approval Flag; used only for this bounded calculation and processed in memory without retention."
  },
  "threshold_raw": {
   "type": "string",
   "maxLength": 8192,
   "description": "Threshold Raw supplied to EVM Infinite Approval Flag; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "approval_raw": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
   "threshold_raw": "115792089237316195423570985008687907853269984665640564039457584007913129000000",
   "infinite_or_near": true
  },
  "schema": "delx/util-evm-infinite-approval-flag/v1",
  "status": "advisory",
  "evidence": {
   "retained": false,
   "input_sha256": "c407baee3569bcaed1d4681415cb497857f628ee6ff678daf4c9adbba50ae87d",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_infinite_approval_flag"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-evm-infinite-approval-flag-9daae5df/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)
