# Function: createSpaceHostClient()

```ts
function createSpaceHostClient(
   url, 
   host, 
   provider?
): SpaceHostClient;
```

Defined in: [packages/core/src/session/hosting.ts:717](https://github.com/leifriksheim/minca/blob/main/core/src/session/hosting.ts#L717)

A client for one host's calls about spaces paying for themselves.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `url` | `string` | - |
| `host` | `string` | The host's key: every status must be signed by it |
| `provider?` | [`CryptoProvider`](https://minca.dev/api/core/interfaces/CryptoProvider.md) | - |

## Returns

[`SpaceHostClient`](https://minca.dev/api/core/interfaces/SpaceHostClient.md)
