import { Tx, TxSDKType } from "./tx"; import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { TxResponse, TxResponseSDKType, GasInfo, GasInfoSDKType, Result, ResultSDKType } from "../../base/abci/v1beta1/abci"; import { BlockID, BlockIDSDKType } from "../../../tendermint/types/types"; import { Block, BlockSDKType } from "../../../tendermint/types/block"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; import { QueryClient } from "@cosmjs/stargate"; export declare const protobufPackage = "cosmos.tx.v1beta1"; /** OrderBy defines the sorting order */ export declare enum OrderBy { /** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */ ORDER_BY_UNSPECIFIED = 0, /** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */ ORDER_BY_ASC = 1, /** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */ ORDER_BY_DESC = 2, UNRECOGNIZED = -1 } export declare const OrderBySDKType: typeof OrderBy; export declare function orderByFromJSON(object: any): OrderBy; export declare function orderByToJSON(object: OrderBy): string; /** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ export declare enum BroadcastMode { /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */ BROADCAST_MODE_UNSPECIFIED = 0, /** * BROADCAST_MODE_BLOCK - BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for * the tx to be committed in a block. */ BROADCAST_MODE_BLOCK = 1, /** * BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for * a CheckTx execution response only. */ BROADCAST_MODE_SYNC = 2, /** * BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns * immediately. */ BROADCAST_MODE_ASYNC = 3, UNRECOGNIZED = -1 } export declare const BroadcastModeSDKType: typeof BroadcastMode; export declare function broadcastModeFromJSON(object: any): BroadcastMode; export declare function broadcastModeToJSON(object: BroadcastMode): string; /** * GetTxsEventRequest is the request type for the Service.TxsByEvents * RPC method. */ export interface GetTxsEventRequest { /** events is the list of transaction event type. */ events: string[]; /** pagination defines a pagination for the request. */ pagination?: PageRequest | undefined; orderBy: OrderBy; } /** * GetTxsEventRequest is the request type for the Service.TxsByEvents * RPC method. */ export interface GetTxsEventRequestSDKType { events: string[]; pagination?: PageRequestSDKType | undefined; order_by: OrderBy; } /** * GetTxsEventResponse is the response type for the Service.TxsByEvents * RPC method. */ export interface GetTxsEventResponse { /** txs is the list of queried transactions. */ txs: Tx[]; /** tx_responses is the list of queried TxResponses. */ txResponses: TxResponse[]; /** pagination defines a pagination for the response. */ pagination?: PageResponse | undefined; } /** * GetTxsEventResponse is the response type for the Service.TxsByEvents * RPC method. */ export interface GetTxsEventResponseSDKType { txs: TxSDKType[]; tx_responses: TxResponseSDKType[]; pagination?: PageResponseSDKType | undefined; } /** * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest * RPC method. */ export interface BroadcastTxRequest { /** tx_bytes is the raw transaction. */ txBytes: Uint8Array; mode: BroadcastMode; } /** * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest * RPC method. */ export interface BroadcastTxRequestSDKType { tx_bytes: Uint8Array; mode: BroadcastMode; } /** * BroadcastTxResponse is the response type for the * Service.BroadcastTx method. */ export interface BroadcastTxResponse { /** tx_response is the queried TxResponses. */ txResponse?: TxResponse | undefined; } /** * BroadcastTxResponse is the response type for the * Service.BroadcastTx method. */ export interface BroadcastTxResponseSDKType { tx_response?: TxResponseSDKType | undefined; } /** * SimulateRequest is the request type for the Service.Simulate * RPC method. */ export interface SimulateRequest { /** * tx is the transaction to simulate. * Deprecated. Send raw tx bytes instead. */ /** @deprecated */ tx?: Tx | undefined; /** * tx_bytes is the raw transaction. * * Since: cosmos-sdk 0.43 */ txBytes: Uint8Array; } /** * SimulateRequest is the request type for the Service.Simulate * RPC method. */ export interface SimulateRequestSDKType { /** @deprecated */ tx?: TxSDKType | undefined; tx_bytes: Uint8Array; } /** * SimulateResponse is the response type for the * Service.SimulateRPC method. */ export interface SimulateResponse { /** gas_info is the information about gas used in the simulation. */ gasInfo?: GasInfo | undefined; /** result is the result of the simulation. */ result?: Result | undefined; } /** * SimulateResponse is the response type for the * Service.SimulateRPC method. */ export interface SimulateResponseSDKType { gas_info?: GasInfoSDKType | undefined; result?: ResultSDKType | undefined; } /** * GetTxRequest is the request type for the Service.GetTx * RPC method. */ export interface GetTxRequest { /** hash is the tx hash to query, encoded as a hex string. */ hash: string; } /** * GetTxRequest is the request type for the Service.GetTx * RPC method. */ export interface GetTxRequestSDKType { hash: string; } /** GetTxResponse is the response type for the Service.GetTx method. */ export interface GetTxResponse { /** tx is the queried transaction. */ tx?: Tx | undefined; /** tx_response is the queried TxResponses. */ txResponse?: TxResponse | undefined; } /** GetTxResponse is the response type for the Service.GetTx method. */ export interface GetTxResponseSDKType { tx?: TxSDKType | undefined; tx_response?: TxResponseSDKType | undefined; } /** * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs * RPC method. * * Since: cosmos-sdk 0.45.2 */ export interface GetBlockWithTxsRequest { /** height is the height of the block to query. */ height: bigint; /** pagination defines a pagination for the request. */ pagination?: PageRequest | undefined; } /** * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs * RPC method. * * Since: cosmos-sdk 0.45.2 */ export interface GetBlockWithTxsRequestSDKType { height: bigint; pagination?: PageRequestSDKType | undefined; } /** * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. * * Since: cosmos-sdk 0.45.2 */ export interface GetBlockWithTxsResponse { /** txs are the transactions in the block. */ txs: Tx[]; blockId?: BlockID | undefined; block?: Block | undefined; /** pagination defines a pagination for the response. */ pagination?: PageResponse | undefined; } /** * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. * * Since: cosmos-sdk 0.45.2 */ export interface GetBlockWithTxsResponseSDKType { txs: TxSDKType[]; block_id?: BlockIDSDKType | undefined; block?: BlockSDKType | undefined; pagination?: PageResponseSDKType | undefined; } export declare const GetTxsEventRequest: { typeUrl: string; encode(message: GetTxsEventRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetTxsEventRequest; fromJSON(object: any): GetTxsEventRequest; toJSON(message: GetTxsEventRequest): unknown; fromPartial & { events?: string[] & Record, never>; pagination?: PageRequest & { key: Uint8Array; offset: bigint; limit: bigint; countTotal: boolean; reverse: boolean; } & Record, never>; orderBy?: OrderBy; } & Record, never>>(object: I): GetTxsEventRequest; }; export declare const GetTxsEventResponse: { typeUrl: string; encode(message: GetTxsEventResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetTxsEventResponse; fromJSON(object: any): GetTxsEventResponse; toJSON(message: GetTxsEventResponse): unknown; fromPartial & { txs?: Tx[] & (Tx & { body?: import("./tx").TxBody & { messages: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; memo: string; timeoutHeight: bigint; extensionOptions: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; nonCriticalExtensionOptions: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; } & Record, never>; authInfo?: import("./tx").AuthInfo & { signerInfos: import("./tx").SignerInfo[] & (import("./tx").SignerInfo & { publicKey?: import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>; modeInfo?: import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & any & Record, never>; multi?: import("./tx").ModeInfo_Multi & any & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>; sequence: bigint; } & Record, never>)[] & Record, never>; fee?: import("./tx").Fee & { amount: import("../../base/v1beta1/coin").Coin[] & (import("../../base/v1beta1/coin").Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; gasLimit: bigint; payer: string; granter: string; } & Record, never>; } & Record, never>; signatures: Uint8Array[] & Record, never>; } & Record, never>)[] & Record, never>; txResponses?: TxResponse[] & (TxResponse & { height: bigint; txhash: string; codespace: string; code: number; data: string; rawLog: string; logs: import("../../base/abci/v1beta1/abci").ABCIMessageLog[] & (import("../../base/abci/v1beta1/abci").ABCIMessageLog & { msgIndex: number; log: string; events: import("../../base/abci/v1beta1/abci").StringEvent[] & (import("../../base/abci/v1beta1/abci").StringEvent & { type: string; attributes: import("../../base/abci/v1beta1/abci").Attribute[] & (import("../../base/abci/v1beta1/abci").Attribute & { key: string; value: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; info: string; gasWanted: bigint; gasUsed: bigint; tx?: import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>; timestamp: string; events: import("../../../tendermint/abci/types").Event[] & (import("../../../tendermint/abci/types").Event & { type: string; attributes: import("../../../tendermint/abci/types").EventAttribute[] & (import("../../../tendermint/abci/types").EventAttribute & { key: Uint8Array; value: Uint8Array; index: boolean; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; pagination?: PageResponse & { nextKey: Uint8Array; total: bigint; } & Record, never>; } & Record, never>>(object: I): GetTxsEventResponse; }; export declare const BroadcastTxRequest: { typeUrl: string; encode(message: BroadcastTxRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BroadcastTxRequest; fromJSON(object: any): BroadcastTxRequest; toJSON(message: BroadcastTxRequest): unknown; fromPartial & { txBytes?: Uint8Array; mode?: BroadcastMode; } & Record, never>>(object: I): BroadcastTxRequest; }; export declare const BroadcastTxResponse: { typeUrl: string; encode(message: BroadcastTxResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BroadcastTxResponse; fromJSON(object: any): BroadcastTxResponse; toJSON(message: BroadcastTxResponse): unknown; fromPartial & { txResponse?: TxResponse & { height: bigint; txhash: string; codespace: string; code: number; data: string; rawLog: string; logs: import("../../base/abci/v1beta1/abci").ABCIMessageLog[] & (import("../../base/abci/v1beta1/abci").ABCIMessageLog & { msgIndex: number; log: string; events: import("../../base/abci/v1beta1/abci").StringEvent[] & (import("../../base/abci/v1beta1/abci").StringEvent & { type: string; attributes: import("../../base/abci/v1beta1/abci").Attribute[] & (import("../../base/abci/v1beta1/abci").Attribute & { key: string; value: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; info: string; gasWanted: bigint; gasUsed: bigint; tx?: import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>; timestamp: string; events: import("../../../tendermint/abci/types").Event[] & (import("../../../tendermint/abci/types").Event & { type: string; attributes: import("../../../tendermint/abci/types").EventAttribute[] & (import("../../../tendermint/abci/types").EventAttribute & { key: Uint8Array; value: Uint8Array; index: boolean; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>>(object: I): BroadcastTxResponse; }; export declare const SimulateRequest: { typeUrl: string; encode(message: SimulateRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SimulateRequest; fromJSON(object: any): SimulateRequest; toJSON(message: SimulateRequest): unknown; fromPartial & { tx?: Tx & { body?: import("./tx").TxBody & { messages: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; memo: string; timeoutHeight: bigint; extensionOptions: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; nonCriticalExtensionOptions: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; } & Record, never>; authInfo?: import("./tx").AuthInfo & { signerInfos: import("./tx").SignerInfo[] & (import("./tx").SignerInfo & { publicKey?: import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>; modeInfo?: import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & any & Record, never>; multi?: import("./tx").ModeInfo_Multi & any & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>; sequence: bigint; } & Record, never>)[] & Record, never>; fee?: import("./tx").Fee & { amount: import("../../base/v1beta1/coin").Coin[] & (import("../../base/v1beta1/coin").Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; gasLimit: bigint; payer: string; granter: string; } & Record, never>; } & Record, never>; signatures: Uint8Array[] & Record, never>; } & Record, never>; txBytes?: Uint8Array; } & Record, never>>(object: I): SimulateRequest; }; export declare const SimulateResponse: { typeUrl: string; encode(message: SimulateResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SimulateResponse; fromJSON(object: any): SimulateResponse; toJSON(message: SimulateResponse): unknown; fromPartial & { gasInfo?: GasInfo & { gasWanted: bigint; gasUsed: bigint; } & Record, never>; result?: Result & { data: Uint8Array; log: string; events: import("../../../tendermint/abci/types").Event[] & (import("../../../tendermint/abci/types").Event & { type: string; attributes: import("../../../tendermint/abci/types").EventAttribute[] & (import("../../../tendermint/abci/types").EventAttribute & { key: Uint8Array; value: Uint8Array; index: boolean; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>>(object: I): SimulateResponse; }; export declare const GetTxRequest: { typeUrl: string; encode(message: GetTxRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetTxRequest; fromJSON(object: any): GetTxRequest; toJSON(message: GetTxRequest): unknown; fromPartial & { hash?: string; } & Record, never>>(object: I): GetTxRequest; }; export declare const GetTxResponse: { typeUrl: string; encode(message: GetTxResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetTxResponse; fromJSON(object: any): GetTxResponse; toJSON(message: GetTxResponse): unknown; fromPartial & { tx?: Tx & { body?: import("./tx").TxBody & { messages: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; memo: string; timeoutHeight: bigint; extensionOptions: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; nonCriticalExtensionOptions: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; } & Record, never>; authInfo?: import("./tx").AuthInfo & { signerInfos: import("./tx").SignerInfo[] & (import("./tx").SignerInfo & { publicKey?: import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>; modeInfo?: import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & any & Record, never>; multi?: import("./tx").ModeInfo_Multi & any & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>; sequence: bigint; } & Record, never>)[] & Record, never>; fee?: import("./tx").Fee & { amount: import("../../base/v1beta1/coin").Coin[] & (import("../../base/v1beta1/coin").Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; gasLimit: bigint; payer: string; granter: string; } & Record, never>; } & Record, never>; signatures: Uint8Array[] & Record, never>; } & Record, never>; txResponse?: TxResponse & { height: bigint; txhash: string; codespace: string; code: number; data: string; rawLog: string; logs: import("../../base/abci/v1beta1/abci").ABCIMessageLog[] & (import("../../base/abci/v1beta1/abci").ABCIMessageLog & { msgIndex: number; log: string; events: import("../../base/abci/v1beta1/abci").StringEvent[] & (import("../../base/abci/v1beta1/abci").StringEvent & { type: string; attributes: import("../../base/abci/v1beta1/abci").Attribute[] & (import("../../base/abci/v1beta1/abci").Attribute & { key: string; value: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; info: string; gasWanted: bigint; gasUsed: bigint; tx?: import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>; timestamp: string; events: import("../../../tendermint/abci/types").Event[] & (import("../../../tendermint/abci/types").Event & { type: string; attributes: import("../../../tendermint/abci/types").EventAttribute[] & (import("../../../tendermint/abci/types").EventAttribute & { key: Uint8Array; value: Uint8Array; index: boolean; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>>(object: I): GetTxResponse; }; export declare const GetBlockWithTxsRequest: { typeUrl: string; encode(message: GetBlockWithTxsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetBlockWithTxsRequest; fromJSON(object: any): GetBlockWithTxsRequest; toJSON(message: GetBlockWithTxsRequest): unknown; fromPartial & { height?: bigint; pagination?: PageRequest & { key: Uint8Array; offset: bigint; limit: bigint; countTotal: boolean; reverse: boolean; } & Record, never>; } & Record, never>>(object: I): GetBlockWithTxsRequest; }; export declare const GetBlockWithTxsResponse: { typeUrl: string; encode(message: GetBlockWithTxsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetBlockWithTxsResponse; fromJSON(object: any): GetBlockWithTxsResponse; toJSON(message: GetBlockWithTxsResponse): unknown; fromPartial & { txs?: Tx[] & (Tx & { body?: import("./tx").TxBody & { messages: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; memo: string; timeoutHeight: bigint; extensionOptions: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; nonCriticalExtensionOptions: import("../../../google/protobuf/any").Any[] & (import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>)[] & Record, never>; } & Record, never>; authInfo?: import("./tx").AuthInfo & { signerInfos: import("./tx").SignerInfo[] & (import("./tx").SignerInfo & { publicKey?: import("../../../google/protobuf/any").Any & { typeUrl: string; value: Uint8Array; } & Record, never>; modeInfo?: import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & { mode: import("../signing/v1beta1/signing").SignMode; } & Record, never>; multi?: import("./tx").ModeInfo_Multi & { bitarray?: import("../../crypto/multisig/v1beta1/multisig").CompactBitArray & { extraBitsStored: number; elems: Uint8Array; } & Record, never>; modeInfos: import("./tx").ModeInfo[] & (import("./tx").ModeInfo & { single?: import("./tx").ModeInfo_Single & any & Record, never>; multi?: import("./tx").ModeInfo_Multi & any & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>; sequence: bigint; } & Record, never>)[] & Record, never>; fee?: import("./tx").Fee & { amount: import("../../base/v1beta1/coin").Coin[] & (import("../../base/v1beta1/coin").Coin & { denom: string; amount: string; } & Record, never>)[] & Record, never>; gasLimit: bigint; payer: string; granter: string; } & Record, never>; } & Record, never>; signatures: Uint8Array[] & Record, never>; } & Record, never>)[] & Record, never>; blockId?: BlockID & { hash: Uint8Array; partSetHeader: import("../../../tendermint/types/types").PartSetHeader & { total: number; hash: Uint8Array; } & Record, never>; } & Record, never>; block?: Block & { header: import("../../../tendermint/types/types").Header & { version: import("../../../tendermint/version/types").Consensus & { block: bigint; app: bigint; } & Record, never>; chainId: string; height: bigint; time: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; lastBlockId: BlockID & { hash: Uint8Array; partSetHeader: import("../../../tendermint/types/types").PartSetHeader & { total: number; hash: Uint8Array; } & Record, never>; } & Record, never>; lastCommitHash: Uint8Array; dataHash: Uint8Array; validatorsHash: Uint8Array; nextValidatorsHash: Uint8Array; consensusHash: Uint8Array; appHash: Uint8Array; lastResultsHash: Uint8Array; evidenceHash: Uint8Array; proposerAddress: Uint8Array; } & Record, never>; data: import("../../../tendermint/types/types").Data & { txs: Uint8Array[] & Record, never>; } & Record, never>; evidence: import("../../../tendermint/types/evidence").EvidenceList & { evidence: import("../../../tendermint/types/evidence").Evidence[] & (import("../../../tendermint/types/evidence").Evidence & { duplicateVoteEvidence?: import("../../../tendermint/types/evidence").DuplicateVoteEvidence & { voteA?: import("../../../tendermint/types/types").Vote & { type: import("../../../tendermint/types/types").SignedMsgType; height: bigint; round: number; blockId: BlockID & { hash: Uint8Array; partSetHeader: import("../../../tendermint/types/types").PartSetHeader & { total: number; hash: Uint8Array; } & Record, never>; } & Record, never>; timestamp: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; validatorAddress: Uint8Array; validatorIndex: number; signature: Uint8Array; } & Record, never>; voteB?: import("../../../tendermint/types/types").Vote & { type: import("../../../tendermint/types/types").SignedMsgType; height: bigint; round: number; blockId: BlockID & { hash: Uint8Array; partSetHeader: import("../../../tendermint/types/types").PartSetHeader & { total: number; hash: Uint8Array; } & Record, never>; } & Record, never>; timestamp: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; validatorAddress: Uint8Array; validatorIndex: number; signature: Uint8Array; } & Record, never>; totalVotingPower: bigint; validatorPower: bigint; timestamp: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; } & Record, never>; lightClientAttackEvidence?: import("../../../tendermint/types/evidence").LightClientAttackEvidence & { conflictingBlock?: import("../../../tendermint/types/types").LightBlock & { signedHeader?: import("../../../tendermint/types/types").SignedHeader & { header?: import("../../../tendermint/types/types").Header & { version: import("../../../tendermint/version/types").Consensus & { block: bigint; app: bigint; } & Record, never>; chainId: string; height: bigint; time: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; lastBlockId: BlockID & { hash: Uint8Array; partSetHeader: import("../../../tendermint/types/types").PartSetHeader & { total: number; hash: Uint8Array; } & Record, never>; } & Record, never>; lastCommitHash: Uint8Array; dataHash: Uint8Array; validatorsHash: Uint8Array; nextValidatorsHash: Uint8Array; consensusHash: Uint8Array; appHash: Uint8Array; lastResultsHash: Uint8Array; evidenceHash: Uint8Array; proposerAddress: Uint8Array; } & Record, never>; commit?: import("../../../tendermint/types/types").Commit & { height: bigint; round: number; blockId: BlockID & { hash: Uint8Array; partSetHeader: import("../../../tendermint/types/types").PartSetHeader & { total: number; hash: Uint8Array; } & Record, never>; } & Record, never>; signatures: import("../../../tendermint/types/types").CommitSig[] & (import("../../../tendermint/types/types").CommitSig & { blockIdFlag: import("../../../tendermint/types/types").BlockIDFlag; validatorAddress: Uint8Array; timestamp: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; signature: Uint8Array; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>; validatorSet?: import("../../../tendermint/types/validator").ValidatorSet & { validators: import("../../../tendermint/types/validator").Validator[] & (import("../../../tendermint/types/validator").Validator & { address: Uint8Array; pubKey: import("../../../tendermint/crypto/keys").PublicKey & { ed25519?: Uint8Array; secp256k1?: Uint8Array; } & Record, never>; votingPower: bigint; proposerPriority: bigint; } & Record, never>)[] & Record, never>; proposer?: import("../../../tendermint/types/validator").Validator & { address: Uint8Array; pubKey: import("../../../tendermint/crypto/keys").PublicKey & { ed25519?: Uint8Array; secp256k1?: Uint8Array; } & Record, never>; votingPower: bigint; proposerPriority: bigint; } & Record, never>; totalVotingPower: bigint; } & Record, never>; } & Record, never>; commonHeight: bigint; byzantineValidators: import("../../../tendermint/types/validator").Validator[] & (import("../../../tendermint/types/validator").Validator & { address: Uint8Array; pubKey: import("../../../tendermint/crypto/keys").PublicKey & { ed25519?: Uint8Array; secp256k1?: Uint8Array; } & Record, never>; votingPower: bigint; proposerPriority: bigint; } & Record, never>)[] & Record, never>; totalVotingPower: bigint; timestamp: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; } & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>; lastCommit?: import("../../../tendermint/types/types").Commit & { height: bigint; round: number; blockId: BlockID & { hash: Uint8Array; partSetHeader: import("../../../tendermint/types/types").PartSetHeader & { total: number; hash: Uint8Array; } & Record, never>; } & Record, never>; signatures: import("../../../tendermint/types/types").CommitSig[] & (import("../../../tendermint/types/types").CommitSig & { blockIdFlag: import("../../../tendermint/types/types").BlockIDFlag; validatorAddress: Uint8Array; timestamp: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; signature: Uint8Array; } & Record, never>)[] & Record, never>; } & Record, never>; } & Record, never>; pagination?: PageResponse & { nextKey: Uint8Array; total: bigint; } & Record, never>; } & Record, never>>(object: I): GetBlockWithTxsResponse; }; /** Service defines a gRPC service for interacting with transactions. */ export interface Service { /** Simulate simulates executing a transaction for estimating gas usage. */ Simulate(request: SimulateRequest): Promise; /** GetTx fetches a tx by hash. */ GetTx(request: GetTxRequest): Promise; /** BroadcastTx broadcast transaction. */ BroadcastTx(request: BroadcastTxRequest): Promise; /** GetTxsEvent fetches txs by event. */ GetTxsEvent(request: GetTxsEventRequest): Promise; /** * GetBlockWithTxs fetches a block with decoded txs. * * Since: cosmos-sdk 0.45.2 */ GetBlockWithTxs(request: GetBlockWithTxsRequest): Promise; } export declare class ServiceClientImpl implements Service { private readonly rpc; constructor(rpc: TxRpc); Simulate(request: SimulateRequest): Promise; GetTx(request: GetTxRequest): Promise; BroadcastTx(request: BroadcastTxRequest): Promise; GetTxsEvent(request: GetTxsEventRequest): Promise; GetBlockWithTxs(request: GetBlockWithTxsRequest): Promise; } export declare const createRpcQueryExtension: (base: QueryClient) => { Simulate(request: SimulateRequest): Promise; GetTx(request: GetTxRequest): Promise; BroadcastTx(request: BroadcastTxRequest): Promise; GetTxsEvent(request: GetTxsEventRequest): Promise; GetBlockWithTxs(request: GetBlockWithTxsRequest): Promise; };