Experimental
const { called, error, loading, execute } = useResolveAddress();
Simple example:
const { called, error, loading, execute } = useResolveAddress();
const callback = async () => {
const address = await execute({ handle: 'lens/wagmi' });
console.log(address);
}
This hook is experimental and may change in the future.
useResolveAddress
is a hook that resolves n EVM address from a Lens Handle.This hook will not execute until the returned function is called.