TransactionServiceBase constructor

TransactionServiceBase()

Implementation

TransactionServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.GetTransactionByIdRequest,
          $0.TransactionResponse>(
      'getTransactionById',
      getTransactionById_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.GetTransactionByIdRequest.fromBuffer(value),
      ($0.TransactionResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.QueryByAddressRequest, $0.TransactionResponse>(
          'getTransactionByAddressStream',
          getTransactionByAddressStream_Pre,
          false,
          true,
          ($core.List<$core.int> value) =>
              $0.QueryByAddressRequest.fromBuffer(value),
          ($0.TransactionResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.QueryByAddressRequest, $0.TxoAddressResponse>(
          'getTxosByAddress',
          getTxosByAddress_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.QueryByAddressRequest.fromBuffer(value),
          ($0.TxoAddressResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.QueryByAddressRequest, $0.TxoAddressResponse>(
          'getTxosByAddressStream',
          getTxosByAddressStream_Pre,
          false,
          true,
          ($core.List<$core.int> value) =>
              $0.QueryByAddressRequest.fromBuffer(value),
          ($0.TxoAddressResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryByAssetLabelRequest, $0.TxoResponse>(
      'getTxosByAssetLabel',
      getTxosByAssetLabel_Pre,
      false,
      true,
      ($core.List<$core.int> value) =>
          $0.QueryByAssetLabelRequest.fromBuffer(value),
      ($0.TxoResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.CreateOnChainTransactionIndexRequest,
          $0.CreateOnChainTransactionIndexResponse>(
      'createOnChainTransactionIndex',
      createOnChainTransactionIndex_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.CreateOnChainTransactionIndexRequest.fromBuffer(value),
      ($0.CreateOnChainTransactionIndexResponse value) =>
          value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.GetExistingTransactionIndexesRequest,
          $0.GetExistingTransactionIndexesResponse>(
      'getExistingTransactionIndexes',
      getExistingTransactionIndexes_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.GetExistingTransactionIndexesRequest.fromBuffer(value),
      ($0.GetExistingTransactionIndexesResponse value) =>
          value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.GetIndexedTransactionsRequest,
          $0.TransactionResponse>(
      'getIndexedTransactions',
      getIndexedTransactions_Pre,
      false,
      true,
      ($core.List<$core.int> value) =>
          $0.GetIndexedTransactionsRequest.fromBuffer(value),
      ($0.TransactionResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.DropIndexRequest, $0.DropIndexResponse>(
      'dropIndex',
      dropIndex_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.DropIndexRequest.fromBuffer(value),
      ($0.DropIndexResponse value) => value.writeToBuffer()));
}