Skip to main content

debug_printBlock RPC Method

Retrieves a block and returns its pretty printed form.

Updated on
Aug 07, 2024

Parameters

blockNumber
string
REQUIRED

The block number as a string in hexadecimal format or tags

Returns

result
string

The pretty-printed block dump

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free