Hot answers tagged

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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 983
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 ...
user avatar
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 ...
user avatar
  • 29.2k

Only top scored, non community-wiki answers of a minimum length are eligible