Principal
IC principals (User and canister IDs)
Principal
type Principal = Prim.Types.Principal
Internet Computer principal identifiers.
Convert to Blob for access to bytes.
fromActor
let fromActor : (a : actor { }) -> Principal
Conversion.
toBlob
let toBlob : (p : Principal) -> Blob
Conversion.
toText
func toText(p : Principal) : Text
Conversion.
fromText
func fromText(t : Text) : Principal