import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; import * as _m0 from "protobufjs/minimal"; import { DeepPartial } from "@osmonauts/helpers"; /** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ export interface QueryBalanceRequest { /** address is the address to query balances for. */ address: string; /** denom is the coin denom to query balances for. */ denom?: string; } /** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ export interface QueryBalanceRequestSDKType { /** address is the address to query balances for. */ address: string; /** denom is the coin denom to query balances for. */ denom?: string; } /** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ export interface QueryBalanceResponse { /** balance is the balance of the coin. */ balance: Coin; } /** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ export interface QueryBalanceResponseSDKType { /** balance is the balance of the coin. */ balance: CoinSDKType; } /** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ export interface QueryAllBalancesRequest { /** address is the address to query balances for. */ address: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } /** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ export interface QueryAllBalancesRequestSDKType { /** address is the address to query balances for. */ address: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType; } /** * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC * method. */ export interface QueryAllBalancesResponse { /** balances is the balances of all the coins. */ balances: Coin[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } /** * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC * method. */ export interface QueryAllBalancesResponseSDKType { /** balances is the balances of all the coins. */ balances: CoinSDKType[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseSDKType; } /** * QuerySpendableBalancesRequest defines the gRPC request structure for querying * an account's spendable balances. */ export interface QuerySpendableBalancesRequest { /** address is the address to query spendable balances for. */ address: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } /** * QuerySpendableBalancesRequest defines the gRPC request structure for querying * an account's spendable balances. */ export interface QuerySpendableBalancesRequestSDKType { /** address is the address to query spendable balances for. */ address: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType; } /** * QuerySpendableBalancesResponse defines the gRPC response structure for querying * an account's spendable balances. */ export interface QuerySpendableBalancesResponse { /** balances is the spendable balances of all the coins. */ balances: Coin[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } /** * QuerySpendableBalancesResponse defines the gRPC response structure for querying * an account's spendable balances. */ export interface QuerySpendableBalancesResponseSDKType { /** balances is the spendable balances of all the coins. */ balances: CoinSDKType[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseSDKType; } /** * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC * method. */ export interface QueryTotalSupplyRequest { /** * pagination defines an optional pagination for the request. * * Since: cosmos-sdk 0.43 */ pagination?: PageRequest; } /** * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC * method. */ export interface QueryTotalSupplyRequestSDKType { /** * pagination defines an optional pagination for the request. * * Since: cosmos-sdk 0.43 */ pagination?: PageRequestSDKType; } /** * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC * method */ export interface QueryTotalSupplyResponse { /** supply is the supply of the coins */ supply: Coin[]; /** * pagination defines the pagination in the response. * * Since: cosmos-sdk 0.43 */ pagination?: PageResponse; } /** * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC * method */ export interface QueryTotalSupplyResponseSDKType { /** supply is the supply of the coins */ supply: CoinSDKType[]; /** * pagination defines the pagination in the response. * * Since: cosmos-sdk 0.43 */ pagination?: PageResponseSDKType; } /** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ export interface QuerySupplyOfRequest { /** denom is the coin denom to query balances for. */ denom: string; } /** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ export interface QuerySupplyOfRequestSDKType { /** denom is the coin denom to query balances for. */ denom: string; } /** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ export interface QuerySupplyOfResponse { /** amount is the supply of the coin. */ amount: Coin; } /** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ export interface QuerySupplyOfResponseSDKType { /** amount is the supply of the coin. */ amount: CoinSDKType; } /** QueryParamsRequest defines the request type for querying x/bank parameters. */ export interface QueryParamsRequest { } /** QueryParamsRequest defines the request type for querying x/bank parameters. */ export interface QueryParamsRequestSDKType { } /** QueryParamsResponse defines the response type for querying x/bank parameters. */ export interface QueryParamsResponse { params: Params; } /** QueryParamsResponse defines the response type for querying x/bank parameters. */ export interface QueryParamsResponseSDKType { params: ParamsSDKType; } /** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ export interface QueryDenomsMetadataRequest { /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } /** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ export interface QueryDenomsMetadataRequestSDKType { /** pagination defines an optional pagination for the request. */ pagination?: PageRequestSDKType; } /** * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC * method. */ export interface QueryDenomsMetadataResponse { /** metadata provides the client information for all the registered tokens. */ metadatas: Metadata[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } /** * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC * method. */ export interface QueryDenomsMetadataResponseSDKType { /** metadata provides the client information for all the registered tokens. */ metadatas: MetadataSDKType[]; /** pagination defines the pagination in the response. */ pagination?: PageResponseSDKType; } /** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ export interface QueryDenomMetadataRequest { /** denom is the coin denom to query the metadata for. */ denom: string; } /** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ export interface QueryDenomMetadataRequestSDKType { /** denom is the coin denom to query the metadata for. */ denom: string; } /** * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC * method. */ export interface QueryDenomMetadataResponse { /** metadata describes and provides all the client information for the requested token. */ metadata: Metadata; } /** * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC * method. */ export interface QueryDenomMetadataResponseSDKType { /** metadata describes and provides all the client information for the requested token. */ metadata: MetadataSDKType; } export declare const QueryBalanceRequest: { encode(message: QueryBalanceRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest; fromPartial(object: DeepPartial): QueryBalanceRequest; }; export declare const QueryBalanceResponse: { encode(message: QueryBalanceResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse; fromPartial(object: DeepPartial): QueryBalanceResponse; }; export declare const QueryAllBalancesRequest: { encode(message: QueryAllBalancesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest; fromPartial(object: DeepPartial): QueryAllBalancesRequest; }; export declare const QueryAllBalancesResponse: { encode(message: QueryAllBalancesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse; fromPartial(object: DeepPartial): QueryAllBalancesResponse; }; export declare const QuerySpendableBalancesRequest: { encode(message: QuerySpendableBalancesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest; fromPartial(object: DeepPartial): QuerySpendableBalancesRequest; }; export declare const QuerySpendableBalancesResponse: { encode(message: QuerySpendableBalancesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse; fromPartial(object: DeepPartial): QuerySpendableBalancesResponse; }; export declare const QueryTotalSupplyRequest: { encode(message: QueryTotalSupplyRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest; fromPartial(object: DeepPartial): QueryTotalSupplyRequest; }; export declare const QueryTotalSupplyResponse: { encode(message: QueryTotalSupplyResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse; fromPartial(object: DeepPartial): QueryTotalSupplyResponse; }; export declare const QuerySupplyOfRequest: { encode(message: QuerySupplyOfRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest; fromPartial(object: DeepPartial): QuerySupplyOfRequest; }; export declare const QuerySupplyOfResponse: { encode(message: QuerySupplyOfResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse; fromPartial(object: DeepPartial): QuerySupplyOfResponse; }; export declare const QueryParamsRequest: { encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; fromPartial(_: DeepPartial): QueryParamsRequest; }; export declare const QueryParamsResponse: { encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; fromPartial(object: DeepPartial): QueryParamsResponse; }; export declare const QueryDenomsMetadataRequest: { encode(message: QueryDenomsMetadataRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest; fromPartial(object: DeepPartial): QueryDenomsMetadataRequest; }; export declare const QueryDenomsMetadataResponse: { encode(message: QueryDenomsMetadataResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse; fromPartial(object: DeepPartial): QueryDenomsMetadataResponse; }; export declare const QueryDenomMetadataRequest: { encode(message: QueryDenomMetadataRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest; fromPartial(object: DeepPartial): QueryDenomMetadataRequest; }; export declare const QueryDenomMetadataResponse: { encode(message: QueryDenomMetadataResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse; fromPartial(object: DeepPartial): QueryDenomMetadataResponse; };