Resolve an Aptos name (.apt)
aptos_name_resolveRead-only
[PAID $0.001 USDC per call via x402] name -> address, or address -> primary name (give exactly one). A name resolves to its TARGET address, which can differ from its owner; a registered name with no target resolves to nothing (NOT_FOUND) and its owner is never substituted. An address's primary name is returned only if that name resolves forward to the same address, so a spoofed reverse record is never trusted.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| chain | No | Aptos CAIP-2 id: aptos:1 (mainnet, default) or aptos:2 (testnet) | |
| address | No |