# Interface: Request<TMethod, TParams>

> 

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

All requests/responses extends this shape

## Extends

- [`BaseRequest`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/BaseRequest.md)\<`TMethod`\>

## Extended by

- [`TRPCRequest`](https://trpc.io/docs/typedoc/server/rpc/interfaces/TRPCRequest.md)

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| `TMethod` *extends* `string` | `string` |
| `TParams` | `unknown` |

## 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

[`BaseRequest`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/BaseRequest.md).[`id`](https://trpc.io/docs/typedoc/server/rpc/namespaces/JSONRPC2/interfaces/BaseRequest.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

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

***

### method

> **method**: `TMethod`

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

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

***

### params

> **params**: `TParams`

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)
