# EIP-7702 Wallet Delegation Checker

> EIP-7702 Wallet Delegation Checker is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Reads the EIP-7702 delegation designator on a Base EOA address and verdicts whether it is not delegated, delegated to a known safe contract (e.g. Coinbase SmartWallet), delegated to an unknown/potentially malicious contract, or is a smart contract.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/wallet-delegation
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eip-7702-wallet-delegation-checker-eb174754
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s2OTFCEX-pSMlwFJ4HgmN

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 eip-7702-wallet-delegation-checker-eb174754
```

Example prompt: Before I interact with this wallet 0x1234...abcd, can you check if it has any EIP-7702 delegation set — I want to know if it's delegated to a known safe contract like Coinbase SmartWallet or something suspicious I should be worried about?

## When to prefer this

Use this endpoint when you need to detect EIP-7702 wallet delegation risk on Base — specifically the 0xef0100 designator introduced by the Pectra upgrade — which is invisible to standard token approval scanning tools. Prefer this over generic wallet scanners when evaluating whether an EOA has been silently delegated to a malicious contract before interacting with it.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Non-Base network address may not resolve correctly
- Network or RPC timeout causes failed lookup
- Unknown delegate contracts classified as delegated_unknown may be benign but newly deployed contracts

## How this service works

🆕 Since Pectra an EOA can carry EIP-7702 delegated code (the 0xef0100 designator): every call to the wallet executes the DELEGATE's contract with the wallet's funds — a malicious delegate is total takeover, invisible to approval tools. Reads the designator, resolves the delegate and verdicts it: not_delegated / delegated_known (Coinbase's EOA→SmartWallet path) / delegated_unknown (🚨) / smart_contract. The drain surface no other Base tool checks.

## Output

Returns a verdict classifying the wallet as one of: not_delegated (no delegate code), delegated_known (e.g. Coinbase EOA→SmartWallet, considered safe), delegated_unknown (🚨 high-risk, unrecognized delegate that could be malicious), or smart_contract. Also resolves and returns the delegate contract address when applicable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "wallet"
     ],
     "properties": {
      "wallet": {
       "type": "string",
       "description": "EOA address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eip-7702-wallet-delegation-checker-eb174754/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
