Support eth_getBlockReceipts from Block #4438
Labels
enhancement
New feature or improvement.
minor-bump
Planned for the next minor version bump.
v6
Issues regarding v6
Describe the Feature
About the
eth_getBlockReceipts
API: ethereum/execution-apis#393Would be great if the Block object could also contain transactionReceipts fetched by the
eth_getBlockReceipts
call just like theblock.prefetchedTransactions()
method https://docs.ethers.org/v6/api/providers/#Block-prefetchedTransactions.Something like
provider.getBlock(blockHashOrBlockTag: BlockTag, prefetchTxs?: boolean, prefetchReceipts?: boolean)
orprovider.getBlockReceipts
would be a good idea to extend existing method.( It could speed up fetching multiple transaction receipts on the same block and will benefit for some transaction hoarders or explorers, indexers )
Code Example
The text was updated successfully, but these errors were encountered: