Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENS Subgraph Endpoint have been removed. #219

Open
yun-chiao opened this issue Dec 13, 2024 · 1 comment
Open

ENS Subgraph Endpoint have been removed. #219

yun-chiao opened this issue Dec 13, 2024 · 1 comment

Comments

@yun-chiao
Copy link

yun-chiao commented Dec 13, 2024

Description

I am experiencing issues accessing the ENS subgraph endpoint. When attempting to use the endpoint, I receive a message indicating that the endpoint has been removed.

Error message:

This endpoint has been removed. If you have any questions, reach out to support@thegraph.zendesk.com

Code Example:

I use the example of getNamesForAddress() to test

import { createPublicClient, http } from 'viem'
import { mainnet } from 'viem/chains'
import { addEnsContracts } from '@ensdomains/ensjs'
import { getNamesForAddress } from '@ensdomains/ensjs/subgraph'

const client = createPublicClient({
  chain: addEnsContracts(mainnet),
  transport: http(),
})
const result = await getNamesForAddress(client, {
  address: '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7',
})

Is there something I miss? thanks for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@yun-chiao and others