Lookup Name
Resolves a SuiNS name to an address.
Service
sui.rpc.v2.NameService
Parity
Direct
This method has a direct mapping from the JSON-RPC method suix_resolveNameServiceAddress.
Request
Parameters
{
"name": "example.sui"
}
Example (grpcurl)
grpcurl -H "x-api-key: YOUR_API_KEY" \
-d '{"name":"example.sui"}' \
grpc.surflux.dev:443 \
sui.rpc.v2.NameService/LookupName
Response
The response structure is defined by the sui/rpc/v2/name_service.proto definition.
Response Fields
| Field | Type | Description |
|---|---|---|
record | NameRecord | See proto definition |
info
For full field definitions, please refer to the Sui Protobuf definitions.