import { PageRequest, type PageRequestSDKType, PageResponse, type PageResponseSDKType } from '../../../../cosmos/base/query/v1beta1/pagination.js'; import { DenomTrace, type DenomTraceSDKType, Params, type ParamsSDKType } from './transfer.js'; import { Coin, type CoinSDKType } from '../../../../cosmos/base/v1beta1/coin.js'; import { BinaryReader, BinaryWriter } from '../../../../binary.js'; import { type JsonSafe } from '../../../../json-safe.js'; /** * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC * method */ export interface QueryDenomTraceRequest { /** hash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information. */ hash: string; } export interface QueryDenomTraceRequestProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryDenomTraceRequest'; value: Uint8Array; } /** * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC * method */ export interface QueryDenomTraceRequestSDKType { hash: string; } /** * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC * method. */ export interface QueryDenomTraceResponse { /** denom_trace returns the requested denomination trace information. */ denomTrace?: DenomTrace; } export interface QueryDenomTraceResponseProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryDenomTraceResponse'; value: Uint8Array; } /** * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC * method. */ export interface QueryDenomTraceResponseSDKType { denom_trace?: DenomTraceSDKType; } /** * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC * method */ export interface QueryDenomTracesRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryDenomTracesRequestProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryDenomTracesRequest'; value: Uint8Array; } /** * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC * method */ export interface QueryDenomTracesRequestSDKType { pagination?: PageRequestSDKType; } /** * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC * method. */ export interface QueryDenomTracesResponse { /** denom_traces returns all denominations trace information. */ denomTraces: DenomTrace[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryDenomTracesResponseProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryDenomTracesResponse'; value: Uint8Array; } /** * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC * method. */ export interface QueryDenomTracesResponseSDKType { denom_traces: DenomTraceSDKType[]; pagination?: PageResponseSDKType; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest { } export interface QueryParamsRequestProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryParamsRequest'; value: Uint8Array; } /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequestSDKType { } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** params defines the parameters of the module. */ params?: Params; } export interface QueryParamsResponseProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryParamsResponse'; value: Uint8Array; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { params?: ParamsSDKType; } /** * QueryDenomHashRequest is the request type for the Query/DenomHash RPC * method */ export interface QueryDenomHashRequest { /** The denomination trace ([port_id]/[channel_id])+/[denom] */ trace: string; } export interface QueryDenomHashRequestProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryDenomHashRequest'; value: Uint8Array; } /** * QueryDenomHashRequest is the request type for the Query/DenomHash RPC * method */ export interface QueryDenomHashRequestSDKType { trace: string; } /** * QueryDenomHashResponse is the response type for the Query/DenomHash RPC * method. */ export interface QueryDenomHashResponse { /** hash (in hex format) of the denomination trace information. */ hash: string; } export interface QueryDenomHashResponseProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryDenomHashResponse'; value: Uint8Array; } /** * QueryDenomHashResponse is the response type for the Query/DenomHash RPC * method. */ export interface QueryDenomHashResponseSDKType { hash: string; } /** QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method. */ export interface QueryEscrowAddressRequest { /** unique port identifier */ portId: string; /** unique channel identifier */ channelId: string; } export interface QueryEscrowAddressRequestProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryEscrowAddressRequest'; value: Uint8Array; } /** QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method. */ export interface QueryEscrowAddressRequestSDKType { port_id: string; channel_id: string; } /** QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method. */ export interface QueryEscrowAddressResponse { /** the escrow account address */ escrowAddress: string; } export interface QueryEscrowAddressResponseProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryEscrowAddressResponse'; value: Uint8Array; } /** QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method. */ export interface QueryEscrowAddressResponseSDKType { escrow_address: string; } /** QueryTotalEscrowForDenomRequest is the request type for TotalEscrowForDenom RPC method. */ export interface QueryTotalEscrowForDenomRequest { denom: string; } export interface QueryTotalEscrowForDenomRequestProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest'; value: Uint8Array; } /** QueryTotalEscrowForDenomRequest is the request type for TotalEscrowForDenom RPC method. */ export interface QueryTotalEscrowForDenomRequestSDKType { denom: string; } /** QueryTotalEscrowForDenomResponse is the response type for TotalEscrowForDenom RPC method. */ export interface QueryTotalEscrowForDenomResponse { amount: Coin; } export interface QueryTotalEscrowForDenomResponseProtoMsg { typeUrl: '/ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse'; value: Uint8Array; } /** QueryTotalEscrowForDenomResponse is the response type for TotalEscrowForDenom RPC method. */ export interface QueryTotalEscrowForDenomResponseSDKType { amount: CoinSDKType; } export declare const QueryDenomTraceRequest: { typeUrl: "/ibc.applications.transfer.v1.QueryDenomTraceRequest"; encode(message: QueryDenomTraceRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomTraceRequest; fromJSON(object: any): QueryDenomTraceRequest; toJSON(message: QueryDenomTraceRequest): JsonSafe; fromPartial(object: Partial): QueryDenomTraceRequest; fromProtoMsg(message: QueryDenomTraceRequestProtoMsg): QueryDenomTraceRequest; toProto(message: QueryDenomTraceRequest): Uint8Array; toProtoMsg(message: QueryDenomTraceRequest): QueryDenomTraceRequestProtoMsg; }; export declare const QueryDenomTraceResponse: { typeUrl: "/ibc.applications.transfer.v1.QueryDenomTraceResponse"; encode(message: QueryDenomTraceResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomTraceResponse; fromJSON(object: any): QueryDenomTraceResponse; toJSON(message: QueryDenomTraceResponse): JsonSafe; fromPartial(object: Partial): QueryDenomTraceResponse; fromProtoMsg(message: QueryDenomTraceResponseProtoMsg): QueryDenomTraceResponse; toProto(message: QueryDenomTraceResponse): Uint8Array; toProtoMsg(message: QueryDenomTraceResponse): QueryDenomTraceResponseProtoMsg; }; export declare const QueryDenomTracesRequest: { typeUrl: "/ibc.applications.transfer.v1.QueryDenomTracesRequest"; encode(message: QueryDenomTracesRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomTracesRequest; fromJSON(object: any): QueryDenomTracesRequest; toJSON(message: QueryDenomTracesRequest): JsonSafe; fromPartial(object: Partial): QueryDenomTracesRequest; fromProtoMsg(message: QueryDenomTracesRequestProtoMsg): QueryDenomTracesRequest; toProto(message: QueryDenomTracesRequest): Uint8Array; toProtoMsg(message: QueryDenomTracesRequest): QueryDenomTracesRequestProtoMsg; }; export declare const QueryDenomTracesResponse: { typeUrl: "/ibc.applications.transfer.v1.QueryDenomTracesResponse"; encode(message: QueryDenomTracesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomTracesResponse; fromJSON(object: any): QueryDenomTracesResponse; toJSON(message: QueryDenomTracesResponse): JsonSafe; fromPartial(object: Partial): QueryDenomTracesResponse; fromProtoMsg(message: QueryDenomTracesResponseProtoMsg): QueryDenomTracesResponse; toProto(message: QueryDenomTracesResponse): Uint8Array; toProtoMsg(message: QueryDenomTracesResponse): QueryDenomTracesResponseProtoMsg; }; export declare const QueryParamsRequest: { typeUrl: "/ibc.applications.transfer.v1.QueryParamsRequest"; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): JsonSafe; fromPartial(_: Partial): QueryParamsRequest; fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; toProto(message: QueryParamsRequest): Uint8Array; toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; }; export declare const QueryParamsResponse: { typeUrl: "/ibc.applications.transfer.v1.QueryParamsResponse"; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): JsonSafe; fromPartial(object: Partial): QueryParamsResponse; fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; toProto(message: QueryParamsResponse): Uint8Array; toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; }; export declare const QueryDenomHashRequest: { typeUrl: "/ibc.applications.transfer.v1.QueryDenomHashRequest"; encode(message: QueryDenomHashRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomHashRequest; fromJSON(object: any): QueryDenomHashRequest; toJSON(message: QueryDenomHashRequest): JsonSafe; fromPartial(object: Partial): QueryDenomHashRequest; fromProtoMsg(message: QueryDenomHashRequestProtoMsg): QueryDenomHashRequest; toProto(message: QueryDenomHashRequest): Uint8Array; toProtoMsg(message: QueryDenomHashRequest): QueryDenomHashRequestProtoMsg; }; export declare const QueryDenomHashResponse: { typeUrl: "/ibc.applications.transfer.v1.QueryDenomHashResponse"; encode(message: QueryDenomHashResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomHashResponse; fromJSON(object: any): QueryDenomHashResponse; toJSON(message: QueryDenomHashResponse): JsonSafe; fromPartial(object: Partial): QueryDenomHashResponse; fromProtoMsg(message: QueryDenomHashResponseProtoMsg): QueryDenomHashResponse; toProto(message: QueryDenomHashResponse): Uint8Array; toProtoMsg(message: QueryDenomHashResponse): QueryDenomHashResponseProtoMsg; }; export declare const QueryEscrowAddressRequest: { typeUrl: "/ibc.applications.transfer.v1.QueryEscrowAddressRequest"; encode(message: QueryEscrowAddressRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryEscrowAddressRequest; fromJSON(object: any): QueryEscrowAddressRequest; toJSON(message: QueryEscrowAddressRequest): JsonSafe; fromPartial(object: Partial): QueryEscrowAddressRequest; fromProtoMsg(message: QueryEscrowAddressRequestProtoMsg): QueryEscrowAddressRequest; toProto(message: QueryEscrowAddressRequest): Uint8Array; toProtoMsg(message: QueryEscrowAddressRequest): QueryEscrowAddressRequestProtoMsg; }; export declare const QueryEscrowAddressResponse: { typeUrl: "/ibc.applications.transfer.v1.QueryEscrowAddressResponse"; encode(message: QueryEscrowAddressResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryEscrowAddressResponse; fromJSON(object: any): QueryEscrowAddressResponse; toJSON(message: QueryEscrowAddressResponse): JsonSafe; fromPartial(object: Partial): QueryEscrowAddressResponse; fromProtoMsg(message: QueryEscrowAddressResponseProtoMsg): QueryEscrowAddressResponse; toProto(message: QueryEscrowAddressResponse): Uint8Array; toProtoMsg(message: QueryEscrowAddressResponse): QueryEscrowAddressResponseProtoMsg; }; export declare const QueryTotalEscrowForDenomRequest: { typeUrl: "/ibc.applications.transfer.v1.QueryTotalEscrowForDenomRequest"; encode(message: QueryTotalEscrowForDenomRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalEscrowForDenomRequest; fromJSON(object: any): QueryTotalEscrowForDenomRequest; toJSON(message: QueryTotalEscrowForDenomRequest): JsonSafe; fromPartial(object: Partial): QueryTotalEscrowForDenomRequest; fromProtoMsg(message: QueryTotalEscrowForDenomRequestProtoMsg): QueryTotalEscrowForDenomRequest; toProto(message: QueryTotalEscrowForDenomRequest): Uint8Array; toProtoMsg(message: QueryTotalEscrowForDenomRequest): QueryTotalEscrowForDenomRequestProtoMsg; }; export declare const QueryTotalEscrowForDenomResponse: { typeUrl: "/ibc.applications.transfer.v1.QueryTotalEscrowForDenomResponse"; encode(message: QueryTotalEscrowForDenomResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalEscrowForDenomResponse; fromJSON(object: any): QueryTotalEscrowForDenomResponse; toJSON(message: QueryTotalEscrowForDenomResponse): JsonSafe; fromPartial(object: Partial): QueryTotalEscrowForDenomResponse; fromProtoMsg(message: QueryTotalEscrowForDenomResponseProtoMsg): QueryTotalEscrowForDenomResponse; toProto(message: QueryTotalEscrowForDenomResponse): Uint8Array; toProtoMsg(message: QueryTotalEscrowForDenomResponse): QueryTotalEscrowForDenomResponseProtoMsg; }; //# sourceMappingURL=query.d.ts.map