Functions: publicKeyOptionUtils
A collection of utility functions for converting between PublicKey and KeysetEndpoint
Table of contents
convertToPublicKeyOption
â–¸ convertToPublicKeyOption(item: | ):
Converts a PublicKey or KeysetEndpoint object into a PublicKeyOption structure.
Parameters
Returns
- A structured object containing the tag and value of the public key option
Throws
Error if input is neither a valid PublicKey nor KeysetEndpoint