relay-diagnostic
Installation
SKILL.md
Relay Diagnostic Skill
Diagnoses and recovers stuck sponsored transactions by inspecting the sponsor relay's nonce state and optionally triggering automated recovery.
Use this for operator diagnostics only. Caller-facing x402 payment state should come from canonical payment-status polling by paymentId, not from relay health heuristics.
- check-health — Read-only, no wallet required. Returns relay version, sponsor nonce status, detected gaps, and stuck transactions.
- recover — Requires an unlocked wallet (to source the sponsor API key). Attempts RBF, gap-fill, or both.
Usage
bun run relay-diagnostic/relay-diagnostic.ts <subcommand> [options]