# Interface: TRPCRequest

> 

Defined in: [packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:60](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts#L60)

A call to a procedure.

## Extends

- [`Request`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/Request.md)\<[`TRPCProcedureType`](https://trpc.io/docs/typedoc/server/index/type-aliases/TRPCProcedureType.md), \{ `input`: `unknown`; `lastEventId`: `string`; `path`: `string`; \}\>

## Properties

### id?

> `optional` **id**: [`RequestId`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/type-aliases/RequestId.md)

Defined in: [packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:29](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts#L29)

#### Inherited from

[`Request`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/Request.md).[`id`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/Request.md#id)

***

### jsonrpc?

> `optional` **jsonrpc**: `"2.0"`

Defined in: [packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:30](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts#L30)

#### Inherited from

[`Request`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/Request.md).[`jsonrpc`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/Request.md#jsonrpc)

***

### method

> **method**: `"query"` \| `"mutation"` \| `"subscription"`

Defined in: [packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:36](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts#L36)

#### Inherited from

[`Request`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/Request.md).[`method`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/Request.md#method)

***

### params

> **params**: `object`

Defined in: [packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts:43](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/server/src/unstable-core-do-not-import/rpc/envelopes.ts#L43)

#### input

> **input**: `unknown`

#### lastEventId?

> `optional` **lastEventId**: `string`

The last event id that the client received

#### path

> **path**: `string`

#### Inherited from

[`Request`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/Request.md).[`params`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/Request.md#params)
