# Function: spaceIdOf()

```ts
function spaceIdOf(constitution): Promise<string>;
```

Defined in: [packages/core/src/space/constitution.ts:97](https://github.com/leifriksheim/minca/blob/main/core/src/space/constitution.ts#L97)

The id a space with this constitution has: the CID of its canonical JSON

## Parameters

| Parameter | Type |
| ------ | ------ |
| `constitution` | [`Constitution`](https://minca.dev/api/core/type-aliases/Constitution.md) |

## Returns

`Promise`\<`string`\>
