import { BinaryReader, BinaryWriter } from "../../../binary.js"; import { DeepPartial } from "../../../helpers.js"; import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../base/query/v1beta1/pagination.js"; import { BlockID, BlockIDAmino } from "../../../tendermint/types/types.js"; import { Block, BlockAmino } from "../../../tendermint/types/block.js"; import { GasInfo, GasInfoAmino, Result, ResultAmino, TxResponse, TxResponseAmino } from "../../base/abci/v1beta1/abci.js"; import { Tx, TxAmino } from "./tx.js"; //#region src/cosmos/tx/v1beta1/service.d.ts /** OrderBy defines the sorting order */ 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 } declare const OrderByAmino: typeof OrderBy; declare function orderByFromJSON(object: any): OrderBy; declare function orderByToJSON(object: OrderBy): string; /** * BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC * method. */ declare enum BroadcastMode { /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */ BROADCAST_MODE_UNSPECIFIED = 0, /** * BROADCAST_MODE_BLOCK - DEPRECATED: use BROADCAST_MODE_SYNC instead, * BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards. */ 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 } declare const BroadcastModeAmino: typeof BroadcastMode; declare function broadcastModeFromJSON(object: any): BroadcastMode; declare function broadcastModeToJSON(object: BroadcastMode): string; /** * GetTxsEventRequest is the request type for the Service.TxsByEvents * RPC method. * @name GetTxsEventRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxsEventRequest */ interface GetTxsEventRequest { /** * events is the list of transaction event type. * Deprecated post v0.47.x: use query instead, which should contain a valid * events query. * @deprecated */ events: string[]; /** * pagination defines a pagination for the request. * Deprecated post v0.46.x: use page and limit instead. * @deprecated */ pagination?: PageRequest; orderBy: OrderBy; /** * page is the page number to query, starts at 1. If not provided, will * default to first page. */ page: bigint; /** * limit is the total number of results to be returned in the result page. * If left empty it will default to a value to be set by each app. */ limit: bigint; /** * query defines the transaction event query that is proxied to Tendermint's * TxSearch RPC method. The query must be valid. */ query: string; } interface GetTxsEventRequestProtoMsg { typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest"; value: Uint8Array; } /** * GetTxsEventRequest is the request type for the Service.TxsByEvents * RPC method. * @name GetTxsEventRequestAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxsEventRequest */ interface GetTxsEventRequestAmino { /** * events is the list of transaction event type. * Deprecated post v0.47.x: use query instead, which should contain a valid * events query. * @deprecated */ events: string[]; /** * pagination defines a pagination for the request. * Deprecated post v0.46.x: use page and limit instead. * @deprecated */ pagination?: PageRequestAmino; order_by: OrderBy; /** * page is the page number to query, starts at 1. If not provided, will * default to first page. */ page: string; /** * limit is the total number of results to be returned in the result page. * If left empty it will default to a value to be set by each app. */ limit: string; /** * query defines the transaction event query that is proxied to Tendermint's * TxSearch RPC method. The query must be valid. */ query: string; } interface GetTxsEventRequestAminoMsg { type: "cosmos-sdk/GetTxsEventRequest"; value: GetTxsEventRequestAmino; } /** * GetTxsEventResponse is the response type for the Service.TxsByEvents * RPC method. * @name GetTxsEventResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxsEventResponse */ 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. * Deprecated post v0.46.x: use total instead. * @deprecated */ pagination?: PageResponse; /** * total is total number of results available */ total: bigint; } interface GetTxsEventResponseProtoMsg { typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse"; value: Uint8Array; } /** * GetTxsEventResponse is the response type for the Service.TxsByEvents * RPC method. * @name GetTxsEventResponseAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxsEventResponse */ interface GetTxsEventResponseAmino { /** * txs is the list of queried transactions. */ txs: TxAmino[]; /** * tx_responses is the list of queried TxResponses. */ tx_responses: TxResponseAmino[]; /** * pagination defines a pagination for the response. * Deprecated post v0.46.x: use total instead. * @deprecated */ pagination?: PageResponseAmino; /** * total is total number of results available */ total: string; } interface GetTxsEventResponseAminoMsg { type: "cosmos-sdk/GetTxsEventResponse"; value: GetTxsEventResponseAmino; } /** * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest * RPC method. * @name BroadcastTxRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.BroadcastTxRequest */ interface BroadcastTxRequest { /** * tx_bytes is the raw transaction. */ txBytes: Uint8Array; mode: BroadcastMode; } interface BroadcastTxRequestProtoMsg { typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest"; value: Uint8Array; } /** * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest * RPC method. * @name BroadcastTxRequestAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.BroadcastTxRequest */ interface BroadcastTxRequestAmino { /** * tx_bytes is the raw transaction. */ tx_bytes: string; mode: BroadcastMode; } interface BroadcastTxRequestAminoMsg { type: "cosmos-sdk/BroadcastTxRequest"; value: BroadcastTxRequestAmino; } /** * BroadcastTxResponse is the response type for the * Service.BroadcastTx method. * @name BroadcastTxResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.BroadcastTxResponse */ interface BroadcastTxResponse { /** * tx_response is the queried TxResponses. */ txResponse?: TxResponse; } interface BroadcastTxResponseProtoMsg { typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse"; value: Uint8Array; } /** * BroadcastTxResponse is the response type for the * Service.BroadcastTx method. * @name BroadcastTxResponseAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.BroadcastTxResponse */ interface BroadcastTxResponseAmino { /** * tx_response is the queried TxResponses. */ tx_response?: TxResponseAmino; } interface BroadcastTxResponseAminoMsg { type: "cosmos-sdk/BroadcastTxResponse"; value: BroadcastTxResponseAmino; } /** * SimulateRequest is the request type for the Service.Simulate * RPC method. * @name SimulateRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.SimulateRequest */ interface SimulateRequest { /** * tx is the transaction to simulate. * Deprecated. Send raw tx bytes instead. * @deprecated */ tx?: Tx; /** * tx_bytes is the raw transaction. */ txBytes: Uint8Array; } interface SimulateRequestProtoMsg { typeUrl: "/cosmos.tx.v1beta1.SimulateRequest"; value: Uint8Array; } /** * SimulateRequest is the request type for the Service.Simulate * RPC method. * @name SimulateRequestAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.SimulateRequest */ interface SimulateRequestAmino { /** * tx is the transaction to simulate. * Deprecated. Send raw tx bytes instead. * @deprecated */ tx?: TxAmino; /** * tx_bytes is the raw transaction. */ tx_bytes: string; } interface SimulateRequestAminoMsg { type: "cosmos-sdk/SimulateRequest"; value: SimulateRequestAmino; } /** * SimulateResponse is the response type for the * Service.SimulateRPC method. * @name SimulateResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.SimulateResponse */ interface SimulateResponse { /** * gas_info is the information about gas used in the simulation. */ gasInfo?: GasInfo; /** * result is the result of the simulation. */ result?: Result; } interface SimulateResponseProtoMsg { typeUrl: "/cosmos.tx.v1beta1.SimulateResponse"; value: Uint8Array; } /** * SimulateResponse is the response type for the * Service.SimulateRPC method. * @name SimulateResponseAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.SimulateResponse */ interface SimulateResponseAmino { /** * gas_info is the information about gas used in the simulation. */ gas_info?: GasInfoAmino; /** * result is the result of the simulation. */ result?: ResultAmino; } interface SimulateResponseAminoMsg { type: "cosmos-sdk/SimulateResponse"; value: SimulateResponseAmino; } /** * GetTxRequest is the request type for the Service.GetTx * RPC method. * @name GetTxRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxRequest */ interface GetTxRequest { /** * hash is the tx hash to query, encoded as a hex string. */ hash: string; } interface GetTxRequestProtoMsg { typeUrl: "/cosmos.tx.v1beta1.GetTxRequest"; value: Uint8Array; } /** * GetTxRequest is the request type for the Service.GetTx * RPC method. * @name GetTxRequestAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxRequest */ interface GetTxRequestAmino { /** * hash is the tx hash to query, encoded as a hex string. */ hash: string; } interface GetTxRequestAminoMsg { type: "cosmos-sdk/GetTxRequest"; value: GetTxRequestAmino; } /** * GetTxResponse is the response type for the Service.GetTx method. * @name GetTxResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxResponse */ interface GetTxResponse { /** * tx is the queried transaction. */ tx?: Tx; /** * tx_response is the queried TxResponses. */ txResponse?: TxResponse; } interface GetTxResponseProtoMsg { typeUrl: "/cosmos.tx.v1beta1.GetTxResponse"; value: Uint8Array; } /** * GetTxResponse is the response type for the Service.GetTx method. * @name GetTxResponseAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxResponse */ interface GetTxResponseAmino { /** * tx is the queried transaction. */ tx?: TxAmino; /** * tx_response is the queried TxResponses. */ tx_response?: TxResponseAmino; } interface GetTxResponseAminoMsg { type: "cosmos-sdk/GetTxResponse"; value: GetTxResponseAmino; } /** * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs * RPC method. * @name GetBlockWithTxsRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetBlockWithTxsRequest */ interface GetBlockWithTxsRequest { /** * height is the height of the block to query. */ height: bigint; /** * pagination defines a pagination for the request. */ pagination?: PageRequest; } interface GetBlockWithTxsRequestProtoMsg { typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest"; value: Uint8Array; } /** * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs * RPC method. * @name GetBlockWithTxsRequestAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetBlockWithTxsRequest */ interface GetBlockWithTxsRequestAmino { /** * height is the height of the block to query. */ height: string; /** * pagination defines a pagination for the request. */ pagination?: PageRequestAmino; } interface GetBlockWithTxsRequestAminoMsg { type: "cosmos-sdk/GetBlockWithTxsRequest"; value: GetBlockWithTxsRequestAmino; } /** * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs * method. * @name GetBlockWithTxsResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetBlockWithTxsResponse */ interface GetBlockWithTxsResponse { /** * txs are the transactions in the block. */ txs: Tx[]; blockId?: BlockID; block?: Block; /** * pagination defines a pagination for the response. */ pagination?: PageResponse; } interface GetBlockWithTxsResponseProtoMsg { typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse"; value: Uint8Array; } /** * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs * method. * @name GetBlockWithTxsResponseAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetBlockWithTxsResponse */ interface GetBlockWithTxsResponseAmino { /** * txs are the transactions in the block. */ txs: TxAmino[]; block_id?: BlockIDAmino; block?: BlockAmino; /** * pagination defines a pagination for the response. */ pagination?: PageResponseAmino; } interface GetBlockWithTxsResponseAminoMsg { type: "cosmos-sdk/GetBlockWithTxsResponse"; value: GetBlockWithTxsResponseAmino; } /** * TxDecodeRequest is the request type for the Service.TxDecode * RPC method. * @name TxDecodeRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeRequest */ interface TxDecodeRequest { /** * tx_bytes is the raw transaction. */ txBytes: Uint8Array; } interface TxDecodeRequestProtoMsg { typeUrl: "/cosmos.tx.v1beta1.TxDecodeRequest"; value: Uint8Array; } /** * TxDecodeRequest is the request type for the Service.TxDecode * RPC method. * @name TxDecodeRequestAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeRequest */ interface TxDecodeRequestAmino { /** * tx_bytes is the raw transaction. */ tx_bytes: string; } interface TxDecodeRequestAminoMsg { type: "cosmos-sdk/TxDecodeRequest"; value: TxDecodeRequestAmino; } /** * TxDecodeResponse is the response type for the * Service.TxDecode method. * @name TxDecodeResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeResponse */ interface TxDecodeResponse { /** * tx is the decoded transaction. */ tx?: Tx; } interface TxDecodeResponseProtoMsg { typeUrl: "/cosmos.tx.v1beta1.TxDecodeResponse"; value: Uint8Array; } /** * TxDecodeResponse is the response type for the * Service.TxDecode method. * @name TxDecodeResponseAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeResponse */ interface TxDecodeResponseAmino { /** * tx is the decoded transaction. */ tx?: TxAmino; } interface TxDecodeResponseAminoMsg { type: "cosmos-sdk/TxDecodeResponse"; value: TxDecodeResponseAmino; } /** * TxEncodeRequest is the request type for the Service.TxEncode * RPC method. * @name TxEncodeRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeRequest */ interface TxEncodeRequest { /** * tx is the transaction to encode. */ tx?: Tx; } interface TxEncodeRequestProtoMsg { typeUrl: "/cosmos.tx.v1beta1.TxEncodeRequest"; value: Uint8Array; } /** * TxEncodeRequest is the request type for the Service.TxEncode * RPC method. * @name TxEncodeRequestAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeRequest */ interface TxEncodeRequestAmino { /** * tx is the transaction to encode. */ tx?: TxAmino; } interface TxEncodeRequestAminoMsg { type: "cosmos-sdk/TxEncodeRequest"; value: TxEncodeRequestAmino; } /** * TxEncodeResponse is the response type for the * Service.TxEncode method. * @name TxEncodeResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeResponse */ interface TxEncodeResponse { /** * tx_bytes is the encoded transaction bytes. */ txBytes: Uint8Array; } interface TxEncodeResponseProtoMsg { typeUrl: "/cosmos.tx.v1beta1.TxEncodeResponse"; value: Uint8Array; } /** * TxEncodeResponse is the response type for the * Service.TxEncode method. * @name TxEncodeResponseAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeResponse */ interface TxEncodeResponseAmino { /** * tx_bytes is the encoded transaction bytes. */ tx_bytes: string; } interface TxEncodeResponseAminoMsg { type: "cosmos-sdk/TxEncodeResponse"; value: TxEncodeResponseAmino; } /** * TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino * RPC method. * @name TxEncodeAminoRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeAminoRequest */ interface TxEncodeAminoRequest { aminoJson: string; } interface TxEncodeAminoRequestProtoMsg { typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoRequest"; value: Uint8Array; } /** * TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino * RPC method. * @name TxEncodeAminoRequestAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeAminoRequest */ interface TxEncodeAminoRequestAmino { amino_json: string; } interface TxEncodeAminoRequestAminoMsg { type: "cosmos-sdk/TxEncodeAminoRequest"; value: TxEncodeAminoRequestAmino; } /** * TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino * RPC method. * @name TxEncodeAminoResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeAminoResponse */ interface TxEncodeAminoResponse { aminoBinary: Uint8Array; } interface TxEncodeAminoResponseProtoMsg { typeUrl: "/cosmos.tx.v1beta1.TxEncodeAminoResponse"; value: Uint8Array; } /** * TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino * RPC method. * @name TxEncodeAminoResponseAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeAminoResponse */ interface TxEncodeAminoResponseAmino { amino_binary: string; } interface TxEncodeAminoResponseAminoMsg { type: "cosmos-sdk/TxEncodeAminoResponse"; value: TxEncodeAminoResponseAmino; } /** * TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino * RPC method. * @name TxDecodeAminoRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeAminoRequest */ interface TxDecodeAminoRequest { aminoBinary: Uint8Array; } interface TxDecodeAminoRequestProtoMsg { typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoRequest"; value: Uint8Array; } /** * TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino * RPC method. * @name TxDecodeAminoRequestAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeAminoRequest */ interface TxDecodeAminoRequestAmino { amino_binary: string; } interface TxDecodeAminoRequestAminoMsg { type: "cosmos-sdk/TxDecodeAminoRequest"; value: TxDecodeAminoRequestAmino; } /** * TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino * RPC method. * @name TxDecodeAminoResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeAminoResponse */ interface TxDecodeAminoResponse { aminoJson: string; } interface TxDecodeAminoResponseProtoMsg { typeUrl: "/cosmos.tx.v1beta1.TxDecodeAminoResponse"; value: Uint8Array; } /** * TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino * RPC method. * @name TxDecodeAminoResponseAmino * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeAminoResponse */ interface TxDecodeAminoResponseAmino { amino_json: string; } interface TxDecodeAminoResponseAminoMsg { type: "cosmos-sdk/TxDecodeAminoResponse"; value: TxDecodeAminoResponseAmino; } /** * GetTxsEventRequest is the request type for the Service.TxsByEvents * RPC method. * @name GetTxsEventRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxsEventRequest */ declare const GetTxsEventRequest: { typeUrl: string; aminoType: string; is(o: any): o is GetTxsEventRequest; isAmino(o: any): o is GetTxsEventRequestAmino; encode(message: GetTxsEventRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetTxsEventRequest; fromPartial(object: DeepPartial): GetTxsEventRequest; fromAmino(object: GetTxsEventRequestAmino): GetTxsEventRequest; toAmino(message: GetTxsEventRequest): GetTxsEventRequestAmino; fromAminoMsg(object: GetTxsEventRequestAminoMsg): GetTxsEventRequest; toAminoMsg(message: GetTxsEventRequest): GetTxsEventRequestAminoMsg; fromProtoMsg(message: GetTxsEventRequestProtoMsg): GetTxsEventRequest; toProto(message: GetTxsEventRequest): Uint8Array; toProtoMsg(message: GetTxsEventRequest): GetTxsEventRequestProtoMsg; registerTypeUrl(): void; }; /** * GetTxsEventResponse is the response type for the Service.TxsByEvents * RPC method. * @name GetTxsEventResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxsEventResponse */ declare const GetTxsEventResponse: { typeUrl: string; aminoType: string; is(o: any): o is GetTxsEventResponse; isAmino(o: any): o is GetTxsEventResponseAmino; encode(message: GetTxsEventResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetTxsEventResponse; fromPartial(object: DeepPartial): GetTxsEventResponse; fromAmino(object: GetTxsEventResponseAmino): GetTxsEventResponse; toAmino(message: GetTxsEventResponse): GetTxsEventResponseAmino; fromAminoMsg(object: GetTxsEventResponseAminoMsg): GetTxsEventResponse; toAminoMsg(message: GetTxsEventResponse): GetTxsEventResponseAminoMsg; fromProtoMsg(message: GetTxsEventResponseProtoMsg): GetTxsEventResponse; toProto(message: GetTxsEventResponse): Uint8Array; toProtoMsg(message: GetTxsEventResponse): GetTxsEventResponseProtoMsg; registerTypeUrl(): void; }; /** * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest * RPC method. * @name BroadcastTxRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.BroadcastTxRequest */ declare const BroadcastTxRequest: { typeUrl: string; aminoType: string; is(o: any): o is BroadcastTxRequest; isAmino(o: any): o is BroadcastTxRequestAmino; encode(message: BroadcastTxRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BroadcastTxRequest; fromPartial(object: DeepPartial): BroadcastTxRequest; fromAmino(object: BroadcastTxRequestAmino): BroadcastTxRequest; toAmino(message: BroadcastTxRequest): BroadcastTxRequestAmino; fromAminoMsg(object: BroadcastTxRequestAminoMsg): BroadcastTxRequest; toAminoMsg(message: BroadcastTxRequest): BroadcastTxRequestAminoMsg; fromProtoMsg(message: BroadcastTxRequestProtoMsg): BroadcastTxRequest; toProto(message: BroadcastTxRequest): Uint8Array; toProtoMsg(message: BroadcastTxRequest): BroadcastTxRequestProtoMsg; registerTypeUrl(): void; }; /** * BroadcastTxResponse is the response type for the * Service.BroadcastTx method. * @name BroadcastTxResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.BroadcastTxResponse */ declare const BroadcastTxResponse: { typeUrl: string; aminoType: string; is(o: any): o is BroadcastTxResponse; isAmino(o: any): o is BroadcastTxResponseAmino; encode(message: BroadcastTxResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BroadcastTxResponse; fromPartial(object: DeepPartial): BroadcastTxResponse; fromAmino(object: BroadcastTxResponseAmino): BroadcastTxResponse; toAmino(message: BroadcastTxResponse): BroadcastTxResponseAmino; fromAminoMsg(object: BroadcastTxResponseAminoMsg): BroadcastTxResponse; toAminoMsg(message: BroadcastTxResponse): BroadcastTxResponseAminoMsg; fromProtoMsg(message: BroadcastTxResponseProtoMsg): BroadcastTxResponse; toProto(message: BroadcastTxResponse): Uint8Array; toProtoMsg(message: BroadcastTxResponse): BroadcastTxResponseProtoMsg; registerTypeUrl(): void; }; /** * SimulateRequest is the request type for the Service.Simulate * RPC method. * @name SimulateRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.SimulateRequest */ declare const SimulateRequest: { typeUrl: string; aminoType: string; is(o: any): o is SimulateRequest; isAmino(o: any): o is SimulateRequestAmino; encode(message: SimulateRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SimulateRequest; fromPartial(object: DeepPartial): SimulateRequest; fromAmino(object: SimulateRequestAmino): SimulateRequest; toAmino(message: SimulateRequest): SimulateRequestAmino; fromAminoMsg(object: SimulateRequestAminoMsg): SimulateRequest; toAminoMsg(message: SimulateRequest): SimulateRequestAminoMsg; fromProtoMsg(message: SimulateRequestProtoMsg): SimulateRequest; toProto(message: SimulateRequest): Uint8Array; toProtoMsg(message: SimulateRequest): SimulateRequestProtoMsg; registerTypeUrl(): void; }; /** * SimulateResponse is the response type for the * Service.SimulateRPC method. * @name SimulateResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.SimulateResponse */ declare const SimulateResponse: { typeUrl: string; aminoType: string; is(o: any): o is SimulateResponse; isAmino(o: any): o is SimulateResponseAmino; encode(message: SimulateResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SimulateResponse; fromPartial(object: DeepPartial): SimulateResponse; fromAmino(object: SimulateResponseAmino): SimulateResponse; toAmino(message: SimulateResponse): SimulateResponseAmino; fromAminoMsg(object: SimulateResponseAminoMsg): SimulateResponse; toAminoMsg(message: SimulateResponse): SimulateResponseAminoMsg; fromProtoMsg(message: SimulateResponseProtoMsg): SimulateResponse; toProto(message: SimulateResponse): Uint8Array; toProtoMsg(message: SimulateResponse): SimulateResponseProtoMsg; registerTypeUrl(): void; }; /** * GetTxRequest is the request type for the Service.GetTx * RPC method. * @name GetTxRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxRequest */ declare const GetTxRequest: { typeUrl: string; aminoType: string; is(o: any): o is GetTxRequest; isAmino(o: any): o is GetTxRequestAmino; encode(message: GetTxRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetTxRequest; fromPartial(object: DeepPartial): GetTxRequest; fromAmino(object: GetTxRequestAmino): GetTxRequest; toAmino(message: GetTxRequest): GetTxRequestAmino; fromAminoMsg(object: GetTxRequestAminoMsg): GetTxRequest; toAminoMsg(message: GetTxRequest): GetTxRequestAminoMsg; fromProtoMsg(message: GetTxRequestProtoMsg): GetTxRequest; toProto(message: GetTxRequest): Uint8Array; toProtoMsg(message: GetTxRequest): GetTxRequestProtoMsg; registerTypeUrl(): void; }; /** * GetTxResponse is the response type for the Service.GetTx method. * @name GetTxResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetTxResponse */ declare const GetTxResponse: { typeUrl: string; aminoType: string; is(o: any): o is GetTxResponse; isAmino(o: any): o is GetTxResponseAmino; encode(message: GetTxResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetTxResponse; fromPartial(object: DeepPartial): GetTxResponse; fromAmino(object: GetTxResponseAmino): GetTxResponse; toAmino(message: GetTxResponse): GetTxResponseAmino; fromAminoMsg(object: GetTxResponseAminoMsg): GetTxResponse; toAminoMsg(message: GetTxResponse): GetTxResponseAminoMsg; fromProtoMsg(message: GetTxResponseProtoMsg): GetTxResponse; toProto(message: GetTxResponse): Uint8Array; toProtoMsg(message: GetTxResponse): GetTxResponseProtoMsg; registerTypeUrl(): void; }; /** * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs * RPC method. * @name GetBlockWithTxsRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetBlockWithTxsRequest */ declare const GetBlockWithTxsRequest: { typeUrl: string; aminoType: string; is(o: any): o is GetBlockWithTxsRequest; isAmino(o: any): o is GetBlockWithTxsRequestAmino; encode(message: GetBlockWithTxsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetBlockWithTxsRequest; fromPartial(object: DeepPartial): GetBlockWithTxsRequest; fromAmino(object: GetBlockWithTxsRequestAmino): GetBlockWithTxsRequest; toAmino(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAmino; fromAminoMsg(object: GetBlockWithTxsRequestAminoMsg): GetBlockWithTxsRequest; toAminoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAminoMsg; fromProtoMsg(message: GetBlockWithTxsRequestProtoMsg): GetBlockWithTxsRequest; toProto(message: GetBlockWithTxsRequest): Uint8Array; toProtoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestProtoMsg; registerTypeUrl(): void; }; /** * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs * method. * @name GetBlockWithTxsResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.GetBlockWithTxsResponse */ declare const GetBlockWithTxsResponse: { typeUrl: string; aminoType: string; is(o: any): o is GetBlockWithTxsResponse; isAmino(o: any): o is GetBlockWithTxsResponseAmino; encode(message: GetBlockWithTxsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GetBlockWithTxsResponse; fromPartial(object: DeepPartial): GetBlockWithTxsResponse; fromAmino(object: GetBlockWithTxsResponseAmino): GetBlockWithTxsResponse; toAmino(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAmino; fromAminoMsg(object: GetBlockWithTxsResponseAminoMsg): GetBlockWithTxsResponse; toAminoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAminoMsg; fromProtoMsg(message: GetBlockWithTxsResponseProtoMsg): GetBlockWithTxsResponse; toProto(message: GetBlockWithTxsResponse): Uint8Array; toProtoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseProtoMsg; registerTypeUrl(): void; }; /** * TxDecodeRequest is the request type for the Service.TxDecode * RPC method. * @name TxDecodeRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeRequest */ declare const TxDecodeRequest: { typeUrl: string; aminoType: string; is(o: any): o is TxDecodeRequest; isAmino(o: any): o is TxDecodeRequestAmino; encode(message: TxDecodeRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxDecodeRequest; fromPartial(object: DeepPartial): TxDecodeRequest; fromAmino(object: TxDecodeRequestAmino): TxDecodeRequest; toAmino(message: TxDecodeRequest): TxDecodeRequestAmino; fromAminoMsg(object: TxDecodeRequestAminoMsg): TxDecodeRequest; toAminoMsg(message: TxDecodeRequest): TxDecodeRequestAminoMsg; fromProtoMsg(message: TxDecodeRequestProtoMsg): TxDecodeRequest; toProto(message: TxDecodeRequest): Uint8Array; toProtoMsg(message: TxDecodeRequest): TxDecodeRequestProtoMsg; registerTypeUrl(): void; }; /** * TxDecodeResponse is the response type for the * Service.TxDecode method. * @name TxDecodeResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeResponse */ declare const TxDecodeResponse: { typeUrl: string; aminoType: string; is(o: any): o is TxDecodeResponse; isAmino(o: any): o is TxDecodeResponseAmino; encode(message: TxDecodeResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxDecodeResponse; fromPartial(object: DeepPartial): TxDecodeResponse; fromAmino(object: TxDecodeResponseAmino): TxDecodeResponse; toAmino(message: TxDecodeResponse): TxDecodeResponseAmino; fromAminoMsg(object: TxDecodeResponseAminoMsg): TxDecodeResponse; toAminoMsg(message: TxDecodeResponse): TxDecodeResponseAminoMsg; fromProtoMsg(message: TxDecodeResponseProtoMsg): TxDecodeResponse; toProto(message: TxDecodeResponse): Uint8Array; toProtoMsg(message: TxDecodeResponse): TxDecodeResponseProtoMsg; registerTypeUrl(): void; }; /** * TxEncodeRequest is the request type for the Service.TxEncode * RPC method. * @name TxEncodeRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeRequest */ declare const TxEncodeRequest: { typeUrl: string; aminoType: string; is(o: any): o is TxEncodeRequest; isAmino(o: any): o is TxEncodeRequestAmino; encode(message: TxEncodeRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxEncodeRequest; fromPartial(object: DeepPartial): TxEncodeRequest; fromAmino(object: TxEncodeRequestAmino): TxEncodeRequest; toAmino(message: TxEncodeRequest): TxEncodeRequestAmino; fromAminoMsg(object: TxEncodeRequestAminoMsg): TxEncodeRequest; toAminoMsg(message: TxEncodeRequest): TxEncodeRequestAminoMsg; fromProtoMsg(message: TxEncodeRequestProtoMsg): TxEncodeRequest; toProto(message: TxEncodeRequest): Uint8Array; toProtoMsg(message: TxEncodeRequest): TxEncodeRequestProtoMsg; registerTypeUrl(): void; }; /** * TxEncodeResponse is the response type for the * Service.TxEncode method. * @name TxEncodeResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeResponse */ declare const TxEncodeResponse: { typeUrl: string; aminoType: string; is(o: any): o is TxEncodeResponse; isAmino(o: any): o is TxEncodeResponseAmino; encode(message: TxEncodeResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxEncodeResponse; fromPartial(object: DeepPartial): TxEncodeResponse; fromAmino(object: TxEncodeResponseAmino): TxEncodeResponse; toAmino(message: TxEncodeResponse): TxEncodeResponseAmino; fromAminoMsg(object: TxEncodeResponseAminoMsg): TxEncodeResponse; toAminoMsg(message: TxEncodeResponse): TxEncodeResponseAminoMsg; fromProtoMsg(message: TxEncodeResponseProtoMsg): TxEncodeResponse; toProto(message: TxEncodeResponse): Uint8Array; toProtoMsg(message: TxEncodeResponse): TxEncodeResponseProtoMsg; registerTypeUrl(): void; }; /** * TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino * RPC method. * @name TxEncodeAminoRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeAminoRequest */ declare const TxEncodeAminoRequest: { typeUrl: string; aminoType: string; is(o: any): o is TxEncodeAminoRequest; isAmino(o: any): o is TxEncodeAminoRequestAmino; encode(message: TxEncodeAminoRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxEncodeAminoRequest; fromPartial(object: DeepPartial): TxEncodeAminoRequest; fromAmino(object: TxEncodeAminoRequestAmino): TxEncodeAminoRequest; toAmino(message: TxEncodeAminoRequest): TxEncodeAminoRequestAmino; fromAminoMsg(object: TxEncodeAminoRequestAminoMsg): TxEncodeAminoRequest; toAminoMsg(message: TxEncodeAminoRequest): TxEncodeAminoRequestAminoMsg; fromProtoMsg(message: TxEncodeAminoRequestProtoMsg): TxEncodeAminoRequest; toProto(message: TxEncodeAminoRequest): Uint8Array; toProtoMsg(message: TxEncodeAminoRequest): TxEncodeAminoRequestProtoMsg; registerTypeUrl(): void; }; /** * TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino * RPC method. * @name TxEncodeAminoResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxEncodeAminoResponse */ declare const TxEncodeAminoResponse: { typeUrl: string; aminoType: string; is(o: any): o is TxEncodeAminoResponse; isAmino(o: any): o is TxEncodeAminoResponseAmino; encode(message: TxEncodeAminoResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxEncodeAminoResponse; fromPartial(object: DeepPartial): TxEncodeAminoResponse; fromAmino(object: TxEncodeAminoResponseAmino): TxEncodeAminoResponse; toAmino(message: TxEncodeAminoResponse): TxEncodeAminoResponseAmino; fromAminoMsg(object: TxEncodeAminoResponseAminoMsg): TxEncodeAminoResponse; toAminoMsg(message: TxEncodeAminoResponse): TxEncodeAminoResponseAminoMsg; fromProtoMsg(message: TxEncodeAminoResponseProtoMsg): TxEncodeAminoResponse; toProto(message: TxEncodeAminoResponse): Uint8Array; toProtoMsg(message: TxEncodeAminoResponse): TxEncodeAminoResponseProtoMsg; registerTypeUrl(): void; }; /** * TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino * RPC method. * @name TxDecodeAminoRequest * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeAminoRequest */ declare const TxDecodeAminoRequest: { typeUrl: string; aminoType: string; is(o: any): o is TxDecodeAminoRequest; isAmino(o: any): o is TxDecodeAminoRequestAmino; encode(message: TxDecodeAminoRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxDecodeAminoRequest; fromPartial(object: DeepPartial): TxDecodeAminoRequest; fromAmino(object: TxDecodeAminoRequestAmino): TxDecodeAminoRequest; toAmino(message: TxDecodeAminoRequest): TxDecodeAminoRequestAmino; fromAminoMsg(object: TxDecodeAminoRequestAminoMsg): TxDecodeAminoRequest; toAminoMsg(message: TxDecodeAminoRequest): TxDecodeAminoRequestAminoMsg; fromProtoMsg(message: TxDecodeAminoRequestProtoMsg): TxDecodeAminoRequest; toProto(message: TxDecodeAminoRequest): Uint8Array; toProtoMsg(message: TxDecodeAminoRequest): TxDecodeAminoRequestProtoMsg; registerTypeUrl(): void; }; /** * TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino * RPC method. * @name TxDecodeAminoResponse * @package cosmos.tx.v1beta1 * @see proto type: cosmos.tx.v1beta1.TxDecodeAminoResponse */ declare const TxDecodeAminoResponse: { typeUrl: string; aminoType: string; is(o: any): o is TxDecodeAminoResponse; isAmino(o: any): o is TxDecodeAminoResponseAmino; encode(message: TxDecodeAminoResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxDecodeAminoResponse; fromPartial(object: DeepPartial): TxDecodeAminoResponse; fromAmino(object: TxDecodeAminoResponseAmino): TxDecodeAminoResponse; toAmino(message: TxDecodeAminoResponse): TxDecodeAminoResponseAmino; fromAminoMsg(object: TxDecodeAminoResponseAminoMsg): TxDecodeAminoResponse; toAminoMsg(message: TxDecodeAminoResponse): TxDecodeAminoResponseAminoMsg; fromProtoMsg(message: TxDecodeAminoResponseProtoMsg): TxDecodeAminoResponse; toProto(message: TxDecodeAminoResponse): Uint8Array; toProtoMsg(message: TxDecodeAminoResponse): TxDecodeAminoResponseProtoMsg; registerTypeUrl(): void; }; //#endregion export { BroadcastMode, BroadcastModeAmino, BroadcastTxRequest, BroadcastTxRequestAmino, BroadcastTxRequestAminoMsg, BroadcastTxRequestProtoMsg, BroadcastTxResponse, BroadcastTxResponseAmino, BroadcastTxResponseAminoMsg, BroadcastTxResponseProtoMsg, GetBlockWithTxsRequest, GetBlockWithTxsRequestAmino, GetBlockWithTxsRequestAminoMsg, GetBlockWithTxsRequestProtoMsg, GetBlockWithTxsResponse, GetBlockWithTxsResponseAmino, GetBlockWithTxsResponseAminoMsg, GetBlockWithTxsResponseProtoMsg, GetTxRequest, GetTxRequestAmino, GetTxRequestAminoMsg, GetTxRequestProtoMsg, GetTxResponse, GetTxResponseAmino, GetTxResponseAminoMsg, GetTxResponseProtoMsg, GetTxsEventRequest, GetTxsEventRequestAmino, GetTxsEventRequestAminoMsg, GetTxsEventRequestProtoMsg, GetTxsEventResponse, GetTxsEventResponseAmino, GetTxsEventResponseAminoMsg, GetTxsEventResponseProtoMsg, OrderBy, OrderByAmino, SimulateRequest, SimulateRequestAmino, SimulateRequestAminoMsg, SimulateRequestProtoMsg, SimulateResponse, SimulateResponseAmino, SimulateResponseAminoMsg, SimulateResponseProtoMsg, TxDecodeAminoRequest, TxDecodeAminoRequestAmino, TxDecodeAminoRequestAminoMsg, TxDecodeAminoRequestProtoMsg, TxDecodeAminoResponse, TxDecodeAminoResponseAmino, TxDecodeAminoResponseAminoMsg, TxDecodeAminoResponseProtoMsg, TxDecodeRequest, TxDecodeRequestAmino, TxDecodeRequestAminoMsg, TxDecodeRequestProtoMsg, TxDecodeResponse, TxDecodeResponseAmino, TxDecodeResponseAminoMsg, TxDecodeResponseProtoMsg, TxEncodeAminoRequest, TxEncodeAminoRequestAmino, TxEncodeAminoRequestAminoMsg, TxEncodeAminoRequestProtoMsg, TxEncodeAminoResponse, TxEncodeAminoResponseAmino, TxEncodeAminoResponseAminoMsg, TxEncodeAminoResponseProtoMsg, TxEncodeRequest, TxEncodeRequestAmino, TxEncodeRequestAminoMsg, TxEncodeRequestProtoMsg, TxEncodeResponse, TxEncodeResponseAmino, TxEncodeResponseAminoMsg, TxEncodeResponseProtoMsg, broadcastModeFromJSON, broadcastModeToJSON, orderByFromJSON, orderByToJSON };