import { Timestamp } from "../../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../../binary"; import { TxRpc } from "../../../../types"; export declare const protobufPackage = "cosmos.base.node.v1beta1"; /** ConfigRequest defines the request structure for the Config gRPC query. */ export interface ConfigRequest { } export interface ConfigRequestProtoMsg { typeUrl: "/cosmos.base.node.v1beta1.ConfigRequest"; value: Uint8Array; } /** ConfigRequest defines the request structure for the Config gRPC query. */ export interface ConfigRequestAmino { } export interface ConfigRequestAminoMsg { type: "cosmos-sdk/ConfigRequest"; value: ConfigRequestAmino; } /** ConfigResponse defines the response structure for the Config gRPC query. */ export interface ConfigResponse { minimumGasPrice: string; pruningKeepRecent: string; pruningInterval: string; haltHeight: bigint; } export interface ConfigResponseProtoMsg { typeUrl: "/cosmos.base.node.v1beta1.ConfigResponse"; value: Uint8Array; } /** ConfigResponse defines the response structure for the Config gRPC query. */ export interface ConfigResponseAmino { minimum_gas_price?: string; pruning_keep_recent?: string; pruning_interval?: string; halt_height?: string; } export interface ConfigResponseAminoMsg { type: "cosmos-sdk/ConfigResponse"; value: ConfigResponseAmino; } /** StateRequest defines the request structure for the status of a node. */ export interface StatusRequest { } export interface StatusRequestProtoMsg { typeUrl: "/cosmos.base.node.v1beta1.StatusRequest"; value: Uint8Array; } /** StateRequest defines the request structure for the status of a node. */ export interface StatusRequestAmino { } export interface StatusRequestAminoMsg { type: "cosmos-sdk/StatusRequest"; value: StatusRequestAmino; } /** StateResponse defines the response structure for the status of a node. */ export interface StatusResponse { /** earliest block height available in the store */ earliestStoreHeight: bigint; /** current block height */ height: bigint; /** block height timestamp */ timestamp?: Timestamp | undefined; /** app hash of the current block */ appHash: Uint8Array; /** validator hash provided by the consensus header */ validatorHash: Uint8Array; } export interface StatusResponseProtoMsg { typeUrl: "/cosmos.base.node.v1beta1.StatusResponse"; value: Uint8Array; } /** StateResponse defines the response structure for the status of a node. */ export interface StatusResponseAmino { /** earliest block height available in the store */ earliest_store_height?: string; /** current block height */ height?: string; /** block height timestamp */ timestamp?: string | undefined; /** app hash of the current block */ app_hash?: string; /** validator hash provided by the consensus header */ validator_hash?: string; } export interface StatusResponseAminoMsg { type: "cosmos-sdk/StatusResponse"; value: StatusResponseAmino; } export declare const ConfigRequest: { typeUrl: string; encode(_: ConfigRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ConfigRequest; fromJSON(_: any): ConfigRequest; toJSON(_: ConfigRequest): unknown; fromPartial(_: Partial): ConfigRequest; fromAmino(_: ConfigRequestAmino): ConfigRequest; toAmino(_: ConfigRequest): ConfigRequestAmino; fromAminoMsg(object: ConfigRequestAminoMsg): ConfigRequest; toAminoMsg(message: ConfigRequest): ConfigRequestAminoMsg; fromProtoMsg(message: ConfigRequestProtoMsg): ConfigRequest; toProto(message: ConfigRequest): Uint8Array; toProtoMsg(message: ConfigRequest): ConfigRequestProtoMsg; }; export declare const ConfigResponse: { typeUrl: string; encode(message: ConfigResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ConfigResponse; fromJSON(object: any): ConfigResponse; toJSON(message: ConfigResponse): unknown; fromPartial(object: Partial): ConfigResponse; fromAmino(object: ConfigResponseAmino): ConfigResponse; toAmino(message: ConfigResponse): ConfigResponseAmino; fromAminoMsg(object: ConfigResponseAminoMsg): ConfigResponse; toAminoMsg(message: ConfigResponse): ConfigResponseAminoMsg; fromProtoMsg(message: ConfigResponseProtoMsg): ConfigResponse; toProto(message: ConfigResponse): Uint8Array; toProtoMsg(message: ConfigResponse): ConfigResponseProtoMsg; }; export declare const StatusRequest: { typeUrl: string; encode(_: StatusRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): StatusRequest; fromJSON(_: any): StatusRequest; toJSON(_: StatusRequest): unknown; fromPartial(_: Partial): StatusRequest; fromAmino(_: StatusRequestAmino): StatusRequest; toAmino(_: StatusRequest): StatusRequestAmino; fromAminoMsg(object: StatusRequestAminoMsg): StatusRequest; toAminoMsg(message: StatusRequest): StatusRequestAminoMsg; fromProtoMsg(message: StatusRequestProtoMsg): StatusRequest; toProto(message: StatusRequest): Uint8Array; toProtoMsg(message: StatusRequest): StatusRequestProtoMsg; }; export declare const StatusResponse: { typeUrl: string; encode(message: StatusResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): StatusResponse; fromJSON(object: any): StatusResponse; toJSON(message: StatusResponse): unknown; fromPartial(object: Partial): StatusResponse; fromAmino(object: StatusResponseAmino): StatusResponse; toAmino(message: StatusResponse): StatusResponseAmino; fromAminoMsg(object: StatusResponseAminoMsg): StatusResponse; toAminoMsg(message: StatusResponse): StatusResponseAminoMsg; fromProtoMsg(message: StatusResponseProtoMsg): StatusResponse; toProto(message: StatusResponse): Uint8Array; toProtoMsg(message: StatusResponse): StatusResponseProtoMsg; }; /** Service defines the gRPC querier service for node related queries. */ export interface Service { /** Config queries for the operator configuration. */ Config(request?: ConfigRequest): Promise; /** Status queries for the node status. */ Status(request?: StatusRequest): Promise; } export declare class ServiceClientImpl implements Service { private readonly rpc; constructor(rpc: TxRpc); Config(request?: ConfigRequest): Promise; Status(request?: StatusRequest): Promise; }