interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
1,348 lines • 70.5 kB
TypeScript
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../base/query/v1beta1/pagination";
import { Coin, CoinAmino } from "../../base/v1beta1/coin";
import { Params, ParamsAmino, Metadata, MetadataAmino, SendEnabled, SendEnabledAmino } from "./bank";
import { BinaryReader, BinaryWriter } from "../../../binary";
import { DeepPartial } from "../../../helpers";
/**
* QueryBalanceRequest is the request type for the Query/Balance RPC method.
* @name QueryBalanceRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryBalanceRequest
*/
export interface QueryBalanceRequest {
/**
* address is the address to query balances for.
*/
address: string;
/**
* denom is the coin denom to query balances for.
*/
denom: string;
}
export interface QueryBalanceRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryBalanceRequest";
value: Uint8Array;
}
/**
* QueryBalanceRequest is the request type for the Query/Balance RPC method.
* @name QueryBalanceRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryBalanceRequest
*/
export interface QueryBalanceRequestAmino {
/**
* address is the address to query balances for.
*/
address: string;
/**
* denom is the coin denom to query balances for.
*/
denom: string;
}
export interface QueryBalanceRequestAminoMsg {
type: "cosmos-sdk/QueryBalanceRequest";
value: QueryBalanceRequestAmino;
}
/**
* QueryBalanceResponse is the response type for the Query/Balance RPC method.
* @name QueryBalanceResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryBalanceResponse
*/
export interface QueryBalanceResponse {
/**
* balance is the balance of the coin.
*/
balance?: Coin;
}
export interface QueryBalanceResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryBalanceResponse";
value: Uint8Array;
}
/**
* QueryBalanceResponse is the response type for the Query/Balance RPC method.
* @name QueryBalanceResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryBalanceResponse
*/
export interface QueryBalanceResponseAmino {
/**
* balance is the balance of the coin.
*/
balance?: CoinAmino;
}
export interface QueryBalanceResponseAminoMsg {
type: "cosmos-sdk/QueryBalanceResponse";
value: QueryBalanceResponseAmino;
}
/**
* QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
* @name QueryAllBalancesRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryAllBalancesRequest
*/
export interface QueryAllBalancesRequest {
/**
* address is the address to query balances for.
*/
address: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
/**
* resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.
*
* Since: cosmos-sdk 0.50
*/
resolveDenom: boolean;
}
export interface QueryAllBalancesRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesRequest";
value: Uint8Array;
}
/**
* QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
* @name QueryAllBalancesRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryAllBalancesRequest
*/
export interface QueryAllBalancesRequestAmino {
/**
* address is the address to query balances for.
*/
address: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
/**
* resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.
*
* Since: cosmos-sdk 0.50
*/
resolve_denom: boolean;
}
export interface QueryAllBalancesRequestAminoMsg {
type: "cosmos-sdk/QueryAllBalancesRequest";
value: QueryAllBalancesRequestAmino;
}
/**
* QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
* method.
* @name QueryAllBalancesResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryAllBalancesResponse
*/
export interface QueryAllBalancesResponse {
/**
* balances is the balances of all the coins.
*/
balances: Coin[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryAllBalancesResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesResponse";
value: Uint8Array;
}
/**
* QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
* method.
* @name QueryAllBalancesResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryAllBalancesResponse
*/
export interface QueryAllBalancesResponseAmino {
/**
* balances is the balances of all the coins.
*/
balances: CoinAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryAllBalancesResponseAminoMsg {
type: "cosmos-sdk/QueryAllBalancesResponse";
value: QueryAllBalancesResponseAmino;
}
/**
* QuerySpendableBalancesRequest defines the gRPC request structure for querying
* an account's spendable balances.
*
* Since: cosmos-sdk 0.46
* @name QuerySpendableBalancesRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalancesRequest
*/
export interface QuerySpendableBalancesRequest {
/**
* address is the address to query spendable balances for.
*/
address: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QuerySpendableBalancesRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesRequest";
value: Uint8Array;
}
/**
* QuerySpendableBalancesRequest defines the gRPC request structure for querying
* an account's spendable balances.
*
* Since: cosmos-sdk 0.46
* @name QuerySpendableBalancesRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalancesRequest
*/
export interface QuerySpendableBalancesRequestAmino {
/**
* address is the address to query spendable balances for.
*/
address: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QuerySpendableBalancesRequestAminoMsg {
type: "cosmos-sdk/QuerySpendableBalancesRequest";
value: QuerySpendableBalancesRequestAmino;
}
/**
* QuerySpendableBalancesResponse defines the gRPC response structure for querying
* an account's spendable balances.
*
* Since: cosmos-sdk 0.46
* @name QuerySpendableBalancesResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalancesResponse
*/
export interface QuerySpendableBalancesResponse {
/**
* balances is the spendable balances of all the coins.
*/
balances: Coin[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QuerySpendableBalancesResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesResponse";
value: Uint8Array;
}
/**
* QuerySpendableBalancesResponse defines the gRPC response structure for querying
* an account's spendable balances.
*
* Since: cosmos-sdk 0.46
* @name QuerySpendableBalancesResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalancesResponse
*/
export interface QuerySpendableBalancesResponseAmino {
/**
* balances is the spendable balances of all the coins.
*/
balances: CoinAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QuerySpendableBalancesResponseAminoMsg {
type: "cosmos-sdk/QuerySpendableBalancesResponse";
value: QuerySpendableBalancesResponseAmino;
}
/**
* QuerySpendableBalanceByDenomRequest defines the gRPC request structure for
* querying an account's spendable balance for a specific denom.
*
* Since: cosmos-sdk 0.47
* @name QuerySpendableBalanceByDenomRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest
*/
export interface QuerySpendableBalanceByDenomRequest {
/**
* address is the address to query balances for.
*/
address: string;
/**
* denom is the coin denom to query balances for.
*/
denom: string;
}
export interface QuerySpendableBalanceByDenomRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest";
value: Uint8Array;
}
/**
* QuerySpendableBalanceByDenomRequest defines the gRPC request structure for
* querying an account's spendable balance for a specific denom.
*
* Since: cosmos-sdk 0.47
* @name QuerySpendableBalanceByDenomRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest
*/
export interface QuerySpendableBalanceByDenomRequestAmino {
/**
* address is the address to query balances for.
*/
address: string;
/**
* denom is the coin denom to query balances for.
*/
denom: string;
}
export interface QuerySpendableBalanceByDenomRequestAminoMsg {
type: "cosmos-sdk/QuerySpendableBalanceByDenomRequest";
value: QuerySpendableBalanceByDenomRequestAmino;
}
/**
* QuerySpendableBalanceByDenomResponse defines the gRPC response structure for
* querying an account's spendable balance for a specific denom.
*
* Since: cosmos-sdk 0.47
* @name QuerySpendableBalanceByDenomResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse
*/
export interface QuerySpendableBalanceByDenomResponse {
/**
* balance is the balance of the coin.
*/
balance?: Coin;
}
export interface QuerySpendableBalanceByDenomResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse";
value: Uint8Array;
}
/**
* QuerySpendableBalanceByDenomResponse defines the gRPC response structure for
* querying an account's spendable balance for a specific denom.
*
* Since: cosmos-sdk 0.47
* @name QuerySpendableBalanceByDenomResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse
*/
export interface QuerySpendableBalanceByDenomResponseAmino {
/**
* balance is the balance of the coin.
*/
balance?: CoinAmino;
}
export interface QuerySpendableBalanceByDenomResponseAminoMsg {
type: "cosmos-sdk/QuerySpendableBalanceByDenomResponse";
value: QuerySpendableBalanceByDenomResponseAmino;
}
/**
* QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
* method.
* @name QueryTotalSupplyRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryTotalSupplyRequest
*/
export interface QueryTotalSupplyRequest {
/**
* pagination defines an optional pagination for the request.
*
* Since: cosmos-sdk 0.43
*/
pagination?: PageRequest;
}
export interface QueryTotalSupplyRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyRequest";
value: Uint8Array;
}
/**
* QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
* method.
* @name QueryTotalSupplyRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryTotalSupplyRequest
*/
export interface QueryTotalSupplyRequestAmino {
/**
* pagination defines an optional pagination for the request.
*
* Since: cosmos-sdk 0.43
*/
pagination?: PageRequestAmino;
}
export interface QueryTotalSupplyRequestAminoMsg {
type: "cosmos-sdk/QueryTotalSupplyRequest";
value: QueryTotalSupplyRequestAmino;
}
/**
* QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC
* method
* @name QueryTotalSupplyResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryTotalSupplyResponse
*/
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;
}
export interface QueryTotalSupplyResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyResponse";
value: Uint8Array;
}
/**
* QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC
* method
* @name QueryTotalSupplyResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryTotalSupplyResponse
*/
export interface QueryTotalSupplyResponseAmino {
/**
* supply is the supply of the coins
*/
supply: CoinAmino[];
/**
* pagination defines the pagination in the response.
*
* Since: cosmos-sdk 0.43
*/
pagination?: PageResponseAmino;
}
export interface QueryTotalSupplyResponseAminoMsg {
type: "cosmos-sdk/QueryTotalSupplyResponse";
value: QueryTotalSupplyResponseAmino;
}
/**
* QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
* @name QuerySupplyOfRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySupplyOfRequest
*/
export interface QuerySupplyOfRequest {
/**
* denom is the coin denom to query balances for.
*/
denom: string;
}
export interface QuerySupplyOfRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfRequest";
value: Uint8Array;
}
/**
* QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
* @name QuerySupplyOfRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySupplyOfRequest
*/
export interface QuerySupplyOfRequestAmino {
/**
* denom is the coin denom to query balances for.
*/
denom: string;
}
export interface QuerySupplyOfRequestAminoMsg {
type: "cosmos-sdk/QuerySupplyOfRequest";
value: QuerySupplyOfRequestAmino;
}
/**
* QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
* @name QuerySupplyOfResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySupplyOfResponse
*/
export interface QuerySupplyOfResponse {
/**
* amount is the supply of the coin.
*/
amount: Coin;
}
export interface QuerySupplyOfResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfResponse";
value: Uint8Array;
}
/**
* QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
* @name QuerySupplyOfResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySupplyOfResponse
*/
export interface QuerySupplyOfResponseAmino {
/**
* amount is the supply of the coin.
*/
amount: CoinAmino;
}
export interface QuerySupplyOfResponseAminoMsg {
type: "cosmos-sdk/QuerySupplyOfResponse";
value: QuerySupplyOfResponseAmino;
}
/**
* QueryParamsRequest defines the request type for querying x/bank parameters.
* @name QueryParamsRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryParamsRequest
*/
export interface QueryParamsRequest {
}
export interface QueryParamsRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryParamsRequest";
value: Uint8Array;
}
/**
* QueryParamsRequest defines the request type for querying x/bank parameters.
* @name QueryParamsRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryParamsRequest
*/
export interface QueryParamsRequestAmino {
}
export interface QueryParamsRequestAminoMsg {
type: "cosmos-sdk/QueryParamsRequest";
value: QueryParamsRequestAmino;
}
/**
* QueryParamsResponse defines the response type for querying x/bank parameters.
* @name QueryParamsResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryParamsResponse
*/
export interface QueryParamsResponse {
/**
* params provides the parameters of the bank module.
*/
params: Params;
}
export interface QueryParamsResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryParamsResponse";
value: Uint8Array;
}
/**
* QueryParamsResponse defines the response type for querying x/bank parameters.
* @name QueryParamsResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryParamsResponse
*/
export interface QueryParamsResponseAmino {
/**
* params provides the parameters of the bank module.
*/
params: ParamsAmino;
}
export interface QueryParamsResponseAminoMsg {
type: "cosmos-sdk/QueryParamsResponse";
value: QueryParamsResponseAmino;
}
/**
* QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.
* @name QueryDenomsMetadataRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomsMetadataRequest
*/
export interface QueryDenomsMetadataRequest {
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryDenomsMetadataRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataRequest";
value: Uint8Array;
}
/**
* QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.
* @name QueryDenomsMetadataRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomsMetadataRequest
*/
export interface QueryDenomsMetadataRequestAmino {
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryDenomsMetadataRequestAminoMsg {
type: "cosmos-sdk/QueryDenomsMetadataRequest";
value: QueryDenomsMetadataRequestAmino;
}
/**
* QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC
* method.
* @name QueryDenomsMetadataResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomsMetadataResponse
*/
export interface QueryDenomsMetadataResponse {
/**
* metadata provides the client information for all the registered tokens.
*/
metadatas: Metadata[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryDenomsMetadataResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataResponse";
value: Uint8Array;
}
/**
* QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC
* method.
* @name QueryDenomsMetadataResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomsMetadataResponse
*/
export interface QueryDenomsMetadataResponseAmino {
/**
* metadata provides the client information for all the registered tokens.
*/
metadatas: MetadataAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryDenomsMetadataResponseAminoMsg {
type: "cosmos-sdk/QueryDenomsMetadataResponse";
value: QueryDenomsMetadataResponseAmino;
}
/**
* QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.
* @name QueryDenomMetadataRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomMetadataRequest
*/
export interface QueryDenomMetadataRequest {
/**
* denom is the coin denom to query the metadata for.
*/
denom: string;
}
export interface QueryDenomMetadataRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataRequest";
value: Uint8Array;
}
/**
* QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.
* @name QueryDenomMetadataRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomMetadataRequest
*/
export interface QueryDenomMetadataRequestAmino {
/**
* denom is the coin denom to query the metadata for.
*/
denom: string;
}
export interface QueryDenomMetadataRequestAminoMsg {
type: "cosmos-sdk/QueryDenomMetadataRequest";
value: QueryDenomMetadataRequestAmino;
}
/**
* QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC
* method.
* @name QueryDenomMetadataResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomMetadataResponse
*/
export interface QueryDenomMetadataResponse {
/**
* metadata describes and provides all the client information for the requested token.
*/
metadata: Metadata;
}
export interface QueryDenomMetadataResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataResponse";
value: Uint8Array;
}
/**
* QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC
* method.
* @name QueryDenomMetadataResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomMetadataResponse
*/
export interface QueryDenomMetadataResponseAmino {
/**
* metadata describes and provides all the client information for the requested token.
*/
metadata: MetadataAmino;
}
export interface QueryDenomMetadataResponseAminoMsg {
type: "cosmos-sdk/QueryDenomMetadataResponse";
value: QueryDenomMetadataResponseAmino;
}
/**
* QueryDenomMetadataByQueryStringRequest is the request type for the Query/DenomMetadata RPC method.
* Identical with QueryDenomMetadataRequest but receives denom as query string.
* @name QueryDenomMetadataByQueryStringRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest
*/
export interface QueryDenomMetadataByQueryStringRequest {
/**
* denom is the coin denom to query the metadata for.
*/
denom: string;
}
export interface QueryDenomMetadataByQueryStringRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest";
value: Uint8Array;
}
/**
* QueryDenomMetadataByQueryStringRequest is the request type for the Query/DenomMetadata RPC method.
* Identical with QueryDenomMetadataRequest but receives denom as query string.
* @name QueryDenomMetadataByQueryStringRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringRequest
*/
export interface QueryDenomMetadataByQueryStringRequestAmino {
/**
* denom is the coin denom to query the metadata for.
*/
denom: string;
}
export interface QueryDenomMetadataByQueryStringRequestAminoMsg {
type: "cosmos-sdk/QueryDenomMetadataByQueryStringRequest";
value: QueryDenomMetadataByQueryStringRequestAmino;
}
/**
* QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC
* method. Identical with QueryDenomMetadataResponse but receives denom as query string in request.
* @name QueryDenomMetadataByQueryStringResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse
*/
export interface QueryDenomMetadataByQueryStringResponse {
/**
* metadata describes and provides all the client information for the requested token.
*/
metadata: Metadata;
}
export interface QueryDenomMetadataByQueryStringResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse";
value: Uint8Array;
}
/**
* QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC
* method. Identical with QueryDenomMetadataResponse but receives denom as query string in request.
* @name QueryDenomMetadataByQueryStringResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomMetadataByQueryStringResponse
*/
export interface QueryDenomMetadataByQueryStringResponseAmino {
/**
* metadata describes and provides all the client information for the requested token.
*/
metadata: MetadataAmino;
}
export interface QueryDenomMetadataByQueryStringResponseAminoMsg {
type: "cosmos-sdk/QueryDenomMetadataByQueryStringResponse";
value: QueryDenomMetadataByQueryStringResponseAmino;
}
/**
* QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query,
* which queries for a paginated set of all account holders of a particular
* denomination.
* @name QueryDenomOwnersRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomOwnersRequest
*/
export interface QueryDenomOwnersRequest {
/**
* denom defines the coin denomination to query all account holders for.
*/
denom: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryDenomOwnersRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersRequest";
value: Uint8Array;
}
/**
* QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query,
* which queries for a paginated set of all account holders of a particular
* denomination.
* @name QueryDenomOwnersRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomOwnersRequest
*/
export interface QueryDenomOwnersRequestAmino {
/**
* denom defines the coin denomination to query all account holders for.
*/
denom: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryDenomOwnersRequestAminoMsg {
type: "cosmos-sdk/QueryDenomOwnersRequest";
value: QueryDenomOwnersRequestAmino;
}
/**
* DenomOwner defines structure representing an account that owns or holds a
* particular denominated token. It contains the account address and account
* balance of the denominated token.
*
* Since: cosmos-sdk 0.46
* @name DenomOwner
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.DenomOwner
*/
export interface DenomOwner {
/**
* address defines the address that owns a particular denomination.
*/
address: string;
/**
* balance is the balance of the denominated coin for an account.
*/
balance: Coin;
}
export interface DenomOwnerProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.DenomOwner";
value: Uint8Array;
}
/**
* DenomOwner defines structure representing an account that owns or holds a
* particular denominated token. It contains the account address and account
* balance of the denominated token.
*
* Since: cosmos-sdk 0.46
* @name DenomOwnerAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.DenomOwner
*/
export interface DenomOwnerAmino {
/**
* address defines the address that owns a particular denomination.
*/
address: string;
/**
* balance is the balance of the denominated coin for an account.
*/
balance: CoinAmino;
}
export interface DenomOwnerAminoMsg {
type: "cosmos-sdk/DenomOwner";
value: DenomOwnerAmino;
}
/**
* QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.
*
* Since: cosmos-sdk 0.46
* @name QueryDenomOwnersResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomOwnersResponse
*/
export interface QueryDenomOwnersResponse {
denomOwners: DenomOwner[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryDenomOwnersResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersResponse";
value: Uint8Array;
}
/**
* QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.
*
* Since: cosmos-sdk 0.46
* @name QueryDenomOwnersResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomOwnersResponse
*/
export interface QueryDenomOwnersResponseAmino {
denom_owners: DenomOwnerAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryDenomOwnersResponseAminoMsg {
type: "cosmos-sdk/QueryDenomOwnersResponse";
value: QueryDenomOwnersResponseAmino;
}
/**
* QueryDenomOwnersByQueryRequest defines the request type for the DenomOwnersByQuery RPC query,
* which queries for a paginated set of all account holders of a particular
* denomination.
*
* Since: cosmos-sdk 0.50.3
* @name QueryDenomOwnersByQueryRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest
*/
export interface QueryDenomOwnersByQueryRequest {
/**
* denom defines the coin denomination to query all account holders for.
*/
denom: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryDenomOwnersByQueryRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest";
value: Uint8Array;
}
/**
* QueryDenomOwnersByQueryRequest defines the request type for the DenomOwnersByQuery RPC query,
* which queries for a paginated set of all account holders of a particular
* denomination.
*
* Since: cosmos-sdk 0.50.3
* @name QueryDenomOwnersByQueryRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomOwnersByQueryRequest
*/
export interface QueryDenomOwnersByQueryRequestAmino {
/**
* denom defines the coin denomination to query all account holders for.
*/
denom: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryDenomOwnersByQueryRequestAminoMsg {
type: "cosmos-sdk/QueryDenomOwnersByQueryRequest";
value: QueryDenomOwnersByQueryRequestAmino;
}
/**
* QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query.
*
* Since: cosmos-sdk 0.50.3
* @name QueryDenomOwnersByQueryResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse
*/
export interface QueryDenomOwnersByQueryResponse {
denomOwners: DenomOwner[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryDenomOwnersByQueryResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse";
value: Uint8Array;
}
/**
* QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query.
*
* Since: cosmos-sdk 0.50.3
* @name QueryDenomOwnersByQueryResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryDenomOwnersByQueryResponse
*/
export interface QueryDenomOwnersByQueryResponseAmino {
denom_owners: DenomOwnerAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryDenomOwnersByQueryResponseAminoMsg {
type: "cosmos-sdk/QueryDenomOwnersByQueryResponse";
value: QueryDenomOwnersByQueryResponseAmino;
}
/**
* QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries.
*
* Since: cosmos-sdk 0.47
* @name QuerySendEnabledRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySendEnabledRequest
*/
export interface QuerySendEnabledRequest {
/**
* denoms is the specific denoms you want look up. Leave empty to get all entries.
*/
denoms: string[];
/**
* pagination defines an optional pagination for the request. This field is
* only read if the denoms field is empty.
*/
pagination?: PageRequest;
}
export interface QuerySendEnabledRequestProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QuerySendEnabledRequest";
value: Uint8Array;
}
/**
* QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries.
*
* Since: cosmos-sdk 0.47
* @name QuerySendEnabledRequestAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySendEnabledRequest
*/
export interface QuerySendEnabledRequestAmino {
/**
* denoms is the specific denoms you want look up. Leave empty to get all entries.
*/
denoms: string[];
/**
* pagination defines an optional pagination for the request. This field is
* only read if the denoms field is empty.
*/
pagination?: PageRequestAmino;
}
export interface QuerySendEnabledRequestAminoMsg {
type: "cosmos-sdk/QuerySendEnabledRequest";
value: QuerySendEnabledRequestAmino;
}
/**
* QuerySendEnabledResponse defines the RPC response of a SendEnable query.
*
* Since: cosmos-sdk 0.47
* @name QuerySendEnabledResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySendEnabledResponse
*/
export interface QuerySendEnabledResponse {
sendEnabled: SendEnabled[];
/**
* pagination defines the pagination in the response. This field is only
* populated if the denoms field in the request is empty.
*/
pagination?: PageResponse;
}
export interface QuerySendEnabledResponseProtoMsg {
typeUrl: "/cosmos.bank.v1beta1.QuerySendEnabledResponse";
value: Uint8Array;
}
/**
* QuerySendEnabledResponse defines the RPC response of a SendEnable query.
*
* Since: cosmos-sdk 0.47
* @name QuerySendEnabledResponseAmino
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySendEnabledResponse
*/
export interface QuerySendEnabledResponseAmino {
send_enabled: SendEnabledAmino[];
/**
* pagination defines the pagination in the response. This field is only
* populated if the denoms field in the request is empty.
*/
pagination?: PageResponseAmino;
}
export interface QuerySendEnabledResponseAminoMsg {
type: "cosmos-sdk/QuerySendEnabledResponse";
value: QuerySendEnabledResponseAmino;
}
/**
* QueryBalanceRequest is the request type for the Query/Balance RPC method.
* @name QueryBalanceRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryBalanceRequest
*/
export declare const QueryBalanceRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryBalanceRequest;
isAmino(o: any): o is QueryBalanceRequestAmino;
encode(message: QueryBalanceRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryBalanceRequest;
fromPartial(object: DeepPartial<QueryBalanceRequest>): QueryBalanceRequest;
fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest;
toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino;
fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest;
toAminoMsg(message: QueryBalanceRequest): QueryBalanceRequestAminoMsg;
fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest;
toProto(message: QueryBalanceRequest): Uint8Array;
toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryBalanceResponse is the response type for the Query/Balance RPC method.
* @name QueryBalanceResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryBalanceResponse
*/
export declare const QueryBalanceResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryBalanceResponse;
isAmino(o: any): o is QueryBalanceResponseAmino;
encode(message: QueryBalanceResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryBalanceResponse;
fromPartial(object: DeepPartial<QueryBalanceResponse>): QueryBalanceResponse;
fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse;
toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino;
fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse;
toAminoMsg(message: QueryBalanceResponse): QueryBalanceResponseAminoMsg;
fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse;
toProto(message: QueryBalanceResponse): Uint8Array;
toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
* @name QueryAllBalancesRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryAllBalancesRequest
*/
export declare const QueryAllBalancesRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryAllBalancesRequest;
isAmino(o: any): o is QueryAllBalancesRequestAmino;
encode(message: QueryAllBalancesRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryAllBalancesRequest;
fromPartial(object: DeepPartial<QueryAllBalancesRequest>): QueryAllBalancesRequest;
fromAmino(object: QueryAllBalancesRequestAmino): QueryAllBalancesRequest;
toAmino(message: QueryAllBalancesRequest): QueryAllBalancesRequestAmino;
fromAminoMsg(object: QueryAllBalancesRequestAminoMsg): QueryAllBalancesRequest;
toAminoMsg(message: QueryAllBalancesRequest): QueryAllBalancesRequestAminoMsg;
fromProtoMsg(message: QueryAllBalancesRequestProtoMsg): QueryAllBalancesRequest;
toProto(message: QueryAllBalancesRequest): Uint8Array;
toProtoMsg(message: QueryAllBalancesRequest): QueryAllBalancesRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
* method.
* @name QueryAllBalancesResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryAllBalancesResponse
*/
export declare const QueryAllBalancesResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryAllBalancesResponse;
isAmino(o: any): o is QueryAllBalancesResponseAmino;
encode(message: QueryAllBalancesResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryAllBalancesResponse;
fromPartial(object: DeepPartial<QueryAllBalancesResponse>): QueryAllBalancesResponse;
fromAmino(object: QueryAllBalancesResponseAmino): QueryAllBalancesResponse;
toAmino(message: QueryAllBalancesResponse): QueryAllBalancesResponseAmino;
fromAminoMsg(object: QueryAllBalancesResponseAminoMsg): QueryAllBalancesResponse;
toAminoMsg(message: QueryAllBalancesResponse): QueryAllBalancesResponseAminoMsg;
fromProtoMsg(message: QueryAllBalancesResponseProtoMsg): QueryAllBalancesResponse;
toProto(message: QueryAllBalancesResponse): Uint8Array;
toProtoMsg(message: QueryAllBalancesResponse): QueryAllBalancesResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QuerySpendableBalancesRequest defines the gRPC request structure for querying
* an account's spendable balances.
*
* Since: cosmos-sdk 0.46
* @name QuerySpendableBalancesRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalancesRequest
*/
export declare const QuerySpendableBalancesRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QuerySpendableBalancesRequest;
isAmino(o: any): o is QuerySpendableBalancesRequestAmino;
encode(message: QuerySpendableBalancesRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QuerySpendableBalancesRequest;
fromPartial(object: DeepPartial<QuerySpendableBalancesRequest>): QuerySpendableBalancesRequest;
fromAmino(object: QuerySpendableBalancesRequestAmino): QuerySpendableBalancesRequest;
toAmino(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestAmino;
fromAminoMsg(object: QuerySpendableBalancesRequestAminoMsg): QuerySpendableBalancesRequest;
toAminoMsg(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestAminoMsg;
fromProtoMsg(message: QuerySpendableBalancesRequestProtoMsg): QuerySpendableBalancesRequest;
toProto(message: QuerySpendableBalancesRequest): Uint8Array;
toProtoMsg(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QuerySpendableBalancesResponse defines the gRPC response structure for querying
* an account's spendable balances.
*
* Since: cosmos-sdk 0.46
* @name QuerySpendableBalancesResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalancesResponse
*/
export declare const QuerySpendableBalancesResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QuerySpendableBalancesResponse;
isAmino(o: any): o is QuerySpendableBalancesResponseAmino;
encode(message: QuerySpendableBalancesResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QuerySpendableBalancesResponse;
fromPartial(object: DeepPartial<QuerySpendableBalancesResponse>): QuerySpendableBalancesResponse;
fromAmino(object: QuerySpendableBalancesResponseAmino): QuerySpendableBalancesResponse;
toAmino(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseAmino;
fromAminoMsg(object: QuerySpendableBalancesResponseAminoMsg): QuerySpendableBalancesResponse;
toAminoMsg(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseAminoMsg;
fromProtoMsg(message: QuerySpendableBalancesResponseProtoMsg): QuerySpendableBalancesResponse;
toProto(message: QuerySpendableBalancesResponse): Uint8Array;
toProtoMsg(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QuerySpendableBalanceByDenomRequest defines the gRPC request structure for
* querying an account's spendable balance for a specific denom.
*
* Since: cosmos-sdk 0.47
* @name QuerySpendableBalanceByDenomRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalanceByDenomRequest
*/
export declare const QuerySpendableBalanceByDenomRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QuerySpendableBalanceByDenomRequest;
isAmino(o: any): o is QuerySpendableBalanceByDenomRequestAmino;
encode(message: QuerySpendableBalanceByDenomRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QuerySpendableBalanceByDenomRequest;
fromPartial(object: DeepPartial<QuerySpendableBalanceByDenomRequest>): QuerySpendableBalanceByDenomRequest;
fromAmino(object: QuerySpendableBalanceByDenomRequestAmino): QuerySpendableBalanceByDenomRequest;
toAmino(message: QuerySpendableBalanceByDenomRequest): QuerySpendableBalanceByDenomRequestAmino;
fromAminoMsg(object: QuerySpendableBalanceByDenomRequestAminoMsg): QuerySpendableBalanceByDenomRequest;
toAminoMsg(message: QuerySpendableBalanceByDenomRequest): QuerySpendableBalanceByDenomRequestAminoMsg;
fromProtoMsg(message: QuerySpendableBalanceByDenomRequestProtoMsg): QuerySpendableBalanceByDenomRequest;
toProto(message: QuerySpendableBalanceByDenomRequest): Uint8Array;
toProtoMsg(message: QuerySpendableBalanceByDenomRequest): QuerySpendableBalanceByDenomRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QuerySpendableBalanceByDenomResponse defines the gRPC response structure for
* querying an account's spendable balance for a specific denom.
*
* Since: cosmos-sdk 0.47
* @name QuerySpendableBalanceByDenomResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySpendableBalanceByDenomResponse
*/
export declare const QuerySpendableBalanceByDenomResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QuerySpendableBalanceByDenomResponse;
isAmino(o: any): o is QuerySpendableBalanceByDenomResponseAmino;
encode(message: QuerySpendableBalanceByDenomResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QuerySpendableBalanceByDenomResponse;
fromPartial(object: DeepPartial<QuerySpendableBalanceByDenomResponse>): QuerySpendableBalanceByDenomResponse;
fromAmino(object: QuerySpendableBalanceByDenomResponseAmino): QuerySpendableBalanceByDenomResponse;
toAmino(message: QuerySpendableBalanceByDenomResponse): QuerySpendableBalanceByDenomResponseAmino;
fromAminoMsg(object: QuerySpendableBalanceByDenomResponseAminoMsg): QuerySpendableBalanceByDenomResponse;
toAminoMsg(message: QuerySpendableBalanceByDenomResponse): QuerySpendableBalanceByDenomResponseAminoMsg;
fromProtoMsg(message: QuerySpendableBalanceByDenomResponseProtoMsg): QuerySpendableBalanceByDenomResponse;
toProto(message: QuerySpendableBalanceByDenomResponse): Uint8Array;
toProtoMsg(message: QuerySpendableBalanceByDenomResponse): QuerySpendableBalanceByDenomResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
* method.
* @name QueryTotalSupplyRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryTotalSupplyRequest
*/
export declare const QueryTotalSupplyRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryTotalSupplyRequest;
isAmino(o: any): o is QueryTotalSupplyRequestAmino;
encode(message: QueryTotalSupplyRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalSupplyRequest;
fromPartial(object: DeepPartial<QueryTotalSupplyRequest>): QueryTotalSupplyRequest;
fromAmino(object: QueryTotalSupplyRequestAmino): QueryTotalSupplyRequest;
toAmino(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestAmino;
fromAminoMsg(object: QueryTotalSupplyRequestAminoMsg): QueryTotalSupplyRequest;
toAminoMsg(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestAminoMsg;
fromProtoMsg(message: QueryTotalSupplyRequestProtoMsg): QueryTotalSupplyRequest;
toProto(message: QueryTotalSupplyRequest): Uint8Array;
toProtoMsg(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC
* method
* @name QueryTotalSupplyResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QueryTotalSupplyResponse
*/
export declare const QueryTotalSupplyResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryTotalSupplyResponse;
isAmino(o: any): o is QueryTotalSupplyResponseAmino;
encode(message: QueryTotalSupplyResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalSupplyResponse;
fromPartial(object: DeepPartial<QueryTotalSupplyResponse>): QueryTotalSupplyResponse;
fromAmino(object: QueryTotalSupplyResponseAmino): QueryTotalSupplyResponse;
toAmino(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseAmino;
fromAminoMsg(object: QueryTotalSupplyResponseAminoMsg): QueryTotalSupplyResponse;
toAminoMsg(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseAminoMsg;
fromProtoMsg(message: QueryTotalSupplyResponseProtoMsg): QueryTotalSupplyResponse;
toProto(message: QueryTotalSupplyResponse): Uint8Array;
toProtoMsg(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
* @name QuerySupplyOfRequest
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySupplyOfRequest
*/
export declare const QuerySupplyOfRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QuerySupplyOfRequest;
isAmino(o: any): o is QuerySupplyOfRequestAmino;
encode(message: QuerySupplyOfRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QuerySupplyOfRequest;
fromPartial(object: DeepPartial<QuerySupplyOfRequest>): QuerySupplyOfRequest;
fromAmino(object: QuerySupplyOfRequestAmino): QuerySupplyOfRequest;
toAmino(message: QuerySupplyOfRequest): QuerySupplyOfRequestAmino;
fromAminoMsg(object: QuerySupplyOfRequestAminoMsg): QuerySupplyOfRequest;
toAminoMsg(message: QuerySupplyOfRequest): QuerySupplyOfRequestAminoMsg;
fromProtoMsg(message: QuerySupplyOfRequestProtoMsg): QuerySupplyOfRequest;
toProto(message: QuerySupplyOfRequest): Uint8Array;
toProtoMsg(message: QuerySupplyOfRequest): QuerySupplyOfRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
* @name QuerySupplyOfResponse
* @package cosmos.bank.v1beta1
* @see proto type: cosmos.bank.v1beta1.QuerySupplyOfResponse
*/
export declare const QuerySupplyOfResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QuerySupplyOfResponse;
isAmino(o: any): o is QuerySupplyOfResponseAmino;
encode(message: QuerySupplyOfResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QuerySupplyOfResponse;
fromPartial(object: DeepPartial<QuerySupplyOfResponse>): QuerySupplyOfResponse;
fromAmino(object: QuerySupplyOfResponseAmino): QuerySupplyOfResponse;
toAmino(message: QuerySupplyOfResponse): QuerySupplyOfResponseAmino;
fromAminoMsg(object: QuerySupplyOfResponseAminoMsg): QuerySupplyOfResponse;
toAminoMsg(message: QuerySupplyOfResponse): QuerySupplyOfResponseAminoMsg;
fromProtoMsg(message: QuerySupplyOfResponseProtoMsg): QuerySupplyOfRespon