TxEnvelopeTempo.deserialize
Deserializes a TxEnvelopeTempo.TxEnvelopeTempo from its serialized form.
Imports
Named
import { TxEnvelopeTempo } from 'ox/tempo'Examples
import { TxEnvelopeTempo } from 'ox/tempo'
const envelope = TxEnvelopeTempo.deserialize('0x76f84a0182031184773594008477359400809470997970c51812dc3a010c7d01b50e0d17dc79c8880de0b6b3a764000080c0808080')
{ type: 'tempo', nonce: 785n, maxFeePerGas: 2000000000n, gas: 1000000n, calls: [{ to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8', value: 1000000000000000000n }], }Definition
function deserialize(
serialized: Serialized,
): Compute<TxEnvelopeTempo>Source: src/tempo/TxEnvelopeTempo.ts
Parameters
serialized
- Type:
Serialized
The serialized transaction.
Return Type
Deserialized Transaction Envelope.
Compute<TxEnvelopeTempo>

