Etherlink/RPC: eth_feeHistory
Ressources:
- spec: https://ethereum.github.io/execution-apis/api-documentation/
- explanations: https://docs.alchemy.com/reference/eth-feehistory
Prerequisite: #7178
eth_feeHistory: Transaction fee history in a series of blocks.
- can be implemented in the evm node, without kernel modification
- Only require the information of blocks, not the receipts of transactions
- This is a compilation of the data already contained in the blocks, plus some data about blob fee, which is not relevant to us (see point about blobs).
- We completely ignore
REWARDPERCENTILES
: The most complex part of the spec is about parsing priority fee, which is a moot point for etherlink, so we get that for free. - It is necessary to put limits in the node configuration
- Oldest node authorized
- Max list length
Edited by Pierre-Emmanuel CORNILLEAU