x402-chainlink
    Preparing search index...

    Function getChainId

    • Get the chain ID for a network

      Parameters

      • network: string

        Network identifier (CAIP-2 format)

      Returns number

      Numeric chain ID

      const chainId = getChainId('eip155:8453');
      console.log(chainId); // 8453