Class ServiceGrpc.ServiceStub

  • Enclosing class:
    ServiceGrpc

    public static final class ServiceGrpc.ServiceStub
    extends io.grpc.stub.AbstractAsyncStub<ServiceGrpc.ServiceStub>
     Service defines a gRPC service for interacting with transactions.
     
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void broadcastTx​(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest request, io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse> responseObserver)
      BroadcastTx broadcast transaction.
      protected ServiceGrpc.ServiceStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      void getTx​(cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest request, io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse> responseObserver)
      GetTx fetches a tx by hash.
      void getTxsEvent​(cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest request, io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse> responseObserver)
      GetTxsEvent fetches txs by event.
      void simulate​(cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest request, io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse> responseObserver)
      Simulate simulates executing a transaction for estimating gas usage.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • simulate

        public void simulate​(cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest request,
                             io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse> responseObserver)
         Simulate simulates executing a transaction for estimating gas usage.
         
      • getTx

        public void getTx​(cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest request,
                          io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse> responseObserver)
         GetTx fetches a tx by hash.
         
      • broadcastTx

        public void broadcastTx​(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest request,
                                io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse> responseObserver)
         BroadcastTx broadcast transaction.
         
      • getTxsEvent

        public void getTxsEvent​(cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest request,
                                io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse> responseObserver)
         GetTxsEvent fetches txs by event.