File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/thirdweb/src/transaction Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import * as ox__TransactionEnvelopeEip2930 from "ox/TransactionEnvelopeEip2930";
55import * as ox__TransactionEnvelopeLegacy from "ox/TransactionEnvelopeLegacy" ;
66import type { Hex } from "../utils/encoding/hex.js" ;
77
8- export type SerializableTransaction = {
8+ type SerializableTransaction = {
99 type ?: string | undefined ;
1010 r ?: Hex ;
1111 s ?: Hex ;
@@ -19,7 +19,7 @@ export type SerializableTransaction = {
1919 maxFeePerGas ?: bigint | undefined ;
2020 maxPriorityFeePerGas ?: bigint | undefined ;
2121 data ?: Hex | undefined ;
22- to ?: Hex | undefined ;
22+ to ?: string | null | undefined ; // Must allow null for backwards compatibility
2323 nonce ?: number | bigint | undefined ;
2424 value ?: bigint | undefined ;
2525 gasLimit ?: bigint | undefined ;
You can’t perform that action at this time.
0 commit comments