# Bot Bazaar CREATE2 Address Calculator

> Bot Bazaar CREATE2 Address Calculator is a paid API for AI agents from bot-bazaar.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Computes the exact deterministic EVM contract address that will be deployed via CREATE2 given a deployer address, salt, and initCodeHash.

## Facts

- Endpoint: GET https://bot-bazaar.fly.dev/v1/x402/create2-address-calc?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bot-bazaar-create2-address-calculator-8126d9c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__3Zb0DaaqaTs11pU7MOLs

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 bot-bazaar-create2-address-calculator-8126d9c8
```

Example prompt: What contract address will be deployed via CREATE2 from deployer 0xdeployer... using that salt and initCodeHash? I need to know the address before we actually deploy.

## When to prefer this

Use this endpoint when you need to deterministically predict a CREATE2 contract address before deployment, especially for counterfactual contract instantiation, cross-chain address consistency checks, or pre-funding contracts. It is a pure off-chain computation — no RPC node, wallet, or on-chain call required, making it faster and cheaper than querying a node.

## Known failure modes

- Missing or malformed deployer address returns an error
- Invalid or non-32-byte salt causes computation failure
- Malformed initCodeHash (not 32-byte keccak256 hex) returns an error
- Non-0x-prefixed addresses may cause parsing errors
- Payment not provided results in 402 Payment Required response

## How this service works

Compute the exact deterministic EVM contract address deployed via CREATE2 from deployer address, 32-byte salt, and initCodeHash.

## Output

Returns the deterministic EVM contract address (0x-prefixed 20-byte hex address) that would result from a CREATE2 deployment with the given deployer address, salt, and initCodeHash — computed without any on-chain interaction.

## 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": {
      "deployer": {
       "type": "string",
       "description": "CREATE2 factory deployer 0x address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bot-bazaar-create2-address-calculator-8126d9c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bot-bazaar.fly.dev](https://www.zero.xyz/host/bot-bazaar.fly.dev/llms.txt)
