# Beggar Bot EIP-1271 Signature Verification (Base mainnet)

> Beggar Bot EIP-1271 Signature Verification (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-19).

Verifies EIP-1271 smart contract wallet signatures on Base mainnet (and other EVM chains) given an address, message or typed data, and signature.

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/sig1271?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-eip-1271-signature-verification-base-mainnet-46702da9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qy2_6JnDO6ls-VUZdah6w

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-eip-1271-signature-verification-base-mainnet-46702da9
```

Example prompt: Can you verify whether the signature 0xabc...123 is a valid EIP-1271 signature from smart contract wallet 0xDEF...456 for the message 'Hello World' on Base mainnet?

## When to prefer this

Use this endpoint when you need to verify EIP-1271 signatures from smart contract wallets (not plain EOA signatures) on Base mainnet or other supported EVM chains. It is especially useful when users authenticate via account abstraction wallets (Safe, Coinbase Smart Wallet, etc.) and you need on-chain isValidSignature confirmation. Prefer this over generic signature utilities when you specifically need contract wallet support and are operating in the Base/EVM ecosystem with USDC micropayment capability via x402.

## Known failure modes

- Invalid or malformed signature (not 0x hex format) returns an error
- Address is not a deployed smart contract (EOA) on the specified chain — EIP-1271 requires a contract
- Unsupported chain identifier returns an error
- Missing required query parameters (address, signature, message/hash) returns a 400-level error
- Network unavailability or RPC failure on the target chain
- Payment not provided or insufficient USDC balance for the x402 paywall returns a 402 response

## 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 indicating whether the EIP-1271 signature is valid for the given address, message/typed data/hash, and chain. Includes the verification outcome (valid/invalid) and potentially additional details about the signer resolution.

## 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": {
      "hash": {
       "type": "string",
       "description": "0x32-byte digest"
      },
      "chain": {
       "type": "string",
       "description": "base|ethereum|optimism|arbitrum|polygon|base-sepolia"
      },
      "address": {
       "type": "string",
       "description": "0x wallet"
      },
      "message": {
       "type": "string",
       "description": "or EIP-191 message"
      },
      "signature": {
       "type": "string",
       "description": "0x sig"
      },
      "typed_data": {
       "type": "string",
       "description": "or EIP-712 JSON"
      }
     }
    }
   },
   "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-eip-1271-signature-verification-base-mainnet-46702da9/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)
