viem 2.56.7 → 2.56.8

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 (186) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/_cjs/errors/version.js +1 -1
  3. package/_cjs/utils/formatters/formatter.js.map +1 -1
  4. package/_esm/errors/version.js +1 -1
  5. package/_esm/utils/formatters/formatter.js +1 -0
  6. package/_esm/utils/formatters/formatter.js.map +1 -1
  7. package/_types/celo/chainConfig.d.ts +6 -840
  8. package/_types/celo/chainConfig.d.ts.map +1 -1
  9. package/_types/celo/formatters.d.ts +4 -421
  10. package/_types/celo/formatters.d.ts.map +1 -1
  11. package/_types/chains/definitions/abstract.d.ts +4 -371
  12. package/_types/chains/definitions/abstract.d.ts.map +1 -1
  13. package/_types/chains/definitions/abstractTestnet.d.ts +4 -371
  14. package/_types/chains/definitions/abstractTestnet.d.ts.map +1 -1
  15. package/_types/chains/definitions/ancient8.d.ts +3 -226
  16. package/_types/chains/definitions/ancient8.d.ts.map +1 -1
  17. package/_types/chains/definitions/ancient8Sepolia.d.ts +3 -226
  18. package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
  19. package/_types/chains/definitions/base.d.ts +6 -452
  20. package/_types/chains/definitions/base.d.ts.map +1 -1
  21. package/_types/chains/definitions/baseGoerli.d.ts +3 -226
  22. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  23. package/_types/chains/definitions/baseSepolia.d.ts +6 -452
  24. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  25. package/_types/chains/definitions/battlechain.d.ts +4 -371
  26. package/_types/chains/definitions/battlechain.d.ts.map +1 -1
  27. package/_types/chains/definitions/battlechainTestnet.d.ts +4 -371
  28. package/_types/chains/definitions/battlechainTestnet.d.ts.map +1 -1
  29. package/_types/chains/definitions/blast.d.ts +3 -226
  30. package/_types/chains/definitions/blast.d.ts.map +1 -1
  31. package/_types/chains/definitions/bob.d.ts +3 -226
  32. package/_types/chains/definitions/bob.d.ts.map +1 -1
  33. package/_types/chains/definitions/bobSepolia.d.ts +3 -226
  34. package/_types/chains/definitions/bobSepolia.d.ts.map +1 -1
  35. package/_types/chains/definitions/celo.d.ts +6 -840
  36. package/_types/chains/definitions/celo.d.ts.map +1 -1
  37. package/_types/chains/definitions/celoAlfajores.d.ts +6 -840
  38. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  39. package/_types/chains/definitions/celoSepolia.d.ts +6 -840
  40. package/_types/chains/definitions/celoSepolia.d.ts.map +1 -1
  41. package/_types/chains/definitions/codex.d.ts +3 -226
  42. package/_types/chains/definitions/codex.d.ts.map +1 -1
  43. package/_types/chains/definitions/codexTestnet.d.ts +3 -226
  44. package/_types/chains/definitions/codexTestnet.d.ts.map +1 -1
  45. package/_types/chains/definitions/dchain.d.ts +3 -226
  46. package/_types/chains/definitions/dchain.d.ts.map +1 -1
  47. package/_types/chains/definitions/dchainTestnet.d.ts +3 -226
  48. package/_types/chains/definitions/dchainTestnet.d.ts.map +1 -1
  49. package/_types/chains/definitions/elysiumTestnet.d.ts +3 -226
  50. package/_types/chains/definitions/elysiumTestnet.d.ts.map +1 -1
  51. package/_types/chains/definitions/fraxtal.d.ts +3 -226
  52. package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
  53. package/_types/chains/definitions/fraxtalTestnet.d.ts +3 -226
  54. package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
  55. package/_types/chains/definitions/funkiMainnet.d.ts +3 -226
  56. package/_types/chains/definitions/funkiMainnet.d.ts.map +1 -1
  57. package/_types/chains/definitions/funkiSepolia.d.ts +3 -226
  58. package/_types/chains/definitions/funkiSepolia.d.ts.map +1 -1
  59. package/_types/chains/definitions/garnet.d.ts +3 -226
  60. package/_types/chains/definitions/garnet.d.ts.map +1 -1
  61. package/_types/chains/definitions/giwaSepolia.d.ts +6 -452
  62. package/_types/chains/definitions/giwaSepolia.d.ts.map +1 -1
  63. package/_types/chains/definitions/ink.d.ts +3 -226
  64. package/_types/chains/definitions/ink.d.ts.map +1 -1
  65. package/_types/chains/definitions/inkSepolia.d.ts +3 -226
  66. package/_types/chains/definitions/inkSepolia.d.ts.map +1 -1
  67. package/_types/chains/definitions/lisk.d.ts +3 -226
  68. package/_types/chains/definitions/lisk.d.ts.map +1 -1
  69. package/_types/chains/definitions/liskSepolia.d.ts +3 -226
  70. package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
  71. package/_types/chains/definitions/megaeth.d.ts +3 -226
  72. package/_types/chains/definitions/megaeth.d.ts.map +1 -1
  73. package/_types/chains/definitions/metalL2.d.ts +3 -226
  74. package/_types/chains/definitions/metalL2.d.ts.map +1 -1
  75. package/_types/chains/definitions/mode.d.ts +3 -226
  76. package/_types/chains/definitions/mode.d.ts.map +1 -1
  77. package/_types/chains/definitions/modeTestnet.d.ts +3 -226
  78. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
  79. package/_types/chains/definitions/optimism.d.ts +3 -226
  80. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  81. package/_types/chains/definitions/optimismGoerli.d.ts +3 -226
  82. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  83. package/_types/chains/definitions/optimismSepolia.d.ts +3 -226
  84. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  85. package/_types/chains/definitions/pgn.d.ts +3 -226
  86. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  87. package/_types/chains/definitions/pgnTestnet.d.ts +3 -226
  88. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  89. package/_types/chains/definitions/playfiAlbireo.d.ts +4 -371
  90. package/_types/chains/definitions/playfiAlbireo.d.ts.map +1 -1
  91. package/_types/chains/definitions/pyrope.d.ts +3 -226
  92. package/_types/chains/definitions/pyrope.d.ts.map +1 -1
  93. package/_types/chains/definitions/redstone.d.ts +3 -226
  94. package/_types/chains/definitions/redstone.d.ts.map +1 -1
  95. package/_types/chains/definitions/rss3.d.ts +3 -226
  96. package/_types/chains/definitions/rss3.d.ts.map +1 -1
  97. package/_types/chains/definitions/rss3Sepolia.d.ts +3 -226
  98. package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -1
  99. package/_types/chains/definitions/shape.d.ts +3 -226
  100. package/_types/chains/definitions/shape.d.ts.map +1 -1
  101. package/_types/chains/definitions/shapeSepolia.d.ts +3 -226
  102. package/_types/chains/definitions/shapeSepolia.d.ts.map +1 -1
  103. package/_types/chains/definitions/snax.d.ts +3 -226
  104. package/_types/chains/definitions/snax.d.ts.map +1 -1
  105. package/_types/chains/definitions/snaxTestnet.d.ts +3 -226
  106. package/_types/chains/definitions/snaxTestnet.d.ts.map +1 -1
  107. package/_types/chains/definitions/soneium.d.ts +3 -226
  108. package/_types/chains/definitions/soneium.d.ts.map +1 -1
  109. package/_types/chains/definitions/soneiumMinato.d.ts +3 -226
  110. package/_types/chains/definitions/soneiumMinato.d.ts.map +1 -1
  111. package/_types/chains/definitions/sophon.d.ts +4 -371
  112. package/_types/chains/definitions/sophon.d.ts.map +1 -1
  113. package/_types/chains/definitions/sophonTestnet.d.ts +4 -371
  114. package/_types/chains/definitions/sophonTestnet.d.ts.map +1 -1
  115. package/_types/chains/definitions/superseed.d.ts +3 -226
  116. package/_types/chains/definitions/superseed.d.ts.map +1 -1
  117. package/_types/chains/definitions/superseedSepolia.d.ts +3 -226
  118. package/_types/chains/definitions/superseedSepolia.d.ts.map +1 -1
  119. package/_types/chains/definitions/swellchain.d.ts +3 -226
  120. package/_types/chains/definitions/swellchain.d.ts.map +1 -1
  121. package/_types/chains/definitions/swellchainTestnet.d.ts +3 -226
  122. package/_types/chains/definitions/swellchainTestnet.d.ts.map +1 -1
  123. package/_types/chains/definitions/tempo.d.ts +6 -910
  124. package/_types/chains/definitions/tempo.d.ts.map +1 -1
  125. package/_types/chains/definitions/tempoDevnet.d.ts +6 -910
  126. package/_types/chains/definitions/tempoDevnet.d.ts.map +1 -1
  127. package/_types/chains/definitions/tempoLocalnet.d.ts +6 -910
  128. package/_types/chains/definitions/tempoLocalnet.d.ts.map +1 -1
  129. package/_types/chains/definitions/tempoModerato.d.ts +6 -910
  130. package/_types/chains/definitions/tempoModerato.d.ts.map +1 -1
  131. package/_types/chains/definitions/treasure.d.ts +4 -371
  132. package/_types/chains/definitions/treasure.d.ts.map +1 -1
  133. package/_types/chains/definitions/treasureTopaz.d.ts +4 -371
  134. package/_types/chains/definitions/treasureTopaz.d.ts.map +1 -1
  135. package/_types/chains/definitions/unichain.d.ts +3 -226
  136. package/_types/chains/definitions/unichain.d.ts.map +1 -1
  137. package/_types/chains/definitions/unichainSepolia.d.ts +3 -226
  138. package/_types/chains/definitions/unichainSepolia.d.ts.map +1 -1
  139. package/_types/chains/definitions/whitechainSepolia.d.ts +3 -226
  140. package/_types/chains/definitions/whitechainSepolia.d.ts.map +1 -1
  141. package/_types/chains/definitions/worldchain.d.ts +3 -226
  142. package/_types/chains/definitions/worldchain.d.ts.map +1 -1
  143. package/_types/chains/definitions/worldchainSepolia.d.ts +3 -226
  144. package/_types/chains/definitions/worldchainSepolia.d.ts.map +1 -1
  145. package/_types/chains/definitions/zircuit.d.ts +3 -226
  146. package/_types/chains/definitions/zircuit.d.ts.map +1 -1
  147. package/_types/chains/definitions/zircuitGarfieldTestnet.d.ts +3 -226
  148. package/_types/chains/definitions/zircuitGarfieldTestnet.d.ts.map +1 -1
  149. package/_types/chains/definitions/zksync.d.ts +4 -371
  150. package/_types/chains/definitions/zksync.d.ts.map +1 -1
  151. package/_types/chains/definitions/zksyncInMemoryNode.d.ts +4 -371
  152. package/_types/chains/definitions/zksyncInMemoryNode.d.ts.map +1 -1
  153. package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts +4 -371
  154. package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts.map +1 -1
  155. package/_types/chains/definitions/zksyncLocalHyperchain.d.ts +4 -371
  156. package/_types/chains/definitions/zksyncLocalHyperchain.d.ts.map +1 -1
  157. package/_types/chains/definitions/zksyncLocalNode.d.ts +4 -371
  158. package/_types/chains/definitions/zksyncLocalNode.d.ts.map +1 -1
  159. package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts +4 -371
  160. package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts.map +1 -1
  161. package/_types/chains/definitions/zora.d.ts +3 -226
  162. package/_types/chains/definitions/zora.d.ts.map +1 -1
  163. package/_types/chains/definitions/zoraSepolia.d.ts +3 -226
  164. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  165. package/_types/chains/definitions/zoraTestnet.d.ts +3 -226
  166. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  167. package/_types/errors/version.d.ts +1 -1
  168. package/_types/op-stack/chainConfig.d.ts +3 -226
  169. package/_types/op-stack/chainConfig.d.ts.map +1 -1
  170. package/_types/op-stack/formatters.d.ts +5 -228
  171. package/_types/op-stack/formatters.d.ts.map +1 -1
  172. package/_types/tempo/chainConfig.d.ts +4 -457
  173. package/_types/tempo/chainConfig.d.ts.map +1 -1
  174. package/_types/utils/formatters/block.d.ts +1 -1
  175. package/_types/utils/formatters/formatter.d.ts +1 -2
  176. package/_types/utils/formatters/formatter.d.ts.map +1 -1
  177. package/_types/utils/formatters/transaction.d.ts +1 -1
  178. package/_types/utils/formatters/transactionReceipt.d.ts +1 -1
  179. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  180. package/_types/zksync/chainConfig.d.ts +4 -371
  181. package/_types/zksync/chainConfig.d.ts.map +1 -1
  182. package/_types/zksync/formatters.d.ts +6 -374
  183. package/_types/zksync/formatters.d.ts.map +1 -1
  184. package/errors/version.ts +1 -1
  185. package/package.json +1 -1
  186. package/utils/formatters/formatter.ts +4 -4
