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.,60for ETH,0for BTC)texts- Comma-separated list of text record keys (e.g.,avatar,com.twitter)name- Set totrueto include name resolutiontrace- Set totrueto include resolution trace informationaccelerate- Set totrueto attempt real-time acceleration
Examples
Resolve address records (ETH and BTC)
GET /records/example.eth?addresses=60,0Resolve text records (avatar and Twitter)
GET /records/example.eth?texts=avatar,com.twitterCombined resolution
GET /records/example.eth?name=true&addresses=60,0&texts=avatar,com.twitterPath 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
}