viem 2.9.22 → 2.9.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/_cjs/accounts/privateKeyToAccount.js +4 -0
  3. package/_cjs/accounts/privateKeyToAccount.js.map +1 -1
  4. package/_cjs/accounts/toAccount.js +1 -0
  5. package/_cjs/accounts/toAccount.js.map +1 -1
  6. package/_cjs/chains/definitions/dreyerxMainnet.js +25 -0
  7. package/_cjs/chains/definitions/dreyerxMainnet.js.map +1 -0
  8. package/_cjs/chains/index.js +7 -5
  9. package/_cjs/chains/index.js.map +1 -1
  10. package/_cjs/errors/version.js +1 -1
  11. package/_cjs/experimental/eip3074/actions/signAuthMessage.js +18 -0
  12. package/_cjs/experimental/eip3074/actions/signAuthMessage.js.map +1 -0
  13. package/_cjs/experimental/eip3074/decorators/eip3074.js +13 -0
  14. package/_cjs/experimental/eip3074/decorators/eip3074.js.map +1 -0
  15. package/_cjs/experimental/eip3074/utils/recoverAuthMessageAddress.js +12 -0
  16. package/_cjs/experimental/eip3074/utils/recoverAuthMessageAddress.js.map +1 -0
  17. package/_cjs/experimental/eip3074/utils/signAuthMessage.js +17 -0
  18. package/_cjs/experimental/eip3074/utils/signAuthMessage.js.map +1 -0
  19. package/_cjs/experimental/eip3074/utils/toAuthMessage.js +17 -0
  20. package/_cjs/experimental/eip3074/utils/toAuthMessage.js.map +1 -0
  21. package/_cjs/experimental/eip3074/utils/verifyAuthMessage.js +11 -0
  22. package/_cjs/experimental/eip3074/utils/verifyAuthMessage.js.map +1 -0
  23. package/_cjs/experimental/{actions → eip5792/actions}/getCallsStatus.js +2 -2
  24. package/_cjs/experimental/eip5792/actions/getCallsStatus.js.map +1 -0
  25. package/_cjs/experimental/{actions → eip5792/actions}/getCapabilities.js +2 -2
  26. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +1 -0
  27. package/_cjs/experimental/{actions → eip5792/actions}/sendCalls.js +6 -6
  28. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +1 -0
  29. package/_cjs/experimental/eip5792/actions/showCallsStatus.js.map +1 -0
  30. package/_cjs/experimental/{actions → eip5792/actions}/writeContracts.js +1 -1
  31. package/_cjs/experimental/eip5792/actions/writeContracts.js.map +1 -0
  32. package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -0
  33. package/_cjs/experimental/index.js +15 -7
  34. package/_cjs/experimental/index.js.map +1 -1
  35. package/_cjs/utils/signature/hexToSignature.js.map +1 -1
  36. package/_esm/accounts/privateKeyToAccount.js +4 -0
  37. package/_esm/accounts/privateKeyToAccount.js.map +1 -1
  38. package/_esm/accounts/toAccount.js +1 -0
  39. package/_esm/accounts/toAccount.js.map +1 -1
  40. package/_esm/actions/public/verifyHash.js +1 -1
  41. package/_esm/chains/definitions/dreyerxMainnet.js +22 -0
  42. package/_esm/chains/definitions/dreyerxMainnet.js.map +1 -0
  43. package/_esm/chains/index.js +1 -0
  44. package/_esm/chains/index.js.map +1 -1
  45. package/_esm/errors/version.js +1 -1
  46. package/_esm/experimental/eip3074/actions/signAuthMessage.js +69 -0
  47. package/_esm/experimental/eip3074/actions/signAuthMessage.js.map +1 -0
  48. package/_esm/experimental/eip3074/decorators/eip3074.js +26 -0
  49. package/_esm/experimental/eip3074/decorators/eip3074.js.map +1 -0
  50. package/_esm/experimental/eip3074/utils/recoverAuthMessageAddress.js +8 -0
  51. package/_esm/experimental/eip3074/utils/recoverAuthMessageAddress.js.map +1 -0
  52. package/_esm/experimental/eip3074/utils/signAuthMessage.js +16 -0
  53. package/_esm/experimental/eip3074/utils/signAuthMessage.js.map +1 -0
  54. package/_esm/experimental/eip3074/utils/toAuthMessage.js +17 -0
  55. package/_esm/experimental/eip3074/utils/toAuthMessage.js.map +1 -0
  56. package/_esm/experimental/eip3074/utils/verifyAuthMessage.js +13 -0
  57. package/_esm/experimental/eip3074/utils/verifyAuthMessage.js.map +1 -0
  58. package/_esm/experimental/{actions → eip5792/actions}/getCallsStatus.js +3 -3
  59. package/_esm/experimental/eip5792/actions/getCallsStatus.js.map +1 -0
  60. package/_esm/experimental/{actions → eip5792/actions}/getCapabilities.js +3 -3
  61. package/_esm/experimental/eip5792/actions/getCapabilities.js.map +1 -0
  62. package/_esm/experimental/{actions → eip5792/actions}/sendCalls.js +7 -7
  63. package/_esm/experimental/eip5792/actions/sendCalls.js.map +1 -0
  64. package/_esm/experimental/{actions → eip5792/actions}/showCallsStatus.js +1 -1
  65. package/_esm/experimental/eip5792/actions/showCallsStatus.js.map +1 -0
  66. package/_esm/experimental/{actions → eip5792/actions}/writeContracts.js +2 -2
  67. package/_esm/experimental/eip5792/actions/writeContracts.js.map +1 -0
  68. package/_esm/experimental/eip5792/decorators/eip5792.js.map +1 -0
  69. package/_esm/experimental/index.js +10 -6
  70. package/_esm/experimental/index.js.map +1 -1
  71. package/_esm/utils/signature/hexToSignature.js.map +1 -1
  72. package/_types/accounts/privateKeyToAccount.d.ts.map +1 -1
  73. package/_types/accounts/toAccount.d.ts.map +1 -1
  74. package/_types/accounts/types.d.ts +5 -3
  75. package/_types/accounts/types.d.ts.map +1 -1
  76. package/_types/actions/public/verifyHash.d.ts +1 -1
  77. package/_types/celo/chainConfig.d.ts +114 -114
  78. package/_types/celo/formatters.d.ts +57 -57
  79. package/_types/chains/definitions/ancient8.d.ts +45 -45
  80. package/_types/chains/definitions/ancient8Sepolia.d.ts +45 -45
  81. package/_types/chains/definitions/base.d.ts +45 -45
  82. package/_types/chains/definitions/baseGoerli.d.ts +45 -45
  83. package/_types/chains/definitions/baseSepolia.d.ts +45 -45
  84. package/_types/chains/definitions/celo.d.ts +114 -114
  85. package/_types/chains/definitions/celoAlfajores.d.ts +114 -114
  86. package/_types/chains/definitions/dreyerxMainnet.d.ts +35 -0
  87. package/_types/chains/definitions/dreyerxMainnet.d.ts.map +1 -0
  88. package/_types/chains/definitions/fraxtal.d.ts +45 -45
  89. package/_types/chains/definitions/fraxtalTestnet.d.ts +45 -45
  90. package/_types/chains/definitions/liskSepolia.d.ts +45 -45
  91. package/_types/chains/definitions/optimism.d.ts +45 -45
  92. package/_types/chains/definitions/optimismGoerli.d.ts +45 -45
  93. package/_types/chains/definitions/optimismSepolia.d.ts +45 -45
  94. package/_types/chains/definitions/pgn.d.ts +45 -45
  95. package/_types/chains/definitions/pgnTestnet.d.ts +45 -45
  96. package/_types/chains/definitions/rss3.d.ts +45 -45
  97. package/_types/chains/definitions/rss3Sepolia.d.ts +45 -45
  98. package/_types/chains/definitions/zora.d.ts +45 -45
  99. package/_types/chains/definitions/zoraSepolia.d.ts +45 -45
  100. package/_types/chains/definitions/zoraTestnet.d.ts +45 -45
  101. package/_types/chains/index.d.ts +1 -0
  102. package/_types/chains/index.d.ts.map +1 -1
  103. package/_types/errors/version.d.ts +1 -1
  104. package/_types/experimental/eip3074/actions/signAuthMessage.d.ts +72 -0
  105. package/_types/experimental/eip3074/actions/signAuthMessage.d.ts.map +1 -0
  106. package/_types/experimental/eip3074/decorators/eip3074.d.ts +27 -0
  107. package/_types/experimental/eip3074/decorators/eip3074.d.ts.map +1 -0
  108. package/_types/experimental/eip3074/utils/recoverAuthMessageAddress.d.ts +12 -0
  109. package/_types/experimental/eip3074/utils/recoverAuthMessageAddress.d.ts.map +1 -0
  110. package/_types/experimental/eip3074/utils/signAuthMessage.d.ts +16 -0
  111. package/_types/experimental/eip3074/utils/signAuthMessage.d.ts.map +1 -0
  112. package/_types/experimental/eip3074/utils/toAuthMessage.d.ts +20 -0
  113. package/_types/experimental/eip3074/utils/toAuthMessage.d.ts.map +1 -0
  114. package/_types/experimental/eip3074/utils/verifyAuthMessage.d.ts +19 -0
  115. package/_types/experimental/eip3074/utils/verifyAuthMessage.d.ts.map +1 -0
  116. package/_types/experimental/{actions → eip5792/actions}/getCallsStatus.d.ts +9 -9
  117. package/_types/experimental/eip5792/actions/getCallsStatus.d.ts.map +1 -0
  118. package/_types/experimental/{actions → eip5792/actions}/getCapabilities.d.ts +9 -9
  119. package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +1 -0
  120. package/_types/experimental/{actions → eip5792/actions}/sendCalls.d.ts +10 -10
  121. package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +1 -0
  122. package/_types/experimental/{actions → eip5792/actions}/showCallsStatus.d.ts +7 -7
  123. package/_types/experimental/eip5792/actions/showCallsStatus.d.ts.map +1 -0
  124. package/_types/experimental/{actions → eip5792/actions}/writeContracts.d.ts +9 -9
  125. package/_types/experimental/eip5792/actions/writeContracts.d.ts.map +1 -0
  126. package/_types/experimental/{decorators → eip5792/decorators}/eip5792.d.ts +9 -9
  127. package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -0
  128. package/_types/experimental/index.d.ts +10 -6
  129. package/_types/experimental/index.d.ts.map +1 -1
  130. package/_types/op-stack/chainConfig.d.ts +45 -45
  131. package/_types/op-stack/formatters.d.ts +45 -45
  132. package/_types/utils/formatters/transaction.d.ts +1 -1
  133. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  134. package/_types/utils/signature/hexToSignature.d.ts +7 -2
  135. package/_types/utils/signature/hexToSignature.d.ts.map +1 -1
  136. package/accounts/privateKeyToAccount.ts +5 -1
  137. package/accounts/toAccount.ts +1 -0
  138. package/accounts/types.ts +12 -5
  139. package/actions/public/verifyHash.ts +1 -1
  140. package/chains/definitions/dreyerxMainnet.ts +22 -0
  141. package/chains/index.ts +1 -0
  142. package/errors/version.ts +1 -1
  143. package/experimental/eip3074/actions/signAuthMessage.ts +103 -0
  144. package/experimental/eip3074/decorators/eip3074.ts +51 -0
  145. package/experimental/eip3074/utils/recoverAuthMessageAddress.ts +29 -0
  146. package/experimental/eip3074/utils/signAuthMessage.ts +40 -0
  147. package/experimental/eip3074/utils/toAuthMessage.ts +50 -0
  148. package/experimental/eip3074/utils/verifyAuthMessage.ts +46 -0
  149. package/experimental/{actions → eip5792/actions}/getCallsStatus.ts +11 -11
  150. package/experimental/{actions → eip5792/actions}/getCapabilities.ts +11 -11
  151. package/experimental/{actions → eip5792/actions}/sendCalls.ts +17 -17
  152. package/experimental/{actions → eip5792/actions}/showCallsStatus.ts +7 -7
  153. package/experimental/{actions → eip5792/actions}/writeContracts.ts +9 -9
  154. package/experimental/{decorators → eip5792/decorators}/eip5792.ts +9 -9
  155. package/experimental/index.ts +29 -7
  156. package/package.json +1 -1
  157. package/utils/signature/hexToSignature.ts +2 -2
  158. package/_cjs/experimental/actions/getCallsStatus.js.map +0 -1
  159. package/_cjs/experimental/actions/getCapabilities.js.map +0 -1
  160. package/_cjs/experimental/actions/sendCalls.js.map +0 -1
  161. package/_cjs/experimental/actions/showCallsStatus.js.map +0 -1
  162. package/_cjs/experimental/actions/writeContracts.js.map +0 -1
  163. package/_cjs/experimental/decorators/eip5792.js.map +0 -1
  164. package/_esm/experimental/actions/getCallsStatus.js.map +0 -1
  165. package/_esm/experimental/actions/getCapabilities.js.map +0 -1
  166. package/_esm/experimental/actions/sendCalls.js.map +0 -1
  167. package/_esm/experimental/actions/showCallsStatus.js.map +0 -1
  168. package/_esm/experimental/actions/writeContracts.js.map +0 -1
  169. package/_esm/experimental/decorators/eip5792.js.map +0 -1
  170. package/_types/experimental/actions/getCallsStatus.d.ts.map +0 -1
  171. package/_types/experimental/actions/getCapabilities.d.ts.map +0 -1
  172. package/_types/experimental/actions/sendCalls.d.ts.map +0 -1
  173. package/_types/experimental/actions/showCallsStatus.d.ts.map +0 -1
  174. package/_types/experimental/actions/writeContracts.d.ts.map +0 -1
  175. package/_types/experimental/decorators/eip5792.d.ts.map +0 -1
  176. /package/_cjs/experimental/{actions → eip5792/actions}/showCallsStatus.js +0 -0
  177. /package/_cjs/experimental/{decorators → eip5792/decorators}/eip5792.js +0 -0
  178. /package/_esm/experimental/{decorators → eip5792/decorators}/eip5792.js +0 -0
