Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmihal/ens-fee-subgraph
https://github.com/dmihal/ens-fee-subgraph
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmihal/ens-fee-subgraph
- Owner: dmihal
- Created: 2021-11-09T12:03:07.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-15T18:03:33.000Z (over 2 years ago)
- Last Synced: 2024-10-04T10:41:33.731Z (about 1 month ago)
- Language: TypeScript
- Size: 448 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://thegraph.com/docs/quick-start).
# Example Queries
Here we have example queries, so that you don't have to type them in yourself eachtime in the graphiql playground:
```graphql
{
domains {
id
labelName
labelhash
parent {
id
}
subdomains {
id
}
owner {
id
}
resolver {
id
}
ttl
}
resolvers {
id
address
domain {
id
}
events {
id
node
... on AddrChanged {
a
}
... on NameChanged {
name
}
... on AbiChanged {
contentType
}
... on PubkeyChanged {
x
y
}
... on TextChanged {
indexedKey
key
}
... on ContenthashChanged {
hash
}
... on InterfaceChanged {
interfaceID
implementer
}
... on AuthorisationChanged {
owner
target
isAuthorized
}
}
}
}```