viem 2.16.5 → 2.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/_cjs/actions/public/watchContractEvent.js +1 -1
  3. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  4. package/_cjs/celo/formatters.js +17 -12
  5. package/_cjs/celo/formatters.js.map +1 -1
  6. package/_cjs/celo/parsers.js +2 -1
  7. package/_cjs/celo/parsers.js.map +1 -1
  8. package/_cjs/celo/serializers.js +2 -1
  9. package/_cjs/celo/serializers.js.map +1 -1
  10. package/_cjs/chains/definitions/berachainTestnetbArtio.js +6 -0
  11. package/_cjs/chains/definitions/berachainTestnetbArtio.js.map +1 -1
  12. package/_cjs/chains/definitions/btr.js +3 -4
  13. package/_cjs/chains/definitions/btr.js.map +1 -1
  14. package/_cjs/chains/definitions/btrTestnet.js +4 -5
  15. package/_cjs/chains/definitions/btrTestnet.js.map +1 -1
  16. package/_cjs/chains/definitions/crab.js +29 -0
  17. package/_cjs/chains/definitions/crab.js.map +1 -0
  18. package/_cjs/chains/definitions/koi.js +30 -0
  19. package/_cjs/chains/definitions/koi.js.map +1 -0
  20. package/_cjs/chains/definitions/seiTestnet.js +23 -0
  21. package/_cjs/chains/definitions/seiTestnet.js.map +1 -0
  22. package/_cjs/chains/definitions/taikoHekla.js +1 -0
  23. package/_cjs/chains/definitions/taikoHekla.js.map +1 -1
  24. package/_cjs/chains/definitions/xLayerTestnet.js +2 -2
  25. package/_cjs/chains/definitions/xLayerTestnet.js.map +1 -1
  26. package/_cjs/chains/definitions/zkLinkNova.js +23 -0
  27. package/_cjs/chains/definitions/zkLinkNova.js.map +1 -0
  28. package/_cjs/chains/index.js +13 -5
  29. package/_cjs/chains/index.js.map +1 -1
  30. package/_cjs/errors/version.js +1 -1
  31. package/_cjs/op-stack/formatters.js.map +1 -1
  32. package/_cjs/utils/formatters/formatter.js.map +1 -1
  33. package/_cjs/zksync/formatters.js.map +1 -1
  34. package/_cjs/zksync/index.js.map +1 -1
  35. package/_esm/actions/public/watchContractEvent.js +1 -1
  36. package/_esm/actions/public/watchContractEvent.js.map +1 -1
  37. package/_esm/celo/formatters.js +17 -12
  38. package/_esm/celo/formatters.js.map +1 -1
  39. package/_esm/celo/parsers.js +3 -2
  40. package/_esm/celo/parsers.js.map +1 -1
  41. package/_esm/celo/serializers.js +3 -2
  42. package/_esm/celo/serializers.js.map +1 -1
  43. package/_esm/chains/definitions/berachainTestnetbArtio.js +6 -0
  44. package/_esm/chains/definitions/berachainTestnetbArtio.js.map +1 -1
  45. package/_esm/chains/definitions/btr.js +3 -4
  46. package/_esm/chains/definitions/btr.js.map +1 -1
  47. package/_esm/chains/definitions/btrTestnet.js +4 -5
  48. package/_esm/chains/definitions/btrTestnet.js.map +1 -1
  49. package/_esm/chains/definitions/crab.js +26 -0
  50. package/_esm/chains/definitions/crab.js.map +1 -0
  51. package/_esm/chains/definitions/koi.js +27 -0
  52. package/_esm/chains/definitions/koi.js.map +1 -0
  53. package/_esm/chains/definitions/seiTestnet.js +20 -0
  54. package/_esm/chains/definitions/seiTestnet.js.map +1 -0
  55. package/_esm/chains/definitions/taikoHekla.js +1 -0
  56. package/_esm/chains/definitions/taikoHekla.js.map +1 -1
  57. package/_esm/chains/definitions/xLayerTestnet.js +2 -2
  58. package/_esm/chains/definitions/xLayerTestnet.js.map +1 -1
  59. package/_esm/chains/definitions/zkLinkNova.js +20 -0
  60. package/_esm/chains/definitions/zkLinkNova.js.map +1 -0
  61. package/_esm/chains/index.js +4 -0
  62. package/_esm/chains/index.js.map +1 -1
  63. package/_esm/errors/version.js +1 -1
  64. package/_esm/op-stack/formatters.js.map +1 -1
  65. package/_esm/utils/formatters/formatter.js.map +1 -1
  66. package/_esm/zksync/formatters.js.map +1 -1
  67. package/_esm/zksync/index.js.map +1 -1
  68. package/_types/celo/chainConfig.d.ts +445 -3773
  69. package/_types/celo/chainConfig.d.ts.map +1 -1
  70. package/_types/celo/formatters.d.ts +222 -1887
  71. package/_types/celo/formatters.d.ts.map +1 -1
  72. package/_types/celo/index.d.ts +1 -1
  73. package/_types/celo/index.d.ts.map +1 -1
  74. package/_types/celo/parsers.d.ts.map +1 -1
  75. package/_types/celo/serializers.d.ts +1 -1
  76. package/_types/celo/serializers.d.ts.map +1 -1
  77. package/_types/celo/types.d.ts +38 -28
  78. package/_types/celo/types.d.ts.map +1 -1
  79. package/_types/chains/definitions/ancient8.d.ts +18 -820
  80. package/_types/chains/definitions/ancient8.d.ts.map +1 -1
  81. package/_types/chains/definitions/ancient8Sepolia.d.ts +18 -820
  82. package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
  83. package/_types/chains/definitions/base.d.ts +18 -820
  84. package/_types/chains/definitions/base.d.ts.map +1 -1
  85. package/_types/chains/definitions/baseGoerli.d.ts +18 -820
  86. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  87. package/_types/chains/definitions/baseSepolia.d.ts +18 -820
  88. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  89. package/_types/chains/definitions/berachainTestnetbArtio.d.ts +6 -8
  90. package/_types/chains/definitions/berachainTestnetbArtio.d.ts.map +1 -1
  91. package/_types/chains/definitions/btr.d.ts +3 -4
  92. package/_types/chains/definitions/btr.d.ts.map +1 -1
  93. package/_types/chains/definitions/btrTestnet.d.ts +4 -5
  94. package/_types/chains/definitions/btrTestnet.d.ts.map +1 -1
  95. package/_types/chains/definitions/celo.d.ts +442 -3770
  96. package/_types/chains/definitions/celo.d.ts.map +1 -1
  97. package/_types/chains/definitions/celoAlfajores.d.ts +442 -3770
  98. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  99. package/_types/chains/definitions/crab.d.ts +34 -0
  100. package/_types/chains/definitions/crab.d.ts.map +1 -0
  101. package/_types/chains/definitions/dchain.d.ts +18 -820
  102. package/_types/chains/definitions/dchain.d.ts.map +1 -1
  103. package/_types/chains/definitions/dchainTestnet.d.ts +18 -820
  104. package/_types/chains/definitions/dchainTestnet.d.ts.map +1 -1
  105. package/_types/chains/definitions/fraxtal.d.ts +18 -820
  106. package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
  107. package/_types/chains/definitions/fraxtalTestnet.d.ts +18 -820
  108. package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
  109. package/_types/chains/definitions/funkiSepolia.d.ts +18 -820
  110. package/_types/chains/definitions/funkiSepolia.d.ts.map +1 -1
  111. package/_types/chains/definitions/koi.d.ts +34 -0
  112. package/_types/chains/definitions/koi.d.ts.map +1 -0
  113. package/_types/chains/definitions/lisk.d.ts +45 -1148
  114. package/_types/chains/definitions/lisk.d.ts.map +1 -1
  115. package/_types/chains/definitions/liskSepolia.d.ts +18 -820
  116. package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
  117. package/_types/chains/definitions/metalL2.d.ts +18 -820
  118. package/_types/chains/definitions/metalL2.d.ts.map +1 -1
  119. package/_types/chains/definitions/optimism.d.ts +18 -820
  120. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  121. package/_types/chains/definitions/optimismGoerli.d.ts +18 -820
  122. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  123. package/_types/chains/definitions/optimismSepolia.d.ts +18 -820
  124. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  125. package/_types/chains/definitions/pgn.d.ts +18 -820
  126. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  127. package/_types/chains/definitions/pgnTestnet.d.ts +18 -820
  128. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  129. package/_types/chains/definitions/playfiAlbireo.d.ts +45 -1148
  130. package/_types/chains/definitions/playfiAlbireo.d.ts.map +1 -1
  131. package/_types/chains/definitions/rss3.d.ts +18 -820
  132. package/_types/chains/definitions/rss3.d.ts.map +1 -1
  133. package/_types/chains/definitions/rss3Sepolia.d.ts +18 -820
  134. package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -1
  135. package/_types/chains/definitions/seiTestnet.d.ts +36 -0
  136. package/_types/chains/definitions/seiTestnet.d.ts.map +1 -0
  137. package/_types/chains/definitions/taikoHekla.d.ts +1 -1
  138. package/_types/chains/definitions/taikoHekla.d.ts.map +1 -1
  139. package/_types/chains/definitions/xLayerTestnet.d.ts +2 -2
  140. package/_types/chains/definitions/zkLinkNova.d.ts +35 -0
  141. package/_types/chains/definitions/zkLinkNova.d.ts.map +1 -0
  142. package/_types/chains/definitions/zkSync.d.ts +45 -1148
  143. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  144. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts +45 -1148
  145. package/_types/chains/definitions/zkSyncInMemoryNode.d.ts.map +1 -1
  146. package/_types/chains/definitions/zkSyncLocalNode.d.ts +45 -1148
  147. package/_types/chains/definitions/zkSyncLocalNode.d.ts.map +1 -1
  148. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +45 -1148
  149. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  150. package/_types/chains/definitions/zkSyncTestnet.d.ts +45 -1148
  151. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  152. package/_types/chains/definitions/zora.d.ts +18 -820
  153. package/_types/chains/definitions/zora.d.ts.map +1 -1
  154. package/_types/chains/definitions/zoraSepolia.d.ts +18 -820
  155. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  156. package/_types/chains/definitions/zoraTestnet.d.ts +18 -820
  157. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  158. package/_types/chains/index.d.ts +6 -2
  159. package/_types/chains/index.d.ts.map +1 -1
  160. package/_types/errors/version.d.ts +1 -1
  161. package/_types/op-stack/chainConfig.d.ts +18 -820
  162. package/_types/op-stack/chainConfig.d.ts.map +1 -1
  163. package/_types/op-stack/formatters.d.ts +60 -863
  164. package/_types/op-stack/formatters.d.ts.map +1 -1
  165. package/_types/op-stack/types/transaction.d.ts +1 -1
  166. package/_types/op-stack/types/transaction.d.ts.map +1 -1
  167. package/_types/types/utils.d.ts +0 -10
  168. package/_types/types/utils.d.ts.map +1 -1
  169. package/_types/utils/formatters/block.d.ts +1 -1
  170. package/_types/utils/formatters/formatter.d.ts +2 -2
  171. package/_types/utils/formatters/formatter.d.ts.map +1 -1
  172. package/_types/utils/formatters/transaction.d.ts +1 -386
  173. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  174. package/_types/utils/formatters/transactionReceipt.d.ts +1 -1
  175. package/_types/utils/formatters/transactionRequest.d.ts +1 -274
  176. package/_types/utils/formatters/transactionRequest.d.ts.map +1 -1
  177. package/_types/zksync/chainConfig.d.ts +45 -1148
  178. package/_types/zksync/chainConfig.d.ts.map +1 -1
  179. package/_types/zksync/formatters.d.ts +100 -1204
  180. package/_types/zksync/formatters.d.ts.map +1 -1
  181. package/_types/zksync/index.d.ts +1 -1
  182. package/_types/zksync/index.d.ts.map +1 -1
  183. package/_types/zksync/types/block.d.ts +5 -6
  184. package/_types/zksync/types/block.d.ts.map +1 -1
  185. package/_types/zksync/types/transaction.d.ts +2 -1
  186. package/_types/zksync/types/transaction.d.ts.map +1 -1
  187. package/actions/public/watchContractEvent.ts +1 -1
  188. package/celo/formatters.ts +22 -24
  189. package/celo/index.ts +0 -2
  190. package/celo/parsers.ts +5 -3
  191. package/celo/serializers.ts +3 -5
  192. package/celo/types.ts +74 -54
  193. package/chains/definitions/berachainTestnetbArtio.ts +6 -0
  194. package/chains/definitions/btr.ts +3 -4
  195. package/chains/definitions/btrTestnet.ts +4 -5
  196. package/chains/definitions/crab.ts +26 -0
  197. package/chains/definitions/koi.ts +27 -0
  198. package/chains/definitions/seiTestnet.ts +20 -0
  199. package/chains/definitions/taikoHekla.ts +1 -0
  200. package/chains/definitions/xLayerTestnet.ts +2 -2
  201. package/chains/definitions/zkLinkNova.ts +20 -0
  202. package/chains/index.ts +4 -4
  203. package/errors/version.ts +1 -1
  204. package/op-stack/formatters.ts +8 -20
  205. package/op-stack/types/transaction.ts +3 -3
  206. package/package.json +1 -1
  207. package/types/utils.ts +0 -11
  208. package/utils/formatters/formatter.ts +3 -3
  209. package/zksync/formatters.ts +6 -18
  210. package/zksync/index.ts +0 -2
  211. package/zksync/types/block.ts +24 -23
  212. package/zksync/types/transaction.ts +4 -0
