Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Profile

Hierarchy

Index

Constructors

constructor

  • new Profile(profile?: object): Profile

Properties

_profile

_profile: object

Type declaration

  • [key: string]: any

Methods

toJSON

  • toJSON(): object

toToken

  • toToken(privateKey: string): any

Static fromToken

  • fromToken(token: string, publicKeyOrAddress?: string | null): Profile

Static makeZoneFile

  • makeZoneFile(domainName: string, tokenFileURL: string): any

Static validateProofs

  • validateProofs(domainName: string): Promise<any[]>

Static validateSchema

  • validateSchema(profile: any, strict?: boolean): any
  • Parameters

    • profile: any
    • Default value strict: boolean = false

    Returns any

Generated using TypeDoc