Skip to content

Gas fees recommendation/estimation #6170

Locked Answered by f8-ptrk
malamok-gh asked this question in General Q&A
Discussion options

You must be logged in to vote

gas used * baseFee = burn fee
perium * baseFee = miner fee

those two ultimately define the cost of a message.

you do not know gas used before the message is executed and you do not know the baseFee either. all you can do is take historic values (gas used per message type for example) and make educated guesses - that the api returns you is the result of a local test run of the message not a final value

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dayou5168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/messages status/archived Archive label, use when closing/locking old discussions.
2 participants