Options
All
  • Public
  • Public/Protected
  • All
Menu

Unstoppabledomains resolution library

Index

Type aliases

API

API: { url: string }

Type declaration

  • url: string

Blockchain

Blockchain: { cns?: NamingServiceSource; ens?: NamingServiceSource; web3Provider?: Provider; zns?: NamingServiceSource }

Main configurational object for Resolution instance

Type declaration

ConfigurationErrorOptions

ConfigurationErrorOptions: { method?: ResolutionMethod }

Explains Resolution Error options

Type declaration

NamingServiceSource

NamingServiceSource: string | boolean | SourceDefinition

NamingServiceSource just an alias

ProviderMethod

ProviderMethod: (payload: JsonRpcPayload, callback: (error: Error | null, result?: JsonRpcResponse) => void) => void

Type declaration

ResolutionErrorOptions

ResolutionErrorOptions: { currencyTicker?: undefined | string; domain?: undefined | string; method?: ResolutionMethod; methodName?: undefined | string; providerMessage?: undefined | string; recordName?: undefined | string }

Explains Resolution Error options

Type declaration

  • Optional currencyTicker?: undefined | string
  • Optional domain?: undefined | string
  • Optional method?: ResolutionMethod
  • Optional methodName?: undefined | string
  • Optional providerMessage?: undefined | string
  • Optional recordName?: undefined | string

ResolutionMethod

ResolutionMethod: NamingServiceName | "UDAPI"

ResolutionResponse

ResolutionResponse: { addresses: {}; gundb?: undefined | { public_key?: undefined | string; username?: undefined | string }; ipfs?: undefined | { html?: undefined | string; redirect_domain?: undefined | string }; meta: { owner: string | null; ttl: number; type: string }; records?: undefined | {}; whois?: undefined | { email?: undefined | string; for_sale?: undefined | false | true } }

ResolutionResulution

property

{Object} addresses - Resolution addresses for various currency addresses attached to the domain

property

{Object} meta - meta information about the owner of the domain

Type declaration

  • addresses: {}
    • [key: string]: string
  • Optional gundb?: undefined | { public_key?: undefined | string; username?: undefined | string }
  • Optional ipfs?: undefined | { html?: undefined | string; redirect_domain?: undefined | string }
  • meta: { owner: string | null; ttl: number; type: string }
    • owner: string | null
    • ttl: number
    • type: string
  • Optional records?: undefined | {}
  • Optional whois?: undefined | { email?: undefined | string; for_sale?: undefined | false | true }

Variables

Const UDApiDefaultUrl

UDApiDefaultUrl: "https://unstoppabledomains.com/api/v1" = "https://unstoppabledomains.com/api/v1"

Const UNCLAIMED_DOMAIN_RESPONSE

UNCLAIMED_DOMAIN_RESPONSE: { addresses: {}; gundb?: undefined | { public_key?: undefined | string; username?: undefined | string }; ipfs?: undefined | { html?: undefined | string; redirect_domain?: undefined | string }; meta: { owner: string | null; ttl: number; type: string }; records?: undefined | {}; whois?: undefined | { email?: undefined | string; for_sale?: undefined | false | true } } = UnclaimedDomainResponse
deprecated

Use UnclaimedDomainResponse instead (deprecated since 0.3.4)

Type declaration

  • addresses: {}
    • [key: string]: string
  • Optional gundb?: undefined | { public_key?: undefined | string; username?: undefined | string }
  • Optional ipfs?: undefined | { html?: undefined | string; redirect_domain?: undefined | string }
  • meta: { owner: string | null; ttl: number; type: string }
    • owner: string | null
    • ttl: number
    • type: string
  • Optional records?: undefined | {}
  • Optional whois?: undefined | { email?: undefined | string; for_sale?: undefined | false | true }

Object literals

Const DefaultAPI

DefaultAPI: object

url

url: string = UDApiDefaultUrl

Const UnclaimedDomainResponse

UnclaimedDomainResponse: object

addresses

addresses: {}

Type declaration

meta

meta: object

owner

owner: null = null

ttl

ttl: number = 0

type

type: string = ""

Generated using TypeDoc