Transaction fails due to out of gas though gas used by transaction is 22.32 % . What might be the reason ? I have give enough gas : 203000 wei.

Here is the link of the transaction

2 Answers 2


Your transaction is failing with an Out of Gas error due to one of the calls within your contract not providing sufficient gas to complete its operation.

If you look at a Parity trace of your transaction, you can see that the call from 0x0adb0913c6a48078fdf16f77e9658b96fcc31633 to 0x8b094a45eab5131f8fdba6bfd169b33227969c63 failed. You will need to update your contract to increase the gas provided for that call.

In the other, successful, transaction that you provided, the address receiving the ether on the failed call is not a contract. In all probability, the contract you are sending ether to in the failed tx performs some operation in its fallback function that exceeds 2300 gas.

  • Wow great ! I got it. Thanks for pointing out the error. Nov 23, 2018 at 5:57

the reason why transaction fails is not enough gas.

Though the transaction fails, transaction signer must pay a portion of gas.

normal transaction( only sending ETH) pay 52831 gas, more expensive than your transaction.

  • Yes I get it . In this transaction etherscan.io/tx/… I have given enough gas 203000. If it is out of gas it should use up all the gas and fail out of gas. But in my case it has just used 45318. Nov 23, 2018 at 5:32
  • Here it is a successful normal transaction etherscan.io/tx/… for the same operation and same gasLimit 203000. This was success. Nov 23, 2018 at 5:34
  • Can you show solidity code?
    – TLHBM
    Nov 23, 2018 at 5:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.