# Beggar Bot CREATE2 Address Predictor

> Beggar Bot CREATE2 Address Predictor 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).

Predicts deterministic CREATE2 (or CREATE) contract deployment addresses across EVM chains given deployer, init code, and salt

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/create2?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-create2-address-predictor-952c65e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rtTfAixf_31OgIx0U_Q60

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-create2-address-predictor-952c65e8
```

Example prompt: What address will my contract be deployed to using CREATE2 with deployer 0xabc...123, init code 0x60806040..., and salt 0x0000...0001 — check it across Base and Optimism?

## When to prefer this

Use this endpoint when you need to deterministically predict a CREATE2 (or CREATE) contract deployment address before the contract is actually deployed, especially across multiple EVM chains simultaneously. Prefer this over manual keccak256 computation when you need a quick, reliable, multi-chain cross-check without writing custom scripts. Particularly useful for account abstraction wallet address pre-computation, pre-funding counterfactual contracts, or auditing factory deployments.

## Known failure modes

- Missing required deployer or init_code/init_code_hash parameters returns an error
- Invalid hex format for init_code or salt causes a parse error
- Unsupported chain name in check_chains returns partial or error result
- Payment of $0.02 USDC via x402 not provided or rejected results in 402 Payment Required
- Malformed deployer address (non-checksummed or wrong length) may return an 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

A JSON response containing the predicted contract address(es) derived from the CREATE2 or CREATE formula, potentially across multiple EVM chains specified via check_chains, based on the provided deployer address, init code (or init code hash), and salt (or nonce).

## 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": {
      "salt": {
       "type": "string",
       "description": "for CREATE2 (hex or int)"
      },
      "nonce": {
       "type": "string",
       "description": "for CREATE"
      },
      "deployer": {
       "type": "string",
       "description": "0x deployer/factory"
      },
      "init_code": {
       "type": "string",
       "description": "hex"
      },
      "check_chains": {
       "type": "string",
       "description": "csv chains"
      },
      "init_code_hash": {
       "type": "string",
       "description": "or 0x hash"
      }
     }
    }
   },
   "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-create2-address-predictor-952c65e8/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)
