TRANSACTION ERRORS
In this section, you can learn more about the possible errors that can occur while executing a transaction
When executing a transaction, it could fail for several reasons
A low balance in your wallet may be the reason behind some of the errors listed below. If your wallet have low balance and you're encountering any errors, we recommend replenishing your wallet balance to resolve the issue.
ValueError - {'code': -32000, 'message': 'insufficient funds for gas * price + value'}.
This error indicates that you don't have enough balance to cover the gas fees needed to execute the swap. Consider to top up your wallet.
ValueError - {'code': -32000, 'message': 'transaction underpriced'}.
This error means that there is transaction in your queue, and you're attempting to initiate a new transaction with lower gas fees compared to the previous one. This typically occurs when you set snipes with insufficient gas priority, leading to them not being mined and executed.
Fail with error 'UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT'
This error occurs as a result of slippage, which means you couldn't buy the minimum desired token amount during the swap. If your slippage settings are set too low, you might want to consider raising it. However, if your slippage settings are already reasonable (above 20%), it indicates either a liquidity pool too small or a substantial price fluctuation that occurred in the block you were swapping. In such cases, this failure is actually a security feature designed to prevent purchases at a price too far off from what expected.
Transaction builder failed to build the swap transaction: ContractLogicError - execution reverted: UniswapV2: TRANSFER_FAILED
This may occur if your slippage setting isn't sufficiently high. If you're confident in the selected value, it could signify a rug-pull for the token. If the token still appears sound, it's possible that your wallet has been blacklisted. In such a scenario, create a new wallet on Mizar and move your funds before attempting another sale.
Sorry, we are unable to locate this TxnHash
This indicates that the blockchain rejected the transaction for one of two reasons:
There was an insufficient balance to cover both the transaction amount and the maximum gas cost. If that's the case, it's advisable to top up your wallet before attempting the swap once more.
There was a nonce-related problem. Before trying the transaction again, investigate whether you have a pending or stuck transaction.
Fail with error 'Transaction too old' Fail with error 'UniswapV2Router: EXPIRED'
We set a timeout for all swaps to prevent delays and minimize exposure to price fluctuations. If a transaction isn't confirmed within 12 blocks it will go in timeout and fail. One potential reason for a timeout is having gas fees configured at an insufficiently low level.
Fail with error 'TransferHelper: TRANSFER_FROM_FAILED'
The meaning of this failure can vary depending on the specific circumstances, but the common thread is that something within the token contract's transfer function has interrupted the swap.
Error scenarios:
For Buying or Sniping: This error often occurs when trading isn't enabled yet, and the snipe attempt was made prematurely, before trading became available.
For Selling: If you encounter this error while selling, there are a few potential explanations:
The contract may have been set up as a honeypot. This could result from a malicious function executed by the contract deployer, blacklisting of your wallet, or the contract being designed with malicious intent from the beginning.
In some rare instances when selling, the failure might stem from inefficiencies within the token's contract rather than it being a honeypot. In such cases, the token may still be sellable, and you can attempt the sale again
Fail with error 'UniswapV2Library: INSUFFICIENT_LIQUIDITY'
This failure indicates that there is not enough liquidity available in the Uniswap V2 liquidity pool to execute a particular transaction. In other words, the pool does not have sufficient tokens to fulfill the trade you are trying to make.
Fail with error 'ds-math-syb-underflow'
The error message 'ds-math-syb-underflow' typically indicates that there has been an underflow error. Underflow occurs when a mathematical operation results in a number smaller than what can be represented in the data type being used, often leading to unexpected behavior or errors in a smart contract.
Fail with error 'UniswapV2Router: EXCESSIVE_INPUT_AMOUNT'
This indicates that you intend to buy a quantity of tokens that exceeds the maximum ETH value permitted for a single wallet, as specified in the token contract.
Fail with error 'STF'
The core reason behind the STF failure is attempting to transfer a token that lacks approval. The most probable situation for encountering this error while using Mizar is that the token itself might be a honeypot.
Transaction bundle was not included in the block by the miner.
The reason behind this error is that the miner hasn't accepted the bundle, hence your transaction has failed. Try with higher bribing fee.
Last updated