Parse a CAIP-2 chain ID to an object containing the namespace and reference. This validates the CAIP-2 chain ID before parsing it.
The parsed CAIP-2 chain ID.
The CAIP-2 chain ID to validate and parse.
Parse a CAIP-2 chain ID to an object containing the namespace and reference. This validates the CAIP-2 chain ID before parsing it.
Returns
The parsed CAIP-2 chain ID.