# RetryBot Failed Transaction Retry Service

> RetryBot Failed Transaction Retry Service is a paid API for AI agents from agenthealthmonitor.xyz, paid per call via x402, $10/call, status unknown (last checked 2026-09-15).

Analyzes failed blockchain transactions for a given wallet address, classifies failure reasons, and returns optimized ready-to-sign replacement transactions with corrected gas parameters

## Facts

- Endpoint: GET https://agenthealthmonitor.xyz/retry/[address]
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/retrybot-failed-transaction-retry-service-e9bd239a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7fbIrywGi98QTiFdrSzUq

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 retrybot-failed-transaction-retry-service-e9bd239a
```

Example prompt: My wallet 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 has a bunch of failed transactions — can you analyze them and give me optimized replacement transactions ready to sign so I can recover the value?

## When to prefer this

Use this endpoint when an AI agent or user needs to recover value from failed blockchain transactions without manually diagnosing each failure. Ideal when you have a wallet address with multiple failed transactions and want ready-to-sign corrected transactions rather than raw diagnostics. Prefer over manual gas estimation when the failure reason is unclear or when multiple transaction types are involved.

## Known failure modes

- Invalid or malformed wallet address returns 400 error
- Address with no failed transactions returns empty retry_transactions array
- Network congestion may cause stale gas estimates
- Transactions older than lookback window may not be analyzed
- Payment failure via x402 protocol returns 402 response
- Some failed transactions may be non-retryable and excluded from results

## How this service works

RetryBot: Non-custodial failed transaction retry service. Analyzes failed transactions, classifies failure reasons, and returns optimized ready-to-sign replacement transactions with corrected gas parameters. Agent signs and submits.

## Output

Returns a JSON report containing: analyzed wallet address and timestamp, count of retryable transactions, array of retry transactions each with failure reason classification (e.g. out_of_gas), original tx hash, fully constructed optimized replacement transaction (to, data, value, gas_limit, max_fee_per_gas, max_priority_fee_per_gas), confidence level, and estimated gas cost in USD. Also includes total failed transactions analyzed, potential USD value recoverable, and total estimated retry cost.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "address": {
   "type": "string",
   "title": "Address",
   "examples": [
    "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae"
   ],
   "description": "Ethereum wallet address (0x-prefixed, 40 hex chars)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "report": {
   "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
   "analyzed_at": "2026-02-18T12:00:00Z",
   "retryable_count": 12,
   "retry_transactions": [
    {
     "confidence": "high",
     "failure_reason": "out_of_gas",
     "original_tx_hash": "0xabc123...",
     "optimized_transaction": {
      "to": "0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad",
      "data": "0x3593564c...",
      "value": "0x0",
      "gas_limit": "0x55730",
      "max_fee_per_gas": "0x5f5e100",
      "max_priority_fee_per_gas": "0x2faf080"
     },
     "estimated_gas_cost_usd": 0.12
    }
   ],
   "failed_transactions_analyzed": 50,
   "potential_value_recovered_usd": 85,
   "total_estimated_retry_cost_usd": 1.44
  },
  "status": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/retrybot-failed-transaction-retry-service-e9bd239a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenthealthmonitor.xyz](https://www.zero.xyz/host/agenthealthmonitor.xyz/llms.txt)
