Skip to main content

debug_getRawBlock

Returns an RLP-encoded block.

Params

(1)

1. Block (required)

(one of)
string
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$

Result

(Block RLP)
string
Match pattern:
^0x[0-9a-f]*$

Params

Block


Request

await window.ethereum.request({
"method": "debug_getRawBlock",
"params": [
null
]
});