# Class: TRPCUntypedClient<TInferrable>

> 

Defined in: [packages/client/src/internals/TRPCUntypedClient.ts:75](https://github.com/trpc/trpc/blob/a357903312114c6c08952de2c9edc51c713367be/packages/client/src/internals/TRPCUntypedClient.ts#L75)

A client that calls procedures by path string, without types.
`createTRPCClient` wraps one.

## Type Parameters

| Type Parameter |
| ------ |
| `TInferrable` *extends* `InferrableClientTypes` |

## Constructors

### new TRPCUntypedClient()

> **new TRPCUntypedClient**\<`TInferrable`\>(`opts`): [`TRPCUntypedClient`](https://trpc.io/docs/typedoc/client/index/classes/TRPCUntypedClient.md)\<`TInferrable`\>

Defined in: [packages/client/src/internals/TRPCUntypedClient.ts:80](https://github.com/trpc/trpc/blob/a357903312114c6c08952de2c9edc51c713367be/packages/client/src/internals/TRPCUntypedClient.ts#L80)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `opts` | `CreateTRPCClientOptions`\<`TInferrable`\> |

#### Returns

[`TRPCUntypedClient`](https://trpc.io/docs/typedoc/client/index/classes/TRPCUntypedClient.md)\<`TInferrable`\>

## Properties

### runtime

> `readonly` **runtime**: [`TRPCClientRuntime`](https://trpc.io/docs/typedoc/client/index/interfaces/TRPCClientRuntime.md)

Defined in: [packages/client/src/internals/TRPCUntypedClient.ts:77](https://github.com/trpc/trpc/blob/a357903312114c6c08952de2c9edc51c713367be/packages/client/src/internals/TRPCUntypedClient.ts#L77)

## Methods

### mutation()

> **mutation**(`path`, `input`?, `opts`?): `Promise`\<`unknown`\>

Defined in: [packages/client/src/internals/TRPCUntypedClient.ts:136](https://github.com/trpc/trpc/blob/a357903312114c6c08952de2c9edc51c713367be/packages/client/src/internals/TRPCUntypedClient.ts#L136)

Calls a mutation.

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `path` | `string` |
| `input`? | `unknown` |
| `opts`? | [`TRPCRequestOptions`](https://trpc.io/docs/typedoc/client/index/interfaces/TRPCRequestOptions.md) |

#### Returns

`Promise`\<`unknown`\>

***

### query()

> **query**(`path`, `input`?, `opts`?): `Promise`\<`unknown`\>

Defined in: [packages/client/src/internals/TRPCUntypedClient.ts:126](https://github.com/trpc/trpc/blob/a357903312114c6c08952de2c9edc51c713367be/packages/client/src/internals/TRPCUntypedClient.ts#L126)

Calls a query.

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `path` | `string` |
| `input`? | `unknown` |
| `opts`? | [`TRPCRequestOptions`](https://trpc.io/docs/typedoc/client/index/interfaces/TRPCRequestOptions.md) |

#### Returns

`Promise`\<`unknown`\>

***

### subscription()

> **subscription**(`path`, `input`, `opts`): `Unsubscribable`

Defined in: [packages/client/src/internals/TRPCUntypedClient.ts:146](https://github.com/trpc/trpc/blob/a357903312114c6c08952de2c9edc51c713367be/packages/client/src/internals/TRPCUntypedClient.ts#L146)

Starts a subscription. Returns what stops it.

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `path` | `string` |
| `input` | `unknown` |
| `opts` | `Partial`\<`TRPCSubscriptionObserver`\<`unknown`, [`TRPCClientError`](https://trpc.io/docs/typedoc/client/index/classes/TRPCClientError.md)\<`AnyRouter`\>\>\> & [`TRPCRequestOptions`](https://trpc.io/docs/typedoc/client/index/interfaces/TRPCRequestOptions.md) |

#### Returns

`Unsubscribable`
