public static final class ServiceGrpc.ServiceStub extends io.grpc.stub.AbstractAsyncStub<ServiceGrpc.ServiceStub>
Service defines the gRPC querier service for tendermint queries.
| Modifier and Type | Method and Description |
|---|---|
protected ServiceGrpc.ServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
getBlockByHeight(cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightResponse> responseObserver)
GetBlockByHeight queries block for given height.
|
void |
getLatestBlock(cosmos.base.tendermint.v1beta1.Query.GetLatestBlockRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestBlockResponse> responseObserver)
GetLatestBlock returns the latest block.
|
void |
getLatestValidatorSet(cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetResponse> responseObserver)
GetLatestValidatorSet queries latest validator-set.
|
void |
getNodeInfo(cosmos.base.tendermint.v1beta1.Query.GetNodeInfoRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetNodeInfoResponse> responseObserver)
GetNodeInfo queries the current node info.
|
void |
getSyncing(cosmos.base.tendermint.v1beta1.Query.GetSyncingRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetSyncingResponse> responseObserver)
GetSyncing queries node syncing.
|
void |
getValidatorSetByHeight(cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightResponse> responseObserver)
GetValidatorSetByHeight queries validator-set at a given height.
|
protected ServiceGrpc.ServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<ServiceGrpc.ServiceStub>public void getNodeInfo(cosmos.base.tendermint.v1beta1.Query.GetNodeInfoRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetNodeInfoResponse> responseObserver)
GetNodeInfo queries the current node info.
public void getSyncing(cosmos.base.tendermint.v1beta1.Query.GetSyncingRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetSyncingResponse> responseObserver)
GetSyncing queries node syncing.
public void getLatestBlock(cosmos.base.tendermint.v1beta1.Query.GetLatestBlockRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestBlockResponse> responseObserver)
GetLatestBlock returns the latest block.
public void getBlockByHeight(cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetBlockByHeightResponse> responseObserver)
GetBlockByHeight queries block for given height.
public void getLatestValidatorSet(cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetLatestValidatorSetResponse> responseObserver)
GetLatestValidatorSet queries latest validator-set.
public void getValidatorSetByHeight(cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightRequest request,
io.grpc.stub.StreamObserver<cosmos.base.tendermint.v1beta1.Query.GetValidatorSetByHeightResponse> responseObserver)
GetValidatorSetByHeight queries validator-set at a given height.