Use our ENS subgraph

This commit is contained in:
Tornado Contrib 2024-07-22 11:54:11 -07:00
parent 5fa9ce517b
commit 257a1bf2fe
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1

@ -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}") {