Skip to content
This repository was archived by the owner on Aug 6, 2020. It is now read-only.

Repository files navigation

ENS Subgraph

NOTE: This subgraph is deprecated. The official ENS subgraph is maintained at ensdomains/ens-subgraph.

This Subgraph sources events from the ENS contracts. This includes the ENS registry, the Auction Registrar, and any resolvers that are created and linked to domains. The resolvers are added through dynamic data sources. More information on all of this can be found at The Graph Documentation.

Example Queries

Here we have example queries, so that you don't have to type them in yourself eachtime in the graphiql playground:

{
domains {
idlabelNamelabelhashparent {
id
}
subdomains {
id
}
owner {
id
}
resolver {
id
}
ttl
}
resolvers {
idaddressdomain {
id
}
resolverEvents {
idnode...onAddrChanged {
a
}
...onNameChanged {
name
}
...onAbiChanged {
contentType
}
...onPubkeyChanged {
xy
}
...onTextChanged {
indexedKeykey
}
...onContenthashChanged {
hash
}
...onInterfaceChanged {
interfaceIDimplementer
}
...onAuthorisationChanged {
ownertargetisAuthorized
}
}
}
}

Used by

Contributors

Languages