Skip to main content
POST
getAllDomains
curl --request POST \
  --url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getAllDomains",
  "params": [
    "9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p"
  ]
}
'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "context": {
      "slot": 423867852,
      "apiVersion": "3.0.0"
    },
    "value": {
      "wallet": "9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p",
      "domains": [
        "solanatracker.sol",
        "othername.sol"
      ]
    }
  }
}
⚡ Powered by Solana Ridge DBReturns all .sol domain names owned by a wallet, including direct ownership and tokenized NFT domains. Use this when you need the full domain portfolio for a wallet, not just the primary favourite.
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:getAllDomains
required

The name of the RPC method to invoke.

Available options:
getAllDomains
Example:

"getAllDomains"

params
string[]
required
Required array length: 1 element

Wallet public key.

Response

Successful response.

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