Function verifyProfileToken

  • Verifies a profile token


    • token: string

      the token to be verified

    • publicKeyOrAddress: string

      the public key or address of the keypair that is thought to have signed the token

    Returns TokenInterface

    • the verified, decoded profile token


    • throws an error if token verification fails

Generated using TypeDoc