# Beggar Bot EIP-712 Hash Utility

> Beggar Bot EIP-712 Hash Utility 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).

Computes the EIP-712 typed data hash for a given structured data payload on Base mainnet

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/eip712hash?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-eip-712-hash-utility-c5ef017d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zl3u4Hu95LrS1uQU_bhuD

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-712-hash-utility-c5ef017d
```

Example prompt: Can you compute the EIP-712 hash for this typed data — it has types for a Permit, primaryType 'Permit', domain with chainId 8453 and verifyingContract '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', and a message with owner, spender, value, nonce, and deadline fields?

## When to prefer this

Use this endpoint when you need a quick, trustless computation of an EIP-712 typed data hash without running a local Ethereum library — especially useful for agents operating in environments without direct access to ethers.js or viem, or when you want to cross-check a locally derived hash against an independent service on Base mainnet.

## Known failure modes

- Missing or malformed typed_data query parameter returns an error
- Invalid EIP-712 JSON structure (missing types, primaryType, domain, or message) causes a parsing or validation error
- Unsupported or unrecognized types in the EIP-712 schema may cause computation failure
- Network errors or Cloudflare Worker timeouts for transient failures

## 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 the EIP-712 hash (a 32-byte hex digest) derived from the provided typed data JSON, computed according to the EIP-712 specification using the supplied types, primaryType, domain, and message fields.

## 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": {
      "typed_data": {
       "type": "string",
       "description": "EIP-712 JSON {types, primaryType, domain, message}"
      }
     }
    }
   },
   "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-712-hash-utility-c5ef017d/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)
