You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to resolve an ENS name from an ETH address? If not, that would be an amazing feature so I could use ENSKit to fetch both an ENS name and avatar from an address (happy to fetch serially).
Currently, ENSKit can turn ENS names into addresses. To make it possible to do the reverse, from addresses to ENS names, we're working on adding that feature. We'll let you know as soon as it's ready.
In the meantime, you can check out this API, it can handle both types of queries:
We have added support for reverse resolver. You can use it like this:
let enskit = ENSKit()
if let name = try await enskit.name(addr: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045") {
// 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 would resolve to vitalik.eth
}
Is it possible to resolve an ENS name from an ETH address? If not, that would be an amazing feature so I could use ENSKit to fetch both an ENS name and avatar from an address (happy to fetch serially).
@stdc105 let me know if I missed something!
The text was updated successfully, but these errors were encountered: