Questions tagged [eip-1559]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

What is the purpose of gasLimit in an EIP1559 transaction?

When rlp encoding an EIP1559 transaction 3 gas values are provided: maxPriorityFeePerGas,maxFeePerGas & gasLimit. maxFeePerGas = BaseFee + maxPriorityFeePerGas but what is the purpose of gasLimit ...
0 votes
0 answers
42 views

EIP-1559: Possible to ONLY use maxPriorityFeePerGas, and no other gas, to pay for a transaction?

My system keeps track of ETH wallets in a local DB. It is preferable that I know exactly what the fee is beforehand, so I can update the DB before broadcasting, and then rollback if anything goes ...
0 votes
0 answers
10 views

Understanding EIP 1559 Economics

TL;DR: I couldn't find a tokenomics analysis I was convinced by. It currently seems to me as though, given constant Ethereum network demand, the APY you earn from dividends by holding Ether does not ...
  • 1
1 vote
1 answer
22 views

Why isn’t there more fluctuation in the gas used per block?

If you look at gas used per block, since EIP-1559 it has been almost exactly at targetGas for every block https://www.etherchain.org/charts/blockGasUsage Do miners have a disincentive to make blocks ...
2 votes
2 answers
81 views

Are Ethereum blocks flexible in terms of size or are they capped?

Many blockchains have block size limits. But I am confused when it comes to Ethereum. On one hand, I read that its block size is flexible. But on the other hand, I strongly suspect there must be a ...
1 vote
2 answers
27 views

What does it mean if fees are "burned" in the context of EIP-1559?

I am looking for a simple explanation of what burning "fees" means and implies in the context of EIP-1559.
2 votes
2 answers
979 views

Max Priority Fee and Max Gas Fee difference and definition

What is the definition of max priority fee and max gas fee in EIP-1559 enabled Ethereum?
0 votes
1 answer
72 views

contract write function has no input data(0x) [duplicate]

I found this strange transaction that has no input data, when it is supposed to: https://etherscan.io/tx/0xbc99dff4af801a8b8f06f1aa7679b4a24be73bdc09d58c6ae4eb23fb54015455 If u see the logs, it ...
0 votes
0 answers
142 views

Which chain support/doesn't support

I have a problem here https://stackoverflow.com/questions/72616326/why-i-cannot-send-ftm-with-this-simple-code?noredirect=1#comment128290320_72616326 I think the problem is that I tried to use ...
  • 243
1 vote
0 answers
142 views

Getting Error with EIP1559 style transaction: "unrecognized fields: {'maxFeePerGas', 'maxPriorityFeePerGas'}"

I wanted to sign and send a transaction interacting with a smart contract. This is the tx: Tx = ID.functions.withdraw(50000000000, '0x....').buildTransaction( { 'chainId': 1, 'gas': 410000,...
0 votes
0 answers
129 views

Incompatible EIP155-based V 43 and chain id 3

I am trying to mint my token using Ropsten testnet, but getting this error. I checked that the chainId is correct i.e. 3 and is passed in Transaction objects second parameter. First time I have tried ...
  • 1
0 votes
1 answer
772 views

decode eth raw transaction

Can you decode this transaction: Etherscan tx: ...
  • 1
1 vote
0 answers
159 views

web3js FeeMarketEIP1559Transaction contract execution from nodeJS

got a contract on ropsten network https://ropsten.etherscan.io/address/0xa3b09a2e90ca5c97daf3846b3b9c86f1cebc9260, which is basically a copy of Hikari NFT smart contract. I'm able to call it directly ...
1 vote
2 answers
868 views

How to recover the public key from r, s and v without the private key

I would like to recover the public key (or address) from the r,s and v values of a signed transaction without using a private key. The idea of course being, that I want to use Nick's method to deploy ...
  • 229
0 votes
1 answer
62 views

How to use EIP-1559 gas instead of legacy gas in 1inch APIs?

I'm developing a web application (both frontend and backend) that executes swaps through the 1Inch APIs. When executing a transaction, it looks like it's using the legacy gas. However, I would like to ...
2 votes
0 answers
193 views

Do providers block transactions sent with a too low gas fee?

I am getting the following error when deploying a contract: ProviderError: err: max fee per gas less than block base fee, address ..., maxFeePerGas: 45000000000 baseFee: 63475853125 (supplied gas ...
  • 1,339
0 votes
2 answers
817 views

eth_sendRawTransaction with DynamicFeeTx returns.. expected input list for types.LegacyTx

I have composed an EIP-1559 DynamicFeeTx using golang. tx = types.NewTx(&types.DynamicFeeTx{Nonce: nonce, GasFeeCap: gasMax, GasTipCap: gasTip, Gas: gasLimit, To: &to, Value: value, Data: data}...
  • 1
0 votes
1 answer
320 views

How to specify priority fee and max fee per gas in Geth' JSON-RPC API?

A legacy transaction can be created with the following parameters through the eth_sendTransaction API: params: [{ "from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "to&...
  • 31.9k
2 votes
1 answer
202 views

Is it possible to access the priority fee in a contract?

I was discussing on twitter that mega NFT drops can self-regulate their affect on the network by setting an adjustable gas cap within the contract such as: require(tx.gasPrice < gasCap, "Gas ...
2 votes
1 answer
144 views

How Does EIP-1559 Transactions Exactly Gets Prioritized In The Same Block?

I've been trying to find how the EIP-1559 transactions gets prioritized in the same block. So I have few questions. 1 - What happens when the gas prices are the same (maxFee and maxPriority) ? How ...
  • 21
0 votes
0 answers
30 views

Polygon gas oracle broken

Node version: bor/v0.2.13-stable-15965124/linux-amd64/go1.17.6. Request on method eth_feeHistory return response: {'jsonrpc': '2.0', 'id': 0, 'result': {'oldestBlock': '0x0', 'gasUsedRatio': None}}. ...
  • 31
3 votes
0 answers
118 views

What real EIP-1559 base fee on polygon chain?

When I call the fee_history method from the web3 library, the polygon node returns a non-null EIP-1559 base fee. Request on eth_feeHistory returns response: {'jsonrpc': '2.0', 'id': 0, 'result': {'...
  • 31
1 vote
0 answers
30 views

Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559(polygon) [duplicate]

How to solve the above issue when working on ERC 721 using MetaMask(Polygon network-Metamask). I'm using Metamask version 10.9.2. https://ethereum.stackexchange.com/users/82008/chris
  • 11
1 vote
2 answers
996 views

EIP-1559: Why does geth expect an input list for types.txdata?

I manually composed, signed, and serialized the following raw transaction: ...
  • 31.9k
1 vote
1 answer
255 views

Recover Y-parity from DER-signature for EIP-1559

I have a software system where signing ETH transactions happens in a black box. I give the information required, and it returns to me a DER-signature (30|totalLen|02|lenR|R|02|lenS|S). Now I'm aware ...
0 votes
0 answers
20 views

When can reorg of FeeHistory API condition be triggered

thanks in advance. I'd like to know when the reorg condition can happen. First please take a look this part of source code. If see the line 294-297, there are comments and a condition like below. ...
1 vote
0 answers
197 views

EIP 1559 signed transaction stuck, now can't do anything on metamask either

contract_txn = weth_contract.functions.redeem(address, True).buildTransaction({ 'type': '0x2', 'chainId': 43114, ...
1 vote
0 answers
112 views

Web3 EIP 1599 transaction

I am trying to swap a coin using the uniswap router on rinkeby with a EIP 1599 transaction. Here is the important part of the code: "data": data.encodeABI(), "gasLimit&...
  • 145
0 votes
0 answers
25 views

Incentive for miners to include transaction in block post-EIP-1559

From what I have read the EIP-1559 upgrade impacted miners by eliminating the value of mining blocks regardless of the amount of transactions included because they would receive always receive the gas ...
  • 131
2 votes
1 answer
478 views

How to programmatically calculate Max Priority Fee or TIP value EIP-1559?

As per Ethereum's EIP-1559 explanation It is possible that miners will mine empty blocks until such time as the base fee is very low and then proceed to mine half full blocks and revert to sorting ...
1 vote
0 answers
370 views

Infura EIP-1559 not enabled on Common

When trying to contruct FeeMarketEIP1559Transaction ie. ERP-1559 transaction using @ethereumjs/tx and @ethereumjs/common npm library then Infura ( Kovan network, network id:42 ) return this error EIP-...
1 vote
0 answers
47 views

Would new type2 transactions be prioritised over legacy type0 transactions?

regarding ethereum eip 1559 upgrade, i see it still supports type0 legacy transactions. Is there any benefit for using new type2 transactions except for reducing fees if i just want fast uniswap ...
3 votes
0 answers
104 views

What parameters should I use in my EIP1559 transaction for a fast confirmation time

Looking to take part in some minting gas wars and looking to prepare a transaction before hand. What values should I use for my Base Fee Per Gas, Max Fee Per Gas, and Max Priority Fee Per Gas to ...
1 vote
1 answer
1k views

How legacy transaction are handled after EIP1559 update?

After the EIP1559 transaction gas is mainly divided into base gas price and priority gas fees. But as we know EIP1559 is backward compatible so how legacy transaction ( they just have gas price field) ...
  • 155
1 vote
1 answer
276 views

EIP-1559 fee structure terminology

Looking at the fee structure of the EIP - 1559, I noticed we have such terms as maxPriorityFeePerGas and maxFeePerGas. I think maxPriorityFeePerGas is basically tip you pay the miner and ...
0 votes
2 answers
506 views

@ethereumjs/tx - "TypeError: Common is not a constructor"

I was trying to implement a method for signing an eip-1559 transaction using @ethereumjs/tx package. While following the steps mentioned in their documentation , I am encountering an error when trying ...
4 votes
1 answer
4k views

What happens if maxPriorityFeePerGas and maxFeePerGas are set to same value?

What does new fee system do when maxPriorityFeePerGas and maxFeePerGas are set to same value, for example 1000 gwei? Let's say at the time of transaction total gas base fee is 300, does it mean that I ...
  • 356
0 votes
1 answer
66 views

Type-2 Transaction Type

There are a couple of tx-hashes such as txhash1 and txhash2 that has Gas Price == Miner Tip attirubute. How it that possible? Can you not pay any base fee and just pay everything to miner?
  • 1,225
6 votes
4 answers
19k views

Metamask - "Params specify an EIP-1559 transaction but the current network does not support EIP-1559"

I'm working on a little erc 721 project. We have a frontend that allows users to mint a couple of our nfts with a button. contract.methods.mint(tokensNumber).send({from: accounts[0], value: ...
1 vote
1 answer
871 views

Having trouble figuring out EIP-1599 params for contract transaction in ethers.js

I am following contracts documentation at https://docs.ethers.io/v5/api/contract/contract/#contract-functionsSend And got to the point where my contract call looks something like this (someMethod and ...
  • 356
12 votes
1 answer
3k views

How does estimation of gas price changes after implementation of EIP-1559

I understand that after EIP-1559 implementation, the fee structure changes to now have max priority fee and max fee instead of single gas price. The question is though what could be the best strategy ...
1 vote
1 answer
253 views

Transactions lifetime in mempool (EIP 1559)

I want to know how long transactions will be kept in mempool after EIP 1559. I know that before EIP 1559 they kept very, very long. How long certainly I don't know.
  • 209
1 vote
1 answer
2k views

Getting current base fee from json rpc

I'm looking for a way to fetch current base fee using JSON RPC (and go-ethereum ethclient.Client as client) I'm aware of new JSON RPC eth_maxPriorityFeePerGas which gives me second parameter - but ...
2 votes
1 answer
46 views

baseFee can actually increase/decrease by more than 12.5?

according to some articles written on the EIP1559 topic, baseFee should only change by maximum 12.5% However, in reality this is not always the case. Check these examples: block 13096125 baseFee = ...
3 votes
1 answer
2k views

Can't deploy from Remix - network does not support EIP-1559

I am trying to deploy a smart contract from Remix using the following settings: compiler: 0.8.0 EVM version: compiler default Environment: injected Web3 (metamask connected to hardwarewallet, main (1) ...
  • 253
5 votes
0 answers
3k views

Can gas price and amount of gas be automatically set by metamask, or are they required to be set via code in web3.js (EIP-1559)?

I am using web3.eth.Contract to deploy a smart contract to the ropsten testnet. To interact with metamask I am using window.ethereum. I deploy the contract via the code below that I found on https://...
2 votes
1 answer
518 views

Send transaction with all ether (fees) - EIP 1559

I'm not sure I right understand structure of fees (EIP 1559). Because I cannot guess what will be base fee for my transaction, 'cause I will not know how much transactions will be in block (base fee ...
  • 209
0 votes
1 answer
486 views

How do i add EIP-1559 functionality to ERC-20 contract using solidity

Trying to adapt this solidity code from https://github.com/CodeWithJoe2020/ERC20Token/blob/main/ERC20.sol Using remix Basic token creation contract, but it will not create a contract due to EIP-1559 ...
  • 11
1 vote
1 answer
147 views

If blocks aren't full, why can't I set a gas fee of 1-10 gwei? Who dictates that it needs to be 20-30 gwei when blocks aren't even full?

If blocks aren't full, why can't I set a gas fee of 1-10 gwei? Who dictates that it needs to be 20-30 gwei when blocks aren't even full? And where is the best place to adjust my gas fee if I don't ...
5 votes
1 answer
2k views

How is the "Base Fee Per Gas" computed for a new block?

There are numerous articles describing that after EIP1559 the blocks baseFeePerGas is based on the previous blocks baseFeePerGas, gasUsed and gasLimit and that it can change by a maximum of ±12.5% ...