x402-chainlink
    Preparing search index...

    Function isEVMNetwork

    • Check if a string is a valid EVM network identifier

      Parameters

      • network: string

        String to check

      Returns network is EVMNetworkId

      True if the string is a valid EVM network identifier

      if (isEVMNetwork(userInput)) {
      // userInput is now typed as EVMNetworkId
      const config = getNetworkConfig(userInput);
      }