# Beggar Bot Function Signature Lookup (Base mainnet)

> Beggar Bot Function Signature Lookup (Base mainnet) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-23).

Looks up human-readable function signatures and event names for 4-byte selectors and event topic hashes on the Ethereum/Base ABI registry

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/fnsig?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-function-signature-lookup-base-mainnet-95704fb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AAzDOgUvsbkMHb2UAV3zB

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 beggar-bot-function-signature-lookup-base-mainnet-95704fb6
```

Example prompt: Can you look up what function and event signatures correspond to these selectors — 0xa9059cbb,0xddf252ad — using the Beggar Bot fnsig lookup on Base mainnet?

## When to prefer this

Use this endpoint when you need to reverse-lookup raw 4-byte EVM function selectors or 32-byte event topic hashes into human-readable ABI signatures, especially when analyzing transactions or logs on Base mainnet. Prefer this over generic ABI databases when you want a pay-per-call micropayment model (x402/USDC) with no subscription required, and when working in an agentic context on Base or base-sepolia.

## Known failure modes

- Unknown selector — no matching signature found in the registry
- Malformed hex input — selector not properly 0x-prefixed or wrong length
- Network error or worker timeout
- Payment failure via x402 if applicable for this endpoint pricing tier
- Rate limiting or quota exceeded

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

A JSON response mapping each submitted 4-byte selector or event topic hash to one or more matching human-readable function/event signatures from the ABI registry, allowing agents to decode raw EVM calldata and log topics into understandable method and event names.

## 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",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "events": {
       "type": "string",
       "description": "comma list of 0x event topics"
      },
      "selectors": {
       "type": "string",
       "description": "comma list of 0x 4-byte selectors"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-function-signature-lookup-base-mainnet-95704fb6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
