diff --git a/docs/web/enumerate.mdx b/docs/web/enumerate.mdx index 5500f5419..7d1ed4205 100644 --- a/docs/web/enumerate.mdx +++ b/docs/web/enumerate.mdx @@ -45,7 +45,7 @@ The [ENS subgraph](/web/subgraph) indexes all events from relevant smart contrac ENSjs makes it easy to run common queries on the subgraph with strong type safety. Docs can be found [here](https://github.com/ensdomains/ensjs-v3/tree/main/docs/subgraph). -```graphql {{ title: 'GraphQL', language: 'gql', variant: 'gql', link: "https://thegraph.com/hosted-service/subgraph/ensdomains/ens" }} +```graphql {{ title: 'GraphQL', language: 'gql', variant: 'gql', link: "https://thegraph.com/explorer/subgraphs/5XqPmWe6gjyrJtFn9cLy237i4cWw2j9HcUJEXsP5qGtH?chain=arbitrum-one" }} { domains(where: { owner: "0x225f137127d9067788314bc7fcc1f36746a3c3b5" }) { name diff --git a/docs/web/subgraph.mdx b/docs/web/subgraph.mdx index 686be30a4..7d8f23b05 100644 --- a/docs/web/subgraph.mdx +++ b/docs/web/subgraph.mdx @@ -1,12 +1,13 @@ -import { WIP } from '@/components/wip/WIP'; +import { WIP } from '@/components/wip/WIP' +import { Helper } from '@/components/Helper' -{/** @type {import('@/lib/mdxPageProps').MdxMetaProps} */} +{/* * @type {import('@/lib/mdxPageProps').MdxMetaProps} */} export const meta = { - description: '', - emoji: '⚙️', - contributors: [ - 'lucemans' - ] +description: '', +emoji: '⚙️', +contributors: [ +'lucemans' +] }; # Subgraph @@ -16,7 +17,13 @@ This is a page covering the graph's ENS subgraph. ## The Graph The Graph is a protocol for indexing and querying data from blockchains. There are multiple subgraphs that you can use to query information about ENS names. -These subgraphs are available for [mainnet](https://api.thegraph.com/subgraphs/name/ensdomains/ens) and testnets like [goerli](https://api.studio.thegraph.com/query/49574/ensgoerli/version/latest), [sepolia](https://api.studio.thegraph.com/query/49574/enssepolia/version/latest) and [holesky](https://api.studio.thegraph.com/query/49574/ensholesky/version/latest). +These subgraphs are available for [mainnet](https://api.thegraph.com/subgraphs/name/ensdomains/ens), [sepolia](https://api.studio.thegraph.com/query/49574/enssepolia/version/latest) and [holesky](https://api.studio.thegraph.com/query/49574/ensholesky/version/latest). + + + Developers are welcome to use our rate limited API endpoints above for + testing, but it is highly encouraged to sign up for a free account with + TheGraph to get your own API key. + ## GraphQL Schema @@ -29,7 +36,7 @@ One of such use-cases is querying which NFT names are owned by a specific addres ## Example Queries -One can explore the following examples interactively via the [Graph Explorer Playground](https://thegraph.com/hosted-service/subgraph/ensdomains/ens) +One can explore the following examples interactively via the [Graph Explorer Playground](https://thegraph.com/explorer/subgraphs/5XqPmWe6gjyrJtFn9cLy237i4cWw2j9HcUJEXsP5qGtH?view=Playground&chain=arbitrum-one) ### Getting a list of names owned by an account