You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Transaction Envelope can be constructed using the respective `.from` function.
23
23
24
-
The example below demonstrates how to construct an [EIP-1559 Transaction Envelope](/api/TransactionEnvelopeEip1559) using [`TransactionEnvelopeEip1559.from`](/api/TransactionEnvelopeEip1559/from). EIP-1559 Transactions are the most commonly used Transaction Envelope type.
24
+
The example below demonstrates how to construct an [EIP-1559 Transaction Envelope](/api/TxEnvelopeEip1559) using [`TxEnvelopeEip1559.from`](/api/TxEnvelopeEip1559/from). EIP-1559 Transactions are the most commonly used Transaction Envelope type.
25
25
26
26
```ts twoslash
27
-
import { TransactionEnvelopeEip1559, Value } from'ox'
We can sign over a Transaction Envelope by passing the result of the Envelope's `.getSignPayload` function to the respective [Signer's](/guides/ecdsa#signing)`.sign` function.
42
42
43
-
The example below demonstrates how to sign an [EIP-1559 Transaction Envelope](/api/TransactionEnvelopeEip1559).
43
+
The example below demonstrates how to sign an [EIP-1559 Transaction Envelope](/api/TxEnvelopeEip1559).
44
44
45
45
```ts twoslash
46
-
import { TransactionEnvelopeEip1559, Secp256k1, Value } from'ox'
46
+
import { TxEnvelopeEip1559, Secp256k1, Value } from'ox'
We can serialize a Transaction Envelope into RLP-encoded format by calling `.serialize`. We can also deserialize an RLP-encoded Transaction Envelope by calling `.deserialize`.
87
87
88
88
```ts twoslash
89
-
import { TransactionEnvelopeEip1559, Secp256k1, Value } from'ox'
89
+
import { TxEnvelopeEip1559, Secp256k1, Value } from'ox'
|[TransactionEnvelope](/api/TransactionEnvelope)| Errors & Types for working with Transaction Envelopes. |
192
-
|[TransactionEnvelopeEip1559](/api/TransactionEnvelopeEip1559)| Utility functions for working with [EIP-1559 Typed Transaction Envelopes](https://eips.ethereum.org/EIPS/eip-1559). |
193
-
|[TransactionEnvelopeEip2930](/api/TransactionEnvelopeEip2930)| Utility functions for working with [EIP-2930 Typed Transaction Envelopes](https://eips.ethereum.org/EIPS/eip-2930). |
194
-
|[TransactionEnvelopeEip4844](/api/TransactionEnvelopeEip4844)| Utility functions for working with [EIP-4844 Typed Transaction Envelopes](https://eips.ethereum.org/EIPS/eip-4844). |
195
-
|[TransactionEnvelopeEip7702](/api/TransactionEnvelopeEip7702)| Utility functions for working with [EIP-7702 Typed Transaction Envelopes](https://eips.ethereum.org/EIPS/eip-7702). |
196
-
|[TransactionEnvelopeLegacy](/api/TransactionEnvelopeLegacy)| Utility functions for working with **Legacy Transaction Envelopes**. |
|[TransactionEnvelope](/api/TransactionEnvelope)| Errors & Types for working with Transaction Envelopes. |
192
+
|[TxEnvelopeEip1559](/api/TxEnvelopeEip1559)| Utility functions for working with [EIP-1559 Typed Transaction Envelopes](https://eips.ethereum.org/EIPS/eip-1559). |
193
+
|[TxEnvelopeEip2930](/api/TxEnvelopeEip2930)| Utility functions for working with [EIP-2930 Typed Transaction Envelopes](https://eips.ethereum.org/EIPS/eip-2930). |
194
+
|[TxEnvelopeEip4844](/api/TxEnvelopeEip4844)| Utility functions for working with [EIP-4844 Typed Transaction Envelopes](https://eips.ethereum.org/EIPS/eip-4844). |
195
+
|[TxEnvelopeEip7702](/api/TxEnvelopeEip7702)| Utility functions for working with [EIP-7702 Typed Transaction Envelopes](https://eips.ethereum.org/EIPS/eip-7702). |
196
+
|[TxEnvelopeLegacy](/api/TxEnvelopeLegacy)| Utility functions for working with **Legacy Transaction Envelopes**. |
0 commit comments