> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solanatracker.io/llms.txt
> Use this file to discover all available pages before exploring further.

# resolveSolDomain

> Forward resolution of a .sol domain name to its owner wallet and name registry account. Supports root domains (name.sol) and one-level subdomains (sub.parent.sol). Twitter/X handles (.twitter TLD) are not supported.

<Tip>
  **⚡ Powered by Solana Ridge DB**

  Forward 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.
</Tip>

<Note>
  This method costs **1 credit** per call.
</Note>


## OpenAPI

````yaml resolvesoldomain post /
openapi: 3.1.0
info:
  title: Solana RPC
  version: 1.0.0
  description: Solana RPC HTTP method reference.
servers:
  - url: https://rpc-mainnet.solanatracker.io
    description: Mainnet RPC endpoint
security: []
paths:
  /:
    post:
      summary: resolveSolDomain
      description: >-
        Forward resolution of a .sol domain name to its owner wallet and name
        registry account. Supports root domains (name.sol) and one-level
        subdomains (sub.parent.sol). Twitter/X handles (.twitter TLD) are not
        supported.
      operationId: resolvesoldomain
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                  description: The JSON-RPC protocol version.
                id:
                  type: string
                  example: '1'
                  default: '1'
                  description: A unique identifier for the request.
                method:
                  type: string
                  enum:
                    - resolveSolDomain
                  example: resolveSolDomain
                  default: resolveSolDomain
                  description: The name of the RPC method to invoke.
                params:
                  type: array
                  minItems: 1
                  maxItems: 1
                  items:
                    type: string
                    description: .sol domain name including TLD.
                    example: solanatracker.sol
            examples:
              default:
                summary: Resolve domain
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: resolveSolDomain
                  params:
                    - solanatracker.sol
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    enum:
                      - '2.0'
                  id:
                    type: string
                  result:
                    type: object
                    properties:
                      context:
                        type: object
                        properties:
                          slot:
                            type: integer
                            example: 423867852
                          apiVersion:
                            type: string
                            example: 3.0.0
                      value:
                        oneOf:
                          - type: object
                            properties:
                              domain:
                                type: string
                              owner:
                                type: string
                                description: Wallet that owns the domain.
                              nameAccount:
                                type: string
                                description: Name registry account public key.
                          - type: 'null'
                            description: Domain not found.
              examples:
                found:
                  summary: Domain resolved
                  value:
                    jsonrpc: '2.0'
                    id: 1
                    result:
                      context:
                        slot: 423867852
                        apiVersion: 3.0.0
                      value:
                        domain: solanatracker.sol
                        owner: 9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p
                        nameAccount: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
                notFound:
                  summary: Domain not found
                  value:
                    jsonrpc: '2.0'
                    id: 1
                    result:
                      context:
                        slot: 423867852
                        apiVersion: 3.0.0
                      value: null
        '400':
          description: Bad Request - Invalid request parameters or malformed request.
        '401':
          description: Unauthorized - Invalid or missing API key.
        '429':
          description: Too Many Requests - Rate limit exceeded.
        '503':
          description: Service Unavailable - The server is temporarily unavailable.
        '504':
          description: Gateway Timeout - The request timed out.
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key

````