Strange gas fee behavior #4672
jbastruz
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I just realized something unexpected, and I would like to share it with you.
(Notice that I code my NFT on the avalanche blockchain) When I mint my NFT, the gas fee can be 15x more than expected, according to a amount of AVAX I send... here is my code:
When I send 4 AVAX, the gas fee is about 0.005 AVAX :

When i send not enough money, the gas fee is about 0.08 AVAX :

It seems the a revert cost quite a lot, so you should have it in mind !
Beta Was this translation helpful? Give feedback.
All reactions