@@ -35,868 +35,34 @@ export declare const celo: {
35
35
  fees: import("../../index.js").ChainFees<{
36
36
  readonly block: {
37
37
  exclude: [] | undefined;
38
- format: (args: import("../index.js").CeloRpcBlock, action?: string | undefined) => {
39
- baseFeePerGas: bigint | null;
40
- blobGasUsed: bigint;
41
- difficulty: bigint;
42
- excessBlobGas: bigint;
43
- extraData: import("../../index.js").Hex;
44
- gasLimit: bigint;
45
- gasUsed: bigint;
46
- hash: `0x${string}` | null;
47
- logsBloom: `0x${string}` | null;
48
- miner: import("abitype").Address;
49
- mixHash: import("../../index.js").Hash;
50
- nonce: `0x${string}` | null;
51
- number: bigint | null;
52
- parentBeaconBlockRoot?: `0x${string}` | undefined;
53
- parentHash: import("../../index.js").Hash;
54
- receiptsRoot: import("../../index.js").Hex;
55
- sealFields: import("../../index.js").Hex[];
56
- sha3Uncles: import("../../index.js").Hash;
57
- size: bigint;
58
- stateRoot: import("../../index.js").Hash;
59
- timestamp: bigint;
60
- totalDifficulty: bigint | null;
61
- transactions: `0x${string}`[] | import("../index.js").CeloTransaction<boolean>[];
62
- transactionsRoot: import("../../index.js").Hash;
63
- uncles: import("../../index.js").Hash[];
64
- withdrawals?: import("../../index.js").Withdrawal[] | undefined | undefined;
65
- withdrawalsRoot?: `0x${string}` | undefined;
66
- } & {};
38
+ format: (args: import("../index.js").CeloRpcBlock, action?: string | undefined) => import("../index.js").CeloBlock;
67
39
  type: "block";
68
40
  };
69
41
  readonly transaction: {
70
42
  exclude: [] | undefined;
71
- format: (args: import("../index.js").CeloRpcTransaction, action?: string | undefined) => ({
72
- r: import("../../index.js").Hex;
73
- s: import("../../index.js").Hex;
74
- v: bigint;
75
- to: import("abitype").Address | null;
76
- from: import("abitype").Address;
77
- gas: bigint;
78
- nonce: number;
79
- value: bigint;
80
- blockHash: `0x${string}` | null;
81
- blockNumber: bigint | null;
82
- blockTimestamp?: bigint | undefined;
83
- hash: import("../../index.js").Hash;
84
- input: import("../../index.js").Hex;
85
- transactionIndex: number | null;
86
- typeHex: import("../../index.js").Hex | null;
87
- accessList?: undefined | undefined;
88
- authorizationList?: undefined | undefined;
89
- blobVersionedHashes?: undefined | undefined;
90
- chainId?: number | undefined;
91
- yParity?: undefined | undefined;
92
- type: "legacy";
93
- gasPrice: bigint;
94
- maxFeePerBlobGas?: undefined | undefined;
95
- maxFeePerGas?: undefined | undefined;
96
- maxPriorityFeePerGas?: undefined | undefined;
97
- feeCurrency: import("abitype").Address | null;
98
- mint?: undefined;
99
- isSystemTx?: undefined;
100
- sourceHash?: undefined;
101
- gatewayFee?: undefined;
102
- gatewayFeeRecipient?: undefined;
103
- } | {
104
- blockHash: `0x${string}` | null;
105
- blockNumber: bigint | null;
106
- blockTimestamp?: bigint | undefined;
107
- from: import("abitype").Address;
108
- gas: bigint;
109
- hash: import("../../index.js").Hash;
110
- input: import("../../index.js").Hex;
111
- nonce: number;
112
- r: import("../../index.js").Hex;
113
- s: import("../../index.js").Hex;
114
- to: import("abitype").Address | null;
115
- transactionIndex: number | null;
116
- typeHex: import("../../index.js").Hex | null;
117
- v: bigint;
118
- value: bigint;
119
- yParity: number;
120
- accessList: import("../../index.js").AccessList;
121
- authorizationList?: undefined | undefined;
122
- blobVersionedHashes?: undefined | undefined;
123
- chainId: number;
124
- type: "eip2930";
125
- gasPrice: bigint;
126
- maxFeePerBlobGas?: undefined | undefined;
127
- maxFeePerGas?: undefined | undefined;
128
- maxPriorityFeePerGas?: undefined | undefined;
129
- feeCurrency: import("abitype").Address | null;
130
- mint?: undefined;
131
- isSystemTx?: undefined;
132
- sourceHash?: undefined;
133
- gatewayFee?: undefined;
134
- gatewayFeeRecipient?: undefined;
135
- } | {
136
- blockHash: `0x${string}` | null;
137
- blockNumber: bigint | null;
138
- blockTimestamp?: bigint | undefined;
139
- from: import("abitype").Address;
140
- gas: bigint;
141
- hash: import("../../index.js").Hash;
142
- input: import("../../index.js").Hex;
143
- nonce: number;
144
- r: import("../../index.js").Hex;
145
- s: import("../../index.js").Hex;
146
- to: import("abitype").Address | null;
147
- transactionIndex: number | null;
148
- typeHex: import("../../index.js").Hex | null;
149
- v: bigint;
150
- value: bigint;
151
- yParity: number;
152
- accessList: import("../../index.js").AccessList;
153
- authorizationList?: undefined | undefined;
154
- blobVersionedHashes?: undefined | undefined;
155
- chainId: number;
156
- type: "eip1559";
157
- gasPrice?: undefined | undefined;
158
- maxFeePerBlobGas?: undefined | undefined;
159
- maxFeePerGas: bigint;
160
- maxPriorityFeePerGas: bigint;
161
- feeCurrency: import("abitype").Address | null;
162
- mint?: undefined;
163
- isSystemTx?: undefined;
164
- sourceHash?: undefined;
165
- gatewayFee?: undefined;
166
- gatewayFeeRecipient?: undefined;
167
- } | {
168
- blockHash: `0x${string}` | null;
169
- blockNumber: bigint | null;
170
- blockTimestamp?: bigint | undefined;
171
- from: import("abitype").Address;
172
- gas: bigint;
173
- hash: import("../../index.js").Hash;
174
- input: import("../../index.js").Hex;
175
- nonce: number;
176
- r: import("../../index.js").Hex;
177
- s: import("../../index.js").Hex;
178
- to: import("abitype").Address | null;
179
- transactionIndex: number | null;
180
- typeHex: import("../../index.js").Hex | null;
181
- v: bigint;
182
- value: bigint;
183
- yParity: number;
184
- accessList: import("../../index.js").AccessList;
185
- authorizationList?: undefined | undefined;
186
- blobVersionedHashes: readonly import("../../index.js").Hex[];
187
- chainId: number;
188
- type: "eip4844";
189
- gasPrice?: undefined | undefined;
190
- maxFeePerBlobGas: bigint;
191
- maxFeePerGas: bigint;
192
- maxPriorityFeePerGas: bigint;
193
- feeCurrency: import("abitype").Address | null;
194
- mint?: undefined;
195
- isSystemTx?: undefined;
196
- sourceHash?: undefined;
197
- gatewayFee?: undefined;
198
- gatewayFeeRecipient?: undefined;
199
- } | {
200
- blockHash: `0x${string}` | null;
201
- blockNumber: bigint | null;
202
- blockTimestamp?: bigint | undefined;
203
- from: import("abitype").Address;
204
- gas: bigint;
205
- hash: import("../../index.js").Hash;
206
- input: import("../../index.js").Hex;
207
- nonce: number;
208
- r: import("../../index.js").Hex;
209
- s: import("../../index.js").Hex;
210
- to: import("abitype").Address | null;
211
- transactionIndex: number | null;
212
- typeHex: import("../../index.js").Hex | null;
213
- v: bigint;
214
- value: bigint;
215
- yParity: number;
216
- accessList: import("../../index.js").AccessList;
217
- authorizationList: import("../../index.js").SignedAuthorizationList;
218
- blobVersionedHashes?: undefined | undefined;
219
- chainId: number;
220
- type: "eip7702";
221
- gasPrice?: undefined | undefined;
222
- maxFeePerBlobGas?: undefined | undefined;
223
- maxFeePerGas: bigint;
224
- maxPriorityFeePerGas: bigint;
225
- feeCurrency: import("abitype").Address | null;
226
- mint?: undefined;
227
- isSystemTx?: undefined;
228
- sourceHash?: undefined;
229
- gatewayFee?: undefined;
230
- gatewayFeeRecipient?: undefined;
231
- } | {
232
- blockHash: `0x${string}` | null;
233
- blockNumber: bigint | null;
234
- blockTimestamp?: bigint | undefined;
235
- from: import("abitype").Address;
236
- gas: bigint;
237
- hash: import("../../index.js").Hash;
238
- input: import("../../index.js").Hex;
239
- nonce: number;
240
- r: import("../../index.js").Hex;
241
- s: import("../../index.js").Hex;
242
- to: import("abitype").Address | null;
243
- transactionIndex: number | null;
244
- typeHex: import("../../index.js").Hex | null;
245
- v: bigint;
246
- value: bigint;
247
- yParity: number;
248
- gasPrice?: undefined | undefined;
249
- maxFeePerBlobGas?: undefined | undefined;
250
- maxFeePerGas: bigint;
251
- maxPriorityFeePerGas: bigint;
252
- accessList: import("../../index.js").AccessList;
253
- chainId: number;
254
- feeCurrency: import("abitype").Address | null;
255
- gatewayFee: bigint | null;
256
- gatewayFeeRecipient: import("abitype").Address | null;
257
- type: "cip42";
258
- blobVersionedHashes?: undefined;
259
- authorizationList?: undefined;
260
- mint?: undefined;
261
- isSystemTx?: undefined;
262
- sourceHash?: undefined;
263
- } | {
264
- blockHash: `0x${string}` | null;
265
- blockNumber: bigint | null;
266
- blockTimestamp?: bigint | undefined;
267
- from: import("abitype").Address;
268
- gas: bigint;
269
- hash: import("../../index.js").Hash;
270
- input: import("../../index.js").Hex;
271
- nonce: number;
272
- r: import("../../index.js").Hex;
273
- s: import("../../index.js").Hex;
274
- to: import("abitype").Address | null;
275
- transactionIndex: number | null;
276
- typeHex: import("../../index.js").Hex | null;
277
- v: bigint;
278
- value: bigint;
279
- yParity: number;
280
- gasPrice?: undefined | undefined;
281
- maxFeePerBlobGas?: undefined | undefined;
282
- maxFeePerGas: bigint;
283
- maxPriorityFeePerGas: bigint;
284
- accessList: import("../../index.js").AccessList;
285
- chainId: number;
286
- feeCurrency: import("abitype").Address | null;
287
- type: "cip64";
288
- blobVersionedHashes?: undefined;
289
- authorizationList?: undefined;
290
- mint?: undefined;
291
- isSystemTx?: undefined;
292
- sourceHash?: undefined;
293
- gatewayFee?: undefined;
294
- gatewayFeeRecipient?: undefined;
295
- } | {
296
- blockHash: `0x${string}` | null;
297
- blockNumber: bigint | null;
298
- blockTimestamp?: bigint | undefined;
299
- from: import("abitype").Address;
300
- gas: bigint;
301
- hash: import("../../index.js").Hash;
302
- input: import("../../index.js").Hex;
303
- nonce: number;
304
- r: import("../../index.js").Hex;
305
- s: import("../../index.js").Hex;
306
- to: import("abitype").Address | null;
307
- transactionIndex: number | null;
308
- typeHex: import("../../index.js").Hex | null;
309
- v: bigint;
310
- value: bigint;
311
- yParity: number;
312
- gasPrice?: undefined | undefined;
313
- maxFeePerBlobGas?: undefined | undefined;
314
- maxFeePerGas: bigint;
315
- maxPriorityFeePerGas: bigint;
316
- isSystemTx?: boolean;
317
- mint?: bigint | undefined | undefined;
318
- sourceHash: import("../../index.js").Hex;
319
- type: "deposit";
320
- blobVersionedHashes?: undefined;
321
- accessList?: undefined;
322
- authorizationList?: undefined;
323
- chainId?: undefined;
324
- feeCurrency?: undefined;
325
- gatewayFee?: undefined;
326
- gatewayFeeRecipient?: undefined;
327
- }) & {};
43
+ format: (args: import("../index.js").CeloRpcTransaction, action?: string | undefined) => import("../index.js").CeloTransaction;
328
44
  type: "transaction";
329
45
  };
330
46
  readonly transactionRequest: {
331
47
  exclude: [] | undefined;
332
- format: (args: import("../index.js").CeloTransactionRequest, action?: string | undefined) => ({
333
- data?: `0x${string}` | undefined;
334
- from?: `0x${string}` | undefined;
335
- gas?: `0x${string}` | undefined;
336
- nonce?: `0x${string}` | undefined;
337
- to?: `0x${string}` | null | undefined;
338
- type?: "0x0" | undefined;
339
- value?: `0x${string}` | undefined;
340
- gasPrice?: `0x${string}` | undefined;
341
- maxFeePerBlobGas?: undefined | undefined;
342
- maxFeePerGas?: undefined | undefined;
343
- maxPriorityFeePerGas?: undefined | undefined;
344
- blobs?: undefined;
345
- blobVersionedHashes?: undefined;
346
- kzg?: undefined;
347
- accessList?: undefined;
348
- sidecars?: undefined;
349
- authorizationList?: undefined;
350
- feeCurrency?: `0x${string}` | undefined;
351
- } | {
352
- data?: `0x${string}` | undefined;
353
- from?: `0x${string}` | undefined;
354
- gas?: `0x${string}` | undefined;
355
- nonce?: `0x${string}` | undefined;
356
- to?: `0x${string}` | null | undefined;
357
- type?: "0x1" | undefined;
358
- value?: `0x${string}` | undefined;
359
- gasPrice?: `0x${string}` | undefined;
360
- maxFeePerBlobGas?: undefined | undefined;
361
- maxFeePerGas?: undefined | undefined;
362
- maxPriorityFeePerGas?: undefined | undefined;
363
- accessList?: import("../../index.js").AccessList | undefined;
364
- blobs?: undefined;
365
- blobVersionedHashes?: undefined;
366
- kzg?: undefined;
367
- sidecars?: undefined;
368
- authorizationList?: undefined;
369
- feeCurrency?: `0x${string}` | undefined;
370
- } | {
371
- data?: `0x${string}` | undefined;
372
- from?: `0x${string}` | undefined;
373
- gas?: `0x${string}` | undefined;
374
- nonce?: `0x${string}` | undefined;
375
- to?: `0x${string}` | null | undefined;
376
- type?: "0x2" | undefined;
377
- value?: `0x${string}` | undefined;
378
- gasPrice?: undefined | undefined;
379
- maxFeePerBlobGas?: undefined | undefined;
380
- maxFeePerGas?: `0x${string}` | undefined;
381
- maxPriorityFeePerGas?: `0x${string}` | undefined;
382
- accessList?: import("../../index.js").AccessList | undefined;
383
- blobs?: undefined;
384
- blobVersionedHashes?: undefined;
385
- kzg?: undefined;
386
- sidecars?: undefined;
387
- authorizationList?: undefined;
388
- feeCurrency?: `0x${string}` | undefined;
389
- } | {
390
- type?: "0x3" | undefined;
391
- data?: `0x${string}` | undefined;
392
- from?: `0x${string}` | undefined;
393
- gas?: `0x${string}` | undefined;
394
- nonce?: `0x${string}` | undefined;
395
- value?: `0x${string}` | undefined;
396
- to: `0x${string}` | null;
397
- gasPrice?: undefined | undefined;
398
- maxFeePerBlobGas?: `0x${string}` | undefined;
399
- maxFeePerGas?: `0x${string}` | undefined;
400
- maxPriorityFeePerGas?: `0x${string}` | undefined;
401
- accessList?: import("../../index.js").AccessList | undefined;
402
- sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
403
- blobs?: readonly `0x${string}`[] | readonly import("../../index.js").ByteArray[] | undefined;
404
- blobVersionedHashes: readonly import("../../index.js").Hex[];
405
- kzg?: undefined;
406
- authorizationList?: undefined;
407
- feeCurrency?: `0x${string}` | undefined;
408
- } | {
409
- type?: "0x3" | undefined;
410
- data?: `0x${string}` | undefined;
411
- from?: `0x${string}` | undefined;
412
- gas?: `0x${string}` | undefined;
413
- nonce?: `0x${string}` | undefined;
414
- value?: `0x${string}` | undefined;
415
- to: `0x${string}` | null;
416
- gasPrice?: undefined | undefined;
417
- maxFeePerBlobGas?: `0x${string}` | undefined;
418
- maxFeePerGas?: `0x${string}` | undefined;
419
- maxPriorityFeePerGas?: `0x${string}` | undefined;
420
- accessList?: import("../../index.js").AccessList | undefined;
421
- sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
422
- blobs: readonly import("../../index.js").Hex[] | readonly import("../../index.js").ByteArray[];
423
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
424
- kzg?: import("../../index.js").Kzg | undefined;
425
- authorizationList?: undefined;
426
- feeCurrency?: `0x${string}` | undefined;
427
- } | {
428
- type?: "0x4" | undefined;
429
- gasPrice?: undefined | undefined;
430
- maxFeePerBlobGas?: undefined | undefined;
431
- maxFeePerGas?: `0x${string}` | undefined;
432
- maxPriorityFeePerGas?: `0x${string}` | undefined;
433
- to?: `0x${string}` | null | undefined;
434
- data?: `0x${string}` | undefined;
435
- from?: `0x${string}` | undefined;
436
- gas?: `0x${string}` | undefined;
437
- nonce?: `0x${string}` | undefined;
438
- value?: `0x${string}` | undefined;
439
- accessList?: import("../../index.js").AccessList | undefined;
440
- authorizationList?: import("../../index.js").RpcAuthorizationList | undefined;
441
- blobs?: undefined;
442
- blobVersionedHashes?: undefined;
443
- kzg?: undefined;
444
- sidecars?: undefined;
445
- feeCurrency?: `0x${string}` | undefined;
446
- } | {
447
- data?: `0x${string}` | undefined;
448
- from?: `0x${string}` | undefined;
449
- gas?: `0x${string}` | undefined;
450
- nonce?: `0x${string}` | undefined;
451
- to?: `0x${string}` | null | undefined;
452
- type?: "0x7b" | undefined;
453
- value?: `0x${string}` | undefined;
454
- accessList?: import("../../index.js").AccessList | undefined;
455
- feeCurrency?: `0x${string}` | undefined;
456
- gasPrice?: undefined | undefined;
457
- maxFeePerBlobGas?: undefined | undefined;
458
- maxFeePerGas?: `0x${string}` | undefined;
459
- maxPriorityFeePerGas?: `0x${string}` | undefined;
460
- blobs?: undefined;
461
- blobVersionedHashes?: undefined;
462
- kzg?: undefined;
463
- sidecars?: undefined;
464
- authorizationList?: undefined;
465
- }) & {};
48
+ format: (args: import("../index.js").CeloTransactionRequest, action?: string | undefined) => import("../index.js").CeloRpcTransactionRequest;
466
49
  type: "transactionRequest";
467
50
  };
468
51
  }>;
469
52
  formatters: {
470
53
  readonly block: {
471
54
  exclude: [] | undefined;
472
- format: (args: import("../index.js").CeloRpcBlock, action?: string | undefined) => {
473
- baseFeePerGas: bigint | null;
474
- blobGasUsed: bigint;
475
- difficulty: bigint;
476
- excessBlobGas: bigint;
477
- extraData: import("../../index.js").Hex;
478
- gasLimit: bigint;
479
- gasUsed: bigint;
480
- hash: `0x${string}` | null;
481
- logsBloom: `0x${string}` | null;
482
- miner: import("abitype").Address;
483
- mixHash: import("../../index.js").Hash;
484
- nonce: `0x${string}` | null;
485
- number: bigint | null;
486
- parentBeaconBlockRoot?: `0x${string}` | undefined;
487
- parentHash: import("../../index.js").Hash;
488
- receiptsRoot: import("../../index.js").Hex;
489
- sealFields: import("../../index.js").Hex[];
490
- sha3Uncles: import("../../index.js").Hash;
491
- size: bigint;
492
- stateRoot: import("../../index.js").Hash;
493
- timestamp: bigint;
494
- totalDifficulty: bigint | null;
495
- transactions: `0x${string}`[] | import("../index.js").CeloTransaction<boolean>[];
496
- transactionsRoot: import("../../index.js").Hash;
497
- uncles: import("../../index.js").Hash[];
498
- withdrawals?: import("../../index.js").Withdrawal[] | undefined | undefined;
499
- withdrawalsRoot?: `0x${string}` | undefined;
500
- } & {};
55
+ format: (args: import("../index.js").CeloRpcBlock, action?: string | undefined) => import("../index.js").CeloBlock;
501
56
  type: "block";
502
57
  };
503
58
  readonly transaction: {
504
59
  exclude: [] | undefined;
505
- format: (args: import("../index.js").CeloRpcTransaction, action?: string | undefined) => ({
506
- r: import("../../index.js").Hex;
507
- s: import("../../index.js").Hex;
508
- v: bigint;
509
- to: import("abitype").Address | null;
510
- from: import("abitype").Address;
511
- gas: bigint;
512
- nonce: number;
513
- value: bigint;
514
- blockHash: `0x${string}` | null;
515
- blockNumber: bigint | null;
516
- blockTimestamp?: bigint | undefined;
517
- hash: import("../../index.js").Hash;
518
- input: import("../../index.js").Hex;
519
- transactionIndex: number | null;
520
- typeHex: import("../../index.js").Hex | null;
521
- accessList?: undefined | undefined;
522
- authorizationList?: undefined | undefined;
523
- blobVersionedHashes?: undefined | undefined;
524
- chainId?: number | undefined;
525
- yParity?: undefined | undefined;
526
- type: "legacy";
527
- gasPrice: bigint;
528
- maxFeePerBlobGas?: undefined | undefined;
529
- maxFeePerGas?: undefined | undefined;
530
- maxPriorityFeePerGas?: undefined | undefined;
531
- feeCurrency: import("abitype").Address | null;
532
- mint?: undefined;
533
- isSystemTx?: undefined;
534
- sourceHash?: undefined;
535
- gatewayFee?: undefined;
536
- gatewayFeeRecipient?: undefined;
537
- } | {
538
- blockHash: `0x${string}` | null;
539
- blockNumber: bigint | null;
540
- blockTimestamp?: bigint | undefined;
541
- from: import("abitype").Address;
542
- gas: bigint;
543
- hash: import("../../index.js").Hash;
544
- input: import("../../index.js").Hex;
545
- nonce: number;
546
- r: import("../../index.js").Hex;
547
- s: import("../../index.js").Hex;
548
- to: import("abitype").Address | null;
549
- transactionIndex: number | null;
550
- typeHex: import("../../index.js").Hex | null;
551
- v: bigint;
552
- value: bigint;
553
- yParity: number;
554
- accessList: import("../../index.js").AccessList;
555
- authorizationList?: undefined | undefined;
556
- blobVersionedHashes?: undefined | undefined;
557
- chainId: number;
558
- type: "eip2930";
559
- gasPrice: bigint;
560
- maxFeePerBlobGas?: undefined | undefined;
561
- maxFeePerGas?: undefined | undefined;
562
- maxPriorityFeePerGas?: undefined | undefined;
563
- feeCurrency: import("abitype").Address | null;
564
- mint?: undefined;
565
- isSystemTx?: undefined;
566
- sourceHash?: undefined;
567
- gatewayFee?: undefined;
568
- gatewayFeeRecipient?: undefined;
569
- } | {
570
- blockHash: `0x${string}` | null;
571
- blockNumber: bigint | null;
572
- blockTimestamp?: bigint | undefined;
573
- from: import("abitype").Address;
574
- gas: bigint;
575
- hash: import("../../index.js").Hash;
576
- input: import("../../index.js").Hex;
577
- nonce: number;
578
- r: import("../../index.js").Hex;
579
- s: import("../../index.js").Hex;
580
- to: import("abitype").Address | null;
581
- transactionIndex: number | null;
582
- typeHex: import("../../index.js").Hex | null;
583
- v: bigint;
584
- value: bigint;
585
- yParity: number;
586
- accessList: import("../../index.js").AccessList;
587
- authorizationList?: undefined | undefined;
588
- blobVersionedHashes?: undefined | undefined;
589
- chainId: number;
590
- type: "eip1559";
591
- gasPrice?: undefined | undefined;
592
- maxFeePerBlobGas?: undefined | undefined;
593
- maxFeePerGas: bigint;
594
- maxPriorityFeePerGas: bigint;
595
- feeCurrency: import("abitype").Address | null;
596
- mint?: undefined;
597
- isSystemTx?: undefined;
598
- sourceHash?: undefined;
599
- gatewayFee?: undefined;
600
- gatewayFeeRecipient?: undefined;
601
- } | {
602
- blockHash: `0x${string}` | null;
603
- blockNumber: bigint | null;
604
- blockTimestamp?: bigint | undefined;
605
- from: import("abitype").Address;
606
- gas: bigint;
607
- hash: import("../../index.js").Hash;
608
- input: import("../../index.js").Hex;
609
- nonce: number;
610
- r: import("../../index.js").Hex;
611
- s: import("../../index.js").Hex;
612
- to: import("abitype").Address | null;
613
- transactionIndex: number | null;
614
- typeHex: import("../../index.js").Hex | null;
615
- v: bigint;
616
- value: bigint;
617
- yParity: number;
618
- accessList: import("../../index.js").AccessList;
619
- authorizationList?: undefined | undefined;
620
- blobVersionedHashes: readonly import("../../index.js").Hex[];
621
- chainId: number;
622
- type: "eip4844";
623
- gasPrice?: undefined | undefined;
624
- maxFeePerBlobGas: bigint;
625
- maxFeePerGas: bigint;
626
- maxPriorityFeePerGas: bigint;
627
- feeCurrency: import("abitype").Address | null;
628
- mint?: undefined;
629
- isSystemTx?: undefined;
630
- sourceHash?: undefined;
631
- gatewayFee?: undefined;
632
- gatewayFeeRecipient?: undefined;
633
- } | {
634
- blockHash: `0x${string}` | null;
635
- blockNumber: bigint | null;
636
- blockTimestamp?: bigint | undefined;
637
- from: import("abitype").Address;
638
- gas: bigint;
639
- hash: import("../../index.js").Hash;
640
- input: import("../../index.js").Hex;
641
- nonce: number;
642
- r: import("../../index.js").Hex;
643
- s: import("../../index.js").Hex;
644
- to: import("abitype").Address | null;
645
- transactionIndex: number | null;
646
- typeHex: import("../../index.js").Hex | null;
647
- v: bigint;
648
- value: bigint;
649
- yParity: number;
650
- accessList: import("../../index.js").AccessList;
651
- authorizationList: import("../../index.js").SignedAuthorizationList;
652
- blobVersionedHashes?: undefined | undefined;
653
- chainId: number;
654
- type: "eip7702";
655
- gasPrice?: undefined | undefined;
656
- maxFeePerBlobGas?: undefined | undefined;
657
- maxFeePerGas: bigint;
658
- maxPriorityFeePerGas: bigint;
659
- feeCurrency: import("abitype").Address | null;
660
- mint?: undefined;
661
- isSystemTx?: undefined;
662
- sourceHash?: undefined;
663
- gatewayFee?: undefined;
664
- gatewayFeeRecipient?: undefined;
665
- } | {
666
- blockHash: `0x${string}` | null;
667
- blockNumber: bigint | null;
668
- blockTimestamp?: bigint | undefined;
669
- from: import("abitype").Address;
670
- gas: bigint;
671
- hash: import("../../index.js").Hash;
672
- input: import("../../index.js").Hex;
673
- nonce: number;
674
- r: import("../../index.js").Hex;
675
- s: import("../../index.js").Hex;
676
- to: import("abitype").Address | null;
677
- transactionIndex: number | null;
678
- typeHex: import("../../index.js").Hex | null;
679
- v: bigint;
680
- value: bigint;
681
- yParity: number;
682
- gasPrice?: undefined | undefined;
683
- maxFeePerBlobGas?: undefined | undefined;
684
- maxFeePerGas: bigint;
685
- maxPriorityFeePerGas: bigint;
686
- accessList: import("../../index.js").AccessList;
687
- chainId: number;
688
- feeCurrency: import("abitype").Address | null;
689
- gatewayFee: bigint | null;
690
- gatewayFeeRecipient: import("abitype").Address | null;
691
- type: "cip42";
692
- blobVersionedHashes?: undefined;
693
- authorizationList?: undefined;
694
- mint?: undefined;
695
- isSystemTx?: undefined;
696
- sourceHash?: undefined;
697
- } | {
698
- blockHash: `0x${string}` | null;
699
- blockNumber: bigint | null;
700
- blockTimestamp?: bigint | undefined;
701
- from: import("abitype").Address;
702
- gas: bigint;
703
- hash: import("../../index.js").Hash;
704
- input: import("../../index.js").Hex;
705
- nonce: number;
706
- r: import("../../index.js").Hex;
707
- s: import("../../index.js").Hex;
708
- to: import("abitype").Address | null;
709
- transactionIndex: number | null;
710
- typeHex: import("../../index.js").Hex | null;
711
- v: bigint;
712
- value: bigint;
713
- yParity: number;
714
- gasPrice?: undefined | undefined;
715
- maxFeePerBlobGas?: undefined | undefined;
716
- maxFeePerGas: bigint;
717
- maxPriorityFeePerGas: bigint;
718
- accessList: import("../../index.js").AccessList;
719
- chainId: number;
720
- feeCurrency: import("abitype").Address | null;
721
- type: "cip64";
722
- blobVersionedHashes?: undefined;
723
- authorizationList?: undefined;
724
- mint?: undefined;
725
- isSystemTx?: undefined;
726
- sourceHash?: undefined;
727
- gatewayFee?: undefined;
728
- gatewayFeeRecipient?: undefined;
729
- } | {
730
- blockHash: `0x${string}` | null;
731
- blockNumber: bigint | null;
732
- blockTimestamp?: bigint | undefined;
733
- from: import("abitype").Address;
734
- gas: bigint;
735
- hash: import("../../index.js").Hash;
736
- input: import("../../index.js").Hex;
737
- nonce: number;
738
- r: import("../../index.js").Hex;
739
- s: import("../../index.js").Hex;
740
- to: import("abitype").Address | null;
741
- transactionIndex: number | null;
742
- typeHex: import("../../index.js").Hex | null;
743
- v: bigint;
744
- value: bigint;
745
- yParity: number;
746
- gasPrice?: undefined | undefined;
747
- maxFeePerBlobGas?: undefined | undefined;
748
- maxFeePerGas: bigint;
749
- maxPriorityFeePerGas: bigint;
750
- isSystemTx?: boolean;
751
- mint?: bigint | undefined | undefined;
752
- sourceHash: import("../../index.js").Hex;
753
- type: "deposit";
754
- blobVersionedHashes?: undefined;
755
- accessList?: undefined;
756
- authorizationList?: undefined;
757
- chainId?: undefined;
758
- feeCurrency?: undefined;
759
- gatewayFee?: undefined;
760
- gatewayFeeRecipient?: undefined;
761
- }) & {};
60
+ format: (args: import("../index.js").CeloRpcTransaction, action?: string | undefined) => import("../index.js").CeloTransaction;
762
61
  type: "transaction";
763
62
  };
764
63
  readonly transactionRequest: {
765
64
  exclude: [] | undefined;
766
- format: (args: import("../index.js").CeloTransactionRequest, action?: string | undefined) => ({
767
- data?: `0x${string}` | undefined;
768
- from?: `0x${string}` | undefined;
769
- gas?: `0x${string}` | undefined;
770
- nonce?: `0x${string}` | undefined;
771
- to?: `0x${string}` | null | undefined;
772
- type?: "0x0" | undefined;
773
- value?: `0x${string}` | undefined;
774
- gasPrice?: `0x${string}` | undefined;
775
- maxFeePerBlobGas?: undefined | undefined;
776
- maxFeePerGas?: undefined | undefined;
777
- maxPriorityFeePerGas?: undefined | undefined;
778
- blobs?: undefined;
779
- blobVersionedHashes?: undefined;
780
- kzg?: undefined;
781
- accessList?: undefined;
782
- sidecars?: undefined;
783
- authorizationList?: undefined;
784
- feeCurrency?: `0x${string}` | undefined;
785
- } | {
786
- data?: `0x${string}` | undefined;
787
- from?: `0x${string}` | undefined;
788
- gas?: `0x${string}` | undefined;
789
- nonce?: `0x${string}` | undefined;
790
- to?: `0x${string}` | null | undefined;
791
- type?: "0x1" | undefined;
792
- value?: `0x${string}` | undefined;
793
- gasPrice?: `0x${string}` | undefined;
794
- maxFeePerBlobGas?: undefined | undefined;
795
- maxFeePerGas?: undefined | undefined;
796
- maxPriorityFeePerGas?: undefined | undefined;
797
- accessList?: import("../../index.js").AccessList | undefined;
798
- blobs?: undefined;
799
- blobVersionedHashes?: undefined;
800
- kzg?: undefined;
801
- sidecars?: undefined;
802
- authorizationList?: undefined;
803
- feeCurrency?: `0x${string}` | undefined;
804
- } | {
805
- data?: `0x${string}` | undefined;
806
- from?: `0x${string}` | undefined;
807
- gas?: `0x${string}` | undefined;
808
- nonce?: `0x${string}` | undefined;
809
- to?: `0x${string}` | null | undefined;
810
- type?: "0x2" | undefined;
811
- value?: `0x${string}` | undefined;
812
- gasPrice?: undefined | undefined;
813
- maxFeePerBlobGas?: undefined | undefined;
814
- maxFeePerGas?: `0x${string}` | undefined;
815
- maxPriorityFeePerGas?: `0x${string}` | undefined;
816
- accessList?: import("../../index.js").AccessList | undefined;
817
- blobs?: undefined;
818
- blobVersionedHashes?: undefined;
819
- kzg?: undefined;
820
- sidecars?: undefined;
821
- authorizationList?: undefined;
822
- feeCurrency?: `0x${string}` | undefined;
823
- } | {
824
- type?: "0x3" | undefined;
825
- data?: `0x${string}` | undefined;
826
- from?: `0x${string}` | undefined;
827
- gas?: `0x${string}` | undefined;
828
- nonce?: `0x${string}` | undefined;
829
- value?: `0x${string}` | undefined;
830
- to: `0x${string}` | null;
831
- gasPrice?: undefined | undefined;
832
- maxFeePerBlobGas?: `0x${string}` | undefined;
833
- maxFeePerGas?: `0x${string}` | undefined;
834
- maxPriorityFeePerGas?: `0x${string}` | undefined;
835
- accessList?: import("../../index.js").AccessList | undefined;
836
- sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
837
- blobs?: readonly `0x${string}`[] | readonly import("../../index.js").ByteArray[] | undefined;
838
- blobVersionedHashes: readonly import("../../index.js").Hex[];
839
- kzg?: undefined;
840
- authorizationList?: undefined;
841
- feeCurrency?: `0x${string}` | undefined;
842
- } | {
843
- type?: "0x3" | undefined;
844
- data?: `0x${string}` | undefined;
845
- from?: `0x${string}` | undefined;
846
- gas?: `0x${string}` | undefined;
847
- nonce?: `0x${string}` | undefined;
848
- value?: `0x${string}` | undefined;
849
- to: `0x${string}` | null;
850
- gasPrice?: undefined | undefined;
851
- maxFeePerBlobGas?: `0x${string}` | undefined;
852
- maxFeePerGas?: `0x${string}` | undefined;
853
- maxPriorityFeePerGas?: `0x${string}` | undefined;
854
- accessList?: import("../../index.js").AccessList | undefined;
855
- sidecars?: readonly import("../../index.js").BlobSidecar<`0x${string}`>[] | undefined;
856
- blobs: readonly import("../../index.js").Hex[] | readonly import("../../index.js").ByteArray[];
857
- blobVersionedHashes?: readonly `0x${string}`[] | undefined;
858
- kzg?: import("../../index.js").Kzg | undefined;
859
- authorizationList?: undefined;
860
- feeCurrency?: `0x${string}` | undefined;
861
- } | {
862
- type?: "0x4" | undefined;
863
- gasPrice?: undefined | undefined;
864
- maxFeePerBlobGas?: undefined | undefined;
865
- maxFeePerGas?: `0x${string}` | undefined;
866
- maxPriorityFeePerGas?: `0x${string}` | undefined;
867
- to?: `0x${string}` | null | undefined;
868
- data?: `0x${string}` | undefined;
869
- from?: `0x${string}` | undefined;
870
- gas?: `0x${string}` | undefined;
871
- nonce?: `0x${string}` | undefined;
872
- value?: `0x${string}` | undefined;
873
- accessList?: import("../../index.js").AccessList | undefined;
874
- authorizationList?: import("../../index.js").RpcAuthorizationList | undefined;
875
- blobs?: undefined;
876
- blobVersionedHashes?: undefined;
877
- kzg?: undefined;
878
- sidecars?: undefined;
879
- feeCurrency?: `0x${string}` | undefined;
880
- } | {
881
- data?: `0x${string}` | undefined;
882
- from?: `0x${string}` | undefined;
883
- gas?: `0x${string}` | undefined;
884
- nonce?: `0x${string}` | undefined;
885
- to?: `0x${string}` | null | undefined;
886
- type?: "0x7b" | undefined;
887
- value?: `0x${string}` | undefined;
888
- accessList?: import("../../index.js").AccessList | undefined;
889
- feeCurrency?: `0x${string}` | undefined;
890
- gasPrice?: undefined | undefined;
891
- maxFeePerBlobGas?: undefined | undefined;
892
- maxFeePerGas?: `0x${string}` | undefined;
893
- maxPriorityFeePerGas?: `0x${string}` | undefined;
894
- blobs?: undefined;
895
- blobVersionedHashes?: undefined;
896
- kzg?: undefined;
897
- sidecars?: undefined;
898
- authorizationList?: undefined;
899
- }) & {};
65
+ format: (args: import("../index.js").CeloTransactionRequest, action?: string | undefined) => import("../index.js").CeloRpcTransactionRequest;
900
66
  type: "transactionRequest";
901
67
  };
902
68
  };