Gas price
Another term you will come across, and an option that you can specify, is gas price.
When performing a transaction, you can optionally set a gas price. Why? Well, it is the amount of Gwei you are willing to pay per unit of gas. So, you can offer a higher price, meaning your transaction will be mined faster. Why? Well, a higher gas price means a higher reward for the miner, giving the miner more incentive to mine the block with your transaction. So, you can skip the queue by offering to pay a high gas price.
It's fundamental economics. Miners want to maximize their profits so they look to accept the highest gas price, but that should still be low enough for them to be able to mine a sufficient number of transactions. Initiators of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access