# TxEnvelopeEip8141.validate

Returns whether an EIP-8141 envelope satisfies structural constraints.

## Imports

:::code-group
```ts [Named]
import { TxEnvelopeEip8141 } from 'ox'
```

```ts [Entrypoint]
import * as TxEnvelopeEip8141 from 'ox/TxEnvelopeEip8141'
```
:::

## Examples

### Basic Usage

```ts twoslash
import { Frame, TxEnvelopeEip8141 } from 'ox'

const valid = TxEnvelopeEip8141.validate({
  chainId: 1,
  frames: [Frame.from({})],
  sender: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8'
})
```

## Definition

```ts
function validate(
  envelope: PartialBy<TxEnvelopeEip8141, 'type'>,
): boolean
```

**Source:** [src/core/TxEnvelopeEip8141.ts](https://github.com/wevm/ox/blob/main/src/core/TxEnvelopeEip8141.ts#L669)

## Parameters

### envelope

* **Type:** `PartialBy<TxEnvelopeEip8141, 'type'>`

The transaction envelope to validate.

## Return Type

Whether the envelope is structurally valid.

`boolean`
