-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Problem
Currently, we're missing some debug_* methods.
Solution
- Implement
debug_getRawReceiptsmethod - we should useeth_getBlockReceiptsas a base - Check conformity tests
- Edit openrpc.json and rpc-api.md
- Add tests (if needed)
RPC method:
{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_getRawReceipts",
"params": [
"latest" // block number or block hash
]
}Response:
{
"jsonrpc": "2.0",
"id": "1",
"result": [
"0xf901a80...", // RLP encoded receipt
"0xf901a70...", // RLP encoded receipt
"0xf901a22..." // RLP encoded receipt
]
}Note: for not found receipts (e.g. future block) return "results": []
Alternatives
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request