Merge pull request 'Use our ENS subgraph' (#1) from tornadocontrib/relayers-network-ui:master into master

Reviewed-on: #1
This commit is contained in:
Theo 2024-07-31 00:14:48 +03:00
commit d8ed631c1d

@ -15,7 +15,7 @@ async function getEnsOwner(ensName: string, chainId: ChainId) {
async function getNameFromHash(ensHash: string) { async function getNameFromHash(ensHash: string) {
try { 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({ body: JSON.stringify({
query: `{ query: `{
domain(id: "${ensHash}") { domain(id: "${ensHash}") {