getPrimaryDomain
SNS Domains
getPrimaryDomain
Returns the primary .sol domain for a wallet (Solscan-style favourite domain). Resolves in a single RPC call instead of chaining getAccountInfo / getMultipleAccounts.
POST
getPrimaryDomain
This method costs 1 credit per call.
Authorizations
Body
application/json
The JSON-RPC protocol version.
Available options:
2.0 Example:
"2.0"
A unique identifier for the request.
Example:
"1"
The name of the RPC method to invoke.
Available options:
getPrimaryDomain Example:
"getPrimaryDomain"
Required array length:
1 elementWallet public key.