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
EnsSource
Ens
Source: NamingServiceSource & { network: string; proxyServiceApiKey?: undefined | string; registryAddress?: undefined | string }
NamehashOptions
NamehashOptions: { format?: "dec" | "hex"; prefix?: undefined | false | true; zns?: undefined | false | true }
Type declaration
-
Optional Readonly format?: "dec" | "hex"
-
Optional Readonly prefix?: undefined | false | true
-
Optional Readonly zns?: undefined | false | true
NamingServiceSource
Naming
ServiceSource: { url?: undefined | string } | { provider?: Provider }
ResolutionConfig
Resolution
Config: { apiKey?: undefined | string; sourceConfig?: SourceConfig }
Type declaration
-
Optional apiKey?: undefined | string
-
ResolutionErrorOptions
Resolution
ErrorOptions: { config?: ResolutionConfig; 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
Resolution
Response: { addresses: {}; meta: { blockchain: BlockchainType | null; domain: string; namehash: string; owner: string | null; resolver: string; ttl: number; type: string }; records: {} }
Type declaration
-
addresses: {}
-
meta: { blockchain: BlockchainType | null; domain: string; namehash: string; owner: string | null; resolver: string; ttl: number; type: string }
-
-
domain: string
-
namehash: string
-
owner: string | null
-
resolver: string
-
ttl: number
-
type: string
-
records: {}
ServicesEntry
ServicesEntry: { native: NamingService; usedServices: NamingService[] }
Type declaration
-
native: NamingService
-
usedServices: NamingService[]
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; proxyServiceApiKey?: undefined | string }
Explains Resolution Error options