@web3-wallet/core
Version:
web3-wallet core
10 lines • 509 B
TypeScript
/**
* The largest possible chain ID we can handle.
* Explanation: https://gist.github.com/rekmarks/a47bd5f2525936c4b8eee31a16345553
*/
export declare const MAX_SAFE_CHAIN_ID = 4503599627370476;
export declare const validateChainId: (chainId: number) => never | void;
export declare const isValidChainId: (chainId: number) => boolean;
export declare const parseChainId: (chainId: string | number) => number;
export declare const toHexChainId: (chainId: number) => string;
//# sourceMappingURL=utils.d.ts.map