> For the complete documentation index, see [llms.txt](https://docs.sns.id/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sns.id/dev/sns-api/sns-quicknode-api/sns_resolvedomain.md).

# sns\_resolveDomain

Returns the resolved Solana Public key associated to a domain.

### Parameters <a href="#parameters" id="parameters"></a>

* **domain** `string` *required*: The domain name to resolve.

### Result <a href="#result" id="result"></a>

The result will be an RPCResponse JSON object with field:

* **value** `string`: The base-58 encoded Solana Public Key the domain resolves to.

### Example <a href="#example" id="example"></a>

```json
{
  "jsonrpc": "2.0",
  "method": "sns_resolveDomain",
  "params": [
    "bonfida.sol"
  ],
  "id": 42
}
```

```json
{
  "jsonrpc": "2.0",
  "result": "HKKp49qGWXd639QsuH7JiLijfVW5UtCVY4s1n2HANwEA",
  "id": 42
}
```

[<br>](https://sns.guide/sns-quicknode/sns_getSupportedRecords.html)
