# Swift Bot Labs EVM Selector Lookup

> Swift Bot Labs EVM Selector Lookup is a paid API for AI agents from x402-toolbox.swiftbotlab.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Resolves EVM function selectors (4-byte) and event topics (32-byte) to their human-readable ABI signatures

## Facts

- Endpoint: GET https://x402-toolbox.swiftbotlab.workers.dev/v1/evm/selector-lookup?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swift-bot-labs-evm-selector-lookup-59d627f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g7E7Yum5jKdynWy_8ejyd

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 swift-bot-labs-evm-selector-lookup-59d627f3
```

Example prompt: Can you look up what these EVM selectors mean: 0xa9059cbb and 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef — I need their ABI signatures.

## When to prefer this

Choose this endpoint when you need fast, pay-per-use EVM selector and event topic resolution without setting up an account or API key. It supports batch lookups of multiple selectors in a single call and returns verification status alongside signatures. Prefer this over running a local Ethereum node or querying Etherscan's API when you need lightweight, deterministic decoding with USDC micropayment billing via x402.

## Known failure modes

- Unknown selector returns empty results array for that hash rather than an error
- Malformed selector (wrong length, non-hex) may return a 400 error
- Selector not in the database returns ok:true with empty results for that selector
- Payment failure (x402) results in 402 response before lookup is attempted
- Network timeout on the Cloudflare Worker edge

## How this service works

62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.

## Output

A JSON object containing matched function signatures and event signatures for each queried selector. Each entry includes the selector/topic hash, a verified flag indicating whether the signature is confirmed, and the human-readable Solidity signature string (e.g. 'transfer(address,uint256)'). Multiple signature matches per selector are possible when collisions exist.

## 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",
      "HEAD"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "selectors"
     ],
     "properties": {
      "selectors": {
       "type": "string",
       "description": "Selectors/topics, comma separated or array"
      }
     },
     "additionalProperties": false
    },
    "discoverable": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "evm-selector-lookup",
  "result": {
   "events": {
    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef": [
     {
      "verified": true,
      "signature": "Transfer(address,address,uint256)"
     }
    ]
   },
   "functions": {
    "0xa9059cbb": [
     {
      "verified": true,
      "signature": "transfer(address,uint256)"
     }
    ]
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swift-bot-labs-evm-selector-lookup-59d627f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.swiftbotlab.workers.dev](https://www.zero.xyz/host/x402-toolbox.swiftbotlab.workers.dev/llms.txt)
