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
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
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
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.
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.