Constructors
constructor
- new default(agent: HttpAgent): default
-
Parameters
Properties
Private #agent
#agent: HttpAgent
Private #registry
Private #resolver
Private #reverseRegistrar
#reverse
Registrar: ActorSubclass<default>
Methods
getICNSCollection
- getICNSCollection(): Promise<NFTCollection>
-
Returns Promise<NFTCollection>
getICNSMappings
- getICNSMappings(principalIds: string[]): Promise<{}>
-
Parameters
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
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
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