> **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.

# TxEnvelopeEip1559.deserialize

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

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

## Imports

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

## Examples

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

const envelope = TxEnvelopeEip1559.deserialize(
  '0x02ef0182031184773594008477359400809470997970c51812dc3a010c7d01b50e0d17dc79c8880de0b6b3a764000080c0'
)
// @log: {
// @log:   type: 'eip1559',
// @log:   nonce: 785n,
// @log:   maxFeePerGas: 2000000000n,
// @log:   gas: 1000000n,
// @log:   to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
// @log:   value: 1000000000000000000n,
// @log: }
```

## Definition

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

## Parameters

### serialized

* **Type:** `Serialized`

The serialized transaction.

## Return Type

Deserialized Transaction Envelope.

`Compute<TxEnvelopeEip1559>`
