sns_getAllDomainsForOwner
Returns the list of SNS domains currently owned by a given account.
Parameters
owner
stringrequired: A base58-encoded Solana Pubkey.
Result
The result will be an RPCResponse JSON object with field:
result
Domain[]: A list ofDomainobjects
The Domain Object contains two fields :
name
string: The domain namekey
string: The domain's base-58 encoded public key
Example
{
"jsonrpc": "2.0",
"method": "sns_getAllDomainsForOwner",
"params": [
"HKKp49qGWXd639QsuH7JiLijfVW5UtCVY4s1n2HANwEA"
],
"id": 42
}Last updated