The 'transaction cost' is a fee that a user has to pay on any transaction on the Ethereum network. Gas fee is paid regardless of whether a transaction has been successful or failed.

Did this answer your question?