Type aliases
Api
Api: { api: true; network?: undefined | number; url?: undefined | string }
Type declaration
-
api: true
-
Optional network?: undefined | number
-
Optional url?: undefined | string
AutoNetworkConfigs
Auto
NetworkConfigs: { ens?: { url: string } | { provider: Provider }; uns?: undefined | { locations: { Layer1: { url: string } | { provider: Provider }; Layer2: { url: string } | { provider: Provider } } }; zns?: { url: string } | { provider: Provider } }
Type declaration
-
Optional ens?: { url: string } | { provider: Provider }
-
Optional uns?: undefined | { locations: { Layer1: { url: string } | { provider: Provider }; Layer2: { url: string } | { provider: Provider } } }
-
Optional zns?: { url: string } | { provider: Provider }
ConfigurationErrorOptions
Configuration
ErrorOptions: { config?: undefined | string; dependency?: undefined | string; field?: undefined | string; method?: ResolutionMethod; version?: undefined | string }
Type declaration
-
Optional config?: undefined | string
-
Optional dependency?: undefined | string
-
Optional field?: undefined | string
-
-
Optional version?: undefined | string
CryptoRecords
CryptoRecords: Record<string, string>
DnsRecordsErrorHandler
Type declaration
-
-
Parameters
Returns string
DomainData
Type declaration
-
-
owner: string
-
-
resolver: string
DomainLocation
Domain
Location: { blockchain: BlockchainType; blockchainProviderUrl: string; networkId: number; ownerAddress: string; registryAddress: string; resolverAddress: string }
Type declaration
-
-
blockchainProviderUrl: string
-
networkId: number
-
ownerAddress: string
-
registryAddress: string
-
resolverAddress: string
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; errorMessage?: undefined | string; location?: UnsLocation; method?: ResolutionMethod; methodName?: undefined | string; namingService?: undefined | string; providerMessage?: undefined | string; recordName?: undefined | string; tokenUri?: undefined | string }
Type declaration
-
Optional currencyTicker?: undefined | string
-
Optional domain?: undefined | string
-
Optional errorMessage?: undefined | string
-
-
-
Optional methodName?: undefined | string
-
Optional namingService?: undefined | string
-
Optional providerMessage?: undefined | string
-
Optional recordName?: undefined | string
-
Optional tokenUri?: 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: {}
TokenUriMetadataAttribute
TokenUriMetadataAttribute: { value: string | number } | { trait_type: string; value: string | number } | { display_type: "number" | "date" | "boost_number" | "boost_percentage" | "ranking"; trait_type: string; value: number }
UnsLayerSource
Uns
LayerSource: NamingServiceSource & { network: string; proxyReaderAddress?: undefined | string }
Explains Resolution Error options