Skip to main content
Version: 1.16.1

Function: parsePartyId()

parsePartyId(party: string): PartyId

Defined in: canton/addressCodec.ts:29

Validates a string as a Canton party ID.

Parameters​

ParameterType
partystring

Returns​

PartyId

Throws​

CCIPError with code ADDRESS_INVALID if the input is empty or does not match the Canton party ID format.