code: def get_block(self, height_or_hash, id=None, endpoint=None):
          
          return self._call_endpoint(GET_BLOCK, params=[height_or_hash, 1], id=id, endpoint=endpoint)
docs: Look up a block by the height or hash of the block.
          Args:
              height_or_hash: (int or str) either the height of the desired block or its hash in the form '1e67372c158a4cfbb17b9ad3aaae77001a4247a00318e354c62e53b56af4006f'
              id: (int, optional) id to use for response tracking
              endpoint: (RPCEndpoint, optional) endpoint to specify to use
  
          Returns:
              block: a json object or the ``neorpc.Core.Block.Block`` object