Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add option to include transaction receipts in eth_getBlockByHash #17044
In some applications where performance is important it's convenient to query all receipts in a block in a single request.
Since receipts are part of a block, as defined in the yellowpaper, it makes sense to allow including them in the block response for eth_getBlockByHash and eth_getBlockByNumber by adding the boolean parameter to the request:
Here is an analogous issue for parity paritytech/parity-ethereum#9075