class QueryApiImpl extends AbstractApi implements QueryApi {

  @Override
  public Subscription<Block> subscribeBlock(final StreamObserver<Block> observer) {
    try {
      return getClient().getBlockOperation().subscribeBlock(observer);
    } catch (Exception e) {
      throw converter.convert(e);
    }
  }

}