Use the following to help guide the onboarding of an existing domain as a parent domain. The domain requires to be set up for DNSSEC and requires a text record describing the ENS resolver. This API will check and verify this setup, and if incorrect advise how to fix.
Copy
Ask AI
// See documentation to set up the client firstlet apiInstance = new superlink.SubdomainApi();let parentDomain = "supertest.me";apiInstance.parentdomainValidation(parentDomain, (error, data, response) => { if (error) { console.error(error); } else { console.log(`${data.status}`) console.log(`${data.reason}`) }});