import { useSetEnsAddress } from '@towns-protocol/react-sdk'
function useSetEnsAddress( streamId: string, config?: ActionConfig<Myself["setEnsAddress"]>, ): { data: void | undefined; error: Error | undefined; isPending: boolean; isSuccess: boolean; isError: boolean; setEnsAddress: (ensAddress: `0x${string}`) => Promise<void>; }
string
ActionConfig<Myself["setEnsAddress"]>
setEnsAddress
{ data: void | undefined; error: Error | undefined; isPending: boolean; isSuccess: boolean; isError: boolean; setEnsAddress: (ensAddress: `0x${string}`) => Promise<void>; }
Was this page helpful?