Skip to main content
Query block header information or entire block information according to block height or block hash. (Confirmed state). 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 including the header and body. false means only query the block header information.

Returns