Loading...
Loading...
Sponsor relay health checks and nonce recovery — diagnose stuck sponsored transactions, check nonce gaps, and attempt RBF or gap-fill recovery.
npx skill4agent add aibtcdev/skills relay-diagnosticbun run relay-diagnostic/relay-diagnostic.ts <subcommand> [options]bun run relay-diagnostic/relay-diagnostic.ts check-health{
"healthy": true,
"network": "mainnet",
"version": "1.2.0",
"sponsorAddress": "SP1PMPPVCMVW96FSWFV30KJQ4MNBMZ8MRWR3JWQ7",
"nonceStatus": {
"lastExecuted": 4210,
"lastMempool": 4215,
"possibleNext": 4216,
"missingNonces": [],
"mempoolNonces": [4211, 4212, 4213, 4214, 4215],
"hasGaps": false,
"gapCount": 0,
"mempoolDesync": false,
"desyncGap": 5
},
"stuckTransactions": [],
"issues": [],
"formatted": "Relay Health Check (mainnet)\nStatus: HEALTHY\n..."
}bun run relay-diagnostic/relay-diagnostic.ts recover [options]--action <rbf|fill-gaps|both>both--txids <txid,...>--nonces <n,...>{
"action": "both",
"rbf": {
"supported": true,
"result": { "bumped": 2 }
},
"fillGaps": {
"supported": true,
"result": { "filled": 0 }
},
"summary": "Recovery request submitted to relay. Run check-health to verify nonce state improved."
}check-healthrecoversupported: falseSP1PMPPVCMVW96FSWFV30KJQ4MNBMZ8MRWR3JWQ7bun run wallet/wallet.ts unlock