1
vote
How to calculate GWEI back to ETH/USD?
The cost of transactions is calculated as: gas Price * gas Amount * Ether fiat price. It has a few more ingredients (such as 'miner tip'), but this is the most important part of the formula.
What you ...
1
vote
Max Priority Fee and Max Gas Fee difference and definition
This is from blocknative's article on EIP1559 gas fees.
The Base Fee, which is determined by the network itself. And is
subsequently burned. A Max Priority Fee, which is optional, determined
by the ...
1
vote
Accepted
Who pays for the gas used when reading from storage or calling pure / view functions?
View functions only use gas when they are called by non-view functions inside of the contract.
View functions don't consume gas because you are only making a call to your Node, so you're not asking ...
1
vote
Accepted
I am misunderstanding the gas data i'm seeing. Where is my disconnect?
When you sign an Ethereum transaction, you specify a gasLimit. Not the block gasLimit of 29941438 that appears in your data, but your transaction gasLimit. This is the maximum number of gas units ...
1
vote
sendSignedTransaction web3js
The documentation is not up-to-date, you can use maxPriorityFeePerGas and maxFeePerGas without problem.
gas is the maximum amount of gas you are willing to spend for the tx, and it must be used for ...
1
vote
Accepted
NFT mint call reverted while testing
The failed transaction calls the function with id 0xba41b0c6 which refers to the function
mint(uint256 amount, bytes32[] merkleProof)
But there isn't a function mint with that signature in the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gas × 1515solidity × 451
transactions × 229
gas-price × 216
gas-limit × 187
gas-estimate × 150
contract-development × 133
ether × 108
fees × 103
out-of-gas × 87
remix × 86
web3js × 85
contract-design × 76
contract-deployment × 62
erc-20 × 61
evm × 61
go-ethereum × 59
metamask × 52
contract-invocation × 52
tokens × 48
mining × 41
optimization × 40
blockchain × 39
truffle × 38
storage × 38