@coinmeca/wallet-provider
Version:
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
18 lines • 876 B
TypeScript
import { formatChainId as sdkFormatChainId, parseChainId as sdkParseChainId } from "@coinmeca/wallet-sdk/utils";
import { Chain, Chains } from "@coinmeca/wallet-sdk/types";
export declare const chainlist: Chains;
export declare const parseChainId: typeof sdkParseChainId;
export declare const formatChainId: typeof sdkFormatChainId;
export declare function getChain(chainName: string): {
mainnet?: Chain | undefined;
testnet?: {
[key: string]: Chain | undefined;
} | undefined;
devnet?: {
[key: string]: Chain | undefined;
} | undefined;
} | undefined;
export declare function getChainsByType(type: "mainnet" | "testnet" | "devnet"): Chain[];
export declare function getChainByName(chainName: string): Chain | undefined;
export declare function getChainById(chainId: number | string): Chain | undefined;
//# sourceMappingURL=chains.d.ts.map