code: def get_block_by_hash(self, block_hash: str, is_full: bool = False) -> dict:
          
          payload = self.generate_json_rpc_payload(RpcMethod.GET_BLOCK, [block_hash, 1])
          response = self.__post(self.__url, payload)
          if is_full:
              return response
          return response['result']
docs: This interface is used to get the hexadecimal hash value of specified block height in current network.
  
          :param block_hash: a hexadecimal value of block hash.
          :param is_full:
          :return: the block information of the specified block hash.