@@ -14,7 +14,7 @@ If `incompletes` is false, then accounts for which the key preimage (i.e: the `a
1414| Client | Method invocation |
1515| :------ | ---------------------------------------------------------------------------------------------------------------- |
1616| Console | ` debug.accountRange(blockNrOrHash, start, maxResults, nocode, nostorage, incompletes) ` |
17- | RPC | ` {"method": "debug_getHeaderRlp ", "params": [blockNrOrHash, start, maxResults, nocode, nostorage, incompletes]} ` |
17+ | RPC | ` {"method": "debug_accountRange ", "params": [blockNrOrHash, start, maxResults, nocode, nostorage, incompletes]} ` |
1818
1919### debug_backtraceAt
2020
@@ -189,26 +189,35 @@ Returns a list of the last 'bad blocks' that the client has seen on the network
189189| Console | ` debug.getBadBlocks() ` |
190190| RPC | ` {"method": "debug_getBadBlocks", "params": []} ` |
191191
192- ### debug_getBlockRlp
192+ ### debug_getRawBlock
193193
194194Retrieves and returns the RLP encoded block by number.
195195
196196| Client | Method invocation |
197197| :------ | ----------------------------------------------------- |
198- | Go | ` debug.GetBlockRlp(number uint64 ) (string, error) ` |
199- | Console | ` debug.getBlockRlp(number, [options] ) ` |
200- | RPC | ` {"method": "debug_getBlockRlp ", "params": [number ]} ` |
198+ | Go | ` debug.getRawBlock(blockNrOrHash ) (string, error) ` |
199+ | Console | ` debug.getBlockRlp(blockNrOrHash ) ` |
200+ | RPC | ` {"method": "debug_getRawBlock ", "params": [blockNrOrHash ]} ` |
201201
202202References: [ RLP] ( https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/ )
203203
204- ### debug_getHeaderRlp
204+ ### debug_getRawHeader
205205
206206Returns an RLP-encoded header.
207207
208208| Client | Method invocation |
209209| :------ | --------------------------------------------------- |
210- | Console | ` debug.getHeaderRlp(blockNum) ` |
211- | RPC | ` {"method": "debug_getHeaderRlp", "params": [num]} ` |
210+ | Console | ` debug.getRawHeader(blockNrOrHash) ` |
211+ | RPC | ` {"method": "debug_getRawHeader", "params": [blockNrOrHash]} ` |
212+
213+ ### debug_getRawTransaction
214+
215+ Returns the bytes of the transaction.
216+
217+ | Client | Method invocation |
218+ | :------ | --------------------------------------------------- |
219+ | Console | ` debug.getRawTransaction(blockNrOrHash) ` |
220+ | RPC | ` {"method": "debug_getRawTransaction", "params": [transactionHash]} ` |
212221
213222### debug_getModifiedAccountsByHash
214223
0 commit comments