UNPKG

@particle-network/connectkit

Version:
4 lines (3 loc) 251 B
import type { Config } from '../createConfig'; export type GetChainIdReturnType<config extends Config = Config> = config['chains'][number]['id']; export declare function getChainId<config extends Config>(config: config): GetChainIdReturnType<config>;