Subgraph API
Subgraph API
Section titled “Subgraph API”ENSNode exposes a Subgraph-Compatible GraphQL endpoint at /subgraph.
ENSNode provides verified backwards compatibility with the ENS Subgraph. See configuration details below.
GraphiQL Playground
Section titled “GraphiQL Playground”To explore the schema and run queries, use the GraphiQL Playground below.
GraphQL Examples
Section titled “GraphQL Examples”Fetch data about the three most recently-created domains.
{ domains(orderBy: createdAt, orderDirection: desc, first: 3) { name expiryDate }}{ "data": { "domains": [ { "name": "ensanguo.eth", "expiryDate": "1758170255" }, { "name": "fiffer.eth", "expiryDate": "2041994243" }, { "name": "rifaisicilia.eth", "expiryDate": "1758170039" } ] }}