recover_sponsor_nonce
Recover stuck sponsor transactions by rebroadcasting with higher fees, filling missing nonces, or resyncing the local nonce counter to clear blocked queues.
Instructions
Attempt automated recovery of stuck sponsor transactions via the relay API, or resync the local nonce counter.
Run check_relay_health first to identify stuck txids and missing nonces, then use this tool to trigger recovery without needing to contact the AIBTC team manually.
Recovery modes:
rbf: Replace-by-fee — rebroadcasts stuck transactions with a higher fee so miners prioritize them. Provide specific txids or omit to bump all stuck transactions.
fill-gaps: Nonce gap-fill — submits placeholder transactions to fill any missing nonces that are blocking the queue. Provide specific nonces or omit to fill all gaps.
both: Attempt both RBF and gap-fill in sequence (default).
resync-local-nonce: Force-reset the MCP server's in-memory nonce counter for the active wallet. Use this when the local counter is out of sync with the chain (e.g. after a server restart, manual transaction sent outside the MCP server, or a confirmed-but-locally-stuck counter). The counter will be re-seeded from the chain on the next transaction. Requires the wallet to be unlocked.
If the relay does not yet support relay endpoints it returns a 404 or 501 and this tool will respond with a clear message rather than throwing an error. In that case, share the txids and nonces from check_relay_health with the AIBTC team.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txids | No | Specific stuck transaction IDs for RBF (omit to bump all stuck txs) | |
| action | No | Which recovery operation to attempt | both |
| nonces | No | Specific missing nonces for gap-fill (omit to fill all detected gaps) |