Package cosmos.tx.v1beta1
Class ServiceGrpc.ServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<ServiceGrpc.ServiceStub>
-
- cosmos.tx.v1beta1.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbroadcastTx(cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxRequest request, io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.BroadcastTxResponse> responseObserver)BroadcastTx broadcast transaction.protected ServiceGrpc.ServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidgetTx(cosmos.tx.v1beta1.ServiceOuterClass.GetTxRequest request, io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.GetTxResponse> responseObserver)GetTx fetches a tx by hash.voidgetTxsEvent(cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventRequest request, io.grpc.stub.StreamObserver<cosmos.tx.v1beta1.ServiceOuterClass.GetTxsEventResponse> responseObserver)GetTxsEvent fetches txs by event.voidsimulate(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.
-
-
-
Method Detail
-
build
protected ServiceGrpc.ServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<ServiceGrpc.ServiceStub>
-
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.
-
-