# EVM Contract Creation Check

> EVM Contract Creation Check 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).

Determines whether a given EVM 'to' address field indicates a contract creation transaction (i.e., the 'to' field is null or absent).

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/evm-contract-creation-check
- 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/evm-contract-creation-check-8928c7e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JvuoIAB4_Ec8hM5J9XRo4

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 evm-contract-creation-check-8928c7e0 -d '<json body>'
```

Example prompt: Check whether this EVM transaction is a contract creation — the 'to' field is null, so I need to confirm it will deploy a new contract rather than call an existing one.

## When to prefer this

Use this endpoint when you need a lightweight, privacy-preserving check to determine if an EVM transaction's 'to' field signals a contract creation (null/absent) versus a regular contract call or transfer. Prefer this over custom logic when you want a governed, auditable result with evidence metadata confirming no data retention.

## Known failure modes

- Invalid or malformed 'to' field value may cause unexpected classification
- Missing required 'to' field may result in a validation error or empty result
- Network timeout or API unavailability returns a non-200 error
- Addresses that are ambiguous or non-standard EVM format may be misclassified

## How this service works

EVM Contract Creation Check: EVM Contract Creation Check classifies an empty or absent to-address as contract creation from bounded caller-supplied values without an external provider. Call EVM Contract Creation Check 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 EVM Contract Creation Check as versioned deterministic…

## Output

Returns a JSON object with a 'result' field containing the echoed 'to' value and a 'contract_creation' boolean, a status of 'pass', the operation name, and an evidence block confirming no data is retained and no external calls were made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "maxLength": 8192,
   "description": "To supplied to EVM Contract Creation Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "to": null,
   "contract_creation": true
  },
  "schema": "delx/util-evm-contract-creation-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "a989634982a168f73ab3e76e8f148fee85c4dafaa08aaf66b14ecbe8df0a682c",
   "external_calls": 0
  },
  "operation": "evm_preflight:evm_contract_creation_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-contract-creation-check-8928c7e0/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)
