3:I[50200,[],""]
5:I[72888,[],""]
6:I[20565,["924","static/chunks/924-9b288a3e7649fef0.js","45","static/chunks/45-1294e8d3913dcaae.js","185","static/chunks/app/layout-e10737454ab00367.js"],"Theme"]
7:I[17051,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"SectionProvider"]
8:I[65438,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"RouteCheck"]
9:I[25377,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Header"]
a:I[69762,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Sidebar"]
b:I[9602,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Breadcrumbs"]
c:I[69327,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","327","static/chunks/327-bff56f9bf74d8980.js","213","static/chunks/213-89037468e9ed8292.js","160","static/chunks/app/not-found-9ec62740c376cc12.js"],"Image"]
d:I[35542,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],""]
e:I[56322,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Feedback"]
f:I[75619,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"ContributeLink"]
4:["slug","web/resolution","c"]
10:T47e,M16.238 4.515a14.842 14.842 0 0 0-3.664-1.136.055.055 0 0 0-.059.027 10.35 10.35 0 0 0-.456.938 13.702 13.702 0 0 0-4.115 0 9.479 9.479 0 0 0-.464-.938.058.058 0 0 0-.058-.027c-1.266.218-2.497.6-3.664 1.136a.052.052 0 0 0-.024.02C1.4 8.023.76 11.424 1.074 14.782a.062.062 0 0 0 .024.042 14.923 14.923 0 0 0 4.494 2.272.058.058 0 0 0 .064-.02c.346-.473.654-.972.92-1.496a.057.057 0 0 0-.032-.08 9.83 9.83 0 0 1-1.404-.669.058.058 0 0 1-.029-.046.058.058 0 0 1 .023-.05c.094-.07.189-.144.279-.218a.056.056 0 0 1 .058-.008c2.946 1.345 6.135 1.345 9.046 0a.056.056 0 0 1 .059.007c.09.074.184.149.28.22a.058.058 0 0 1 .023.049.059.059 0 0 1-.028.046 9.224 9.224 0 0 1-1.405.669.058.058 0 0 0-.033.033.056.056 0 0 0 .002.047c.27.523.58 1.022.92 1.495a.056.056 0 0 0 .062.021 14.878 14.878 0 0 0 4.502-2.272.055.055 0 0 0 .016-.018.056.056 0 0 0 .008-.023c.375-3.883-.63-7.256-2.662-10.246a.046.046 0 0 0-.023-.021Zm-9.223 8.221c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.717 1.814-1.618 1.814Zm5.981 0c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.71 1.814-1.618 1.814Z0:["YaM7wNFVIwRdNdGfmqd4D",[[["",{"children":[["slug","web/resolution","c"],{"children":["__PAGE__?{\"slug\":[\"web\",\"resolution\"]}",{}]}]},"$undefined","$undefined",true],["",{"children":[["slug","web/resolution","c"],{"children":["__PAGE__",{},[["$L1","$L2",null],null],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","$4","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/40ab4cab4d9447b9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/08e28b78fef21dfc.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"not-system scrollbar","children":[["$","head",null,{"children":[["$","link",null,{"rel":"icon","href":"/favicon.ico","sizes":"any"}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"url\":\"https://docs.ens.domains\",\"name\":\"ENS Documentation\",\"description\":\"Documentation for the ENS protocol.\",\"potentialAction\":{\"@type\":\"SearchAction\",\"target\":\"https://docs.ens.domains?q={search_term_string}\",\"query-input\":\"required name=search_term_string\"}}"}}]]}],["$","body",null,{"className":"bg-ens-light-background-primary text-ens-light-text-primary dark:bg-ens-dark-background-primary dark:text-ens-dark-text-primary","children":[["$","$L6",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","$L7",null,{"sections":"$undefined","children":["$","div",null,{"className":"h-full","id":"app","children":[["$","$L8",null,{"slug":"/"}],["$","$L9",null,{}],["$","$La",null,{}],["$","div",null,{"className":"relative mt-16 lg:mt-16","children":["$","div",null,{"className":"lg:ml-72 xl:ml-80","children":[false,["$","div",null,{"className":"px-6 lg:px-8","children":[["$","main",null,{"className":"relative my-4 space-y-4 py-4","children":[["$","div",null,{"className":"prose x text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":["$","$Lb",null,{}]}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Not Found\",\"description\":\"ENS Documentation\",\"image\":\"https://docs.ens.domains/opengraph/.png\"}"}}],["$","article",null,{"className":"prose x dark:prose-invert","children":["$","div",null,{"className":"not-prose text-center","children":[["$","$Lc",null,{"alt":"Shrug","src":"/shrug.png","width":200,"height":200,"className":"mx-auto"}],["$","h1",null,{"className":"mt-4 text-2xl font-bold","children":"Article Not Found"}],["$","p",null,{"className":"mb-3","children":"It doesn't look like this page exists..."}],["$","$Ld",null,{"href":"/","target":"$undefined","onClick":"$undefined","className":"btn btn-blue-primary","disabled":false,"children":[["$","svg",null,{"viewBox":"0 0 20 20","fill":"none","aria-hidden":"true","className":"mt-0.5 h-5 w-5 -ml-1 rotate-180","children":["$","path",null,{"stroke":"currentColor","strokeLinecap":"round","strokeLinejoin":"round","d":"m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"}]}],"Go to Home",false]}]]}]}],["$","div",null,{"className":"prose pt-8","children":"$undefined"}]]}],["$","div",null,{"className":"prose","children":["$","div",null,{"className":"notprose w-full","children":["$","footer",null,{"className":"w-full space-y-4 border-t border-t-ens-light-border pb-16 pt-4 dark:border-t-ens-dark-border","children":[["$","div",null,{"className":"flex flex-wrap items-end justify-between gap-2","children":[["$","$Le",null,{}],["$","div",null,{"className":"w-fit","children":["$","$Lf",null,{"url":"$undefined"}]}]]}],["$","div",null,{"className":"flex flex-col items-center justify-between gap-5 sm:flex-row","children":[["$","p",null,{"className":"text-xs text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":["© Copyright ",2024,". All rights reserved."]}],["$","div",null,{"className":"flex gap-4","children":[["$","$Ld",null,{"href":"https://x.com/ensdomains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Follow us on X"}],["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 512 512","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$undefined",[["$","path","0",{"d":"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z","children":[]}]]],"style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}],["$","$Ld",null,{"href":"https://github.com/ensdomains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Follow us on GitHub"}],["$","svg",null,{"viewBox":"0 0 20 20","aria-hidden":"true","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$","path",null,{"fillRule":"evenodd","clipRule":"evenodd","d":"M10 1.667c-4.605 0-8.334 3.823-8.334 8.544 0 3.78 2.385 6.974 5.698 8.106.417.075.573-.182.573-.406 0-.203-.011-.875-.011-1.592-2.093.397-2.635-.522-2.802-1.002-.094-.246-.5-1.005-.854-1.207-.291-.16-.708-.556-.01-.567.656-.01 1.124.62 1.281.876.75 1.292 1.948.93 2.427.705.073-.555.291-.93.531-1.143-1.854-.213-3.791-.95-3.791-4.218 0-.929.322-1.698.854-2.296-.083-.214-.375-1.09.083-2.265 0 0 .698-.224 2.292.876a7.576 7.576 0 0 1 2.083-.288c.709 0 1.417.096 2.084.288 1.593-1.11 2.291-.875 2.291-.875.459 1.174.167 2.05.084 2.263.53.599.854 1.357.854 2.297 0 3.278-1.948 4.005-3.802 4.219.302.266.563.78.563 1.58 0 1.143-.011 2.061-.011 2.35 0 .224.156.491.573.405a8.365 8.365 0 0 0 4.11-3.116 8.707 8.707 0 0 0 1.567-4.99c0-4.721-3.73-8.545-8.334-8.545Z"}]}]]}],["$","$Ld",null,{"href":"https://chat.ens.domains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Join our Discord server"}],["$","svg",null,{"viewBox":"0 0 20 20","aria-hidden":"true","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$","path",null,{"d":"$10"}]}]]}]]}]]}]]}]}]}]]}]]}]}]]}]}],"notFoundStyles":[]}]}],["$","script",null,{"defer":true,"data-domain":"docs.ens.domains","src":"https://ens.v3x.report/js/script.js"}],["$","script",null,{"defer":true,"data-domain":"docs.ens.domains","src":"https://plausible.io/js/script.js"}]]}]]}]],null],null],["$L11",null]]]]
12:I[30918,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Heading"]
13:I[22419,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"LanguageSwitcher"]
15:I[33885,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"CopyButton"]
28:I[963,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"GitCommitLink"]
29:I[64369,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"TimeSince"]
14:Tb8c,import { useAccount, useEnsName, useEnsAvatar } from "wagmi";
export const Name = () => {
const { data: ensName } = useEnsAddress({
address: "luc.eth", // The name to lookup
chainId: 1, // The chain to start resolution on (Ethereum mainnet or testnet)
});
return <div>{ensName || address}</div>;
};
16:T6b1,import { normalize } from "viem/ens";
import { publicClient } from "./client";
const ensAddress = await publicClient.getEnsAddress({
name: normalize("luc.eth"),
});
17:T66a,let provider = Provider::<Http>::try_from("https://mainnet.infura.io/v3/...")?;
let address = provider.lookup_address("luc.eth").await?;
18:Tc96,package main
import (
"fmt"
"github.com/ethereum/go-ethereum/ethclient"
ens "github.com/wealdtech/go-ens/v3"
)
func main() {
client, _ := ethclient.Dial("https://rpc.ankr.com/eth")
domain, _ := ens.Normalize("luc.eth")
resolver, _ := ens.NewResolver(client, domain)
address, _ := resolver.Address()
fmt.Println("Address:", address.Hex())
}
19:Tab6,// Setup: npm install alchemy-sdk
import { Alchemy, Network } from "alchemy-sdk";
const config = {
apiKey: "<-- ALCHEMY APP API KEY -->",
network: Network.ETH_MAINNET,
};
const alchemy = new Alchemy(config);
alchemy.core.resolveName("vitalik.eth").then(console.log);
1a:T1a9d,import { http } from "viem";
import { mainnet } from "viem/chains";
import { createEnsPublicClient } from "@ensdomains/ensjs";
const client = createEnsPublicClient({
chain: mainnet,
transport: http(),
});
const subgraphRecords = client.getSubgraphRecords({ name: "ens.eth" });
const records = client.getRecords({
name: "ens.eth",
records: {
coins: [...(subgraphRecords?.coins || []), "BTC", "ETH", "ETC", "SOL"],
texts: [
...(subgraphRecords?.texts || []),
"avatar",
"email",
"description",
],
contentHash: true,
abi: true,
},
});
1b:T4f3,var ensService = new Nethereum.ENS.ENSService(web3);
var address = await ensService.ResolveAddressAsync("alice.eth");
1d:["enstools","react","viem","typescript","javascript"]
1c:{"icon":"/icons/libraries/wagmi.svg","name":"Wagmi","language":"typescript","fallback":"$1d"}
1f:["typescript","javascript"]
1e:{"icon":"/icons/libraries/viem.svg","language":"typescript","name":"Viem","fallback":"$1f"}
21:["typescript","javascript"]
20:{"icon":"/icons/libraries/ethers.svg","language":"typescript","name":"Ethers.js v5","fallback":"$21"}
23:[]
22:{"icon":"","name":"web3.py","language":"python","fallback":"$23"}
24:T2268,import { useEnsAddress } from "wagmi";
import { arbitrum, base } from "wagmi/chains";
const name = "gregskril.eth";
const evmChainIdToCoinType = (chainId: number) => {
return (0x80000000 | chainId) >>> 0;
};
export const MyAddresses = () => {
// SLIP-0044 Coin Types (see ENSIP-9)
const { data: bitcoinAddr } = useEnsAddress({ name, coinType: 0, chainId: 1 });
const { data: solanaAddr } = useEnsAddress({ name, coinType: 501, chainId: 1 });
// EVM Chain IDs (see ENSIP-11)
const { data: baseAddr } = useEnsAddress({
name,
coinType: evmChainIdToCoinType(base.id),
chainId: 1,
});
const { data: arbitrumAddr } = useEnsAddress({
name,
coinType: evmChainIdToCoinType(arbitrum.id),
chainId: 1,
});
return <div>{JSON.stringify({ bitcoinAddr, solanaAddr, baseAddr, arbitrumAddr })}</div>;
};
25:T534,const ensName = await publicClient.getEnsAddress({
name: normalize("wagmi-dev.eth"),
coinType: 0, // BTC
});
26:T489,const resolver = await provider.getResolver("luc.eth");
const btcAddress = await resolver?.getAddress(0);
27:T45c,from ens.auto import ns
eth_address = ns.address('alice.eth', coin_type=60)
2a:T47e,M16.238 4.515a14.842 14.842 0 0 0-3.664-1.136.055.055 0 0 0-.059.027 10.35 10.35 0 0 0-.456.938 13.702 13.702 0 0 0-4.115 0 9.479 9.479 0 0 0-.464-.938.058.058 0 0 0-.058-.027c-1.266.218-2.497.6-3.664 1.136a.052.052 0 0 0-.024.02C1.4 8.023.76 11.424 1.074 14.782a.062.062 0 0 0 .024.042 14.923 14.923 0 0 0 4.494 2.272.058.058 0 0 0 .064-.02c.346-.473.654-.972.92-1.496a.057.057 0 0 0-.032-.08 9.83 9.83 0 0 1-1.404-.669.058.058 0 0 1-.029-.046.058.058 0 0 1 .023-.05c.094-.07.189-.144.279-.218a.056.056 0 0 1 .058-.008c2.946 1.345 6.135 1.345 9.046 0a.056.056 0 0 1 .059.007c.09.074.184.149.28.22a.058.058 0 0 1 .023.049.059.059 0 0 1-.028.046 9.224 9.224 0 0 1-1.405.669.058.058 0 0 0-.033.033.056.056 0 0 0 .002.047c.27.523.58 1.022.92 1.495a.056.056 0 0 0 .062.021 14.878 14.878 0 0 0 4.502-2.272.055.055 0 0 0 .016-.018.056.056 0 0 0 .008-.023c.375-3.883-.63-7.256-2.662-10.246a.046.046 0 0 0-.023-.021Zm-9.223 8.221c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.717 1.814-1.618 1.814Zm5.981 0c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.71 1.814-1.618 1.814Z2:["$","$L7",null,{"sections":[{"title":"Getting the users Ethereum Address","navtitle":"Ethereum Address","id":"address","indent":"0"},{"title":"Multi-Chain Addresses (BTC, LTC, etc)","navtitle":"Multi-Chain Addresses","id":"multi-chain","indent":"0"},{"title":"Decoding Address Hashes","navtitle":"","id":"decoding-address-hashes","indent":"1"},{"title":"Advanced","navtitle":"","id":"advanced","indent":"0"}],"children":["$","div",null,{"className":"h-full","id":"app","children":[["$","$L8",null,{"slug":"/web/resolution"}],["$","$L9",null,{}],["$","$La",null,{}],["$","div",null,{"className":"relative mt-16 lg:mt-16","children":["$","div",null,{"className":"lg:ml-72 xl:ml-80","children":[["$","div",null,{"className":"fixed z-10 ml-4 hidden 2xl:block","style":{"left":"calc(50vw + 26rem)"},"children":["$","div",null,{"className":"m-4 p-4","children":[["$","div",null,{"className":"text-sm text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":"On this page"}],["$","ul",null,{"className":"text-sm","children":[["$","li",null,{"children":["$","$Ld",null,{"href":"#address","style":{"paddingLeft":"0rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Ethereum Address"}]}],["$","li",null,{"children":["$","$Ld",null,{"href":"#multi-chain","style":{"paddingLeft":"0rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Multi-Chain Addresses"}]}],["$","li",null,{"children":["$","$Ld",null,{"href":"#decoding-address-hashes","style":{"paddingLeft":"1rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Decoding Address Hashes"}]}],["$","li",null,{"children":["$","$Ld",null,{"href":"#advanced","style":{"paddingLeft":"0rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Advanced"}]}]]}]]}]}],["$","div",null,{"className":"px-6 lg:px-8","children":[["$","main",null,{"className":"relative my-4 space-y-4 py-4","children":[["$","div",null,{"className":"prose x text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":["$","$Lb",null,{}]}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Address Lookup\",\"description\":\"Learn how to resolve blockchain addresses from human-readable names with ENS.\",\"image\":\"https://docs.ens.domains/opengraph/web/resolution.png\",\"author\":[{\"@type\":\"Person\",\"name\":\"luc.eth\",\"url\":\"https://github.com/luc.eth\"},{\"@type\":\"Person\",\"name\":\"gregskril.eth\",\"url\":\"https://github.com/gregskril.eth\"}]}"}}],["$","article",null,{"className":"prose x dark:prose-invert","children":["\n","\n",["$","h1",null,{"children":"Address Lookup"}],"\n",["$","p",null,{"children":"The ENS Protocol aims to make it easy to use Ethereum.\nIt does this by providing a simple way to use human-readable names instead of long machine-readable addresses."}],"\n",["$","$L12",null,{"level":2,"id":"address","children":"Getting the users Ethereum Address","navtitle":"Ethereum Address","tag":"Forward Lookup"}],"\n",["$","p",null,{"children":["The goal here is to take a name, such as ",["$","code",null,{"dangerouslySetInnerHTML":{"__html":"nick.eth"}}],", and convert it to an address, such as ",["$","code",null,{"dangerouslySetInnerHTML":{"__html":"0x225f137127d9067788314bc7fcc1f36746a3c3B5"}}],"."]}],"\n",["$","div",null,{"className":"card1 px-8 py-4 flex justify-center gap-2","children":[["$","span",null,{"children":"luc.eth"}],["$","span",null,{"children":"➡️"}],["$","span",null,{"children":"0x225...c3B5"}]]}],"\n",["$","p",null,{"children":"The simplest thing you can do is start with a name, and resolve it to an address.\nWe call this a \"forward lookup\".\nThink of places where users can enter names, such as sending transactions, chatting, etc."}],"\n",["$","p",null,{"children":["Note that all dot-separated strings should be treated as potential ENS names, since ENS supports ",["$","$Ld",null,{"href":"/dns/tlds","target":"$undefined","className":"my-0 inline-flex items-center gap-1","children":["many TLDs","$undefined"]}],". A common mistake is to only treat strings that end in ",["$","code",null,{"dangerouslySetInnerHTML":{"__html":".eth"}}]," as ENS names."]}],"\n",["$","div",null,{"className":"text-ens-light-text-primary dark:text-ens-dark-text-primary my-6 bg-[--var(--shiki-color-background)] ","children":[["$","div",null,{"className":"relative flex min-h-[calc(theme(spacing.12)+1px)] items-center justify-between gap-x-4 rounded-t-lg border border-b-0 border-ens-light-border bg-ens-light-grey-surface px-4 dark:border-ens-dark-border dark:bg-ens-dark-grey-surface","children":[["$","div",null,{"className":"text-base text-ens-light-text-primary dark:text-ens-dark-text-primary","children":"Forward Resolution"}],["$","$L13",null,{"snippets":[{"title":"Wagmi (React)","language":"tsx","preset":"wagmi","config":{"icon":"/icons/libraries/wagmi.svg","name":"Wagmi","language":"typescript","fallback":["enstools","react","viem","typescript","javascript"]}},{"title":"Ethers.js (TS)","language":"ts","preset":"ethers-v5","config":{"icon":"/icons/libraries/ethers.svg","language":"typescript","name":"Ethers.js v5","fallback":["typescript","javascript"]}},{"title":"Viem (TS)","language":"ts","preset":"viem","config":{"icon":"/icons/libraries/viem.svg","language":"typescript","name":"Viem","fallback":["typescript","javascript"]}},{"title":"web3.py (Python)","language":"py","preset":"web3py","config":{"icon":"","name":"web3.py","language":"python","fallback":[]}},{"title":"$undefined","language":"rust","preset":"ethers-rs","config":{"icon":"/icons/libraries/rust.svg","name":"Ethers.rs","language":"rust"}},{"title":"$undefined","language":"go","preset":"go-ens","config":{"icon":"/icons/libraries/go.svg","name":"Go","language":"go"}},{"title":"Alchemy","language":"ts","preset":"alchemy-sdk","config":{"icon":"/icons/libraries/alchemy.svg","name":"Alchemy SDK","language":"typescript","fallback":["typescript","javascript"]}},{"title":"$undefined","language":"ts","preset":"ensjs","config":{"icon":"/icons/libraries/ensjs.svg","name":"ENSjs v3","language":"typescript","fallback":["wagmi","react","viem","typescript","javascript"]}},{"title":"$undefined","language":"csharp","preset":"nethereum","config":{"icon":"/icons/libraries/nethereum.svg","name":"Nethereum","language":"csharp","fallback":[]}}],"identifier":"a6e24169","presets":"code"}]]}],["$","div",null,{"className":"not-prose","children":[["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"wagmi","data-code-group":"a6e24169","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-tsx","dangerouslySetInnerHTML":{"__html":"$14"}}]}],["$","$L15",null,{"code":"import { useAccount, useEnsName, useEnsAvatar } from \"wagmi\";\n\nexport const Name = () => {\n const { data: ensName } = useEnsAddress({\n address: \"luc.eth\", // The name to lookup\n chainId: 1, // The chain to start resolution on (Ethereum mainnet or testnet)\n });\n\n return
{ensName || address}
;\n};\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://wagmi.sh/react/hooks/useEnsAddress","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":["$","$Ld",null,{"href":"https://stackblitz.com/edit/ens-wagmi-use-ens-address","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary rounded-md p-1 pr-2 text-xs transition hover:bg-gray-100","children":[["$","img",null,{"src":"/icons/stackblitz.svg","alt":"Stackblitz","className":"mr-1 inline-block size-4"}],"Try it out"]}]}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"ethers-v5","data-code-group":"a6e24169","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-ts","dangerouslySetInnerHTML":{"__html":"const address = await provider.lookupAddress(\"luc.eth\");\n"}}]}],["$","$L15",null,{"code":"const address = await provider.lookupAddress(\"luc.eth\");\n"}]]}]}],"$undefined"]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"viem","data-code-group":"a6e24169","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-ts","dangerouslySetInnerHTML":{"__html":"$16"}}]}],["$","$L15",null,{"code":"import { normalize } from \"viem/ens\";\nimport { publicClient } from \"./client\";\n\nconst ensAddress = await publicClient.getEnsAddress({\n name: normalize(\"luc.eth\"),\n});\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://viem.sh/docs/ens/actions/getEnsAddress.html","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":["$","$Ld",null,{"href":"https://stackblitz.com/edit/ens-viem-get-ens-address","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary rounded-md p-1 pr-2 text-xs transition hover:bg-gray-100","children":[["$","img",null,{"src":"/icons/stackblitz.svg","alt":"Stackblitz","className":"mr-1 inline-block size-4"}],"Try it out"]}]}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"web3py","data-code-group":"a6e24169","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-py","dangerouslySetInnerHTML":{"__html":"from ens.auto import ns\n\naddress = ns.address('alice.eth')\n"}}]}],["$","$L15",null,{"code":"from ens.auto import ns\n\naddress = ns.address('alice.eth')\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://web3py.readthedocs.io/en/latest/ens_overview.html#get-the-address-for-an-ens-name","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"ethers-rs","data-code-group":"a6e24169","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-rust","dangerouslySetInnerHTML":{"__html":"$17"}}]}],["$","$L15",null,{"code":"let provider = Provider::::try_from(\"https://mainnet.infura.io/v3/...\")?;\n\nlet address = provider.lookup_address(\"luc.eth\").await?;\n"}]]}]}],"$undefined"]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"go-ens","data-code-group":"a6e24169","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-go","dangerouslySetInnerHTML":{"__html":"$18"}}]}],["$","$L15",null,{"code":"package main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/ethereum/go-ethereum/ethclient\"\n\tens \"github.com/wealdtech/go-ens/v3\"\n)\n\nfunc main() {\n\tclient, _ := ethclient.Dial(\"https://rpc.ankr.com/eth\")\n\n\tdomain, _ := ens.Normalize(\"luc.eth\")\n\tresolver, _ := ens.NewResolver(client, domain)\n\taddress, _ := resolver.Address()\n\n\tfmt.Println(\"Address:\", address.Hex())\n}\n"}]]}]}],"$undefined"]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"alchemy-sdk","data-code-group":"a6e24169","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-ts","dangerouslySetInnerHTML":{"__html":"$19"}}]}],["$","$L15",null,{"code":"// Setup: npm install alchemy-sdk\nimport { Alchemy, Network } from \"alchemy-sdk\";\n\nconst config = {\n apiKey: \"<-- ALCHEMY APP API KEY -->\",\n network: Network.ETH_MAINNET,\n};\nconst alchemy = new Alchemy(config);\n\nalchemy.core.resolveName(\"vitalik.eth\").then(console.log);\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://docs.alchemy.com/docs/how-to-resolve-ewallet-given-ens","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"ensjs","data-code-group":"a6e24169","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-ts","dangerouslySetInnerHTML":{"__html":"$1a"}}]}],["$","$L15",null,{"code":"import { http } from \"viem\";\nimport { mainnet } from \"viem/chains\";\nimport { createEnsPublicClient } from \"@ensdomains/ensjs\";\n\nconst client = createEnsPublicClient({\n chain: mainnet,\n transport: http(),\n});\n\nconst subgraphRecords = client.getSubgraphRecords({ name: \"ens.eth\" });\n\nconst records = client.getRecords({\n name: \"ens.eth\",\n records: {\n coins: [...(subgraphRecords?.coins || []), \"BTC\", \"ETH\", \"ETC\", \"SOL\"],\n texts: [\n ...(subgraphRecords?.texts || []),\n \"avatar\",\n \"email\",\n \"description\",\n ],\n contentHash: true,\n abi: true,\n },\n});\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://github.com/ensdomains/ensjs/blob/feat/viem/docs/basics/fetching-a-profile.md","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"nethereum","data-code-group":"a6e24169","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-csharp","dangerouslySetInnerHTML":{"__html":"$1b"}}]}],["$","$L15",null,{"code":"var ensService = new Nethereum.ENS.ENSService(web3);\nvar address = await ensService.ResolveAddressAsync(\"alice.eth\");\n"}]]}]}],"$undefined"]}]]}]]}],"\n",["$","p",null,{"children":["To learn what happens under the hood when you do a forward lookup, read the ",["$","$Ld",null,{"href":"/resolution","target":"$undefined","className":"my-0 inline-flex items-center gap-1","children":["resolution","$undefined"]}]," section."]}],"\n",["$","$L12",null,{"level":2,"id":"multi-chain","children":"Multi-Chain Addresses (BTC, LTC, etc)","navtitle":"Multi-Chain Addresses","label":"Multi-Chain","tag":""}],"\n",["$","p",null,{"children":["ENS Names aren't just limited to storing Ethereum addresses.\nAny blockchain address (BTC, LTC, SOL, etc.) can be queried by ",["$","$Ld",null,{"href":"https://github.com/satoshilabs/slips/blob/master/slip-0044.md","target":"_blank","className":"my-0 inline-flex items-center gap-1","children":["SLIP-0044",["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}]," coin type or a value derived from an EVM Chain ID (specified in ",["$","$Ld",null,{"href":"/ensip/11","target":"$undefined","className":"my-0 inline-flex items-center gap-1","children":["ENSIP-11","$undefined"]}],"). This includes Ethereum L2 networks such as OP Mainnet and Base."]}],"\n",["$","p",null,{"children":["For EVM Chains besides Mainnet Ethereum, always use its ",["$","$Ld",null,{"href":"/ensip/11","target":"$undefined","className":"my-0 inline-flex items-center gap-1","children":["ENSIP-11","$undefined"]}]," coin type, irrespective of being included in SLIP-0044 (like Ether Classic)."]}],"\n",["$","p",null,{"children":["The standardization of multichain addresses was first introduced in ",["$","$Ld",null,{"href":"/ensip/9","target":"$undefined","className":"my-0 inline-flex items-center gap-1","children":["ENSIP-9","$undefined"]}],", and also ",["$","$Ld",null,{"href":"https://eips.ethereum.org/EIPS/eip-2304","target":"_blank","className":"my-0 inline-flex items-center gap-1","children":["EIP-2304",["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}],"."]}],"\n",["$","div",null,{"className":"dark:border-ens-500/30 my-6 flex gap-2.5 rounded-2xl border border-ens-light-border bg-ens-light-blue-50/50 p-4 leading-6 text-ens-light-blue-900 dark:border-ens-dark-border dark:bg-ens-light-blue-500/5 dark:text-ens-light-blue-200 dark:[--tw-prose-links-hover:theme(colors.ens.light.blue.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","svg",null,{"viewBox":"0 0 16 16","aria-hidden":"true","className":"fill-ens-500 dark:fill-ens-200/20 dark:stroke-ens-200 mt-1 size-4 flex-none stroke-white","children":[["$","circle",null,{"cx":"8","cy":"8","r":"8","strokeWidth":"0"}],["$","path",null,{"fill":"none","strokeLinecap":"round","strokeLinejoin":"round","strokeWidth":"1.5","d":"M6.75 7.75h1.5v3.5"}],["$","circle",null,{"cx":"8","cy":"4","r":".5","fill":"none"}]]}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Regardless of the chain you're resolving an address for, ENS resolution always starts from Ethereum L1."}]}]]}],"\n",["$","div",null,{"className":"text-ens-light-text-primary dark:text-ens-dark-text-primary my-6 bg-[--var(--shiki-color-background)] ","children":[["$","div",null,{"className":"relative flex min-h-[calc(theme(spacing.12)+1px)] items-center justify-between gap-x-4 rounded-t-lg border border-b-0 border-ens-light-border bg-ens-light-grey-surface px-4 dark:border-ens-dark-border dark:bg-ens-dark-grey-surface","children":[["$","div",null,{"className":"text-base text-ens-light-text-primary dark:text-ens-dark-text-primary","children":"Multichain Address Lookup"}],["$","$L13",null,{"snippets":[{"title":"$undefined","language":"tsx","preset":"wagmi","config":"$1c"},{"title":"$undefined","language":"ts","preset":"viem","config":"$1e"},{"title":"$undefined","language":"ts","preset":"ethers-v5","config":"$20"},{"title":"web3.py (Python)","language":"py","preset":"web3py","config":"$22"}],"identifier":"23c01937","presets":"code"}]]}],["$","div",null,{"className":"not-prose","children":[["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"wagmi","data-code-group":"23c01937","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-tsx","dangerouslySetInnerHTML":{"__html":"$24"}}]}],["$","$L15",null,{"code":"import { useEnsAddress } from \"wagmi\";\nimport { arbitrum, base } from \"wagmi/chains\";\n\nconst name = \"gregskril.eth\";\n\nconst evmChainIdToCoinType = (chainId: number) => {\n return (0x80000000 | chainId) >>> 0;\n};\n\nexport const MyAddresses = () => {\n // SLIP-0044 Coin Types (see ENSIP-9)\n const { data: bitcoinAddr } = useEnsAddress({ name, coinType: 0, chainId: 1 });\n const { data: solanaAddr } = useEnsAddress({ name, coinType: 501, chainId: 1 });\n\n // EVM Chain IDs (see ENSIP-11)\n const { data: baseAddr } = useEnsAddress({\n name,\n coinType: evmChainIdToCoinType(base.id),\n chainId: 1,\n });\n const { data: arbitrumAddr } = useEnsAddress({\n name,\n coinType: evmChainIdToCoinType(arbitrum.id),\n chainId: 1,\n });\n\n return {JSON.stringify({ bitcoinAddr, solanaAddr, baseAddr, arbitrumAddr })}
;\n};\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://wagmi.sh/react/api/hooks/useEnsAddress","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"viem","data-code-group":"23c01937","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-ts","dangerouslySetInnerHTML":{"__html":"$25"}}]}],["$","$L15",null,{"code":"const ensName = await publicClient.getEnsAddress({\n name: normalize(\"wagmi-dev.eth\"),\n coinType: 0, // BTC\n});\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://viem.sh/docs/ens/actions/getEnsAddress.html#cointype-optional","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":["$","$Ld",null,{"href":"https://stackblitz.com/edit/ens-viem-get-ens-address","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary rounded-md p-1 pr-2 text-xs transition hover:bg-gray-100","children":[["$","img",null,{"src":"/icons/stackblitz.svg","alt":"Stackblitz","className":"mr-1 inline-block size-4"}],"Try it out"]}]}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"ethers-v5","data-code-group":"23c01937","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-ts","dangerouslySetInnerHTML":{"__html":"$26"}}]}],["$","$L15",null,{"code":"const resolver = await provider.getResolver(\"luc.eth\");\nconst btcAddress = await resolver?.getAddress(0);\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://docs.ethers.org/v5/api/providers/provider/#EnsResolver","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"web3py","data-code-group":"23c01937","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-py","dangerouslySetInnerHTML":{"__html":"$27"}}]}],["$","$L15",null,{"code":"from ens.auto import ns\n\neth_address = ns.address('alice.eth', coin_type=60)\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://web3py.readthedocs.io/en/latest/ens_overview.html#multichain-address-resolution","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}]]}]]}],"\n",["$","table",null,{"children":[["$","thead",null,{"children":["$","tr",null,{"children":[["$","th",null,{"children":"Network"}],["$","th",null,{"children":"Coin Type"}]]}]}],["$","tbody",null,{"children":[["$","tr",null,{"children":[["$","td",null,{"children":"Bitcoin"}],["$","td",null,{"children":"0"}]]}],["$","tr",null,{"children":[["$","td",null,{"children":"Litecoin"}],["$","td",null,{"children":"2"}]]}],["$","tr",null,{"children":[["$","td",null,{"children":"Dogecoin"}],["$","td",null,{"children":"3"}]]}],["$","tr",null,{"children":[["$","td",null,{"children":"Ethereum"}],["$","td",null,{"children":"60"}]]}],["$","tr",null,{"children":[["$","td",null,{"children":"Solana"}],["$","td",null,{"children":"501"}]]}],["$","tr",null,{"children":[["$","td",null,{"children":"OP Mainnet"}],["$","td",null,{"children":"2147483658"}]]}],["$","tr",null,{"children":[["$","td",null,{"children":"Polygon"}],["$","td",null,{"children":"2147483785"}]]}],["$","tr",null,{"children":[["$","td",null,{"children":"Base"}],["$","td",null,{"children":"2147492101"}]]}],["$","tr",null,{"children":[["$","td",null,{"children":"Arbitrum One"}],["$","td",null,{"children":"2147525809"}]]}]]}]]}],"\n",["$","div",null,{"className":"w-full flex items-center justify-center gap-1","children":["$","p",null,{"children":["... and many many more following\n",["$","$Ld",null,{"href":"https://github.com/satoshilabs/slips/blob/master/slip-0044.md","target":"_blank","className":"my-0 inline-flex items-center gap-1","children":["SLIP-0044",["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}],"\nand ",["$","$Ld",null,{"href":"/ensip/11","target":"$undefined","className":"my-0 inline-flex items-center gap-1","children":["ENSIP-11","$undefined"]}]]}]}],"\n",["$","$L12",null,{"level":3,"id":"decoding-address-hashes","children":"Decoding Address Hashes"}],"\n",["$","p",null,{"children":["ENS resolvers store all addresses in bytes, which may have to be encoded to their respective address formats. To do this, we recommend using the ",["$","$Ld",null,{"href":"https://www.npmjs.com/package/@ensdomains/address-encoder","target":"_blank","className":"my-0 inline-flex items-center gap-1","children":["@ensdomains/address-encoder",["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}]," package."]}],"\n",["$","$L12",null,{"level":2,"id":"advanced","children":"Advanced"}],"\n",["$","$Ld",null,{"href":"/resolution","className":"card1 flex items-center gap-1.5 p-6 text-ens-light-text-primary no-underline outline-blue-500 transition-all hover:bg-ens-light-background-secondary/20 hover:outline-2 dark:text-ens-dark-text-primary hover:dark:bg-ens-dark-background-secondary/20","target":"$undefined","children":["$","div",null,{"className":"not-prose flex w-full items-center gap-1.5 text-ens-light-text-primary no-underline transition-all hover:bg-ens-light-background-secondary/20 dark:text-ens-dark-text-primary hover:dark:bg-ens-dark-background-secondary/20","children":[["$","span",null,{"className":"flex w-full flex-col","children":[["$","span",null,{"className":"font-bold","children":"In-Depth Resolution"}],["$","span",null,{"className":"font-normal","children":"To learn more about the resolution process, please read the Resolution section."}]]}],["$","span",null,{"className":"ml-2 rounded-full bg-ens-light-yellow-surface px-2 text-xs text-ens-light-yellow-active dark:bg-ens-dark-yellow-surface dark:text-ens-dark-yellow-active","children":"Advanced"}],["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","className":"text-2xl","children":["$undefined",[["$","polyline","0",{"points":"9 18 15 12 9 6","children":[]}]]],"style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}]}]]}],["$","div",null,{"className":"prose pt-8","children":[["$","div",null,{"className":"border-t border-ens-light-border pt-2 text-ens-light-text-primary dark:border-ens-dark-border dark:text-ens-dark-text-primary","children":["$","div",null,{"className":"leading-6","children":["$undefined","$undefined",["$","div",null,{"className":"flex justify-between text-xs","children":[["$","div",null,{"children":"Contributors"}],["$","div",null,{"className":"flex -space-x-2","children":[false,[["$","a","luc.eth",{"href":"https://ens.page/luc.eth?ref=ens-docs","rel":"nofollow","target":"_blank","className":"group relative transition-all hover:scale-105","children":[["$","img",null,{"src":"https://avatarservice.xyz/64/luc.eth.webp","className":"my-0 aspect-square w-6 rounded-full shadow-md","alt":"luc.eth"}],["$","span",null,{"className":"absolute left-1/2 top-0 size-0","children":["$","span",null,{"className":"relative","children":["$","span",null,{"className":"absolute top-[-0.2rem] hidden -translate-x-1/2 -translate-y-full items-center gap-1 rounded-lg border border-ens-light-border bg-ens-light-background-primary px-2 py-1 text-xs group-hover:flex dark:border-ens-dark-border dark:bg-ens-dark-background-primary","children":[["$","span",null,{"children":"luc.eth"}],["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}]}]}]]}],["$","a","gregskril.eth",{"href":"https://ens.page/gregskril.eth?ref=ens-docs","rel":"nofollow","target":"_blank","className":"group relative transition-all hover:scale-105","children":[["$","img",null,{"src":"https://avatarservice.xyz/64/gregskril.eth.webp","className":"my-0 aspect-square w-6 rounded-full shadow-md","alt":"gregskril.eth"}],["$","span",null,{"className":"absolute left-1/2 top-0 size-0","children":["$","span",null,{"className":"relative","children":["$","span",null,{"className":"absolute top-[-0.2rem] hidden -translate-x-1/2 -translate-y-full items-center gap-1 rounded-lg border border-ens-light-border bg-ens-light-background-primary px-2 py-1 text-xs group-hover:flex dark:border-ens-dark-border dark:bg-ens-dark-background-primary","children":[["$","span",null,{"children":"gregskril.eth"}],["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}]}]}]]}]]]}]]}],["$","div",null,{"className":"flex items-center justify-between text-xs","children":[["$","div",null,{"children":"Hash"}],["$","$L28",null,{"file":"/docs/web/resolution.mdx","hash":"9686d4e","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","circle","0",{"cx":"12","cy":"12","r":"4","children":[]}],["$","line","1",{"x1":"1.05","y1":"12","x2":"7","y2":"12","children":[]}],["$","line","2",{"x1":"17.01","y1":"12","x2":"22.96","y2":"12","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"9686d4e"]}]]}],["$","div",null,{"className":"flex items-center justify-between text-xs","children":[["$","div",null,{"children":"Last Modified"}],["$","$L28",null,{"file":"/docs/web/resolution.mdx","hash":"9686d4e","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","circle","0",{"cx":"12","cy":"12","r":"10","children":[]}],["$","polyline","1",{"points":"12 6 12 12 16 14","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],["$","$L29",null,{"date":1732642897000}]]}]]}]]}]}],"$undefined","$undefined"]}]]}],["$","div",null,{"className":"prose","children":["$","div",null,{"className":"notprose w-full","children":["$","footer",null,{"className":"w-full space-y-4 border-t border-t-ens-light-border pb-16 pt-4 dark:border-t-ens-dark-border","children":[["$","div",null,{"className":"flex flex-wrap items-end justify-between gap-2","children":[["$","$Le",null,{}],["$","div",null,{"className":"w-fit","children":["$","$Lf",null,{"url":"/docs/web/resolution.mdx"}]}]]}],["$","div",null,{"className":"flex flex-col items-center justify-between gap-5 sm:flex-row","children":[["$","p",null,{"className":"text-xs text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":["© Copyright ",2024,". All rights reserved."]}],["$","div",null,{"className":"flex gap-4","children":[["$","$Ld",null,{"href":"https://x.com/ensdomains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Follow us on X"}],["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 512 512","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$undefined",[["$","path","0",{"d":"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z","children":[]}]]],"style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}],["$","$Ld",null,{"href":"https://github.com/ensdomains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Follow us on GitHub"}],["$","svg",null,{"viewBox":"0 0 20 20","aria-hidden":"true","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$","path",null,{"fillRule":"evenodd","clipRule":"evenodd","d":"M10 1.667c-4.605 0-8.334 3.823-8.334 8.544 0 3.78 2.385 6.974 5.698 8.106.417.075.573-.182.573-.406 0-.203-.011-.875-.011-1.592-2.093.397-2.635-.522-2.802-1.002-.094-.246-.5-1.005-.854-1.207-.291-.16-.708-.556-.01-.567.656-.01 1.124.62 1.281.876.75 1.292 1.948.93 2.427.705.073-.555.291-.93.531-1.143-1.854-.213-3.791-.95-3.791-4.218 0-.929.322-1.698.854-2.296-.083-.214-.375-1.09.083-2.265 0 0 .698-.224 2.292.876a7.576 7.576 0 0 1 2.083-.288c.709 0 1.417.096 2.084.288 1.593-1.11 2.291-.875 2.291-.875.459 1.174.167 2.05.084 2.263.53.599.854 1.357.854 2.297 0 3.278-1.948 4.005-3.802 4.219.302.266.563.78.563 1.58 0 1.143-.011 2.061-.011 2.35 0 .224.156.491.573.405a8.365 8.365 0 0 0 4.11-3.116 8.707 8.707 0 0 0 1.567-4.99c0-4.721-3.73-8.545-8.334-8.545Z"}]}]]}],["$","$Ld",null,{"href":"https://chat.ens.domains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Join our Discord server"}],["$","svg",null,{"viewBox":"0 0 20 20","aria-hidden":"true","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$","path",null,{"d":"$2a"}]}]]}]]}]]}]]}]}]}]]}]]}]}]]}]}]
11:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Address Lookup | ENS Docs"}],["$","meta","3",{"name":"description","content":"Learn how to resolve blockchain addresses from human-readable names with ENS."}],["$","link","4",{"rel":"author","href":"https://ens.page/luc.eth?ref=ens-docs"}],["$","meta","5",{"name":"author","content":"luc.eth"}],["$","link","6",{"rel":"author","href":"https://ens.page/gregskril.eth?ref=ens-docs"}],["$","meta","7",{"name":"author","content":"gregskril.eth"}],["$","link","8",{"rel":"canonical","href":"https://docs.ens.domains/web/resolution"}],["$","meta","9",{"property":"og:title","content":"Address Lookup"}],["$","meta","10",{"property":"og:description","content":"Learn how to resolve blockchain addresses from human-readable names with ENS."}],["$","meta","11",{"property":"og:image","content":"https://docs.ens.domains/opengraph/web/resolution.png"}],["$","meta","12",{"property":"og:type","content":"article"}],["$","meta","13",{"property":"article:author","content":"https://ens.page/luc.eth?ref=ens-docs"}],["$","meta","14",{"property":"article:author","content":"https://ens.page/gregskril.eth?ref=ens-docs"}],["$","meta","15",{"property":"article:tag","content":"ENS"}],["$","meta","16",{"property":"article:tag","content":"Ethereum Name Service"}],["$","meta","17",{"property":"article:tag","content":".eth"}],["$","meta","18",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","19",{"name":"twitter:title","content":"Address Lookup"}],["$","meta","20",{"name":"twitter:description","content":"Learn how to resolve blockchain addresses from human-readable names with ENS."}],["$","meta","21",{"name":"twitter:image","content":"https://docs.ens.domains/opengraph/web/resolution.png"}]]
1:null