Does the ENS metadata service respect NFT ownership?

Hi. I was looking at using the ENS metadata service to fetch ENS avatar URIs, but there is no information in the docs whether the ENS avatar image endpoint verifies that if the avatar is an NFT then it is owned by the specified account. I wonder if anyone here knows whether that service does this verification step?

I had a look through the source code and it looks like it doesn’t.

Not sure how it works on the back-end, but on the front-end of the ENS App, the “owner” tag is displayed in front of the avatar text record if the NFT is in your wallet.

You’re correct in that the NFT ownership isn’t verified for the avatar endpoint. It’s done for a variety of reasons, but if you want to exclusively show NFT avatars that are owned by the same wallet, you can get that from the avatar metadata.