@@ -56,19 +56,19 @@ export declare const formatters: {
56
56
  maxFeePerBlobGas?: `0x${string}` | undefined;
57
57
  maxFeePerGas?: `0x${string}` | undefined;
58
58
  maxPriorityFeePerGas?: `0x${string}` | undefined;
59
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
59
60
  to?: `0x${string}` | null;
60
61
  from?: `0x${string}`;
61
62
  gas?: `0x${string}`;
62
63
  nonce?: `0x${string}`;
63
64
  value?: `0x${string}`;
64
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
65
- accessList?: undefined;
66
- blobVersionedHashes?: undefined;
67
65
  blockHash?: `0x${string}` | null;
68
66
  blockNumber?: `0x${string}` | null;
69
67
  hash?: `0x${string}`;
70
68
  input?: `0x${string}`;
71
69
  transactionIndex?: `0x${string}` | null;
70
+ accessList?: undefined;
71
+ blobVersionedHashes?: undefined;
72
72
  chainId?: `0x${string}` | undefined;
73
73
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
74
74
  r: `0x${string}`;
@@ -107,19 +107,19 @@ export declare const formatters: {
107
107
  maxFeePerBlobGas?: `0x${string}` | undefined;
108
108
  maxFeePerGas?: `0x${string}` | undefined;
109
109
  maxPriorityFeePerGas?: `0x${string}` | undefined;
110
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
110
111
  to?: `0x${string}` | null;
111
112
  from?: `0x${string}`;
112
113
  gas?: `0x${string}`;
113
114
  nonce?: `0x${string}`;
114
115
  value?: `0x${string}`;
115
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
116
- accessList?: undefined;
117
- blobVersionedHashes?: undefined;
118
116
  blockHash?: `0x${string}` | null;
119
117
  blockNumber?: `0x${string}` | null;
120
118
  hash?: `0x${string}`;
121
119
  input?: `0x${string}`;
122
120
  transactionIndex?: `0x${string}` | null;
121
+ accessList?: undefined;
122
+ blobVersionedHashes?: undefined;
123
123
  chainId?: `0x${string}` | undefined;
124
124
  } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
125
125
  feeCurrency: `0x${string}` | null;
@@ -135,19 +135,19 @@ export declare const formatters: {
135
135
  maxFeePerBlobGas?: `0x${string}` | undefined;
136
136
  maxFeePerGas?: `0x${string}` | undefined;
137
137
  maxPriorityFeePerGas?: `0x${string}` | undefined;
138
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
138
139
  to?: `0x${string}` | null;
139
140
  from?: `0x${string}`;
140
141
  gas?: `0x${string}`;
141
142
  nonce?: `0x${string}`;
142
143
  value?: `0x${string}`;
143
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
144
- accessList?: undefined;
145
- blobVersionedHashes?: undefined;
146
144
  blockHash?: `0x${string}` | null;
147
145
  blockNumber?: `0x${string}` | null;
148
146
  hash?: `0x${string}`;
149
147
  input?: `0x${string}`;
150
148
  transactionIndex?: `0x${string}` | null;
149
+ accessList?: undefined;
150
+ blobVersionedHashes?: undefined;
151
151
  chainId?: `0x${string}` | undefined;
152
152
  } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
153
153
  feeCurrency: `0x${string}` | null;
@@ -163,19 +163,19 @@ export declare const formatters: {
163
163
  maxFeePerBlobGas?: `0x${string}` | undefined;
164
164
  maxFeePerGas?: `0x${string}` | undefined;
165
165
  maxPriorityFeePerGas?: `0x${string}` | undefined;
166
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
166
167
  to?: `0x${string}` | null;
167
168
  from?: `0x${string}`;
168
169
  gas?: `0x${string}`;
169
170
  nonce?: `0x${string}`;
170
171
  value?: `0x${string}`;
171
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
172
- accessList?: import("../index.js").AccessList | undefined;
173
- blobVersionedHashes?: undefined;
174
172
  blockHash?: `0x${string}` | null;
175
173
  blockNumber?: `0x${string}` | null;
176
174
  hash?: `0x${string}`;
177
175
  input?: `0x${string}`;
178
176
  transactionIndex?: `0x${string}` | null;
177
+ accessList?: import("../index.js").AccessList | undefined;
178
+ blobVersionedHashes?: undefined;
179
179
  chainId?: `0x${string}` | undefined;
180
180
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
181
181
  r: `0x${string}`;
@@ -214,19 +214,19 @@ export declare const formatters: {
214
214
  maxFeePerBlobGas?: `0x${string}` | undefined;
215
215
  maxFeePerGas?: `0x${string}` | undefined;
216
216
  maxPriorityFeePerGas?: `0x${string}` | undefined;
217
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
217
218
  to?: `0x${string}` | null;
218
219
  from?: `0x${string}`;
219
220
  gas?: `0x${string}`;
220
221
  nonce?: `0x${string}`;
221
222
  value?: `0x${string}`;
222
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
223
- accessList?: import("../index.js").AccessList | undefined;
224
- blobVersionedHashes?: undefined;
225
223
  blockHash?: `0x${string}` | null;
226
224
  blockNumber?: `0x${string}` | null;
227
225
  hash?: `0x${string}`;
228
226
  input?: `0x${string}`;
229
227
  transactionIndex?: `0x${string}` | null;
228
+ accessList?: import("../index.js").AccessList | undefined;
229
+ blobVersionedHashes?: undefined;
230
230
  chainId?: `0x${string}` | undefined;
231
231
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
232
232
  blockHash: `0x${string}` | null;
@@ -265,19 +265,19 @@ export declare const formatters: {
265
265
  maxFeePerBlobGas?: `0x${string}` | undefined;
266
266
  maxFeePerGas?: `0x${string}` | undefined;
267
267
  maxPriorityFeePerGas?: `0x${string}` | undefined;
268
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
268
269
  to?: `0x${string}` | null;
269
270
  from?: `0x${string}`;
270
271
  gas?: `0x${string}`;
271
272
  nonce?: `0x${string}`;
272
273
  value?: `0x${string}`;
273
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
274
- accessList?: import("../index.js").AccessList | undefined;
275
- blobVersionedHashes?: undefined;
276
274
  blockHash?: `0x${string}` | null;
277
275
  blockNumber?: `0x${string}` | null;
278
276
  hash?: `0x${string}`;
279
277
  input?: `0x${string}`;
280
278
  transactionIndex?: `0x${string}` | null;
279
+ accessList?: import("../index.js").AccessList | undefined;
280
+ blobVersionedHashes?: undefined;
281
281
  chainId?: `0x${string}` | undefined;
282
282
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
283
283
  blockHash: `0x${string}` | null;
@@ -316,19 +316,19 @@ export declare const formatters: {
316
316
  maxFeePerBlobGas?: `0x${string}` | undefined;
317
317
  maxFeePerGas?: `0x${string}` | undefined;
318
318
  maxPriorityFeePerGas?: `0x${string}` | undefined;
319
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
319
320
  to?: `0x${string}` | null;
320
321
  from?: `0x${string}`;
321
322
  gas?: `0x${string}`;
322
323
  nonce?: `0x${string}`;
323
324
  value?: `0x${string}`;
324
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
325
- accessList?: import("../index.js").AccessList | undefined;
326
- blobVersionedHashes?: undefined;
327
325
  blockHash?: `0x${string}` | null;
328
326
  blockNumber?: `0x${string}` | null;
329
327
  hash?: `0x${string}`;
330
328
  input?: `0x${string}`;
331
329
  transactionIndex?: `0x${string}` | null;
330
+ accessList?: import("../index.js").AccessList | undefined;
331
+ blobVersionedHashes?: undefined;
332
332
  chainId?: `0x${string}` | undefined;
333
333
  } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
334
334
  feeCurrency: `0x${string}` | null;
@@ -344,19 +344,19 @@ export declare const formatters: {
344
344
  maxFeePerBlobGas?: `0x${string}` | undefined;
345
345
  maxFeePerGas?: `0x${string}` | undefined;
346
346
  maxPriorityFeePerGas?: `0x${string}` | undefined;
347
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
347
348
  to?: `0x${string}` | null;
348
349
  from?: `0x${string}`;
349
350
  gas?: `0x${string}`;
350
351
  nonce?: `0x${string}`;
351
352
  value?: `0x${string}`;
352
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
353
- accessList?: import("../index.js").AccessList | undefined;
354
- blobVersionedHashes?: undefined;
355
353
  blockHash?: `0x${string}` | null;
356
354
  blockNumber?: `0x${string}` | null;
357
355
  hash?: `0x${string}`;
358
356
  input?: `0x${string}`;
359
357
  transactionIndex?: `0x${string}` | null;
358
+ accessList?: import("../index.js").AccessList | undefined;
359
+ blobVersionedHashes?: undefined;
360
360
  chainId?: `0x${string}` | undefined;
361
361
  } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
362
362
  feeCurrency: `0x${string}` | null;
@@ -372,19 +372,19 @@ export declare const formatters: {
372
372
  maxFeePerBlobGas?: `0x${string}` | undefined;
373
373
  maxFeePerGas?: `0x${string}` | undefined;
374
374
  maxPriorityFeePerGas?: `0x${string}` | undefined;
375
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
375
376
  to?: `0x${string}` | null;
376
377
  from?: `0x${string}`;
377
378
  gas?: `0x${string}`;
378
379
  nonce?: `0x${string}`;
379
380
  value?: `0x${string}`;
380
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
381
- accessList?: import("../index.js").AccessList | undefined;
382
- blobVersionedHashes?: undefined;
383
381
  blockHash?: `0x${string}` | null;
384
382
  blockNumber?: `0x${string}` | null;
385
383
  hash?: `0x${string}`;
386
384
  input?: `0x${string}`;
387
385
  transactionIndex?: `0x${string}` | null;
386
+ accessList?: import("../index.js").AccessList | undefined;
387
+ blobVersionedHashes?: undefined;
388
388
  chainId?: `0x${string}` | undefined;
389
389
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
390
390
  r: `0x${string}`;
@@ -423,19 +423,19 @@ export declare const formatters: {
423
423
  maxFeePerBlobGas?: `0x${string}` | undefined;
424
424
  maxFeePerGas?: `0x${string}` | undefined;
425
425
  maxPriorityFeePerGas?: `0x${string}` | undefined;
426
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
426
427
  to?: `0x${string}` | null;
427
428
  from?: `0x${string}`;
428
429
  gas?: `0x${string}`;
429
430
  nonce?: `0x${string}`;
430
431
  value?: `0x${string}`;
431
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
432
- accessList?: import("../index.js").AccessList | undefined;
433
- blobVersionedHashes?: undefined;
434
432
  blockHash?: `0x${string}` | null;
435
433
  blockNumber?: `0x${string}` | null;
436
434
  hash?: `0x${string}`;
437
435
  input?: `0x${string}`;
438
436
  transactionIndex?: `0x${string}` | null;
437
+ accessList?: import("../index.js").AccessList | undefined;
438
+ blobVersionedHashes?: undefined;
439
439
  chainId?: `0x${string}` | undefined;
440
440
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
441
441
  blockHash: `0x${string}` | null;
@@ -474,19 +474,19 @@ export declare const formatters: {
474
474
  maxFeePerBlobGas?: `0x${string}` | undefined;
475
475
  maxFeePerGas?: `0x${string}` | undefined;
476
476
  maxPriorityFeePerGas?: `0x${string}` | undefined;
477
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
477
478
  to?: `0x${string}` | null;
478
479
  from?: `0x${string}`;
479
480
  gas?: `0x${string}`;
480
481
  nonce?: `0x${string}`;
481
482
  value?: `0x${string}`;
482
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
483
- accessList?: import("../index.js").AccessList | undefined;
484
- blobVersionedHashes?: undefined;
485
483
  blockHash?: `0x${string}` | null;
486
484
  blockNumber?: `0x${string}` | null;
487
485
  hash?: `0x${string}`;
488
486
  input?: `0x${string}`;
489
487
  transactionIndex?: `0x${string}` | null;
488
+ accessList?: import("../index.js").AccessList | undefined;
489
+ blobVersionedHashes?: undefined;
490
490
  chainId?: `0x${string}` | undefined;
491
491
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
492
492
  blockHash: `0x${string}` | null;
@@ -525,19 +525,19 @@ export declare const formatters: {
525
525
  maxFeePerBlobGas?: `0x${string}` | undefined;
526
526
  maxFeePerGas?: `0x${string}` | undefined;
527
527
  maxPriorityFeePerGas?: `0x${string}` | undefined;
528
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
528
529
  to?: `0x${string}` | null;
529
530
  from?: `0x${string}`;
530
531
  gas?: `0x${string}`;
531
532
  nonce?: `0x${string}`;
532
533
  value?: `0x${string}`;
533
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
534
- accessList?: import("../index.js").AccessList | undefined;
535
- blobVersionedHashes?: undefined;
536
534
  blockHash?: `0x${string}` | null;
537
535
  blockNumber?: `0x${string}` | null;
538
536
  hash?: `0x${string}`;
539
537
  input?: `0x${string}`;
540
538
  transactionIndex?: `0x${string}` | null;
539
+ accessList?: import("../index.js").AccessList | undefined;
540
+ blobVersionedHashes?: undefined;
541
541
  chainId?: `0x${string}` | undefined;
542
542
  } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
543
543
  feeCurrency: `0x${string}` | null;
@@ -553,19 +553,19 @@ export declare const formatters: {
553
553
  maxFeePerBlobGas?: `0x${string}` | undefined;
554
554
  maxFeePerGas?: `0x${string}` | undefined;
555
555
  maxPriorityFeePerGas?: `0x${string}` | undefined;
556
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
556
557
  to?: `0x${string}` | null;
557
558
  from?: `0x${string}`;
558
559
  gas?: `0x${string}`;
559
560
  nonce?: `0x${string}`;
560
561
  value?: `0x${string}`;
561
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
562
- accessList?: import("../index.js").AccessList | undefined;
563
- blobVersionedHashes?: undefined;
564
562
  blockHash?: `0x${string}` | null;
565
563
  blockNumber?: `0x${string}` | null;
566
564
  hash?: `0x${string}`;
567
565
  input?: `0x${string}`;
568
566
  transactionIndex?: `0x${string}` | null;
567
+ accessList?: import("../index.js").AccessList | undefined;
568
+ blobVersionedHashes?: undefined;
569
569
  chainId?: `0x${string}` | undefined;
570
570
  } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
571
571
  feeCurrency: `0x${string}` | null;
@@ -581,19 +581,19 @@ export declare const formatters: {
581
581
  maxFeePerBlobGas?: `0x${string}` | undefined;
582
582
  maxFeePerGas?: `0x${string}` | undefined;
583
583
  maxPriorityFeePerGas?: `0x${string}` | undefined;
584
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
584
585
  to?: `0x${string}` | null;
585
586
  from?: `0x${string}`;
586
587
  gas?: `0x${string}`;
587
588
  nonce?: `0x${string}`;
588
589
  value?: `0x${string}`;
589
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
590
- accessList?: import("../index.js").AccessList | undefined;
591
- blobVersionedHashes?: `0x${string}`[] | undefined;
592
590
  blockHash?: `0x${string}` | null;
593
591
  blockNumber?: `0x${string}` | null;
594
592
  hash?: `0x${string}`;
595
593
  input?: `0x${string}`;
596
594
  transactionIndex?: `0x${string}` | null;
595
+ accessList?: import("../index.js").AccessList | undefined;
596
+ blobVersionedHashes?: `0x${string}`[] | undefined;
597
597
  chainId?: `0x${string}` | undefined;
598
598
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
599
599
  r: `0x${string}`;
@@ -632,19 +632,19 @@ export declare const formatters: {
632
632
  maxFeePerBlobGas?: `0x${string}` | undefined;
633
633
  maxFeePerGas?: `0x${string}` | undefined;
634
634
  maxPriorityFeePerGas?: `0x${string}` | undefined;
635
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
635
636
  to?: `0x${string}` | null;
636
637
  from?: `0x${string}`;
637
638
  gas?: `0x${string}`;
638
639
  nonce?: `0x${string}`;
639
640
  value?: `0x${string}`;
640
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
641
- accessList?: import("../index.js").AccessList | undefined;
642
- blobVersionedHashes?: `0x${string}`[] | undefined;
643
641
  blockHash?: `0x${string}` | null;
644
642
  blockNumber?: `0x${string}` | null;
645
643
  hash?: `0x${string}`;
646
644
  input?: `0x${string}`;
647
645
  transactionIndex?: `0x${string}` | null;
646
+ accessList?: import("../index.js").AccessList | undefined;
647
+ blobVersionedHashes?: `0x${string}`[] | undefined;
648
648
  chainId?: `0x${string}` | undefined;
649
649
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
650
650
  blockHash: `0x${string}` | null;
@@ -683,19 +683,19 @@ export declare const formatters: {
683
683
  maxFeePerBlobGas?: `0x${string}` | undefined;
684
684
  maxFeePerGas?: `0x${string}` | undefined;
685
685
  maxPriorityFeePerGas?: `0x${string}` | undefined;
686
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
686
687
  to?: `0x${string}` | null;
687
688
  from?: `0x${string}`;
688
689
  gas?: `0x${string}`;
689
690
  nonce?: `0x${string}`;
690
691
  value?: `0x${string}`;
691
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
692
- accessList?: import("../index.js").AccessList | undefined;
693
- blobVersionedHashes?: `0x${string}`[] | undefined;
694
692
  blockHash?: `0x${string}` | null;
695
693
  blockNumber?: `0x${string}` | null;
696
694
  hash?: `0x${string}`;
697
695
  input?: `0x${string}`;
698
696
  transactionIndex?: `0x${string}` | null;
697
+ accessList?: import("../index.js").AccessList | undefined;
698
+ blobVersionedHashes?: `0x${string}`[] | undefined;
699
699
  chainId?: `0x${string}` | undefined;
700
700
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
701
701
  blockHash: `0x${string}` | null;
@@ -734,19 +734,19 @@ export declare const formatters: {
734
734
  maxFeePerBlobGas?: `0x${string}` | undefined;
735
735
  maxFeePerGas?: `0x${string}` | undefined;
736
736
  maxPriorityFeePerGas?: `0x${string}` | undefined;
737
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
737
738
  to?: `0x${string}` | null;
738
739
  from?: `0x${string}`;
739
740
  gas?: `0x${string}`;
740
741
  nonce?: `0x${string}`;
741
742
  value?: `0x${string}`;
742
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
743
- accessList?: import("../index.js").AccessList | undefined;
744
- blobVersionedHashes?: `0x${string}`[] | undefined;
745
743
  blockHash?: `0x${string}` | null;
746
744
  blockNumber?: `0x${string}` | null;
747
745
  hash?: `0x${string}`;
748
746
  input?: `0x${string}`;
749
747
  transactionIndex?: `0x${string}` | null;
748
+ accessList?: import("../index.js").AccessList | undefined;
749
+ blobVersionedHashes?: `0x${string}`[] | undefined;
750
750
  chainId?: `0x${string}` | undefined;
751
751
  } & import("../types/utils.js").Omit<import("../types/utils.js").PartialBy<{
752
752
  blockHash: `0x${string}` | null;
@@ -785,19 +785,19 @@ export declare const formatters: {
785
785
  maxFeePerBlobGas?: `0x${string}` | undefined;
786
786
  maxFeePerGas?: `0x${string}` | undefined;
787
787
  maxPriorityFeePerGas?: `0x${string}` | undefined;
788
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
788
789
  to?: `0x${string}` | null;
789
790
  from?: `0x${string}`;
790
791
  gas?: `0x${string}`;
791
792
  nonce?: `0x${string}`;
792
793
  value?: `0x${string}`;
793
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
794
- accessList?: import("../index.js").AccessList | undefined;
795
- blobVersionedHashes?: `0x${string}`[] | undefined;
796
794
  blockHash?: `0x${string}` | null;
797
795
  blockNumber?: `0x${string}` | null;
798
796
  hash?: `0x${string}`;
799
797
  input?: `0x${string}`;
800
798
  transactionIndex?: `0x${string}` | null;
799
+ accessList?: import("../index.js").AccessList | undefined;
800
+ blobVersionedHashes?: `0x${string}`[] | undefined;
801
801
  chainId?: `0x${string}` | undefined;
802
802
  } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
803
803
  feeCurrency: `0x${string}` | null;
@@ -813,19 +813,19 @@ export declare const formatters: {
813
813
  maxFeePerBlobGas?: `0x${string}` | undefined;
814
814
  maxFeePerGas?: `0x${string}` | undefined;
815
815
  maxPriorityFeePerGas?: `0x${string}` | undefined;
816
+ type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
816
817
  to?: `0x${string}` | null;
817
818
  from?: `0x${string}`;
818
819
  gas?: `0x${string}`;
819
820
  nonce?: `0x${string}`;
820
821
  value?: `0x${string}`;
821
- type?: "0x0" | "0x1" | "0x2" | "0x3" | "0x7c" | "0x7b";
822
- accessList?: import("../index.js").AccessList | undefined;
823
- blobVersionedHashes?: `0x${string}`[] | undefined;
824
822
  blockHash?: `0x${string}` | null;
825
823
  blockNumber?: `0x${string}` | null;
826
824
  hash?: `0x${string}`;
827
825
  input?: `0x${string}`;
828
826
  transactionIndex?: `0x${string}` | null;
827
+ accessList?: import("../index.js").AccessList | undefined;
828
+ blobVersionedHashes?: `0x${string}`[] | undefined;
829
829
  chainId?: `0x${string}` | undefined;
830
830
  } & Omit<import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
831
831
  feeCurrency: `0x${string}` | null;