Class ServiceGrpc.ServiceFutureStub

  • Enclosing class:
    ServiceGrpc

    public static final class ServiceGrpc.ServiceFutureStub
    extends io.grpc.stub.AbstractFutureStub<ServiceGrpc.ServiceFutureStub>
     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
      com.google.common.util.concurrent.ListenableFuture<cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse> broadcastTx​(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest request)
      BroadcastTx broadcast transaction.
      protected ServiceGrpc.ServiceFutureStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      com.google.common.util.concurrent.ListenableFuture<cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse> getTx​(cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest request)
      GetTx fetches a tx by hash.
      com.google.common.util.concurrent.ListenableFuture<cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse> getTxsEvent​(cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest request)
      GetTxsEvent fetches txs by event.
      com.google.common.util.concurrent.ListenableFuture<cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse> simulate​(cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest request)
      Simulate simulates executing a transaction for estimating gas usage.
      • Methods inherited from class io.grpc.stub.AbstractFutureStub

        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 com.google.common.util.concurrent.ListenableFuture<cosmos.tx.v1beta1.ServiceOuterClass.SimulateResponse> simulate​(cosmos.tx.v1beta1.ServiceOuterClass.SimulateRequest request)
         Simulate simulates executing a transaction for estimating gas usage.
         
      • getTx

        public com.google.common.util.concurrent.ListenableFuture<cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse> getTx​(cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest request)
         GetTx fetches a tx by hash.
         
      • broadcastTx

        public com.google.common.util.concurrent.ListenableFuture<cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse> broadcastTx​(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest request)
         BroadcastTx broadcast transaction.
         
      • getTxsEvent

        public com.google.common.util.concurrent.ListenableFuture<cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse> getTxsEvent​(cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest request)
         GetTxsEvent fetches txs by event.