interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
862 lines (861 loc) • 27.2 kB
TypeScript
import { Any, AnyAmino } from "../../../../google/protobuf/any";
import { Event, EventAmino } from "../../../../tendermint/abci/types";
import { Block, BlockAmino } from "../../../../tendermint/types/block";
import { BinaryReader, BinaryWriter } from "../../../../binary";
import { DeepPartial } from "../../../../helpers";
/**
* TxResponse defines a structure containing relevant tx data and metadata. The
* tags are stringified and the log is JSON decoded.
* @name TxResponse
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.TxResponse
*/
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;
/**
* 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. Whereas Logs contains the events, with
* additional metadata, emitted only by processing the messages.
*/
events: Event[];
}
export interface TxResponseProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.TxResponse";
value: Uint8Array;
}
/**
* TxResponse defines a structure containing relevant tx data and metadata. The
* tags are stringified and the log is JSON decoded.
* @name TxResponseAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.TxResponse
*/
export interface TxResponseAmino {
/**
* The block height
*/
height: string;
/**
* 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.
*/
raw_log: string;
/**
* The output of the application's logger (typed). May be non-deterministic.
*/
logs: ABCIMessageLogAmino[];
/**
* Additional information. May be non-deterministic.
*/
info: string;
/**
* Amount of gas requested for transaction.
*/
gas_wanted: string;
/**
* Amount of gas consumed by transaction.
*/
gas_used: string;
/**
* The request transaction bytes.
*/
tx?: AnyAmino;
/**
* 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. Whereas Logs contains the events, with
* additional metadata, emitted only by processing the messages.
*/
events: EventAmino[];
}
export interface TxResponseAminoMsg {
type: "cosmos-sdk/TxResponse";
value: TxResponseAmino;
}
/**
* ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
* @name ABCIMessageLog
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.ABCIMessageLog
*/
export interface ABCIMessageLog {
msgIndex: number;
log: string;
/**
* Events contains a slice of Event objects that were emitted during some
* execution.
*/
events: StringEvent[];
}
export interface ABCIMessageLogProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.ABCIMessageLog";
value: Uint8Array;
}
/**
* ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
* @name ABCIMessageLogAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.ABCIMessageLog
*/
export interface ABCIMessageLogAmino {
msg_index: number;
log: string;
/**
* Events contains a slice of Event objects that were emitted during some
* execution.
*/
events: StringEventAmino[];
}
export interface ABCIMessageLogAminoMsg {
type: "cosmos-sdk/ABCIMessageLog";
value: ABCIMessageLogAmino;
}
/**
* StringEvent defines en Event object wrapper where all the attributes
* contain key/value pairs that are strings instead of raw bytes.
* @name StringEvent
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.StringEvent
*/
export interface StringEvent {
type: string;
attributes: Attribute[];
}
export interface StringEventProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.StringEvent";
value: Uint8Array;
}
/**
* StringEvent defines en Event object wrapper where all the attributes
* contain key/value pairs that are strings instead of raw bytes.
* @name StringEventAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.StringEvent
*/
export interface StringEventAmino {
type: string;
attributes: AttributeAmino[];
}
export interface StringEventAminoMsg {
type: "cosmos-sdk/StringEvent";
value: StringEventAmino;
}
/**
* Attribute defines an attribute wrapper where the key and value are
* strings instead of raw bytes.
* @name Attribute
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.Attribute
*/
export interface Attribute {
key: string;
value: string;
}
export interface AttributeProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.Attribute";
value: Uint8Array;
}
/**
* Attribute defines an attribute wrapper where the key and value are
* strings instead of raw bytes.
* @name AttributeAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.Attribute
*/
export interface AttributeAmino {
key: string;
value: string;
}
export interface AttributeAminoMsg {
type: "cosmos-sdk/Attribute";
value: AttributeAmino;
}
/**
* GasInfo defines tx execution gas context.
* @name GasInfo
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.GasInfo
*/
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;
}
export interface GasInfoProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.GasInfo";
value: Uint8Array;
}
/**
* GasInfo defines tx execution gas context.
* @name GasInfoAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.GasInfo
*/
export interface GasInfoAmino {
/**
* GasWanted is the maximum units of work we allow this tx to perform.
*/
gas_wanted: string;
/**
* GasUsed is the amount of gas actually consumed.
*/
gas_used: string;
}
export interface GasInfoAminoMsg {
type: "cosmos-sdk/GasInfo";
value: GasInfoAmino;
}
/**
* Result is the union of ResponseFormat and ResponseCheckTx.
* @name Result
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.Result
*/
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.
* Deprecated. This field is still populated, but prefer msg_response instead
* because it also contains the Msg response typeURL.
* @deprecated
*/
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[];
/**
* msg_responses contains the Msg handler responses type packed in Anys.
*/
msgResponses: Any[];
}
export interface ResultProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.Result";
value: Uint8Array;
}
/**
* Result is the union of ResponseFormat and ResponseCheckTx.
* @name ResultAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.Result
*/
export interface ResultAmino {
/**
* Data is any data returned from message or handler execution. It MUST be
* length prefixed in order to separate data from multiple message executions.
* Deprecated. This field is still populated, but prefer msg_response instead
* because it also contains the Msg response typeURL.
* @deprecated
*/
data: string;
/**
* 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: EventAmino[];
/**
* msg_responses contains the Msg handler responses type packed in Anys.
*/
msg_responses: AnyAmino[];
}
export interface ResultAminoMsg {
type: "cosmos-sdk/Result";
value: ResultAmino;
}
/**
* SimulationResponse defines the response generated when a transaction is
* successfully simulated.
* @name SimulationResponse
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.SimulationResponse
*/
export interface SimulationResponse {
gasInfo: GasInfo;
result?: Result;
}
export interface SimulationResponseProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.SimulationResponse";
value: Uint8Array;
}
/**
* SimulationResponse defines the response generated when a transaction is
* successfully simulated.
* @name SimulationResponseAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.SimulationResponse
*/
export interface SimulationResponseAmino {
gas_info: GasInfoAmino;
result?: ResultAmino;
}
export interface SimulationResponseAminoMsg {
type: "cosmos-sdk/SimulationResponse";
value: SimulationResponseAmino;
}
/**
* MsgData defines the data returned in a Result object during message
* execution.
* @name MsgData
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.MsgData
* @deprecated
*/
export interface MsgData {
msgType: string;
data: Uint8Array;
}
export interface MsgDataProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.MsgData";
value: Uint8Array;
}
/**
* MsgData defines the data returned in a Result object during message
* execution.
* @name MsgDataAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.MsgData
* @deprecated
*/
export interface MsgDataAmino {
msg_type: string;
data: string;
}
export interface MsgDataAminoMsg {
type: "cosmos-sdk/MsgData";
value: MsgDataAmino;
}
/**
* TxMsgData defines a list of MsgData. A transaction will have a MsgData object
* for each message.
* @name TxMsgData
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.TxMsgData
*/
export interface TxMsgData {
/**
* data field is deprecated and not populated.
* @deprecated
*/
data: MsgData[];
/**
* msg_responses contains the Msg handler responses packed into Anys.
*/
msgResponses: Any[];
}
export interface TxMsgDataProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.TxMsgData";
value: Uint8Array;
}
/**
* TxMsgData defines a list of MsgData. A transaction will have a MsgData object
* for each message.
* @name TxMsgDataAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.TxMsgData
*/
export interface TxMsgDataAmino {
/**
* data field is deprecated and not populated.
* @deprecated
*/
data: MsgDataAmino[];
/**
* msg_responses contains the Msg handler responses packed into Anys.
*/
msg_responses: AnyAmino[];
}
export interface TxMsgDataAminoMsg {
type: "cosmos-sdk/TxMsgData";
value: TxMsgDataAmino;
}
/**
* SearchTxsResult defines a structure for querying txs pageable
* @name SearchTxsResult
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.SearchTxsResult
*/
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[];
}
export interface SearchTxsResultProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.SearchTxsResult";
value: Uint8Array;
}
/**
* SearchTxsResult defines a structure for querying txs pageable
* @name SearchTxsResultAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.SearchTxsResult
*/
export interface SearchTxsResultAmino {
/**
* Count of all txs
*/
total_count: string;
/**
* Count of txs in current page
*/
count: string;
/**
* Index of current page, start from 1
*/
page_number: string;
/**
* Count of total pages
*/
page_total: string;
/**
* Max count txs per page
*/
limit: string;
/**
* List of txs in current page
*/
txs: TxResponseAmino[];
}
export interface SearchTxsResultAminoMsg {
type: "cosmos-sdk/SearchTxsResult";
value: SearchTxsResultAmino;
}
/**
* SearchBlocksResult defines a structure for querying blocks pageable
* @name SearchBlocksResult
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.SearchBlocksResult
*/
export interface SearchBlocksResult {
/**
* Count of all blocks
*/
totalCount: bigint;
/**
* Count of blocks in current page
*/
count: bigint;
/**
* Index of current page, start from 1
*/
pageNumber: bigint;
/**
* Count of total pages
*/
pageTotal: bigint;
/**
* Max count blocks per page
*/
limit: bigint;
/**
* List of blocks in current page
*/
blocks: Block[];
}
export interface SearchBlocksResultProtoMsg {
typeUrl: "/cosmos.base.abci.v1beta1.SearchBlocksResult";
value: Uint8Array;
}
/**
* SearchBlocksResult defines a structure for querying blocks pageable
* @name SearchBlocksResultAmino
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.SearchBlocksResult
*/
export interface SearchBlocksResultAmino {
/**
* Count of all blocks
*/
total_count: string;
/**
* Count of blocks in current page
*/
count: string;
/**
* Index of current page, start from 1
*/
page_number: string;
/**
* Count of total pages
*/
page_total: string;
/**
* Max count blocks per page
*/
limit: string;
/**
* List of blocks in current page
*/
blocks: BlockAmino[];
}
export interface SearchBlocksResultAminoMsg {
type: "cosmos-sdk/SearchBlocksResult";
value: SearchBlocksResultAmino;
}
/**
* TxResponse defines a structure containing relevant tx data and metadata. The
* tags are stringified and the log is JSON decoded.
* @name TxResponse
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.TxResponse
*/
export declare const TxResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is TxResponse;
isAmino(o: any): o is TxResponseAmino;
encode(message: TxResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): TxResponse;
fromPartial(object: DeepPartial<TxResponse>): TxResponse;
fromAmino(object: TxResponseAmino): TxResponse;
toAmino(message: TxResponse): TxResponseAmino;
fromAminoMsg(object: TxResponseAminoMsg): TxResponse;
toAminoMsg(message: TxResponse): TxResponseAminoMsg;
fromProtoMsg(message: TxResponseProtoMsg): TxResponse;
toProto(message: TxResponse): Uint8Array;
toProtoMsg(message: TxResponse): TxResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
* @name ABCIMessageLog
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.ABCIMessageLog
*/
export declare const ABCIMessageLog: {
typeUrl: string;
aminoType: string;
is(o: any): o is ABCIMessageLog;
isAmino(o: any): o is ABCIMessageLogAmino;
encode(message: ABCIMessageLog, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): ABCIMessageLog;
fromPartial(object: DeepPartial<ABCIMessageLog>): ABCIMessageLog;
fromAmino(object: ABCIMessageLogAmino): ABCIMessageLog;
toAmino(message: ABCIMessageLog): ABCIMessageLogAmino;
fromAminoMsg(object: ABCIMessageLogAminoMsg): ABCIMessageLog;
toAminoMsg(message: ABCIMessageLog): ABCIMessageLogAminoMsg;
fromProtoMsg(message: ABCIMessageLogProtoMsg): ABCIMessageLog;
toProto(message: ABCIMessageLog): Uint8Array;
toProtoMsg(message: ABCIMessageLog): ABCIMessageLogProtoMsg;
registerTypeUrl(): void;
};
/**
* StringEvent defines en Event object wrapper where all the attributes
* contain key/value pairs that are strings instead of raw bytes.
* @name StringEvent
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.StringEvent
*/
export declare const StringEvent: {
typeUrl: string;
aminoType: string;
is(o: any): o is StringEvent;
isAmino(o: any): o is StringEventAmino;
encode(message: StringEvent, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): StringEvent;
fromPartial(object: DeepPartial<StringEvent>): StringEvent;
fromAmino(object: StringEventAmino): StringEvent;
toAmino(message: StringEvent): StringEventAmino;
fromAminoMsg(object: StringEventAminoMsg): StringEvent;
toAminoMsg(message: StringEvent): StringEventAminoMsg;
fromProtoMsg(message: StringEventProtoMsg): StringEvent;
toProto(message: StringEvent): Uint8Array;
toProtoMsg(message: StringEvent): StringEventProtoMsg;
registerTypeUrl(): void;
};
/**
* Attribute defines an attribute wrapper where the key and value are
* strings instead of raw bytes.
* @name Attribute
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.Attribute
*/
export declare const Attribute: {
typeUrl: string;
aminoType: string;
is(o: any): o is Attribute;
isAmino(o: any): o is AttributeAmino;
encode(message: Attribute, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): Attribute;
fromPartial(object: DeepPartial<Attribute>): Attribute;
fromAmino(object: AttributeAmino): Attribute;
toAmino(message: Attribute): AttributeAmino;
fromAminoMsg(object: AttributeAminoMsg): Attribute;
toAminoMsg(message: Attribute): AttributeAminoMsg;
fromProtoMsg(message: AttributeProtoMsg): Attribute;
toProto(message: Attribute): Uint8Array;
toProtoMsg(message: Attribute): AttributeProtoMsg;
registerTypeUrl(): void;
};
/**
* GasInfo defines tx execution gas context.
* @name GasInfo
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.GasInfo
*/
export declare const GasInfo: {
typeUrl: string;
aminoType: string;
is(o: any): o is GasInfo;
isAmino(o: any): o is GasInfoAmino;
encode(message: GasInfo, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): GasInfo;
fromPartial(object: DeepPartial<GasInfo>): GasInfo;
fromAmino(object: GasInfoAmino): GasInfo;
toAmino(message: GasInfo): GasInfoAmino;
fromAminoMsg(object: GasInfoAminoMsg): GasInfo;
toAminoMsg(message: GasInfo): GasInfoAminoMsg;
fromProtoMsg(message: GasInfoProtoMsg): GasInfo;
toProto(message: GasInfo): Uint8Array;
toProtoMsg(message: GasInfo): GasInfoProtoMsg;
registerTypeUrl(): void;
};
/**
* Result is the union of ResponseFormat and ResponseCheckTx.
* @name Result
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.Result
*/
export declare const Result: {
typeUrl: string;
aminoType: string;
is(o: any): o is Result;
isAmino(o: any): o is ResultAmino;
encode(message: Result, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): Result;
fromPartial(object: DeepPartial<Result>): Result;
fromAmino(object: ResultAmino): Result;
toAmino(message: Result): ResultAmino;
fromAminoMsg(object: ResultAminoMsg): Result;
toAminoMsg(message: Result): ResultAminoMsg;
fromProtoMsg(message: ResultProtoMsg): Result;
toProto(message: Result): Uint8Array;
toProtoMsg(message: Result): ResultProtoMsg;
registerTypeUrl(): void;
};
/**
* SimulationResponse defines the response generated when a transaction is
* successfully simulated.
* @name SimulationResponse
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.SimulationResponse
*/
export declare const SimulationResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is SimulationResponse;
isAmino(o: any): o is SimulationResponseAmino;
encode(message: SimulationResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): SimulationResponse;
fromPartial(object: DeepPartial<SimulationResponse>): SimulationResponse;
fromAmino(object: SimulationResponseAmino): SimulationResponse;
toAmino(message: SimulationResponse): SimulationResponseAmino;
fromAminoMsg(object: SimulationResponseAminoMsg): SimulationResponse;
toAminoMsg(message: SimulationResponse): SimulationResponseAminoMsg;
fromProtoMsg(message: SimulationResponseProtoMsg): SimulationResponse;
toProto(message: SimulationResponse): Uint8Array;
toProtoMsg(message: SimulationResponse): SimulationResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgData defines the data returned in a Result object during message
* execution.
* @name MsgData
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.MsgData
* @deprecated
*/
export declare const MsgData: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgData;
isAmino(o: any): o is MsgDataAmino;
encode(message: MsgData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgData;
fromPartial(object: DeepPartial<MsgData>): MsgData;
fromAmino(object: MsgDataAmino): MsgData;
toAmino(message: MsgData): MsgDataAmino;
fromAminoMsg(object: MsgDataAminoMsg): MsgData;
toAminoMsg(message: MsgData): MsgDataAminoMsg;
fromProtoMsg(message: MsgDataProtoMsg): MsgData;
toProto(message: MsgData): Uint8Array;
toProtoMsg(message: MsgData): MsgDataProtoMsg;
registerTypeUrl(): void;
};
/**
* TxMsgData defines a list of MsgData. A transaction will have a MsgData object
* for each message.
* @name TxMsgData
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.TxMsgData
*/
export declare const TxMsgData: {
typeUrl: string;
aminoType: string;
is(o: any): o is TxMsgData;
isAmino(o: any): o is TxMsgDataAmino;
encode(message: TxMsgData, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): TxMsgData;
fromPartial(object: DeepPartial<TxMsgData>): TxMsgData;
fromAmino(object: TxMsgDataAmino): TxMsgData;
toAmino(message: TxMsgData): TxMsgDataAmino;
fromAminoMsg(object: TxMsgDataAminoMsg): TxMsgData;
toAminoMsg(message: TxMsgData): TxMsgDataAminoMsg;
fromProtoMsg(message: TxMsgDataProtoMsg): TxMsgData;
toProto(message: TxMsgData): Uint8Array;
toProtoMsg(message: TxMsgData): TxMsgDataProtoMsg;
registerTypeUrl(): void;
};
/**
* SearchTxsResult defines a structure for querying txs pageable
* @name SearchTxsResult
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.SearchTxsResult
*/
export declare const SearchTxsResult: {
typeUrl: string;
aminoType: string;
is(o: any): o is SearchTxsResult;
isAmino(o: any): o is SearchTxsResultAmino;
encode(message: SearchTxsResult, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): SearchTxsResult;
fromPartial(object: DeepPartial<SearchTxsResult>): SearchTxsResult;
fromAmino(object: SearchTxsResultAmino): SearchTxsResult;
toAmino(message: SearchTxsResult): SearchTxsResultAmino;
fromAminoMsg(object: SearchTxsResultAminoMsg): SearchTxsResult;
toAminoMsg(message: SearchTxsResult): SearchTxsResultAminoMsg;
fromProtoMsg(message: SearchTxsResultProtoMsg): SearchTxsResult;
toProto(message: SearchTxsResult): Uint8Array;
toProtoMsg(message: SearchTxsResult): SearchTxsResultProtoMsg;
registerTypeUrl(): void;
};
/**
* SearchBlocksResult defines a structure for querying blocks pageable
* @name SearchBlocksResult
* @package cosmos.base.abci.v1beta1
* @see proto type: cosmos.base.abci.v1beta1.SearchBlocksResult
*/
export declare const SearchBlocksResult: {
typeUrl: string;
aminoType: string;
is(o: any): o is SearchBlocksResult;
isAmino(o: any): o is SearchBlocksResultAmino;
encode(message: SearchBlocksResult, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): SearchBlocksResult;
fromPartial(object: DeepPartial<SearchBlocksResult>): SearchBlocksResult;
fromAmino(object: SearchBlocksResultAmino): SearchBlocksResult;
toAmino(message: SearchBlocksResult): SearchBlocksResultAmino;
fromAminoMsg(object: SearchBlocksResultAminoMsg): SearchBlocksResult;
toAminoMsg(message: SearchBlocksResult): SearchBlocksResultAminoMsg;
fromProtoMsg(message: SearchBlocksResultProtoMsg): SearchBlocksResult;
toProto(message: SearchBlocksResult): Uint8Array;
toProtoMsg(message: SearchBlocksResult): SearchBlocksResultProtoMsg;
registerTypeUrl(): void;
};