@cyberk/hyperion-sdk
Version:
Hyperion SDK from Cyberk
15 lines (14 loc) • 860 B
TypeScript
import type { QueryOptions } from "@tanstack/query-core";
import { CosmWasmClient } from "@cosmjs/cosmwasm-stargate";
export interface GetRegisteredNativeTokenDecimals {
client?: CosmWasmClient;
factoryAddress?: string;
denom?: string;
}
export declare const getRegisteredNativeTokenDecimalsQueryMsg: ({ denom, }: GetRegisteredNativeTokenDecimals) => {
native_token_decimals: {
denom: string | undefined;
};
};
export declare const getRegisteredNativeTokenDecimalsQueryKey: (options: GetRegisteredNativeTokenDecimals) => readonly ["getRegisteredNativeTokenDecimals", string | undefined, string | undefined];
export declare const getRegisteredNativeTokenDecimals: (options: GetRegisteredNativeTokenDecimals) => QueryOptions<number | undefined, Error, number | undefined, ReturnType<typeof getRegisteredNativeTokenDecimalsQueryKey>>;