# z.TxEnvelopeLegacy.TxEnvelopeLegacyToRpc

Encode-only legacy transaction envelope schema accepting numberish `toRpc` inputs.

## Imports

```ts
import { z } from 'ox/zod'

z.TxEnvelopeLegacy.TxEnvelopeLegacyToRpc
```

## Definition

```ts
export const TxEnvelopeLegacyToRpc = z.object(fields(toRpc.uint, toRpc.num))
```

**Source:** [src/zod/TxEnvelopeLegacy.ts](https://github.com/wevm/ox/blob/main/src/zod/TxEnvelopeLegacy.ts)
