From 257a1bf2fe062d5ca7c0a59625cedc3403efc920 Mon Sep 17 00:00:00 2001 From: tornadocontrib Date: Mon, 22 Jul 2024 11:54:11 -0700 Subject: [PATCH] Use our ENS subgraph --- services/ENS/ens.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/ENS/ens.ts b/services/ENS/ens.ts index c3cf83d..ad90181 100644 --- a/services/ENS/ens.ts +++ b/services/ENS/ens.ts @@ -15,7 +15,7 @@ async function getEnsOwner(ensName: string, chainId: ChainId) { async function getNameFromHash(ensHash: string) { try { - const response = await fetch('https://api.thegraph.com/subgraphs/name/ensdomains/ens', { + const response = await fetch('https://tornadocash-rpc.com/subgraphs/name/graphprotocol/ens', { body: JSON.stringify({ query: `{ domain(id: "${ensHash}") {