Skip to main content

Reverse Lookup Name

Resolves an address to SuiNS names.

Service​

sui.rpc.v2.NameService

Parity​

Direct

This method has a direct mapping from the JSON-RPC method suix_resolveNameServiceNames.

Request​

Parameters​

{
"address": "0x9b1c32507cbb2dd34dc46fc02550e61434c36d3d1f3830c9903bb61c06d237da"
}

Example (grpcurl)​

grpcurl -H "x-api-key: YOUR_API_KEY" \
-d '{"address":"0x9b1c32507cbb2dd34dc46fc02550e61434c36d3d1f3830c9903bb61c06d237da"}' \
grpc.surflux.dev:443 \
sui.rpc.v2.NameService/ReverseLookupName
▶Run in Playground

Response​

The response structure is defined by the sui/rpc/v2/name_service.proto definition.

Response Fields​

FieldTypeDescription
recordNameRecordSee proto definition
info

For full field definitions, please refer to the Sui Protobuf definitions.