Will I be charged gas fees if my transaction fails?
Updated
Yes. Gas fees are charged by the blockchain for processing your transaction, regardless of whether it succeeds or fails. This is because blockchain validators perform work to process the transaction even if it isn't completed successfully. To reduce the chances of a failed transaction, ensure you have sufficient balance to cover both the transaction amount and the applicable gas fees.

