API
useSetEnsAddress
Hook to set the ENS address of the current user in a stream. You should be validating if the ENS address belongs to the user before setting it.
Imports
Definition
Source: useSetEnsAddress
Parameters
streamId
- Type:
string
The id of the stream to set the ENS address of.
config
- Type:
ActionConfig<Myself['setEnsAddress']>
- Optional
Configuration options for the action.
Return Type
The setEnsAddress
action and its loading state.
Was this page helpful?