UtilityLive Preview
ENS Resolver
ENS name resolution with search input, resolved result display, avatar, copy buttons, and bidirectional lookup.
ensdomainresolver
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
onResolve | (result: ENSResult) => void | — | Called with resolution result |
resolver | (input: string) => Promise<ENSResult> | — | Custom resolver function — parent provides the lookup logic |
defaultValue | string | — | Pre-filled search value |
loading | boolean | false | Show loading state |
className | string | — | Additional CSS classes |