TxEnvelopeEip2930.deserialize
Deserializes a TxEnvelopeEip2930.TxEnvelopeEip2930 from its serialized form.
Imports
Named
import { TxEnvelopeEip2930 } from 'ox'Examples
import { TxEnvelopeEip2930 } from 'ox'
const envelope = TxEnvelopeEip2930.deserialize('0x01ef0182031184773594008477359400809470997970c51812dc3a010c7d01b50e0d17dc79c8880de0b6b3a764000080c0')
{ type: 'eip2930', nonce: 785n, gasPrice: 2000000000n, gas: 1000000n, to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', value: 1000000000000000000n, }Definition
function deserialize(
serialized: TxEnvelopeEip2930.Serialized,
): TxEnvelopeEip2930Source: src/core/TxEnvelopeEip2930.ts
Parameters
serialized
The serialized transaction.
Return Type
Deserialized Transaction Envelope.

