Type aliases
Api
Api: { api: true; url?: undefined | string }
Type declaration
-
api: true
-
Optional url?: undefined | string
AutoNetworkConfigs
Auto
NetworkConfigs: { cns?: { url: string } | { provider: Provider }; ens?: { url: string } | { provider: Provider } }
Type declaration
-
Optional cns?: { url: string } | { provider: Provider }
-
Optional ens?: { url: string } | { provider: Provider }
CnsSupportedNetworks
CnsSupportedNetworks: typeof type
ConfigurationErrorOptions
Configuration
ErrorOptions: { dependency?: undefined | string; method?: ResolutionMethod; version?: undefined | string }
Type declaration
-
Optional dependency?: undefined | string
-
-
Optional version?: undefined | string
CryptoRecords
CryptoRecords: Record<string, string>
DnsRecordsErrorHandler
Type declaration
-
-
Parameters
Returns string
DomainData
Domain
Data: { owner: string; records: CryptoRecords; resolver: string }
Type declaration
-
owner: string
-
-
resolver: string
EnsSupportedNetworks
EnsSupportedNetworks: typeof type
NamehashOptions
NamehashOptions: { format?: "dec" | "hex"; prefix?: undefined | false | true }
Type declaration
-
Optional Readonly format?: "dec" | "hex"
-
Optional Readonly prefix?: undefined | false | true
NamingServiceSource
Naming
ServiceSource: { url?: undefined | string } | { provider?: Provider }
ResolutionErrorOptions
Resolution
ErrorOptions: { currencyTicker?: undefined | string; domain?: undefined | string; method?: ResolutionMethod; methodName?: undefined | string; namingService?: undefined | string; providerMessage?: undefined | string; recordName?: undefined | string }
Type declaration
-
Optional currencyTicker?: undefined | string
-
Optional domain?: undefined | string
-
-
Optional methodName?: undefined | string
-
Optional namingService?: undefined | string
-
Optional providerMessage?: undefined | string
-
Optional recordName?: undefined | string
ResolutionResponse
ResolutionResponse: { addresses: {}; meta: { namehash: string; owner: string | null; resolver: string; ttl: number; type: string }; records: {} }
Type declaration
-
addresses: {}
-
meta: { namehash: string; owner: string | null; resolver: string; ttl: number; type: string }
-
namehash: string
-
owner: string | null
-
resolver: string
-
ttl: number
-
type: string
-
records: {}
ZnsSupportedNetworks
ZnsSupportedNetworks: typeof type
Explains Resolution Error options