Skip to content

Gas Tolerance & Gas Price #22

Answered by sczembor
sczembor asked this question in Q&A
Discussion options

You must be logged in to vote

The gas_price_tolerance parameter in Casper 2.0 (Condor) indicates the maximum gas price you are willing to pay for your transaction to be included in a block. This value is measured in motes (the smallest unit of CSPR) per gas unit.

If the actual gas price on the network is lower than your specified tolerance, you will only be charged the actual gas price, not the full tolerance amount. However, if the actual gas price exceeds your tolerance, your transaction will not be processed.

The maximum value for gas_price_tolerance is 255 motes per gas unit. Setting it to 255 essentially means you're willing to pay any gas price to get your transaction included. In contrast, setting it to 1 means…

Replies: 1 comment

Comment options

sczembor
Jun 27, 2024
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by melpadden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
dapp Questions relevant to Dapp Development C1 High complexity P3 Low Priority
1 participant