Skip to content

ENS Subgraph Endpoint have been removed. #219

@yun-chiao

Description

@yun-chiao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions