Skip to main content
POST
resolveSolDomain
curl --request POST \
  --url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "resolveSolDomain",
  "params": [
    "solanatracker.sol"
  ]
}
'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "context": {
      "slot": 423867852,
      "apiVersion": "3.0.0"
    },
    "value": {
      "domain": "solanatracker.sol",
      "owner": "9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p",
      "nameAccount": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
    }
  }
}
⚡ Powered by Solana Ridge DBForward resolution: .sol domain name → owner wallet and name registry account. Supports root domains (name.sol) and one-level subdomains (sub.parent.sol).Returns null when the domain is not found. Twitter/X handles (.twitter TLD) are not supported.
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:resolveSolDomain
required

The name of the RPC method to invoke.

Available options:
resolveSolDomain
Example:

"resolveSolDomain"

params
string[]
required
Required array length: 1 element

.sol domain name including TLD.

Response

Successful response.

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