Domain Resolution API
Forward Resolution
SDK Documentation
- Introduction
- Client SDK
- Overview
- Installation and Setup
- Integration guides
- Examples
- Partner API
- Free Subdomains API
- Headless Marketplace API
- Domain Resolution API
- React SDK
- Android SDK
- iOS SDK
Domain Resolution API
Forward Resolution
Use this to perform a forward resolution of a domain.
// See documentation to set up the client first
let resolutionApi = new superlink.ResolutionApi();
let domain = "your.domain";
let opts = {
'nameservices': ["superlink","ens","ud"],
};
resolutionApi.resolveDataByDomain(domain, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
data.wallets.forEach(wallet => {
console.log(wallet.coin, wallet.address);
})
}
});