Catching and troubleshooting wallet transaction errors
Sometimes transactions fail. This guide outlines common failure reasons and provides tools to help you identify the underlying causes.
Reverted transactions are marked as “failed” and won’t be executed. There is no auto-retry mechanism for failed
transactions; you must manually resubmit them if needed.
Validation errors occur when the provided transaction data is invalid. These errors commonly relate to invalid data (e.g., signature) during transaction approval. Common issues include:
Malformed signatures
Invalid signatures (e.g., from an unauthorized wallet)
Insufficient signer permissions for transaction approval
Execution errors occur when a transaction is reverted during runtime. These typically relate to the calls provided during transaction creation. Common causes include:
Another transaction with the same call was executed already
State changes between transaction creation and execution (e.g. asset price updated exceeding slippage allowance)
The Crossmint API typically provides specific revert reasons:
Copy
Ask AI
"error": { "reason": "execution_reverted", "message": "Execution reverted, see 'revert' for details", "revert": { "type": "contract_call", "reason": "ERC20: transfer amount exceeds balance", "simulationLink": "https://www.tdly.co/shared/simulation/18b810b5-33b6-4091-a3a1-d7318f73bbec" }}
Troubleshooting:
Review the simulation to understand the revert cause
If you encounter transaction failures without error details or receive no error message, there may be an issue with the Crossmint infrastructure. First, check our status page to verify API availability and try again later. If the problem continues, please contact our support team.
The Crossmint API simulates all transactions before submitting them onchain. Failed simulations prevent onchain execution.In most cases, the transaction will fail during the simulation. If that’s the case, you can use Tenderly to inspect the details. Otherwise, you can use a block explorer to inspect the transaction.
Tenderly is an EVM transaction tracing software. For each transaction that is failed during simulation, Crossmint API includes a link to the Tenderly simulation.