# Beggar Bot UserOp Analyzer (Base Mainnet)

> Beggar Bot UserOp Analyzer (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-24).

Analyzes an ERC-4337 UserOperation on Base mainnet, decoding and evaluating the operation for validity, risk, or receipt verification.

## Facts

- Endpoint: POST https://beggar-bot-demand.beggarbot.workers.dev/v1/userop?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-userop-analyzer-base-mainnet-49ec666c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W7C3GdQ8JLFD0Bp3VTQdB

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-userop-analyzer-base-mainnet-49ec666c -d '<json body>'
```

Example prompt: Can you analyze this UserOperation for me — here's the hex: 0xabc123... — on Base mainnet with entrypoint 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789 and expected signer 0xDeAdBeEf...? I want to know if it looks valid and who signed it.

## When to prefer this

Choose this endpoint when you need to programmatically decode, validate, or risk-assess an ERC-4337 UserOperation on Base mainnet or Base Sepolia as part of an agent workflow — especially when building smart account tooling, auditing transactions before broadcast, or verifying signers. Prefer this over manual ABI decoding when you need structured analysis output for account-abstracted transactions.

## Known failure modes

- Invalid or malformed userop hex returns an error response
- Unknown or unsupported entrypoint address may cause decoding failure
- Payment failure (insufficient USDC balance for x402) results in 402 Payment Required
- Wrong chain_id for the submitted userop may cause validation mismatches
- Missing required 'userop' field returns a 400-level error

## 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

Returns a JSON object containing decoded and analyzed fields of the submitted UserOperation, potentially including validity status, decoded calldata, signer information, and risk indicators based on the userop contents and chain context.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "userop"
 ],
 "properties": {
  "userop": {
   "type": "string"
  },
  "version": {
   "type": "string"
  },
  "chain_id": {
   "type": "string"
  },
  "entrypoint": {
   "type": "string"
  },
  "expected_signer": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-userop-analyzer-base-mainnet-49ec666c/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)
