Skip to main content

GET /multiple-favorite-domains/:owners

Return the same positional results as GET /multiple-primary-domains/:owners.

Request

GET /multiple-favorite-domains/:owners

Path parameters

owners

Required. A comma-separated list of 1 to 100 base58 wallet public keys. Each value is trimmed before validation.

Query parameters

rpc

Optional. A non-empty Solana RPC URL that overrides the proxy Worker's RPC_URL binding for this request.

Response

A successful request returns 200 OK:

type MultipleFavoriteDomainsResponse = {
s: "ok";
result: Array<string | null>;
};

Results follow the input order. Each string is a TLD-less primary-domain name; null preserves a missing or stale result.

Example

curl "https://sdk-proxy-v2.sns.id/multiple-favorite-domains/<FIRST_OWNER_PUBLIC_KEY>,<SECOND_OWNER_PUBLIC_KEY>"
{
"s": "ok",
"result": ["first-name", null]
}

Errors

StatusresultWhen
400Invalid inputThe list size is invalid or any owner is not a public key.
502RPC unavailableThe selected RPC returns a JSON-RPC error.
500Internal errorNo RPC is configured, or another failure occurs.

Status

Compatibility alias. New integrations should use GET /multiple-primary-domains/:owners.