@@ -22,9 +22,7 @@ export declare const chainConfig: {
22
22
  readonly formatters: {
23
23
  readonly block: {
24
24
  exclude: [] | undefined;
25
- format: (args: import("../types/utils.js").Assign<import("../index.js").ExactPartial<import("../index.js").RpcBlock>, import("./index.js").OpStackRpcBlockOverrides & {
26
- transactions: import("../index.js").Hash[] | import("./index.js").OpStackRpcTransaction[];
27
- }>) => {
25
+ format: (args: import("./index.js").OpStackRpcBlock) => {
28
26
  baseFeePerGas: bigint | null;
29
27
  blobGasUsed: bigint;
30
28
  difficulty: bigint;
@@ -46,7 +44,7 @@ export declare const chainConfig: {
46
44
  stateRoot: import("../index.js").Hash;
47
45
  timestamp: bigint;
48
46
  totalDifficulty: bigint | null;
49
- transactions: `0x${string}`[] | import("./index.js").OpStackTransaction[];
47
+ transactions: `0x${string}`[] | import("./index.js").OpStackTransaction<boolean>[];
50
48
  transactionsRoot: import("../index.js").Hash;
51
49
  uncles: import("../index.js").Hash[];
52
50
  withdrawals?: import("../index.js").Withdrawal[] | undefined;
@@ -56,669 +54,31 @@ export declare const chainConfig: {
56
54
  };
57
55
  readonly transaction: {
58
56
  exclude: [] | undefined;
59
- format: (args: ({
60
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
61
- r?: import("../index.js").Hex;
62
- s?: import("../index.js").Hex;
63
- v?: `0x${string}`;
64
- yParity?: `0x${string}` | undefined;
65
- gasPrice?: `0x${string}` | undefined;
66
- maxFeePerBlobGas?: `0x${string}` | undefined;
67
- maxFeePerGas?: `0x${string}` | undefined;
68
- maxPriorityFeePerGas?: `0x${string}` | undefined;
69
- to?: import("abitype").Address | null;
70
- from?: import("abitype").Address;
71
- gas?: `0x${string}`;
72
- nonce?: `0x${string}`;
73
- value?: `0x${string}`;
74
- accessList?: undefined;
75
- blobVersionedHashes?: undefined;
76
- blockHash?: `0x${string}` | null;
77
- blockNumber?: `0x${string}` | null;
78
- hash?: import("../index.js").Hash;
79
- input?: import("../index.js").Hex;
80
- transactionIndex?: `0x${string}` | null;
81
- chainId?: `0x${string}` | undefined;
82
- } & {
83
- type: "0x0";
84
- r: import("../index.js").Hex;
85
- s: import("../index.js").Hex;
86
- v: `0x${string}`;
87
- yParity?: undefined;
88
- gasPrice: `0x${string}`;
89
- maxFeePerBlobGas?: undefined;
90
- maxFeePerGas?: undefined;
91
- maxPriorityFeePerGas?: undefined;
92
- to: import("abitype").Address | null;
93
- from: import("abitype").Address;
94
- gas: `0x${string}`;
95
- nonce: `0x${string}`;
96
- value: `0x${string}`;
97
- accessList?: undefined;
98
- blobVersionedHashes?: undefined;
99
- blockHash: `0x${string}` | null;
100
- blockNumber: `0x${string}` | null;
101
- hash: import("../index.js").Hash;
102
- input: import("../index.js").Hex;
103
- transactionIndex: `0x${string}` | null;
104
- chainId?: `0x${string}` | undefined;
105
- } & {
106
- isSystemTx?: undefined;
107
- mint?: undefined;
108
- sourceHash?: undefined;
109
- }) | ({
110
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
111
- r?: import("../index.js").Hex;
112
- s?: import("../index.js").Hex;
113
- v?: `0x${string}`;
114
- yParity?: `0x${string}` | undefined;
115
- gasPrice?: `0x${string}` | undefined;
116
- maxFeePerBlobGas?: `0x${string}` | undefined;
117
- maxFeePerGas?: `0x${string}` | undefined;
118
- maxPriorityFeePerGas?: `0x${string}` | undefined;
119
- to?: import("abitype").Address | null;
120
- from?: import("abitype").Address;
121
- gas?: `0x${string}`;
122
- nonce?: `0x${string}`;
123
- value?: `0x${string}`;
124
- accessList?: undefined;
125
- blobVersionedHashes?: undefined;
126
- blockHash?: `0x${string}` | null;
127
- blockNumber?: `0x${string}` | null;
128
- hash?: import("../index.js").Hash;
129
- input?: import("../index.js").Hex;
130
- transactionIndex?: `0x${string}` | null;
131
- chainId?: `0x${string}` | undefined;
132
- } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
133
- isSystemTx?: boolean | undefined;
134
- mint?: import("../index.js").Hex | undefined;
135
- sourceHash: import("../index.js").Hex;
136
- type: "0x7e";
137
- }) | ({
138
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
139
- r?: import("../index.js").Hex;
140
- s?: import("../index.js").Hex;
141
- v?: `0x${string}`;
142
- gasPrice?: `0x${string}` | undefined;
143
- maxFeePerBlobGas?: `0x${string}` | undefined;
144
- maxFeePerGas?: `0x${string}` | undefined;
145
- maxPriorityFeePerGas?: `0x${string}` | undefined;
146
- to?: import("abitype").Address | null;
147
- from?: import("abitype").Address;
148
- gas?: `0x${string}`;
149
- nonce?: `0x${string}`;
150
- value?: `0x${string}`;
151
- accessList?: import("../index.js").AccessList | undefined;
152
- blobVersionedHashes?: undefined;
153
- blockHash?: `0x${string}` | null;
154
- blockNumber?: `0x${string}` | null;
155
- hash?: import("../index.js").Hash;
156
- input?: import("../index.js").Hex;
157
- transactionIndex?: `0x${string}` | null;
158
- chainId?: `0x${string}` | undefined;
159
- yParity?: `0x${string}` | undefined;
160
- } & {
161
- type: "0x0";
162
- r: import("../index.js").Hex;
163
- s: import("../index.js").Hex;
164
- v: `0x${string}`;
165
- yParity?: undefined;
166
- gasPrice: `0x${string}`;
167
- maxFeePerBlobGas?: undefined;
168
- maxFeePerGas?: undefined;
169
- maxPriorityFeePerGas?: undefined;
170
- to: import("abitype").Address | null;
171
- from: import("abitype").Address;
172
- gas: `0x${string}`;
173
- nonce: `0x${string}`;
174
- value: `0x${string}`;
175
- accessList?: undefined;
176
- blobVersionedHashes?: undefined;
177
- blockHash: `0x${string}` | null;
178
- blockNumber: `0x${string}` | null;
179
- hash: import("../index.js").Hash;
180
- input: import("../index.js").Hex;
181
- transactionIndex: `0x${string}` | null;
182
- chainId?: `0x${string}` | undefined;
183
- } & {
184
- isSystemTx?: undefined;
185
- mint?: undefined;
186
- sourceHash?: undefined;
187
- }) | ({
188
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
189
- r?: import("../index.js").Hex;
190
- s?: import("../index.js").Hex;
191
- v?: `0x${string}`;
192
- gasPrice?: `0x${string}` | undefined;
193
- maxFeePerBlobGas?: `0x${string}` | undefined;
194
- maxFeePerGas?: `0x${string}` | undefined;
195
- maxPriorityFeePerGas?: `0x${string}` | undefined;
196
- to?: import("abitype").Address | null;
197
- from?: import("abitype").Address;
198
- gas?: `0x${string}`;
199
- nonce?: `0x${string}`;
200
- value?: `0x${string}`;
201
- accessList?: import("../index.js").AccessList | undefined;
202
- blobVersionedHashes?: undefined;
203
- blockHash?: `0x${string}` | null;
204
- blockNumber?: `0x${string}` | null;
205
- hash?: import("../index.js").Hash;
206
- input?: import("../index.js").Hex;
207
- transactionIndex?: `0x${string}` | null;
208
- chainId?: `0x${string}` | undefined;
209
- yParity?: `0x${string}` | undefined;
210
- } & {
211
- type: "0x1";
212
- r: import("../index.js").Hex;
213
- s: import("../index.js").Hex;
214
- v: `0x${string}`;
215
- gasPrice: `0x${string}`;
216
- maxFeePerBlobGas?: undefined;
217
- maxFeePerGas?: undefined;
218
- maxPriorityFeePerGas?: undefined;
219
- to: import("abitype").Address | null;
220
- from: import("abitype").Address;
221
- gas: `0x${string}`;
222
- nonce: `0x${string}`;
223
- value: `0x${string}`;
224
- accessList: import("../index.js").AccessList;
225
- blobVersionedHashes?: undefined;
226
- blockHash: `0x${string}` | null;
227
- blockNumber: `0x${string}` | null;
228
- hash: import("../index.js").Hash;
229
- input: import("../index.js").Hex;
230
- transactionIndex: `0x${string}` | null;
231
- chainId: `0x${string}`;
232
- yParity?: `0x${string}` | undefined;
233
- } & {
234
- isSystemTx?: undefined;
235
- mint?: undefined;
236
- sourceHash?: undefined;
237
- }) | ({
238
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
239
- r?: import("../index.js").Hex;
240
- s?: import("../index.js").Hex;
241
- v?: `0x${string}`;
242
- gasPrice?: `0x${string}` | undefined;
243
- maxFeePerBlobGas?: `0x${string}` | undefined;
244
- maxFeePerGas?: `0x${string}` | undefined;
245
- maxPriorityFeePerGas?: `0x${string}` | undefined;
246
- to?: import("abitype").Address | null;
247
- from?: import("abitype").Address;
248
- gas?: `0x${string}`;
249
- nonce?: `0x${string}`;
250
- value?: `0x${string}`;
251
- accessList?: import("../index.js").AccessList | undefined;
252
- blobVersionedHashes?: undefined;
253
- blockHash?: `0x${string}` | null;
254
- blockNumber?: `0x${string}` | null;
255
- hash?: import("../index.js").Hash;
256
- input?: import("../index.js").Hex;
257
- transactionIndex?: `0x${string}` | null;
258
- chainId?: `0x${string}` | undefined;
259
- yParity?: `0x${string}` | undefined;
260
- } & {
261
- type: "0x2";
262
- r: import("../index.js").Hex;
263
- s: import("../index.js").Hex;
264
- v: `0x${string}`;
265
- gasPrice?: undefined;
266
- maxFeePerBlobGas?: undefined;
267
- maxFeePerGas: `0x${string}`;
268
- maxPriorityFeePerGas: `0x${string}`;
269
- to: import("abitype").Address | null;
270
- from: import("abitype").Address;
271
- gas: `0x${string}`;
272
- nonce: `0x${string}`;
273
- value: `0x${string}`;
274
- accessList: import("../index.js").AccessList;
275
- blobVersionedHashes?: undefined;
276
- blockHash: `0x${string}` | null;
277
- blockNumber: `0x${string}` | null;
278
- hash: import("../index.js").Hash;
279
- input: import("../index.js").Hex;
280
- transactionIndex: `0x${string}` | null;
281
- chainId: `0x${string}`;
282
- yParity?: `0x${string}` | undefined;
283
- } & {
284
- isSystemTx?: undefined;
285
- mint?: undefined;
286
- sourceHash?: undefined;
287
- }) | ({
288
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
289
- r?: import("../index.js").Hex;
290
- s?: import("../index.js").Hex;
291
- v?: `0x${string}`;
292
- gasPrice?: `0x${string}` | undefined;
293
- maxFeePerBlobGas?: `0x${string}` | undefined;
294
- maxFeePerGas?: `0x${string}` | undefined;
295
- maxPriorityFeePerGas?: `0x${string}` | undefined;
296
- to?: import("abitype").Address | null;
297
- from?: import("abitype").Address;
298
- gas?: `0x${string}`;
299
- nonce?: `0x${string}`;
300
- value?: `0x${string}`;
301
- accessList?: import("../index.js").AccessList | undefined;
302
- blobVersionedHashes?: undefined;
303
- blockHash?: `0x${string}` | null;
304
- blockNumber?: `0x${string}` | null;
305
- hash?: import("../index.js").Hash;
306
- input?: import("../index.js").Hex;
307
- transactionIndex?: `0x${string}` | null;
308
- chainId?: `0x${string}` | undefined;
309
- yParity?: `0x${string}` | undefined;
310
- } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
311
- isSystemTx?: boolean | undefined;
312
- mint?: import("../index.js").Hex | undefined;
313
- sourceHash: import("../index.js").Hex;
314
- type: "0x7e";
315
- }) | ({
316
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
317
- r?: import("../index.js").Hex;
318
- s?: import("../index.js").Hex;
319
- v?: `0x${string}`;
320
- gasPrice?: `0x${string}` | undefined;
321
- maxFeePerBlobGas?: `0x${string}` | undefined;
322
- maxFeePerGas?: `0x${string}` | undefined;
323
- maxPriorityFeePerGas?: `0x${string}` | undefined;
324
- to?: import("abitype").Address | null;
325
- from?: import("abitype").Address;
326
- gas?: `0x${string}`;
327
- nonce?: `0x${string}`;
328
- value?: `0x${string}`;
329
- accessList?: import("../index.js").AccessList | undefined;
330
- blobVersionedHashes?: undefined;
331
- blockHash?: `0x${string}` | null;
332
- blockNumber?: `0x${string}` | null;
333
- hash?: import("../index.js").Hash;
334
- input?: import("../index.js").Hex;
335
- transactionIndex?: `0x${string}` | null;
336
- chainId?: `0x${string}` | undefined;
337
- yParity?: `0x${string}` | undefined;
338
- } & {
339
- type: "0x0";
340
- r: import("../index.js").Hex;
341
- s: import("../index.js").Hex;
342
- v: `0x${string}`;
343
- yParity?: undefined;
344
- gasPrice: `0x${string}`;
345
- maxFeePerBlobGas?: undefined;
346
- maxFeePerGas?: undefined;
347
- maxPriorityFeePerGas?: undefined;
348
- to: import("abitype").Address | null;
349
- from: import("abitype").Address;
350
- gas: `0x${string}`;
351
- nonce: `0x${string}`;
352
- value: `0x${string}`;
353
- accessList?: undefined;
354
- blobVersionedHashes?: undefined;
355
- blockHash: `0x${string}` | null;
356
- blockNumber: `0x${string}` | null;
357
- hash: import("../index.js").Hash;
358
- input: import("../index.js").Hex;
359
- transactionIndex: `0x${string}` | null;
360
- chainId?: `0x${string}` | undefined;
361
- } & {
362
- isSystemTx?: undefined;
363
- mint?: undefined;
364
- sourceHash?: undefined;
365
- }) | ({
366
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
367
- r?: import("../index.js").Hex;
368
- s?: import("../index.js").Hex;
369
- v?: `0x${string}`;
370
- gasPrice?: `0x${string}` | undefined;
371
- maxFeePerBlobGas?: `0x${string}` | undefined;
372
- maxFeePerGas?: `0x${string}` | undefined;
373
- maxPriorityFeePerGas?: `0x${string}` | undefined;
374
- to?: import("abitype").Address | null;
375
- from?: import("abitype").Address;
376
- gas?: `0x${string}`;
377
- nonce?: `0x${string}`;
378
- value?: `0x${string}`;
379
- accessList?: import("../index.js").AccessList | undefined;
380
- blobVersionedHashes?: undefined;
381
- blockHash?: `0x${string}` | null;
382
- blockNumber?: `0x${string}` | null;
383
- hash?: import("../index.js").Hash;
384
- input?: import("../index.js").Hex;
385
- transactionIndex?: `0x${string}` | null;
386
- chainId?: `0x${string}` | undefined;
387
- yParity?: `0x${string}` | undefined;
388
- } & {
389
- type: "0x1";
390
- r: import("../index.js").Hex;
391
- s: import("../index.js").Hex;
392
- v: `0x${string}`;
393
- gasPrice: `0x${string}`;
394
- maxFeePerBlobGas?: undefined;
395
- maxFeePerGas?: undefined;
396
- maxPriorityFeePerGas?: undefined;
397
- to: import("abitype").Address | null;
398
- from: import("abitype").Address;
399
- gas: `0x${string}`;
400
- nonce: `0x${string}`;
401
- value: `0x${string}`;
402
- accessList: import("../index.js").AccessList;
403
- blobVersionedHashes?: undefined;
57
+ format: (args: import("./index.js").OpStackRpcTransaction) => ({
404
58
  blockHash: `0x${string}` | null;
405
- blockNumber: `0x${string}` | null;
406
- hash: import("../index.js").Hash;
407
- input: import("../index.js").Hex;
408
- transactionIndex: `0x${string}` | null;
409
- chainId: `0x${string}`;
410
- yParity?: `0x${string}` | undefined;
411
- } & {
412
- isSystemTx?: undefined;
413
- mint?: undefined;
414
- sourceHash?: undefined;
415
- }) | ({
416
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
417
- r?: import("../index.js").Hex;
418
- s?: import("../index.js").Hex;
419
- v?: `0x${string}`;
420
- gasPrice?: `0x${string}` | undefined;
421
- maxFeePerBlobGas?: `0x${string}` | undefined;
422
- maxFeePerGas?: `0x${string}` | undefined;
423
- maxPriorityFeePerGas?: `0x${string}` | undefined;
424
- to?: import("abitype").Address | null;
425
- from?: import("abitype").Address;
426
- gas?: `0x${string}`;
427
- nonce?: `0x${string}`;
428
- value?: `0x${string}`;
429
- accessList?: import("../index.js").AccessList | undefined;
430
- blobVersionedHashes?: undefined;
431
- blockHash?: `0x${string}` | null;
432
- blockNumber?: `0x${string}` | null;
433
- hash?: import("../index.js").Hash;
434
- input?: import("../index.js").Hex;
435
- transactionIndex?: `0x${string}` | null;
436
- chainId?: `0x${string}` | undefined;
437
- yParity?: `0x${string}` | undefined;
438
- } & {
439
- type: "0x2";
440
- r: import("../index.js").Hex;
441
- s: import("../index.js").Hex;
442
- v: `0x${string}`;
443
- gasPrice?: undefined;
444
- maxFeePerBlobGas?: undefined;
445
- maxFeePerGas: `0x${string}`;
446
- maxPriorityFeePerGas: `0x${string}`;
447
- to: import("abitype").Address | null;
448
- from: import("abitype").Address;
449
- gas: `0x${string}`;
450
- nonce: `0x${string}`;
451
- value: `0x${string}`;
452
- accessList: import("../index.js").AccessList;
453
- blobVersionedHashes?: undefined;
454
- blockHash: `0x${string}` | null;
455
- blockNumber: `0x${string}` | null;
456
- hash: import("../index.js").Hash;
457
- input: import("../index.js").Hex;
458
- transactionIndex: `0x${string}` | null;
459
- chainId: `0x${string}`;
460
- yParity?: `0x${string}` | undefined;
461
- } & {
462
- isSystemTx?: undefined;
463
- mint?: undefined;
464
- sourceHash?: undefined;
465
- }) | ({
466
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
467
- r?: import("../index.js").Hex;
468
- s?: import("../index.js").Hex;
469
- v?: `0x${string}`;
470
- gasPrice?: `0x${string}` | undefined;
471
- maxFeePerBlobGas?: `0x${string}` | undefined;
472
- maxFeePerGas?: `0x${string}` | undefined;
473
- maxPriorityFeePerGas?: `0x${string}` | undefined;
474
- to?: import("abitype").Address | null;
475
- from?: import("abitype").Address;
476
- gas?: `0x${string}`;
477
- nonce?: `0x${string}`;
478
- value?: `0x${string}`;
479
- accessList?: import("../index.js").AccessList | undefined;
480
- blobVersionedHashes?: undefined;
481
- blockHash?: `0x${string}` | null;
482
- blockNumber?: `0x${string}` | null;
483
- hash?: import("../index.js").Hash;
484
- input?: import("../index.js").Hex;
485
- transactionIndex?: `0x${string}` | null;
486
- chainId?: `0x${string}` | undefined;
487
- yParity?: `0x${string}` | undefined;
488
- } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
489
- isSystemTx?: boolean | undefined;
490
- mint?: import("../index.js").Hex | undefined;
491
- sourceHash: import("../index.js").Hex;
492
- type: "0x7e";
493
- }) | ({
494
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
495
- r?: import("../index.js").Hex;
496
- s?: import("../index.js").Hex;
497
- v?: `0x${string}`;
498
- gasPrice?: `0x${string}` | undefined;
499
- maxFeePerBlobGas?: `0x${string}` | undefined;
500
- maxFeePerGas?: `0x${string}` | undefined;
501
- maxPriorityFeePerGas?: `0x${string}` | undefined;
502
- to?: import("abitype").Address | null;
503
- from?: import("abitype").Address;
504
- gas?: `0x${string}`;
505
- nonce?: `0x${string}`;
506
- value?: `0x${string}`;
507
- accessList?: import("../index.js").AccessList | undefined;
508
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
509
- blockHash?: `0x${string}` | null;
510
- blockNumber?: `0x${string}` | null;
511
- hash?: import("../index.js").Hash;
512
- input?: import("../index.js").Hex;
513
- transactionIndex?: `0x${string}` | null;
514
- chainId?: `0x${string}` | undefined;
515
- yParity?: `0x${string}` | undefined;
516
- } & {
517
- type: "0x0";
518
- r: import("../index.js").Hex;
519
- s: import("../index.js").Hex;
520
- v: `0x${string}`;
521
- yParity?: undefined;
522
- gasPrice: `0x${string}`;
523
- maxFeePerBlobGas?: undefined;
524
- maxFeePerGas?: undefined;
525
- maxPriorityFeePerGas?: undefined;
526
- to: import("abitype").Address | null;
59
+ blockNumber: bigint | null;
527
60
  from: import("abitype").Address;
528
- gas: `0x${string}`;
529
- nonce: `0x${string}`;
530
- value: `0x${string}`;
531
- accessList?: undefined;
532
- blobVersionedHashes?: undefined;
533
- blockHash: `0x${string}` | null;
534
- blockNumber: `0x${string}` | null;
61
+ gas: bigint;
535
62
  hash: import("../index.js").Hash;
536
63
  input: import("../index.js").Hex;
537
- transactionIndex: `0x${string}` | null;
538
- chainId?: `0x${string}` | undefined;
539
- } & {
540
- isSystemTx?: undefined;
541
- mint?: undefined;
542
- sourceHash?: undefined;
543
- }) | ({
544
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
545
- r?: import("../index.js").Hex;
546
- s?: import("../index.js").Hex;
547
- v?: `0x${string}`;
548
- gasPrice?: `0x${string}` | undefined;
549
- maxFeePerBlobGas?: `0x${string}` | undefined;
550
- maxFeePerGas?: `0x${string}` | undefined;
551
- maxPriorityFeePerGas?: `0x${string}` | undefined;
552
- to?: import("abitype").Address | null;
553
- from?: import("abitype").Address;
554
- gas?: `0x${string}`;
555
- nonce?: `0x${string}`;
556
- value?: `0x${string}`;
557
- accessList?: import("../index.js").AccessList | undefined;
558
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
559
- blockHash?: `0x${string}` | null;
560
- blockNumber?: `0x${string}` | null;
561
- hash?: import("../index.js").Hash;
562
- input?: import("../index.js").Hex;
563
- transactionIndex?: `0x${string}` | null;
564
- chainId?: `0x${string}` | undefined;
565
- yParity?: `0x${string}` | undefined;
566
- } & {
567
- type: "0x1";
64
+ nonce: number;
568
65
  r: import("../index.js").Hex;
569
66
  s: import("../index.js").Hex;
570
- v: `0x${string}`;
571
- gasPrice: `0x${string}`;
572
- maxFeePerBlobGas?: undefined;
573
- maxFeePerGas?: undefined;
574
- maxPriorityFeePerGas?: undefined;
575
67
  to: import("abitype").Address | null;
576
- from: import("abitype").Address;
577
- gas: `0x${string}`;
578
- nonce: `0x${string}`;
579
- value: `0x${string}`;
580
- accessList: import("../index.js").AccessList;
581
- blobVersionedHashes?: undefined;
582
- blockHash: `0x${string}` | null;
583
- blockNumber: `0x${string}` | null;
584
- hash: import("../index.js").Hash;
585
- input: import("../index.js").Hex;
586
- transactionIndex: `0x${string}` | null;
587
- chainId: `0x${string}`;
588
- yParity?: `0x${string}` | undefined;
589
- } & {
590
- isSystemTx?: undefined;
591
- mint?: undefined;
592
- sourceHash?: undefined;
593
- }) | ({
594
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
595
- r?: import("../index.js").Hex;
596
- s?: import("../index.js").Hex;
597
- v?: `0x${string}`;
598
- gasPrice?: `0x${string}` | undefined;
599
- maxFeePerBlobGas?: `0x${string}` | undefined;
600
- maxFeePerGas?: `0x${string}` | undefined;
601
- maxPriorityFeePerGas?: `0x${string}` | undefined;
602
- to?: import("abitype").Address | null;
603
- from?: import("abitype").Address;
604
- gas?: `0x${string}`;
605
- nonce?: `0x${string}`;
606
- value?: `0x${string}`;
607
- accessList?: import("../index.js").AccessList | undefined;
608
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
609
- blockHash?: `0x${string}` | null;
610
- blockNumber?: `0x${string}` | null;
611
- hash?: import("../index.js").Hash;
612
- input?: import("../index.js").Hex;
613
- transactionIndex?: `0x${string}` | null;
614
- chainId?: `0x${string}` | undefined;
615
- yParity?: `0x${string}` | undefined;
616
- } & {
617
- type: "0x2";
618
- r: import("../index.js").Hex;
619
- s: import("../index.js").Hex;
620
- v: `0x${string}`;
68
+ transactionIndex: number | null;
69
+ typeHex: import("../index.js").Hex | null;
70
+ v: bigint;
71
+ value: bigint;
72
+ yParity: number;
621
73
  gasPrice?: undefined;
622
74
  maxFeePerBlobGas?: undefined;
623
- maxFeePerGas: `0x${string}`;
624
- maxPriorityFeePerGas: `0x${string}`;
625
- to: import("abitype").Address | null;
626
- from: import("abitype").Address;
627
- gas: `0x${string}`;
628
- nonce: `0x${string}`;
629
- value: `0x${string}`;
630
- accessList: import("../index.js").AccessList;
631
- blobVersionedHashes?: undefined;
632
- blockHash: `0x${string}` | null;
633
- blockNumber: `0x${string}` | null;
634
- hash: import("../index.js").Hash;
635
- input: import("../index.js").Hex;
636
- transactionIndex: `0x${string}` | null;
637
- chainId: `0x${string}`;
638
- yParity?: `0x${string}` | undefined;
639
- } & {
640
- isSystemTx?: undefined;
641
- mint?: undefined;
642
- sourceHash?: undefined;
643
- }) | ({
644
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
645
- r?: import("../index.js").Hex;
646
- s?: import("../index.js").Hex;
647
- v?: `0x${string}`;
648
- gasPrice?: `0x${string}` | undefined;
649
- maxFeePerBlobGas?: `0x${string}` | undefined;
650
- maxFeePerGas?: `0x${string}` | undefined;
651
- maxPriorityFeePerGas?: `0x${string}` | undefined;
652
- to?: import("abitype").Address | null;
653
- from?: import("abitype").Address;
654
- gas?: `0x${string}`;
655
- nonce?: `0x${string}`;
656
- value?: `0x${string}`;
657
- accessList?: import("../index.js").AccessList | undefined;
658
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
659
- blockHash?: `0x${string}` | null;
660
- blockNumber?: `0x${string}` | null;
661
- hash?: import("../index.js").Hash;
662
- input?: import("../index.js").Hex;
663
- transactionIndex?: `0x${string}` | null;
664
- chainId?: `0x${string}` | undefined;
665
- yParity?: `0x${string}` | undefined;
666
- } & {
667
- type: "0x3";
668
- r: import("../index.js").Hex;
669
- s: import("../index.js").Hex;
670
- v: `0x${string}`;
671
- gasPrice?: undefined;
672
- maxFeePerBlobGas: `0x${string}`;
673
- maxFeePerGas: `0x${string}`;
674
- maxPriorityFeePerGas: `0x${string}`;
675
- to: import("abitype").Address | null;
676
- from: import("abitype").Address;
677
- gas: `0x${string}`;
678
- nonce: `0x${string}`;
679
- value: `0x${string}`;
680
- accessList: import("../index.js").AccessList;
681
- blobVersionedHashes: readonly import("../index.js").Hex[];
682
- blockHash: `0x${string}` | null;
683
- blockNumber: `0x${string}` | null;
684
- hash: import("../index.js").Hash;
685
- input: import("../index.js").Hex;
686
- transactionIndex: `0x${string}` | null;
687
- chainId: `0x${string}`;
688
- yParity?: `0x${string}` | undefined;
689
- } & {
690
- isSystemTx?: undefined;
691
- mint?: undefined;
692
- sourceHash?: undefined;
693
- }) | ({
694
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7e";
695
- r?: import("../index.js").Hex;
696
- s?: import("../index.js").Hex;
697
- v?: `0x${string}`;
698
- gasPrice?: `0x${string}` | undefined;
699
- maxFeePerBlobGas?: `0x${string}` | undefined;
700
- maxFeePerGas?: `0x${string}` | undefined;
701
- maxPriorityFeePerGas?: `0x${string}` | undefined;
702
- to?: import("abitype").Address | null;
703
- from?: import("abitype").Address;
704
- gas?: `0x${string}`;
705
- nonce?: `0x${string}`;
706
- value?: `0x${string}`;
707
- accessList?: import("../index.js").AccessList | undefined;
708
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
709
- blockHash?: `0x${string}` | null;
710
- blockNumber?: `0x${string}` | null;
711
- hash?: import("../index.js").Hash;
712
- input?: import("../index.js").Hex;
713
- transactionIndex?: `0x${string}` | null;
714
- chainId?: `0x${string}` | undefined;
715
- yParity?: `0x${string}` | undefined;
716
- } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
717
- isSystemTx?: boolean | undefined;
718
- mint?: import("../index.js").Hex | undefined;
75
+ maxFeePerGas: bigint;
76
+ maxPriorityFeePerGas: bigint;
77
+ isSystemTx?: boolean;
78
+ mint?: bigint | undefined;
719
79
  sourceHash: import("../index.js").Hex;
720
- type: "0x7e";
721
- })) => ({
80
+ type: "deposit";
81
+ } | {
722
82
  r: import("../index.js").Hex;
723
83
  s: import("../index.js").Hex;
724
84
  v: bigint;
@@ -745,33 +105,6 @@ export declare const chainConfig: {
745
105
  isSystemTx?: undefined;
746
106
  mint?: undefined;
747
107
  sourceHash?: undefined;
748
- } | {
749
- r: import("../index.js").Hex;
750
- s: import("../index.js").Hex;
751
- v: bigint;
752
- to: import("abitype").Address | null;
753
- from: import("abitype").Address;
754
- gas: bigint;
755
- nonce: number;
756
- value: bigint;
757
- blockHash: `0x${string}` | null;
758
- blockNumber: bigint | null;
759
- hash: import("../index.js").Hash;
760
- input: import("../index.js").Hex;
761
- transactionIndex: number | null;
762
- typeHex: import("../index.js").Hex | null;
763
- accessList?: undefined;
764
- blobVersionedHashes?: undefined;
765
- chainId?: number | undefined;
766
- yParity: number;
767
- type: "deposit";
768
- gasPrice: undefined;
769
- maxFeePerBlobGas?: undefined;
770
- maxFeePerGas: bigint;
771
- maxPriorityFeePerGas: bigint;
772
- isSystemTx?: boolean;
773
- mint?: bigint | undefined;
774
- sourceHash: import("../index.js").Hex;
775
108
  } | {
776
109
  blockHash: `0x${string}` | null;
777
110
  blockNumber: bigint | null;
@@ -799,87 +132,6 @@ export declare const chainConfig: {
799
132
  isSystemTx?: undefined;
800
133
  mint?: undefined;
801
134
  sourceHash?: undefined;
802
- } | {
803
- blockHash: `0x${string}` | null;
804
- blockNumber: bigint | null;
805
- from: import("abitype").Address;
806
- gas: bigint;
807
- hash: import("../index.js").Hash;
808
- input: import("../index.js").Hex;
809
- nonce: number;
810
- r: import("../index.js").Hex;
811
- s: import("../index.js").Hex;
812
- to: import("abitype").Address | null;
813
- transactionIndex: number | null;
814
- typeHex: import("../index.js").Hex | null;
815
- v: bigint;
816
- value: bigint;
817
- yParity: number;
818
- accessList: import("../index.js").AccessList;
819
- blobVersionedHashes?: undefined;
820
- chainId: number;
821
- type: "eip1559";
822
- gasPrice: undefined;
823
- maxFeePerBlobGas?: undefined;
824
- maxFeePerGas: bigint;
825
- maxPriorityFeePerGas: bigint;
826
- isSystemTx?: undefined;
827
- mint?: undefined;
828
- sourceHash?: undefined;
829
- } | {
830
- blockHash: `0x${string}` | null;
831
- blockNumber: bigint | null;
832
- from: import("abitype").Address;
833
- gas: bigint;
834
- hash: import("../index.js").Hash;
835
- input: import("../index.js").Hex;
836
- nonce: number;
837
- r: import("../index.js").Hex;
838
- s: import("../index.js").Hex;
839
- to: import("abitype").Address | null;
840
- transactionIndex: number | null;
841
- typeHex: import("../index.js").Hex | null;
842
- v: bigint;
843
- value: bigint;
844
- yParity: number;
845
- accessList: import("../index.js").AccessList;
846
- blobVersionedHashes?: undefined;
847
- chainId: number;
848
- type: "deposit";
849
- gasPrice: undefined;
850
- maxFeePerBlobGas?: undefined;
851
- maxFeePerGas: bigint;
852
- maxPriorityFeePerGas: bigint;
853
- isSystemTx?: boolean;
854
- mint?: bigint | undefined;
855
- sourceHash: import("../index.js").Hex;
856
- } | {
857
- blockHash: `0x${string}` | null;
858
- blockNumber: bigint | null;
859
- from: import("abitype").Address;
860
- gas: bigint;
861
- hash: import("../index.js").Hash;
862
- input: import("../index.js").Hex;
863
- nonce: number;
864
- r: import("../index.js").Hex;
865
- s: import("../index.js").Hex;
866
- to: import("abitype").Address | null;
867
- transactionIndex: number | null;
868
- typeHex: import("../index.js").Hex | null;
869
- v: bigint;
870
- value: bigint;
871
- yParity: number;
872
- accessList: import("../index.js").AccessList;
873
- blobVersionedHashes?: undefined;
874
- chainId: number;
875
- type: "eip2930";
876
- gasPrice: bigint;
877
- maxFeePerBlobGas?: undefined;
878
- maxFeePerGas: undefined;
879
- maxPriorityFeePerGas: undefined;
880
- isSystemTx?: undefined;
881
- mint?: undefined;
882
- sourceHash?: undefined;
883
135
  } | {
884
136
  blockHash: `0x${string}` | null;
885
137
  blockNumber: bigint | null;
@@ -907,33 +159,6 @@ export declare const chainConfig: {
907
159
  isSystemTx?: undefined;
908
160
  mint?: undefined;
909
161
  sourceHash?: undefined;
910
- } | {
911
- blockHash: `0x${string}` | null;
912
- blockNumber: bigint | null;
913
- from: import("abitype").Address;
914
- gas: bigint;
915
- hash: import("../index.js").Hash;
916
- input: import("../index.js").Hex;
917
- nonce: number;
918
- r: import("../index.js").Hex;
919
- s: import("../index.js").Hex;
920
- to: import("abitype").Address | null;
921
- transactionIndex: number | null;
922
- typeHex: import("../index.js").Hex | null;
923
- v: bigint;
924
- value: bigint;
925
- yParity: number;
926
- accessList: import("../index.js").AccessList;
927
- blobVersionedHashes?: undefined;
928
- chainId: number;
929
- type: "deposit";
930
- gasPrice?: undefined;
931
- maxFeePerBlobGas?: undefined;
932
- maxFeePerGas: bigint;
933
- maxPriorityFeePerGas: bigint;
934
- isSystemTx?: boolean;
935
- mint?: bigint | undefined;
936
- sourceHash: import("../index.js").Hex;
937
162
  } | {
938
163
  blockHash: `0x${string}` | null;
939
164
  blockNumber: bigint | null;
@@ -961,39 +186,12 @@ export declare const chainConfig: {
961
186
  isSystemTx?: undefined;
962
187
  mint?: undefined;
963
188
  sourceHash?: undefined;
964
- } | {
965
- blockHash: `0x${string}` | null;
966
- blockNumber: bigint | null;
967
- from: import("abitype").Address;
968
- gas: bigint;
969
- hash: import("../index.js").Hash;
970
- input: import("../index.js").Hex;
971
- nonce: number;
972
- r: import("../index.js").Hex;
973
- s: import("../index.js").Hex;
974
- to: import("abitype").Address | null;
975
- transactionIndex: number | null;
976
- typeHex: import("../index.js").Hex | null;
977
- v: bigint;
978
- value: bigint;
979
- yParity: number;
980
- accessList: import("../index.js").AccessList;
981
- blobVersionedHashes: readonly import("../index.js").Hex[];
982
- chainId: number;
983
- type: "deposit";
984
- gasPrice?: undefined;
985
- maxFeePerBlobGas: undefined;
986
- maxFeePerGas: bigint;
987
- maxPriorityFeePerGas: bigint;
988
- isSystemTx?: boolean;
989
- mint?: bigint | undefined;
990
- sourceHash: import("../index.js").Hex;
991
189
  }) & {};
992
190
  type: "transaction";
993
191
  };
994
192
  readonly transactionReceipt: {
995
193
  exclude: [] | undefined;
996
- format: (args: import("../types/utils.js").Assign<import("../index.js").ExactPartial<import("../index.js").RpcTransactionReceipt>, import("./index.js").OpStackRpcTransactionReceiptOverrides>) => {
194
+ format: (args: import("./index.js").OpStackRpcTransactionReceipt) => {
997
195
  blobGasPrice?: bigint | undefined;
998
196
  blobGasUsed?: bigint | undefined;
999
197
  blockHash: import("../index.js").Hash;