SuiNS name and address
suiResolveNameResolve a SuiNS name (something.sui) to the address it points at, or an address back to its name. Give exactly one of name or address.
READ status BEFORE the record. It is one of: resolved, the registration is live and the record is good; expired, the registration lapsed and the record — target address included — is returned but must not be trusted as a destination; no_target_address, the name is registered and points nowhere; not_registered, the registry holds no record. All four are answers, not errors.
Reverse is NOT the inverse: an address answers with its OWN default name, which need not be a name pointing at it.
One record comes back, so nothing is capped, truncated or paged. Only .sui names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| address | No |