code: def get_block_by_height(self, height: int, is_full: bool = False) -> dict:
          
          payload = self.generate_json_rpc_payload(RpcMethod.GET_BLOCK, [height, 1])
          response = self.__post(self.__url, payload)
          if is_full:
              return response
          return response['result']
docs: This interface is used to get the block information by block height in current network.
  
          Return:
              the decimal total number of blocks in current network.