gRPCReverseLookupName

sui-mainnet.nodit.io:443 sui.rpc.v2.NameService/ReverseLookupNameunary

Performs a reverse lookup on a Sui address to find the associated SuiNS name.

TransportgRPC

Request and response messages are identical for both transports. Only the wire protocol, headers, and client library differ.

Protocol
Native gRPC over HTTP/2 with TLS. Suited to server-side clients and grpcurl.
Content-Type
application/grpc
Headers
x-api-key
Streaming
Server, client, and bidirectional streaming are all supported.
Errors
grpc-status and grpc-message are delivered as HTTP/2 trailers.
Request Body
addressstringrequired

Required. The address to perform a reverse lookup for.

Responses
idstring

Record ID.

namestring

SuiNS name.

registration_nft_idstring

RegistrationNFT ID.

expiration_timestampstring

Expiration timestamp.

target_addressstring

Resolved target address.

dataobject[]

Additional data entries.

keystring

Entry key.

valuestring

Entry value.

X-API-KEY
RequestCU30
grpcurl
grpcurl \
  -import-path . -proto sui/rpc/v2/name_service.proto \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -d '{
  "address": "0x0000000000000000000000000000000000000000000000000000000000000001"
}' \
  sui-mainnet.nodit.io:443 sui.rpc.v2.NameService/ReverseLookupName
Response
Example · 200
{
  "record": {}
}