Skip to content

Registry Domains

Enumerate domains under a specific v2 ETH registry contract.
Run in ENSAdmin
GraphQL
query RegistryDomains(
$registry: AccountIdInput!
) {
registry(by: { contract: $registry }) {
domains {
edges {
node {
label { interpreted }
canonical { name { interpreted beautified } }
}
}
}
}
}
Variables
{
"registry": {
"chainId": 11155111,
"address": "0x64c81210d0e580cfc7746f3fb910bf0e8f6378e1"
}
}
Output
{
"data": {
"registry": {
"domains": {
"edges": [
{
"node": {
"label": {
"interpreted": "katrenpadu"
},
"canonical": {
"name": {
"interpreted": "katrenpadu.eth",
"beautified": "katrenpadu.eth"
}
}
}
},
{
"node": {
"label": {
"interpreted": "roppp"
},
"canonical": {
"name": {
"interpreted": "roppp.eth",
"beautified": "roppp.eth"
}
}
}
},
{
"node": {
"label": {
"interpreted": "sfmpfv44d0mig"
},
"canonical": {
"name": {
"interpreted": "sfmpfv44d0mig.eth",
"beautified": "sfmpfv44d0mig.eth"
}
}
}
},
{
"node": {
"label": {
"interpreted": "sfmpfv44d0res"
},
"canonical": {
"name": {
"interpreted": "sfmpfv44d0res.eth",
"beautified": "sfmpfv44d0res.eth"
}
}
}
},
{
"node": {
"label": {
"interpreted": "sfmpfvtoicv2ok"
},
"canonical": {
"name": {
"interpreted": "sfmpfvtoicv2ok.eth",
"beautified": "sfmpfvtoicv2ok.eth"
}
}
}
},
{
"node": {
"label": {
"interpreted": "wrapnation"
},
"canonical": {
"name": {
"interpreted": "wrapnation.eth",
"beautified": "wrapnation.eth"
}
}
}
}
]
}
}
}
}

Output matches a GraphQL Response snapshot; live output depends on your ENSNode instance.

Back to Examples