1

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.

1 Answer 1

1

I don't think has changed much since EIP-1559.

As far as I've understood, transactions stay in the mempool as long as nodes decide to keep them there. Transactions with very low gas price get discarded quickly, since they are just considered as spam. But if the gas price is not super low, there is a chance it will get picked up in near future, so nodes may decide to keep it longer.

Nodes have internal buffers (basically databases) for storing mempool transactions. When that buffer starts to get full, they start to discard transactions, and probably they discard the ones with the lowest gas prices. So it all depends on how big buffers nodes have and what are the given gas prices.

There was a related post a few days ago: I set a 3 gwei for gas price. Now my transaction has been pending for 48+ hours now. But blocks aren't even full!

2
  • Ok, thank you. If my transaction will be discarded at all. How will I known about this moment? Do EtherScan tell me about this?
    – Mr. JE
    Aug 27, 2021 at 21:34
  • I don't think there is any certain way to know. Maybe some site somewhere has statistics about how long transaction live at certain prices, but no idea if such statistics exist. Aug 28, 2021 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.