Skip to main content
If verbosity is 0, returns a string that is serialized, hex-encoded data for block ‘hash’. If verbosity is 1, returns an Object with information about block ‘hash’. If verbosity is 2, returns an Object with information about block ‘hash’ and information about each transaction. This method will use 10 Compute Units.

Reference: Here

Parameters

blockhash - string, required The block hash verbosity - numeric, optional, default=1 0 for hex-encoded data, 1 for a json object, and 2 for json object with transaction data

Returns (for verbosity = 0)

Returns (for verbosity = 1)

Returns (for verbosity = 2)