dero_name_to_address
Resolve a registered DERO name to its on-chain address when given a human-readable name instead of a dero1/deto1 address. Use topoheight -1 to query the latest registry state.
Instructions
Resolve a DERO on-chain registered name to its address via DERO.NameToAddress.
When to call: when a user supplies a human-readable name (e.g. "myname") instead of a dero1.../deto1... address.
Input Requirements (CRITICAL):
nameMUST be a non-empty string. Resolution is case-sensitive on the daemon side.topoheightMUST be an integer; use-1for the latest registry state.
Output: { name, address }. On NOT_FOUND the daemon's RPC error is surfaced as a structured _meta.error.
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>",
"topoheight": "<topoheight>"
},
"name": "dero_name_to_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Registered name | |
| topoheight | Yes | Use -1 for latest |