Use our ENS subgraph #1

Merged
Theo merged 1 commits from tornadocontrib/relayers-network-ui:master into master 2024-07-31 00:14:49 +03:00

View File

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