Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import { useCreateSpace } from '@towns-protocol/react-sdk'
function useCreateSpace( config?: ActionConfig<Spaces["createSpace"]>, ): { data: { spaceId: string; defaultChannelId: string; } | undefined; error: Error | undefined; isPending: boolean; isSuccess: boolean; isError: boolean; createSpace: (params: Partial<Omit<CreateSpaceParams, "spaceName">> & { spaceName: string; }, signer: Signer) => Promise<{ spaceId: string; defaultChannelId: string; }>; }
ActionConfig<Spaces["createSpace"]>
createSpace
{ data: { spaceId: string; defaultChannelId: string; } | undefined; error: Error | undefined; isPending: boolean; isSuccess: boolean; isError: boolean; createSpace: (params: Partial<Omit<CreateSpaceParams, "spaceName">> & { spaceName: string; }, signer: Signer) => Promise<{ spaceId: string; defaultChannelId: string; }>; }
Was this page helpful?