top of page
Yanda logo

Gas Limit

The gas limit is the maximum amount of gas that a user is willing to pay for a transaction on a blockchain network.

Gas limit is a parameter used to set the maximum amount of gas that a user is willing to pay for a transaction on a blockchain network, such as Ethereum. The gas limit is determined by the user and represents the maximum amount of computational work that they are willing to pay to execute a transaction.


When a user submits a transaction to the network, they specify both the gas limit and the gas price they are willing to pay per unit of gas. The total cost of the transaction is then calculated as the product of the gas limit and gas price.


Setting the right gas limit is important to ensure that a transaction is executed correctly and at a reasonable cost. The gas limit for a transaction depends on the complexity of the transaction, with more complex transactions requiring a higher gas limit.


In addition to the gas limit, the gas price is also an important factor in determining the cost of a transaction. The gas price represents the amount of ether that the user is willing to pay per unit of gas. When the network is congested, gas prices can increase, making transactions more expensive.


In summary, gas limit is the maximum amount of gas that a user is willing to pay for a transaction on a blockchain network. Setting the right gas limit is important to ensure that a transaction is executed correctly and at a reasonable cost.

bottom of page