Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

getChainId

Environment Imports

import { getChainId } from '@ivem/kit'
import { useChainId } from '@ivem/kit-react'
import { useChainId } from '@ivem/kit-vue'

Usage

import { getChainId } from '@ivem/kit'
 
const chainId = getChainId(config)

Parameters

  • config: Config

Return Type

  • string

Examples

console.log(getChainId(config))

Related