Check the valid chain ID to change the chainId to network '0x'-prefixed string. (default: ethereum)

  • Parameters

    • chainId: unknown

      The chain ID to validate.

    • OptionalwithoutCache: boolean

    Returns Promise<string>

    network e.g) ethereum, klaytn