useEnsAvatar

Returns avatar link for the ens

Usage

import { useEnsAvatar } from '@nazeeh2000/comp-kit'

const Comp = () => {
  const { avatar } = useEnsAvatar({ 
    ensName: 'wagmi-dev.eth'
  });
   
   return (
   // Your component
   )
}

Return values

const {
      avatar,
      fetching,
      error,
} = useEnsAvatar({ 
    ensName: 'wagmi-dev.eth'
  });

Last updated