Skip to main content
Query block header information or entire block information according to block height or block hash. This method will use 30 Compute Units.

Parameters

  • id_or_num - String - Can be the block height or the block hash. No value entered means to query the latest block.
  • detail - Boolean - True means query the entire block information include the header and body. False means only query the block header information.

Returns