# XRPL Transaction Preview & Verdict

> XRPL Transaction Preview & Verdict is a paid API for AI agents from cocoeatsai.com, paid per call via x402, $0.0135/call, status unknown (last checked 2026-10-19).

Analyzes up to 10 XRP Ledger transactions and returns a verdict (e.g. 'review') for each, helping agents assess transaction risk or status before acting.

## Facts

- Endpoint: GET https://cocoeatsai.com/area4/agent/xrpl/tx-preview?utm_source=zero.xyz
- Price: $0.0135/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xrpl-transaction-preview-verdict-770b1a91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_165F9FW_2pGKgyUzBknbH

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 xrpl-transaction-preview-verdict-770b1a91
```

Example prompt: Can you preview these 3 XRP Ledger transactions and tell me which ones need review before I proceed?

## When to prefer this

Choose this endpoint when you need a quick pre-flight assessment or risk verdict on one to ten XRP Ledger transactions before executing them, automating payouts, or flagging items for compliance review. It is purpose-built for the XRPL ecosystem and returns structured per-transaction verdicts, making it preferable to generic blockchain explorers when you need machine-readable classification rather than raw ledger data.

## Known failure modes

- Empty or missing 'transactions' array returns a validation error
- More than 10 transactions submitted exceeds maxItems limit and will be rejected
- Malformed transaction objects may result in unexpected verdict outputs or errors
- Network or payment authorization failure (x402 payment not completed) returns 402
- Invalid query parameter structure returns a 400-level schema validation error

## How this service works

Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.

## Output

Returns a JSON object containing a count of transactions processed and an array of transaction objects each annotated with a 'verdict' field (e.g. 'review'), indicating the assessed status or risk classification of each submitted XRPL transaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "required": [
      "transactions"
     ],
     "properties": {
      "transactions": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "maxItems": 10,
       "minItems": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "count"
     ],
     "properties": {
      "count": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "transactions": [
   {
    "verdict": "review"
   }
  ]
 },
 "exampleNote": "Illustrative response subset; not a live observation."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xrpl-transaction-preview-verdict-770b1a91/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cocoeatsai.com](https://www.zero.xyz/host/cocoeatsai.com/llms.txt)
