Package tbdex.sdk.protocol
Class IdUtilsKt
-
- All Implemented Interfaces:
public final class IdUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static UnitvalidateExchangeId(String id)Validates the given exchange ID to ensure it conforms to a specific format and prefix. -
-
Method Detail
-
validateExchangeId
final static Unit validateExchangeId(String id)
Validates the given exchange ID to ensure it conforms to a specific format and prefix.
This function checks if the provided
idis a valid TypeId and whether its prefix matches the expected "rfq" prefix.- Parameters:
id- The exchange ID string that needs to be validated.
-
-
-
-