Compare commits
No commits in common. "d8ed631c1ddc40ecd4f801224aa2d0607ef1ce4c" and "5fa9ce517b575a08ae8ff896e4b215395c82270a" have entirely different histories.
d8ed631c1d
...
5fa9ce517b
@ -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://tornadocash-rpc.com/subgraphs/name/graphprotocol/ens', {
|
const response = await fetch('https://api.thegraph.com/subgraphs/name/ensdomains/ens', {
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
query: `{
|
query: `{
|
||||||
domain(id: "${ensHash}") {
|
domain(id: "${ensHash}") {
|
||||||
|
Loading…
Reference in New Issue
Block a user