Properties
Readonly baseUrl
baseUrl: string
Methods
approveSLDRegistration
- approveSLDRegistration(owner, entries, isFeesInDweb?): Promise<SubdomainApproval>
- 
Parameters
- 
owner: string
- 
- 
isFeesInDweb: boolean = false
 
 
approveSelfSLDRegistration
approveTLDRegistration
- approveTLDRegistration(owner, names): Promise<TLDApproval>
- 
Parameters
- 
owner: string
- 
names: string[]
 
 
domainFromHash
- domainFromHash(hash): Promise<null | string>
- 
Returns Promise<null | string>
Private get
- get<R>(path, query): Promise<R>
- 
Parameters
- 
path: string
- 
query: Record<string, string>
 
 Returns Promise<R>
Private getSLDApprovalPayload
- getSLDApprovalPayload(owner, entries, isFeesInDweb?, sender?): SubdomainApprovalPayload
- 
Parameters
- 
owner: string
- 
- 
isFeesInDweb: boolean = false
- 
sender: string = ''
 
 
Private post
- post<R>(path, query, data): Promise<R>
- 
Parameters
- 
path: string
- 
query: Record<string, string>
- 
data: any
 
 Returns Promise<R>
requestPolygonTLDRegistration
- requestPolygonTLDRegistration(payload): Promise<TypedData>
- 
requestSelfSLDRegistration
- requestSelfSLDRegistration(sender, owner, entries, isFeesInDweb?): Promise<{ 
 payload: SubdomainApprovalPayload;
 typedData: TypedData;
 }>
- 
Parameters
- 
sender: string
- 
owner: string
- 
- 
isFeesInDweb: boolean = false
 
 
submitPolygonTLDRegistration
 
 
 
Decentraweb API wrapper. This API is used during registration process. Usually you don't need to use it directly.