availableChainIds
An array of supported chain IDs.
Usage
import { availableChainIds } from '@ethereum-tag-service/contracts'
console.log(availableChainIds)
// @log: Output: ["84532", "31337"]
Returns
SupportedChainId[]
Array of supported chain ID strings.
Examples
import { availableChainIds } from '@ethereum-tag-service/contracts'
// Check if chain is supported
const isSupported = availableChainIds.includes('84532')
// @log: > true
// Iterate over supported chains
availableChainIds.forEach(chainId => {
console.log(chainId)
})
// @log: Output: ["84532", "31337"]