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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "resolve_name"
}
}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. |