Skip to main content

domains

The domains command lists reverse-resolved top-level .sns domains owned directly in the name registry by each requested wallet.

Usage

sns [--url <URL>] domains <OWNER_PUBKEY>...

Arguments

<OWNER_PUBKEY>...

Required. One or more base58 wallet public keys, processed in the order they are provided.

Options

-u, --url <URL>

Use this RPC endpoint instead of RPC_URL or the default public mainnet-beta endpoint at https://api.mainnet-beta.solana.com.

Output

The command prints a table with these columns:

ColumnDescription
DomainA reverse-resolved domain displayed with a .sns suffix.
OwnerThe requested wallet public key.
LinkA naming-site link for the domain.

The result covers direct top-level registry ownership. It does not include subdomains, tokenized domains controlled through NFTs, or domains without reverse data.