const e=require(`../data-structures/http/HttpClient.cjs`);var t=`https://sns-sdk-proxy.bonfida.workers.dev/resolve`,n=async n=>{try{let{result:r}=await e.httpClient.get(`${t}/${n}`);return!r||r===`error`||r===`Domain not found`?null:typeof r==`string`?r.trim():null}catch{return null}};exports.resolveSns=n;