import { Any, AnySDKType } from "../../../../google/protobuf/any"; import { Event, EventSDKType } from "../../../../tendermint/abci/types"; import { BinaryReader, BinaryWriter } from "../../../../binary"; export declare const protobufPackage = "cosmos.base.abci.v1beta1"; /** * TxResponse defines a structure containing relevant tx data and metadata. The * tags are stringified and the log is JSON decoded. */ export interface TxResponse { /** The block height */ height: bigint; /** The transaction hash. */ txhash: string; /** Namespace for the Code */ codespace: string; /** Response code. */ code: number; /** Result bytes, if any. */ data: string; /** * The output of the application's logger (raw string). May be * non-deterministic. */ rawLog: string; /** The output of the application's logger (typed). May be non-deterministic. */ logs: ABCIMessageLog[]; /** Additional information. May be non-deterministic. */ info: string; /** Amount of gas requested for transaction. */ gasWanted: bigint; /** Amount of gas consumed by transaction. */ gasUsed: bigint; /** The request transaction bytes. */ tx?: Any | undefined; /** * Time of the previous block. For heights > 1, it's the weighted median of * the timestamps of the valid votes in the block.LastCommit. For height == 1, * it's genesis time. */ timestamp: string; /** * Events defines all the events emitted by processing a transaction. Note, * these events include those emitted by processing all the messages and those * emitted from the ante handler. Whereas Logs contains the events, with * additional metadata, emitted only by processing the messages. * * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 */ events: Event[]; } /** * TxResponse defines a structure containing relevant tx data and metadata. The * tags are stringified and the log is JSON decoded. */ export interface TxResponseSDKType { height: bigint; txhash: string; codespace: string; code: number; data: string; raw_log: string; logs: ABCIMessageLogSDKType[]; info: string; gas_wanted: bigint; gas_used: bigint; tx?: AnySDKType | undefined; timestamp: string; events: EventSDKType[]; } /** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ export interface ABCIMessageLog { msgIndex: number; log: string; /** * Events contains a slice of Event objects that were emitted during some * execution. */ events: StringEvent[]; } /** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ export interface ABCIMessageLogSDKType { msg_index: number; log: string; events: StringEventSDKType[]; } /** * StringEvent defines en Event object wrapper where all the attributes * contain key/value pairs that are strings instead of raw bytes. */ export interface StringEvent { type: string; attributes: Attribute[]; } /** * StringEvent defines en Event object wrapper where all the attributes * contain key/value pairs that are strings instead of raw bytes. */ export interface StringEventSDKType { type: string; attributes: AttributeSDKType[]; } /** * Attribute defines an attribute wrapper where the key and value are * strings instead of raw bytes. */ export interface Attribute { key: string; value: string; } /** * Attribute defines an attribute wrapper where the key and value are * strings instead of raw bytes. */ export interface AttributeSDKType { key: string; value: string; } /** GasInfo defines tx execution gas context. */ export interface GasInfo { /** GasWanted is the maximum units of work we allow this tx to perform. */ gasWanted: bigint; /** GasUsed is the amount of gas actually consumed. */ gasUsed: bigint; } /** GasInfo defines tx execution gas context. */ export interface GasInfoSDKType { gas_wanted: bigint; gas_used: bigint; } /** Result is the union of ResponseFormat and ResponseCheckTx. */ export interface Result { /** * Data is any data returned from message or handler execution. It MUST be * length prefixed in order to separate data from multiple message executions. */ data: Uint8Array; /** Log contains the log information from message or handler execution. */ log: string; /** * Events contains a slice of Event objects that were emitted during message * or handler execution. */ events: Event[]; } /** Result is the union of ResponseFormat and ResponseCheckTx. */ export interface ResultSDKType { data: Uint8Array; log: string; events: EventSDKType[]; } /** * SimulationResponse defines the response generated when a transaction is * successfully simulated. */ export interface SimulationResponse { gasInfo: GasInfo | undefined; result?: Result | undefined; } /** * SimulationResponse defines the response generated when a transaction is * successfully simulated. */ export interface SimulationResponseSDKType { gas_info: GasInfoSDKType | undefined; result?: ResultSDKType | undefined; } /** * MsgData defines the data returned in a Result object during message * execution. */ export interface MsgData { msgType: string; data: Uint8Array; } /** * MsgData defines the data returned in a Result object during message * execution. */ export interface MsgDataSDKType { msg_type: string; data: Uint8Array; } /** * TxMsgData defines a list of MsgData. A transaction will have a MsgData object * for each message. */ export interface TxMsgData { data: MsgData[]; } /** * TxMsgData defines a list of MsgData. A transaction will have a MsgData object * for each message. */ export interface TxMsgDataSDKType { data: MsgDataSDKType[]; } /** SearchTxsResult defines a structure for querying txs pageable */ export interface SearchTxsResult { /** Count of all txs */ totalCount: bigint; /** Count of txs in current page */ count: bigint; /** Index of current page, start from 1 */ pageNumber: bigint; /** Count of total pages */ pageTotal: bigint; /** Max count txs per page */ limit: bigint; /** List of txs in current page */ txs: TxResponse[]; } /** SearchTxsResult defines a structure for querying txs pageable */ export interface SearchTxsResultSDKType { total_count: bigint; count: bigint; page_number: bigint; page_total: bigint; limit: bigint; txs: TxResponseSDKType[]; } export declare const TxResponse: { typeUrl: string; encode(message: TxResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxResponse; fromJSON(object: any): TxResponse; toJSON(message: TxResponse): unknown; fromPartial & { height?: bigint; txhash?: string; codespace?: string; code?: number; data?: string; rawLog?: string; logs?: ABCIMessageLog[] & (ABCIMessageLog & { msgIndex: number; log: string; events: StringEvent[] & (StringEvent & { type: string; attributes: Attribute[] & (Attribute & { key: string; value: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; info?: string; gasWanted?: bigint; gasUsed?: bigint; tx?: Any & { typeUrl: string; value: Uint8Array; } & Record, never>; timestamp?: string; events?: Event[] & (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>>(object: I): TxResponse; }; export declare const ABCIMessageLog: { typeUrl: string; encode(message: ABCIMessageLog, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ABCIMessageLog; fromJSON(object: any): ABCIMessageLog; toJSON(message: ABCIMessageLog): unknown; fromPartial & { msgIndex?: number; log?: string; events?: StringEvent[] & (StringEvent & { type: string; attributes: Attribute[] & (Attribute & { key: string; value: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): ABCIMessageLog; }; export declare const StringEvent: { typeUrl: string; encode(message: StringEvent, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): StringEvent; fromJSON(object: any): StringEvent; toJSON(message: StringEvent): unknown; fromPartial & { type?: string; attributes?: Attribute[] & (Attribute & { key: string; value: string; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): StringEvent; }; export declare const Attribute: { typeUrl: string; encode(message: Attribute, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Attribute; fromJSON(object: any): Attribute; toJSON(message: Attribute): unknown; fromPartial & { key?: string; value?: string; } & Record, never>>(object: I): Attribute; }; export declare const GasInfo: { typeUrl: string; encode(message: GasInfo, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): GasInfo; fromJSON(object: any): GasInfo; toJSON(message: GasInfo): unknown; fromPartial & { gasWanted?: bigint; gasUsed?: bigint; } & Record, never>>(object: I): GasInfo; }; export declare const Result: { typeUrl: string; encode(message: Result, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Result; fromJSON(object: any): Result; toJSON(message: Result): unknown; fromPartial & { data?: Uint8Array; log?: string; events?: Event[] & (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>>(object: I): Result; }; export declare const SimulationResponse: { typeUrl: string; encode(message: SimulationResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SimulationResponse; fromJSON(object: any): SimulationResponse; toJSON(message: SimulationResponse): unknown; fromPartial & { gasInfo?: GasInfo & { gasWanted: bigint; gasUsed: bigint; } & Record, never>; result?: Result & { data: Uint8Array; log: string; events: Event[] & (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): SimulationResponse; }; export declare const MsgData: { typeUrl: string; encode(message: MsgData, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgData; fromJSON(object: any): MsgData; toJSON(message: MsgData): unknown; fromPartial & { msgType?: string; data?: Uint8Array; } & Record, never>>(object: I): MsgData; }; export declare const TxMsgData: { typeUrl: string; encode(message: TxMsgData, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxMsgData; fromJSON(object: any): TxMsgData; toJSON(message: TxMsgData): unknown; fromPartial & { data?: MsgData[] & (MsgData & { msgType: string; data: Uint8Array; } & Record, never>)[] & Record, never>; } & Record, never>>(object: I): TxMsgData; }; export declare const SearchTxsResult: { typeUrl: string; encode(message: SearchTxsResult, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SearchTxsResult; fromJSON(object: any): SearchTxsResult; toJSON(message: SearchTxsResult): unknown; fromPartial & { totalCount?: bigint; count?: bigint; pageNumber?: bigint; pageTotal?: bigint; limit?: bigint; txs?: TxResponse[] & (TxResponse & { height: bigint; txhash: string; codespace: string; code: number; data: string; rawLog: string; logs: ABCIMessageLog[] & (ABCIMessageLog & { msgIndex: number; log: string; events: StringEvent[] & (StringEvent & { type: string; attributes: Attribute[] & (Attribute & { key: string; value: string; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; } & Record, never>)[] & Record, never>; info: string; gasWanted: bigint; gasUsed: bigint; tx?: Any & { typeUrl: string; value: Uint8Array; } & Record, never>; timestamp: string; events: Event[] & (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>; } & Record, never>>(object: I): SearchTxsResult; };