@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).
17 lines • 800 B
TypeScript
import { Chain, Chains } from "@coinmeca/wallet-sdk/types";
export declare const chainlist: Chains;
export declare function parseChainId(chain: number | string | Chain): number;
export declare function formatChainId(chain: number | string | Chain): string;
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