Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
ETH ENS Web3 - How to get Registrant

I've following code snippet to get the "Controller" (The owner of the domain) but I need to get the "Registrant" of provided ENS name

const Web3 = require("web3")
const web3 = new Web3("https://cloudflare-eth.com");
 var ens = web3.eth.ens;


    var names = ['jtimberlake.eth', 'usman.eth'];

    (async () => {
        for (let domainName of names) {
           // console.log('checking: ' + domainName);
            const addr = await getDomain(domainName);
            console.log(addr);
        }
      
    })();


    async function getDomain(word) {
        try {
            const addr = await ens.getAddress(`${word}`)
           // console.log(addr);
            return addr;
        } catch (err) {
            console.error(err);
            return;
        }
    }

Can you please guide how I can get the "Registrant" of provided ENS name e.g. jtimberlake.eth

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!