SNS Quicknode API

The Solana Name Service Quicknode marketplace plugin accepts requests using the JSON-RPC-2.0 specification over HTTP POST.

This means that it accepts HTTP POST requests with the Content-Type header set to application/json, containing a json payload. For example:

{
    "jsonrpc": "2.0",
    "method": "get_domain_key",
    "params": {
        "domain": "bonfida.sol"
    },
    "id": 5678
}

The response is a JSON object. For example:

{
    "jsonrpc": "2.0",
    "result": "HKKp49qGWXd639QsuH7JiLijfVW5UtCVY4s1n2HANwEA",
    "id": 5678
}

The API supports a variety of methods which are detailed in this chapter.