Extracts a profile from an encoded token and optionally verifies it, if publicKeyOrAddress is provided.
publicKeyOrAddress
the token to be extracted
the public key or address of the keypair that is thought to have signed the token
Generated using TypeDoc
Extracts a profile from an encoded token and optionally verifies it, if
publicKeyOrAddress
is provided.Returns
Throws
publicKeyOrAddress