getblock Method

Returns the corresponding block information according to the specified index.

Parameter Description

Index: Block index (block height) = Number of blocks - 1.

Verbose: Optional, the default value of verbose is 0. When verbose is 0, the serialized information of the block is returned, represented by a hexadecimal string. If you need to get detailed information, you will need to use the SDK for deserialization. When verbose is 1, detailed information of the corresponding block in Json format string, is returned.