Skip to content

Domain Resolver

This query loads both the assigned resolver and the ENSIP-10 effective resolver for a name.

Run in ENSAdmin
GraphQL
query DomainResolver($name: InterpretedName!) {
domain(by: { name: $name }) {
resolver {
# the Resolver explicitly assigned to this Domain
assigned {
contract { address }
}
# the Resolver that ENS Forward Resolution (ENSIP-10) actually lands
# on for this Domain — i.e. its effective Resolver
effective {
contract { address }
}
}
}
}
Variables
{
"name": "dperri.com"
}
Output
{
"data": {
"domain": {
"resolver": {
"assigned": null,
"effective": {
"contract": {
"address": "0xf142b308cf687d4358410a4cb885513b30a42025"
}
}
}
}
}
}

Output matches a point in time snapshot GraphQL response from our alpha ENSNode instance. Live output depends on the configuration of your ENSNode instance and ENS state updates.

Back to Examples