Api reference
Unstuck Transaction
Resolve stuck transactions.
Resolve stuck transactions.
Endpoint
POST /unstuckDescription
Resolves stuck transactions by replacing them with higher gas price transactions.
Request Body
{
"rpc": "https://polygon-amoy.infura.io/v3/{key}",
"signer": {
"clientId": "your-fireblocks-client-id",
"versionId": "1"
},
"percentTxGasOvershoot": 50,
"percentTxGasPriceOvershoot": "50"
}Response
Same as Execute Operation endpoint.
Use Cases
- Transaction recovery: Resolve stuck transactions by increasing gas price
- Network congestion: Handle transactions stuck due to network congestion
- Gas price optimization: Replace low gas price transactions with higher ones
- User experience: Automatically resolve stuck transactions for users
Best Practices
- Monitor transactions: Track transaction status to identify stuck transactions
- Configure overshoot: Set appropriate gas price overshoot for replacement
- Handle failures: Check for errors and handle replacement failures
- User notification: Notify users when transactions are unstuck
Related Endpoints
- Get Receipt - Check transaction status
- Execute Operation - Execute new transactions
💡 Tip: This endpoint replaces stuck transactions with higher gas price versions. Use it when transactions are pending for extended periods due to low gas prices.