Skip to main content
POST
getMultiplePrimaryDomains
curl --request POST \
  --url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getMultiplePrimaryDomains",
  "params": [
    [
      "9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p",
      "FMmaHPDL47V1gXsfh9WjgAT7Er3dfDvarQubTU1Jxc1r"
    ]
  ]
}
'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "context": {
      "slot": 423867852,
      "apiVersion": "3.0.0"
    },
    "value": {
      "results": [
        {
          "wallet": "9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p",
          "domain": "solanatracker.sol"
        },
        {
          "wallet": "FMmaHPDL47V1gXsfh9WjgAT7Er3dfDvarQubTU1Jxc1r",
          "domain": null
        }
      ]
    }
  }
}
⚡ Powered by Solana Ridge DBBatch primary .sol domain resolution for up to 100 wallets in one request. Results are returned in the same order as the input wallet list.Ideal for dashboards, leaderboards, and any UI that displays wallet identity at scale without making individual SNS resolution calls.
This method costs 1 credit per call.

Authorizations

api_key
string
query
required

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
default:1
required

A unique identifier for the request.

Example:

"1"

method
enum<string>
default:getMultiplePrimaryDomains
required

The name of the RPC method to invoke.

Available options:
getMultiplePrimaryDomains
Example:

"getMultiplePrimaryDomains"

params
string[][]
required
Required array length: 1 element

Array of wallet public keys (max 100).

Required array length: 1 - 100 elements

Response

Successful response.

jsonrpc
enum<string>
Available options:
2.0
id
string
result
object