# Vaultfire ERC-8004 Grant Consent

> Vaultfire ERC-8004 Grant Consent is a paid API for AI agents from theloopbreaker.com, paid per call via x402, $0.050000/call, status unknown (last checked 2026-09-15).

Grants consent for a specific purpose hash on the ERC-8004 Identity Registry, returning an unsigned transaction for wallet signing.

## Facts

- Endpoint: POST https://theloopbreaker.com/api/x402/actions/grant-consent
- Price: $0.050000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/theloopbreaker-com-09d49570
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XhxGFWkRMoBk0mcivpIOt

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 theloopbreaker-com-09d49570 -d '<json body>'
```

Example prompt: Grant consent on the Vaultfire ERC-8004 Identity Registry for purpose hash 0xabc123...def for my agent wallet 0x742d35Cc6634C0532925a3b8D4C9E4f5e6b1234 — I'll sign the returned transaction in my wallet.

## When to prefer this

Use this endpoint when an AI agent needs to record a privacy-preserving, on-chain consent decision tied to a specific purpose hash against its ERC-8004 identity. Prefer this over off-chain consent mechanisms when auditability, decentralization, and agent accountability on Base mainnet are required.

## Known failure modes

- Invalid or malformed purpose hash returns a 400 error
- Insufficient USDC balance or failed x402 payment returns a 402 Payment Required error
- Agent wallet not registered on ERC-8004 registry returns a 404 or 422 error
- Unsupported chain or contract not found returns a 400 or 500 error
- Consent already granted for this purpose hash may return a conflict or no-op response

## How this service works

Grant consent for a specific purpose hash on the ERC-8004 Identity Registry. Pay $0.05 USDC, sign in your wallet — privacy-preserving consent flagging tied to your agent identity.

## Output

An unsigned transaction object that the calling agent or user must sign with their wallet to record the consent flag for the specified purpose hash on the ERC-8004 Identity Registry on-chain. Includes transaction data, target contract address, and relevant metadata for the consent operation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/theloopbreaker-com-09d49570/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from theloopbreaker.com](https://www.zero.xyz/host/theloopbreaker.com/llms.txt)
