> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://v3.viem.sh/api/mcp` to find what you need.

# TxEnvelopeEip7702.deserialize

:::info
`TxEnvelopeEip7702.deserialize` is a re-export of ox's [`TxEnvelopeEip7702.deserialize`](https://oxlib.sh/api/TxEnvelopeEip7702/deserialize). Refer to the ox documentation for the full reference.
:::

Deserializes a [`TxEnvelopeEip7702.TxEnvelopeEip7702`](/docs/utilities/txenvelopeeip7702/types#txenvelopeeip7702) from its serialized form.

## Imports

```ts
import { TxEnvelopeEip7702 } from 'viem/utils'
```

## Examples

```ts twoslash
// @noErrors
import { TxEnvelopeEip7702 } from 'viem/utils'

const envelope = TxEnvelopeEip7702.deserialize(
  '0x04ef0182031184773594008477359400809470997970c51812dc3a010c7d01b50e0d17dc79c8880de0b6b3a764000080c0'
)
// @log: {
// @log:   authorizationList: [...],
// @log:   type: 'eip7702',
// @log:   nonce: 785n,
// @log:   maxFeePerGas: 2000000000n,
// @log:   gas: 1000000n,
// @log:   to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
// @log:   value: 1000000000000000000n,
// @log: }
```

## Definition

```ts
function deserialize(
  serialized: Serialized,
): Compute<TxEnvelopeEip7702>
```

## Parameters

### serialized

* **Type:** `Serialized`

The serialized transaction.

## Return Type

Deserialized Transaction Envelope.

`Compute<TxEnvelopeEip7702>`
