I can’t figure out how to reverse resolve ENS addresses.
I know there’s an old rest api /resolve/{address}/reverse
endpoint, but no documentation on how to properly use that. I keep getting errors on everything I’ve tried. Can I call that from the SDK?
And the SDK documentation only includes Unstoppable Domains and not ENS.
I’m trying to check for ENS when users sign up to set it as their display name
So probably looking to use it inside a cloud function.
ps: Moralis should do this automatically, save primary ENS record on User table. Bonus points for also getting user avatar from ENS and metadata is available. Seems like a basic thing every app needs.