2022 Developer Survey is open! Take survey.

Questions tagged [eip-1559]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 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,...
user avatar
0 votes
0 answers
15 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 ...
user avatar
  • 1
1 vote
0 answers
38 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 ...
user avatar
0 votes
2 answers
124 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 ...
user avatar
  • 147
0 votes
0 answers
16 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 ...
user avatar
1 vote
0 answers
42 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 ...
user avatar
  • 864
0 votes
1 answer
155 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}...
user avatar
  • 1
0 votes
1 answer
88 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&...
user avatar
  • 31.3k
1 vote
1 answer
45 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 ...
user avatar
1 vote
1 answer
48 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 ...
user avatar
  • 11
0 votes
0 answers
15 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}}. ...
user avatar
  • 31
3 votes
0 answers
80 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': {'...
user avatar
  • 31
1 vote
0 answers
28 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
user avatar
  • 11
1 vote
1 answer
349 views

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

I manually composed, signed, and serialized the following raw transaction: ...
user avatar
  • 31.3k
0 votes
1 answer
102 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 ...
user avatar
0 votes
0 answers
10 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. ...
user avatar
1 vote
0 answers
165 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, ...
user avatar
1 vote
0 answers
67 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&...
user avatar
  • 145
0 votes
0 answers
22 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 ...
user avatar
  • 121
2 votes
1 answer
174 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 ...
user avatar
1 vote
0 answers
266 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-...
user avatar
1 vote
0 answers
35 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 ...
user avatar
3 votes
0 answers
73 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 ...
user avatar
1 vote
1 answer
595 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) ...
user avatar
  • 55
1 vote
1 answer
186 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 ...
user avatar
0 votes
0 answers
183 views

Trying to make an eip-1559 transaction

Im have a hard time trying to figure out how to change my code to make an eip-1559 txn. Everything I do always comes back 0 (Legacy). This is my code. const tx = await uniswap.swapExactETHForTokens( ...
user avatar
  • 1
0 votes
0 answers
20 views

Interpreting EIP 1559 Gas Implications

I'm trying to better understand a few of the implications of the EIP 1559. My understanding was that the vast majority of gas would now be burned as opposed to going to miners as the base fee would be ...
user avatar
0 votes
2 answers
305 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 ...
user avatar
3 votes
1 answer
2k 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 ...
user avatar
  • 336
0 votes
1 answer
45 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?
user avatar
  • 880
6 votes
4 answers
16k 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: ...
user avatar
1 vote
1 answer
604 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 ...
user avatar
  • 336
12 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
192 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.
user avatar
  • 199
1 vote
1 answer
787 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 ...
user avatar
2 votes
1 answer
39 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 = ...
user avatar
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) ...
user avatar
  • 233
5 votes
0 answers
2k 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://...
user avatar
1 vote
1 answer
360 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 ...
user avatar
  • 199
0 votes
1 answer
383 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 ...
user avatar
  • 11
1 vote
1 answer
131 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 ...
user avatar
3 votes
1 answer
1k 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% ...
user avatar
2 votes
0 answers
501 views

Understanding base fee per gas and its related priority

When calling getFeeHistory as below, if I understand correctly by using the "pending" parameter we get a base fee estimate in the last items of baseFeePerGas to use when creating a ...
user avatar
  • 243
0 votes
0 answers
86 views

Is it possible for a miner to extract the whole maxFeePerGas if (baseFeePerGas + maxPriorityFeePerGas) < maxFeePerGas?

Is it possible for a miner to extract the whole maxFeePerGas if (baseFeePerGas + maxPriorityFeePerGas) < maxFeePerGas? Assuming that the miner is not running vanilla code, does the protocol somehow ...
user avatar
  • 81
1 vote
1 answer
1k views

How to create and sign EIP1559 Transaction with Go

i am kinda new to golang and i would appreciate any help. My main purpose is offline signing EIP1559 transactions based on a json using go-ethereum. I have managed to sign legacy transactions ...
user avatar
  • 31
3 votes
1 answer
745 views

Why can transactions use legacy gas fee model instead of EIP 1559?

above is the adoption rate of the new EIP 1559 gas fee model. So does it mean that you can still use legacy transaction fee model. If so, why is EIP 1559 a hard fork if it's not forceful.
user avatar
  • 79
1 vote
0 answers
25 views

If blocks stay full and gas gwei stays at around 20-50 average. How much will ETH is burned daily, monthly, and yearly?

If the gas gwei stays at 20-50 average. How much ETH is burned daily, monthly, and yearly? What is the current ETH inflation now on a daily basis? And at what point does the ETH burned cancel out the ...
user avatar
1 vote
1 answer
252 views

Why, after the London Fork, the average gas price of mined blocks is so lower than the needed gas price to have transactions included?

I understand the reason behind empty blocks but it seems to me that after the EIP-1559 the average gas prices of the transactions in the mined blocks are really low compared to what is the needed gas ...
user avatar
1 vote
0 answers
55 views

Base Fee vs Gas Price EIP1559

With the new eip1559 on August 5, I was wondering whether we have to use BaseFee or GasPrice, many dexes like uniswap still specify a gasPrice (ex: 20 gwei) but what confuses me is that with the new ...
user avatar
  • 123
9 votes
1 answer
4k views

How to send eip 1559 txn using web3?

I am sending my txn like this but it is sent as legacy type only
user avatar