Skip to content

Documents and frontend example codes related to the eth_feeHistory API

License

Notifications You must be signed in to change notification settings

zsfelfoldi/feehistory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eth_feeHistory API

This repository provides support material for EIP-1559 transaction fee parametering and the eth_feeHistory API. This API provides a more flexible approach to transaction fee suggestions than the old eth_gasPrice API by providing more "raw" data and letting application frontends experiment with different fee calculation algorithms suitable for specific use cases. One such fee calculation algorithm is provided as an example. Note that the current version was written "blindly" without any actual market data so further fine tuning might be necessary. Using it as a starting point for EIP-1559 apps and contributing back the experiences/results is encouraged :)

  • original API proposal
  • API specification
  • Economical Fee Oracle example code
    • Note that Geth 1.10.6 implements the eth_feeHistory incorrectly (uses decimal instead of hex values for blockCount and oldestBlock). The script will not work correctly with this release version. The bug is already fixed on the master branch and is going to be included in the next release.
  • Economical Fee Oracle description

About

Documents and frontend example codes related to the eth_feeHistory API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published