Resolve name service entry
resolve_nameResolve a Thru name service entry to its on-chain account. Accepts a root name or subdomain.root, derives the program address, and returns the owner and stored records.
Instructions
Resolve a Thru name service entry to its on-chain account. Accepts a root registrar name or a subdomain.root pair, derives the program address and decodes the account, returning the owner and any stored records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name to resolve. Either a root registrar (`megaelena`) or a subdomain (`wagmiolga.megaelena`). | |
| record | No | Optional record key to read from a resolved domain (for example `address`). Ignored for root registrars. |