ENSNode

Resolve ENS Records

Resolves ENS records for a given name, including addresses, text records, and other metadata.

Query Parameters

  • addresses - Comma-separated list of coin type IDs (e.g., 60 for ETH, 0 for BTC)
  • texts - Comma-separated list of text record keys (e.g., avatar, com.twitter)
  • name - Set to true to include name resolution
  • trace - Set to true to include resolution trace information
  • accelerate - Set to true to attempt real-time acceleration

Examples

Resolve address records (ETH and BTC)

GET /records/example.eth?addresses=60,0

Resolve text records (avatar and Twitter)

GET /records/example.eth?texts=avatar,com.twitter

Combined resolution

GET /records/example.eth?name=true&addresses=60,0&texts=avatar,com.twitter
GET
/api/resolve/records/{name}

Path Parameters

name*string

Query Parameters

name?string
addresses?string
texts?string
trace?string
accelerate?string

Response Body

application/json

curl -X GET "http://localhost:4334/api/resolve/records/string"
{
  "records": {
    "name": "string",
    "addresses": {
      "property1": "string",
      "property2": "string"
    },
    "texts": {
      "property1": "string",
      "property2": "string"
    }
  },
  "accelerationRequested": true,
  "accelerationAttempted": true,
  "trace": null
}