Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Index

Constructors

constructor

  • new default(agent: HttpAgent): default
  • Parameters

    • agent: HttpAgent

    Returns default

Properties

Private #agent

#agent: HttpAgent

Private #registry

#registry: ActorSubclass<default>

Private #resolver

#resolver: ActorSubclass<default>

Private #reverseRegistrar

#reverseRegistrar: ActorSubclass<default>

Methods

getICNSCollection

  • getICNSCollection(): Promise<NFTCollection>
  • Returns Promise<NFTCollection>

getICNSMappings

  • getICNSMappings(principalIds: string[]): Promise<{}>
  • Parameters

    • principalIds: string[]

    Returns Promise<{}>

getICNSNames

  • Returns Promise<RecordExt[]>

getICNSReverseResolvedName

  • getICNSReverseResolvedName(principalId?: string): Promise<undefined | string>
  • Parameters

    • Optional principalId: string

    Returns Promise<undefined | string>

resetNameRecordData

  • resetNameRecordData(name: string): Promise<void>
  • Parameters

    • name: string

    Returns Promise<void>

resolveName

  • resolveName(name: string, isICP: boolean): Promise<undefined | string>
  • Parameters

    • name: string
    • isICP: boolean

    Returns Promise<undefined | string>

setICNSReverseResolvedName

  • setICNSReverseResolvedName(name: string): Promise<string>
  • Parameters

    • name: string

    Returns Promise<string>

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Constructor
  • Method
  • Interface
  • Interface with type parameter
  • Enumeration
  • Private property