useAddress
The useAddress
hook is used to get an address from an onchain identity provider for a given name.
Usage
import { useAddress } from '@coinbase/onchainkit/identity';
const { data: address, isLoading } = useAddress({ name: 'zizzamia.base.eth' });
Returns
useQuery<Promise<GetAddressReturnType>>