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

# TxEnvelopeEip2930.deserialize

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

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

## Imports

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

## Examples

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

const envelope = TxEnvelopeEip2930.deserialize(
  '0x01ef0182031184773594008477359400809470997970c51812dc3a010c7d01b50e0d17dc79c8880de0b6b3a764000080c0'
)
// @log: {
// @log:   type: 'eip2930',
// @log:   nonce: 785n,
// @log:   gasPrice: 2000000000n,
// @log:   gas: 1000000n,
// @log:   to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
// @log:   value: 1000000000000000000n,
// @log: }
```

## Definition

```ts
function deserialize(
  serialized: TxEnvelopeEip2930.Serialized,
): TxEnvelopeEip2930
```

## Parameters

### serialized

* **Type:** [`TxEnvelopeEip2930.Serialized`](/docs/utilities/txenvelopeeip2930/types#txenvelopeeip2930serialized)

The serialized transaction.

## Return Type

Deserialized Transaction Envelope.

`TxEnvelopeEip2930`
