viem 2.0.0-alpha.1 → 2.0.0-alpha.11

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 (304) hide show
  1. package/_cjs/{abi.js → abi/index.js} +9 -9
  2. package/_cjs/abi/index.js.map +1 -0
  3. package/_cjs/actions/getContract.js +16 -0
  4. package/_cjs/actions/getContract.js.map +1 -1
  5. package/_cjs/actions/public/estimateFeesPerGas.js +3 -2
  6. package/_cjs/actions/public/estimateFeesPerGas.js.map +1 -1
  7. package/_cjs/actions/public/getContractEvents.js +26 -0
  8. package/_cjs/actions/public/getContractEvents.js.map +1 -0
  9. package/_cjs/actions/public/multicall.js.map +1 -1
  10. package/_cjs/actions/public/readContract.js.map +1 -1
  11. package/_cjs/actions/public/waitForTransactionReceipt.js +9 -4
  12. package/_cjs/actions/public/waitForTransactionReceipt.js.map +1 -1
  13. package/_cjs/actions/public/watchContractEvent.js +4 -7
  14. package/_cjs/actions/public/watchContractEvent.js.map +1 -1
  15. package/_cjs/actions/wallet/signTypedData.js.map +1 -1
  16. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  17. package/_cjs/chains/definitions/holesky.js +21 -0
  18. package/_cjs/chains/definitions/holesky.js.map +1 -0
  19. package/_cjs/chains/definitions/kroma.js +26 -0
  20. package/_cjs/chains/definitions/kroma.js.map +1 -0
  21. package/_cjs/chains/definitions/kromaSepolia.js +26 -0
  22. package/_cjs/chains/definitions/kromaSepolia.js.map +1 -0
  23. package/_cjs/chains/definitions/moonbeamDev.js +25 -0
  24. package/_cjs/chains/definitions/moonbeamDev.js.map +1 -0
  25. package/_cjs/chains/definitions/optimismSepolia.js +39 -0
  26. package/_cjs/chains/definitions/optimismSepolia.js.map +1 -0
  27. package/_cjs/chains/definitions/sepolia.js +1 -1
  28. package/_cjs/chains/definitions/sepolia.js.map +1 -1
  29. package/_cjs/chains/index.js +12 -2
  30. package/_cjs/chains/index.js.map +1 -1
  31. package/_cjs/clients/decorators/public.js +2 -0
  32. package/_cjs/clients/decorators/public.js.map +1 -1
  33. package/_cjs/clients/decorators/wallet.js.map +1 -1
  34. package/_cjs/{contract.js → contract/index.js} +25 -25
  35. package/_cjs/contract/index.js.map +1 -0
  36. package/_cjs/{ens.js → ens/index.js} +9 -9
  37. package/_cjs/ens/index.js.map +1 -0
  38. package/_cjs/errors/version.js +1 -1
  39. package/_cjs/errors/version.js.map +1 -1
  40. package/_cjs/index.js +5 -1
  41. package/_cjs/index.js.map +1 -1
  42. package/_cjs/{public.js → public/index.js} +29 -29
  43. package/_cjs/public/index.js.map +1 -0
  44. package/_cjs/{test.js → test/index.js} +29 -29
  45. package/_cjs/test/index.js.map +1 -0
  46. package/_cjs/types/eip1193.js.map +1 -1
  47. package/_cjs/utils/hash/getEventSelector.js +5 -6
  48. package/_cjs/utils/hash/getEventSelector.js.map +1 -1
  49. package/_cjs/utils/hash/getEventSignature.js +9 -0
  50. package/_cjs/utils/hash/getEventSignature.js.map +1 -0
  51. package/_cjs/utils/hash/getFunctionSelector.js +5 -6
  52. package/_cjs/utils/hash/getFunctionSelector.js.map +1 -1
  53. package/_cjs/utils/hash/getFunctionSignature.js +15 -0
  54. package/_cjs/utils/hash/getFunctionSignature.js.map +1 -0
  55. package/_cjs/utils/hash/hashFunction.js +2 -4
  56. package/_cjs/utils/hash/hashFunction.js.map +1 -1
  57. package/_cjs/utils/rpc.js +6 -3
  58. package/_cjs/utils/rpc.js.map +1 -1
  59. package/_cjs/{wallet.js → wallet/index.js} +11 -11
  60. package/_cjs/wallet/index.js.map +1 -0
  61. package/_cjs/{window.js → window/index.js} +2 -2
  62. package/_cjs/window/index.js.map +1 -0
  63. package/_esm/abi/index.js +7 -0
  64. package/_esm/abi/index.js.map +1 -0
  65. package/_esm/actions/getContract.js +16 -0
  66. package/_esm/actions/getContract.js.map +1 -1
  67. package/_esm/actions/public/estimateFeesPerGas.js +3 -2
  68. package/_esm/actions/public/estimateFeesPerGas.js.map +1 -1
  69. package/_esm/actions/public/getContractEvents.js +48 -0
  70. package/_esm/actions/public/getContractEvents.js.map +1 -0
  71. package/_esm/actions/public/multicall.js.map +1 -1
  72. package/_esm/actions/public/readContract.js.map +1 -1
  73. package/_esm/actions/public/waitForTransactionReceipt.js +9 -4
  74. package/_esm/actions/public/waitForTransactionReceipt.js.map +1 -1
  75. package/_esm/actions/public/watchContractEvent.js +4 -7
  76. package/_esm/actions/public/watchContractEvent.js.map +1 -1
  77. package/_esm/actions/wallet/signTypedData.js.map +1 -1
  78. package/_esm/actions/wallet/writeContract.js.map +1 -1
  79. package/_esm/chains/definitions/holesky.js +18 -0
  80. package/_esm/chains/definitions/holesky.js.map +1 -0
  81. package/_esm/chains/definitions/kroma.js +23 -0
  82. package/_esm/chains/definitions/kroma.js.map +1 -0
  83. package/_esm/chains/definitions/kromaSepolia.js +23 -0
  84. package/_esm/chains/definitions/kromaSepolia.js.map +1 -0
  85. package/_esm/chains/definitions/moonbeamDev.js +22 -0
  86. package/_esm/chains/definitions/moonbeamDev.js.map +1 -0
  87. package/_esm/chains/definitions/optimismSepolia.js +36 -0
  88. package/_esm/chains/definitions/optimismSepolia.js.map +1 -0
  89. package/_esm/chains/definitions/sepolia.js +1 -1
  90. package/_esm/chains/definitions/sepolia.js.map +1 -1
  91. package/_esm/chains/index.js +5 -0
  92. package/_esm/chains/index.js.map +1 -1
  93. package/_esm/clients/decorators/public.js +2 -0
  94. package/_esm/clients/decorators/public.js.map +1 -1
  95. package/_esm/clients/decorators/wallet.js.map +1 -1
  96. package/_esm/contract/index.js +26 -0
  97. package/_esm/contract/index.js.map +1 -0
  98. package/_esm/ens/index.js +9 -0
  99. package/_esm/ens/index.js.map +1 -0
  100. package/_esm/errors/version.js +1 -1
  101. package/_esm/errors/version.js.map +1 -1
  102. package/_esm/index.js +2 -0
  103. package/_esm/index.js.map +1 -1
  104. package/_esm/public/index.js +30 -0
  105. package/_esm/public/index.js.map +1 -0
  106. package/_esm/test/index.js +30 -0
  107. package/_esm/test/index.js.map +1 -0
  108. package/_esm/types/eip1193.js.map +1 -1
  109. package/_esm/utils/hash/getEventSelector.js +5 -6
  110. package/_esm/utils/hash/getEventSelector.js.map +1 -1
  111. package/_esm/utils/hash/getEventSignature.js +5 -0
  112. package/_esm/utils/hash/getEventSignature.js.map +1 -0
  113. package/_esm/utils/hash/getFunctionSelector.js +5 -6
  114. package/_esm/utils/hash/getFunctionSelector.js.map +1 -1
  115. package/_esm/utils/hash/getFunctionSignature.js +11 -0
  116. package/_esm/utils/hash/getFunctionSignature.js.map +1 -0
  117. package/_esm/utils/hash/hashFunction.js +2 -4
  118. package/_esm/utils/hash/hashFunction.js.map +1 -1
  119. package/_esm/utils/rpc.js +6 -2
  120. package/_esm/utils/rpc.js.map +1 -1
  121. package/_esm/wallet/index.js +12 -0
  122. package/_esm/wallet/index.js.map +1 -0
  123. package/_esm/window/index.js +2 -0
  124. package/_esm/window/index.js.map +1 -0
  125. package/_types/{abi.d.ts → abi/index.d.ts} +5 -5
  126. package/_types/abi/index.d.ts.map +1 -0
  127. package/_types/actions/getContract.d.ts +29 -0
  128. package/_types/actions/getContract.d.ts.map +1 -1
  129. package/_types/actions/public/createContractEventFilter.d.ts +1 -1
  130. package/_types/actions/public/createContractEventFilter.d.ts.map +1 -1
  131. package/_types/actions/public/estimateFeesPerGas.d.ts.map +1 -1
  132. package/_types/actions/public/getContractEvents.d.ts +62 -0
  133. package/_types/actions/public/getContractEvents.d.ts.map +1 -0
  134. package/_types/actions/public/multicall.d.ts +1 -1
  135. package/_types/actions/public/multicall.d.ts.map +1 -1
  136. package/_types/actions/public/readContract.d.ts +2 -1
  137. package/_types/actions/public/readContract.d.ts.map +1 -1
  138. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +1 -1
  139. package/_types/actions/public/watchContractEvent.d.ts +1 -1
  140. package/_types/actions/public/watchContractEvent.d.ts.map +1 -1
  141. package/_types/actions/wallet/signTypedData.d.ts +1 -1
  142. package/_types/actions/wallet/signTypedData.d.ts.map +1 -1
  143. package/_types/actions/wallet/writeContract.d.ts +3 -3
  144. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  145. package/_types/chains/celo/formatters.d.ts +57 -57
  146. package/_types/chains/definitions/base.d.ts +171 -171
  147. package/_types/chains/definitions/baseGoerli.d.ts +171 -171
  148. package/_types/chains/definitions/celo.d.ts +171 -171
  149. package/_types/chains/definitions/celoAlfajores.d.ts +171 -171
  150. package/_types/chains/definitions/celoCannoli.d.ts +171 -171
  151. package/_types/chains/definitions/holesky.d.ts +24 -0
  152. package/_types/chains/definitions/holesky.d.ts.map +1 -0
  153. package/_types/chains/definitions/kroma.d.ts +29 -0
  154. package/_types/chains/definitions/kroma.d.ts.map +1 -0
  155. package/_types/chains/definitions/kromaSepolia.d.ts +29 -0
  156. package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -0
  157. package/_types/chains/definitions/moonbeamDev.d.ts +24 -0
  158. package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -0
  159. package/_types/chains/definitions/optimism.d.ts +171 -171
  160. package/_types/chains/definitions/optimismGoerli.d.ts +171 -171
  161. package/_types/chains/definitions/optimismSepolia.d.ts +1524 -0
  162. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -0
  163. package/_types/chains/definitions/sepolia.d.ts +1 -1
  164. package/_types/chains/definitions/zora.d.ts +171 -171
  165. package/_types/chains/definitions/zoraTestnet.d.ts +171 -171
  166. package/_types/chains/index.d.ts +6 -1
  167. package/_types/chains/index.d.ts.map +1 -1
  168. package/_types/chains/optimism/formatters.d.ts +57 -57
  169. package/_types/clients/decorators/public.d.ts +27 -0
  170. package/_types/clients/decorators/public.d.ts.map +1 -1
  171. package/_types/clients/transports/webSocket.d.ts +2 -1
  172. package/_types/clients/transports/webSocket.d.ts.map +1 -1
  173. package/_types/{contract.d.ts → contract/index.d.ts} +26 -26
  174. package/_types/contract/index.d.ts.map +1 -0
  175. package/_types/ens/index.d.ts +9 -0
  176. package/_types/ens/index.d.ts.map +1 -0
  177. package/_types/errors/version.d.ts +1 -1
  178. package/_types/errors/version.d.ts.map +1 -1
  179. package/_types/index.d.ts +3 -1
  180. package/_types/index.d.ts.map +1 -1
  181. package/_types/public/index.d.ts +33 -0
  182. package/_types/public/index.d.ts.map +1 -0
  183. package/_types/test/index.d.ts +29 -0
  184. package/_types/test/index.d.ts.map +1 -0
  185. package/_types/types/contract.d.ts +1 -1
  186. package/_types/types/contract.d.ts.map +1 -1
  187. package/_types/types/eip1193.d.ts +2 -2
  188. package/_types/types/eip1193.d.ts.map +1 -1
  189. package/_types/types/multicall.d.ts +10 -4
  190. package/_types/types/multicall.d.ts.map +1 -1
  191. package/_types/types/typedData.d.ts +2 -2
  192. package/_types/types/typedData.d.ts.map +1 -1
  193. package/_types/types/utils.d.ts +12 -8
  194. package/_types/types/utils.d.ts.map +1 -1
  195. package/_types/utils/abi/decodeEventLog.d.ts +2 -2
  196. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
  197. package/_types/utils/formatters/transaction.d.ts +3 -3
  198. package/_types/utils/formatters/transaction.d.ts.map +1 -1
  199. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  200. package/_types/utils/hash/getEventSelector.d.ts +1 -2
  201. package/_types/utils/hash/getEventSelector.d.ts.map +1 -1
  202. package/_types/utils/hash/getEventSignature.d.ts +3 -0
  203. package/_types/utils/hash/getEventSignature.d.ts.map +1 -0
  204. package/_types/utils/hash/getFunctionSelector.d.ts.map +1 -1
  205. package/_types/utils/hash/getFunctionSignature.d.ts +3 -0
  206. package/_types/utils/hash/getFunctionSignature.d.ts.map +1 -0
  207. package/_types/utils/hash/hashFunction.d.ts.map +1 -1
  208. package/_types/utils/rpc.d.ts +3 -3
  209. package/_types/utils/rpc.d.ts.map +1 -1
  210. package/_types/wallet/index.d.ts +11 -0
  211. package/_types/wallet/index.d.ts.map +1 -0
  212. package/_types/window/index.d.ts +2 -0
  213. package/_types/window/index.d.ts.map +1 -0
  214. package/{abi.ts → abi/index.ts} +15 -13
  215. package/abi/package.json +6 -0
  216. package/accounts/package.json +6 -0
  217. package/actions/getContract.ts +95 -0
  218. package/actions/package.json +6 -0
  219. package/actions/public/createContractEventFilter.ts +1 -1
  220. package/actions/public/estimateFeesPerGas.ts +3 -2
  221. package/actions/public/getContractEvents.ts +155 -0
  222. package/actions/public/multicall.ts +2 -2
  223. package/actions/public/readContract.ts +4 -1
  224. package/actions/public/waitForTransactionReceipt.ts +13 -4
  225. package/actions/public/watchContractEvent.ts +10 -13
  226. package/actions/wallet/signTypedData.ts +4 -2
  227. package/actions/wallet/writeContract.ts +30 -23
  228. package/chains/definitions/holesky.ts +18 -0
  229. package/chains/definitions/kroma.ts +23 -0
  230. package/chains/definitions/kromaSepolia.ts +23 -0
  231. package/chains/definitions/moonbeamDev.ts +22 -0
  232. package/chains/definitions/optimismSepolia.ts +39 -0
  233. package/chains/definitions/sepolia.ts +1 -1
  234. package/chains/index.ts +6 -1
  235. package/chains/package.json +6 -0
  236. package/chains/utils/package.json +6 -0
  237. package/clients/decorators/public.ts +48 -0
  238. package/clients/decorators/wallet.ts +1 -1
  239. package/clients/package.json +6 -0
  240. package/clients/transports/webSocket.ts +1 -1
  241. package/{contract.ts → contract/index.ts} +27 -25
  242. package/contract/package.json +6 -0
  243. package/{ens.ts → ens/index.ts} +8 -8
  244. package/ens/package.json +6 -0
  245. package/errors/version.ts +1 -1
  246. package/index.ts +4 -0
  247. package/package.json +32 -31
  248. package/{public.ts → public/index.ts} +30 -28
  249. package/public/package.json +6 -0
  250. package/test/index.ts +85 -0
  251. package/test/package.json +6 -0
  252. package/types/contract.ts +1 -1
  253. package/types/eip1193.ts +5 -3
  254. package/types/multicall.ts +41 -22
  255. package/types/typedData.ts +3 -2
  256. package/types/utils.ts +32 -11
  257. package/utils/abi/decodeEventLog.ts +2 -2
  258. package/utils/formatters/transaction.ts +2 -2
  259. package/utils/hash/getEventSelector.ts +7 -6
  260. package/utils/hash/getEventSignature.ts +7 -0
  261. package/utils/hash/getFunctionSelector.ts +7 -5
  262. package/utils/hash/getFunctionSignature.ts +17 -0
  263. package/utils/hash/hashFunction.ts +2 -7
  264. package/utils/package.json +6 -0
  265. package/utils/rpc.ts +6 -3
  266. package/{wallet.ts → wallet/index.ts} +15 -10
  267. package/wallet/package.json +6 -0
  268. package/window/index.ts +1 -0
  269. package/window/package.json +6 -0
  270. package/_cjs/abi.js.map +0 -1
  271. package/_cjs/contract.js.map +0 -1
  272. package/_cjs/ens.js.map +0 -1
  273. package/_cjs/public.js.map +0 -1
  274. package/_cjs/test.js.map +0 -1
  275. package/_cjs/wallet.js.map +0 -1
  276. package/_cjs/window.js.map +0 -1
  277. package/_esm/abi.js +0 -6
  278. package/_esm/abi.js.map +0 -1
  279. package/_esm/contract.js +0 -25
  280. package/_esm/contract.js.map +0 -1
  281. package/_esm/ens.js +0 -9
  282. package/_esm/ens.js.map +0 -1
  283. package/_esm/public.js +0 -29
  284. package/_esm/public.js.map +0 -1
  285. package/_esm/test.js +0 -29
  286. package/_esm/test.js.map +0 -1
  287. package/_esm/wallet.js +0 -11
  288. package/_esm/wallet.js.map +0 -1
  289. package/_esm/window.js +0 -2
  290. package/_esm/window.js.map +0 -1
  291. package/_types/abi.d.ts.map +0 -1
  292. package/_types/contract.d.ts.map +0 -1
  293. package/_types/ens.d.ts +0 -9
  294. package/_types/ens.d.ts.map +0 -1
  295. package/_types/public.d.ts +0 -33
  296. package/_types/public.d.ts.map +0 -1
  297. package/_types/test.d.ts +0 -29
  298. package/_types/test.d.ts.map +0 -1
  299. package/_types/wallet.d.ts +0 -11
  300. package/_types/wallet.d.ts.map +0 -1
  301. package/_types/window.d.ts +0 -2
  302. package/_types/window.d.ts.map +0 -1
  303. package/test.ts +0 -83
  304. package/window.ts +0 -1
@@ -0,0 +1,1524 @@
1
+ export declare const optimismSepolia: {
2
+ readonly id: 11155420;
3
+ readonly name: "Optimism Sepolia";
4
+ readonly network: "optimism-sepolia";
5
+ readonly nativeCurrency: {
6
+ readonly name: "Sepolia Ether";
7
+ readonly symbol: "ETH";
8
+ readonly decimals: 18;
9
+ };
10
+ readonly rpcUrls: {
11
+ readonly default: {
12
+ readonly http: readonly ["https://sepolia.optimism.io"];
13
+ };
14
+ readonly public: {
15
+ readonly http: readonly ["https://sepolia.optimism.io"];
16
+ };
17
+ };
18
+ readonly blockExplorers: {
19
+ readonly blockscout: {
20
+ readonly name: "Blockscout";
21
+ readonly url: "https://optimism-sepolia.blockscout.com";
22
+ };
23
+ readonly default: {
24
+ readonly name: "Blockscout";
25
+ readonly url: "https://optimism-sepolia.blockscout.com";
26
+ };
27
+ };
28
+ readonly contracts: {
29
+ readonly multicall3: {
30
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
31
+ readonly blockCreated: 1620204;
32
+ };
33
+ };
34
+ readonly testnet: true;
35
+ formatters?: {
36
+ readonly block: {
37
+ exclude: [] | undefined;
38
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").OptimismRpcBlockOverrides & {
39
+ transactions: `0x${string}`[] | import("../utils.js").OptimismRpcTransaction[];
40
+ }>) => {
41
+ baseFeePerGas: bigint | null;
42
+ difficulty: bigint;
43
+ extraData: `0x${string}`;
44
+ gasLimit: bigint;
45
+ gasUsed: bigint;
46
+ hash: `0x${string}` | null;
47
+ logsBloom: `0x${string}` | null;
48
+ miner: `0x${string}`;
49
+ mixHash: `0x${string}`;
50
+ nonce: `0x${string}` | null;
51
+ number: bigint | null;
52
+ parentHash: `0x${string}`;
53
+ receiptsRoot: `0x${string}`;
54
+ sealFields: `0x${string}`[];
55
+ sha3Uncles: `0x${string}`;
56
+ size: bigint;
57
+ stateRoot: `0x${string}`;
58
+ timestamp: bigint;
59
+ totalDifficulty: bigint | null;
60
+ transactions: `0x${string}`[] | import("../utils.js").OptimismTransaction[];
61
+ transactionsRoot: `0x${string}`;
62
+ uncles: `0x${string}`[];
63
+ } & {};
64
+ type: "block";
65
+ };
66
+ readonly transaction: {
67
+ exclude: [] | undefined;
68
+ format: (args: ({
69
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
70
+ gas?: `0x${string}` | undefined;
71
+ value?: `0x${string}` | undefined;
72
+ gasPrice?: `0x${string}` | undefined;
73
+ maxFeePerGas?: `0x${string}` | undefined;
74
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
75
+ blockHash?: `0x${string}` | null | undefined;
76
+ blockNumber?: `0x${string}` | null | undefined;
77
+ from?: `0x${string}` | undefined;
78
+ hash?: `0x${string}` | undefined;
79
+ input?: `0x${string}` | undefined;
80
+ nonce?: `0x${string}` | undefined;
81
+ r?: `0x${string}` | undefined;
82
+ s?: `0x${string}` | undefined;
83
+ to?: `0x${string}` | null | undefined;
84
+ transactionIndex?: `0x${string}` | null | undefined;
85
+ v?: `0x${string}` | undefined;
86
+ accessList?: undefined;
87
+ chainId?: `0x${string}` | undefined;
88
+ } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
89
+ isSystemTx?: undefined;
90
+ mint?: undefined;
91
+ sourceHash?: undefined;
92
+ }) | ({
93
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
94
+ gas?: `0x${string}` | undefined;
95
+ value?: `0x${string}` | undefined;
96
+ gasPrice?: `0x${string}` | undefined;
97
+ maxFeePerGas?: `0x${string}` | undefined;
98
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
99
+ blockHash?: `0x${string}` | null | undefined;
100
+ blockNumber?: `0x${string}` | null | undefined;
101
+ from?: `0x${string}` | undefined;
102
+ hash?: `0x${string}` | undefined;
103
+ input?: `0x${string}` | undefined;
104
+ nonce?: `0x${string}` | undefined;
105
+ r?: `0x${string}` | undefined;
106
+ s?: `0x${string}` | undefined;
107
+ to?: `0x${string}` | null | undefined;
108
+ transactionIndex?: `0x${string}` | null | undefined;
109
+ v?: `0x${string}` | undefined;
110
+ accessList?: undefined;
111
+ chainId?: `0x${string}` | undefined;
112
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
113
+ isSystemTx?: boolean | undefined;
114
+ mint?: `0x${string}` | undefined;
115
+ sourceHash: `0x${string}`;
116
+ type: "0x7e";
117
+ }) | ({
118
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
119
+ gas?: `0x${string}` | undefined;
120
+ value?: `0x${string}` | undefined;
121
+ gasPrice?: `0x${string}` | undefined;
122
+ maxFeePerGas?: `0x${string}` | undefined;
123
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
124
+ blockHash?: `0x${string}` | null | undefined;
125
+ blockNumber?: `0x${string}` | null | undefined;
126
+ from?: `0x${string}` | undefined;
127
+ hash?: `0x${string}` | undefined;
128
+ input?: `0x${string}` | undefined;
129
+ nonce?: `0x${string}` | undefined;
130
+ r?: `0x${string}` | undefined;
131
+ s?: `0x${string}` | undefined;
132
+ to?: `0x${string}` | null | undefined;
133
+ transactionIndex?: `0x${string}` | null | undefined;
134
+ v?: `0x${string}` | undefined;
135
+ accessList?: import("../../index.js").AccessList | undefined;
136
+ chainId?: `0x${string}` | undefined;
137
+ } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
138
+ isSystemTx?: undefined;
139
+ mint?: undefined;
140
+ sourceHash?: undefined;
141
+ }) | ({
142
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
143
+ gas?: `0x${string}` | undefined;
144
+ value?: `0x${string}` | undefined;
145
+ gasPrice?: `0x${string}` | undefined;
146
+ maxFeePerGas?: `0x${string}` | undefined;
147
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
148
+ blockHash?: `0x${string}` | null | undefined;
149
+ blockNumber?: `0x${string}` | null | undefined;
150
+ from?: `0x${string}` | undefined;
151
+ hash?: `0x${string}` | undefined;
152
+ input?: `0x${string}` | undefined;
153
+ nonce?: `0x${string}` | undefined;
154
+ r?: `0x${string}` | undefined;
155
+ s?: `0x${string}` | undefined;
156
+ to?: `0x${string}` | null | undefined;
157
+ transactionIndex?: `0x${string}` | null | undefined;
158
+ v?: `0x${string}` | undefined;
159
+ accessList?: import("../../index.js").AccessList | undefined;
160
+ chainId?: `0x${string}` | undefined;
161
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
162
+ isSystemTx?: undefined;
163
+ mint?: undefined;
164
+ sourceHash?: undefined;
165
+ }) | ({
166
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
167
+ gas?: `0x${string}` | undefined;
168
+ value?: `0x${string}` | undefined;
169
+ gasPrice?: `0x${string}` | undefined;
170
+ maxFeePerGas?: `0x${string}` | undefined;
171
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
172
+ blockHash?: `0x${string}` | null | undefined;
173
+ blockNumber?: `0x${string}` | null | undefined;
174
+ from?: `0x${string}` | undefined;
175
+ hash?: `0x${string}` | undefined;
176
+ input?: `0x${string}` | undefined;
177
+ nonce?: `0x${string}` | undefined;
178
+ r?: `0x${string}` | undefined;
179
+ s?: `0x${string}` | undefined;
180
+ to?: `0x${string}` | null | undefined;
181
+ transactionIndex?: `0x${string}` | null | undefined;
182
+ v?: `0x${string}` | undefined;
183
+ accessList?: import("../../index.js").AccessList | undefined;
184
+ chainId?: `0x${string}` | undefined;
185
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
186
+ isSystemTx?: undefined;
187
+ mint?: undefined;
188
+ sourceHash?: undefined;
189
+ }) | ({
190
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
191
+ gas?: `0x${string}` | undefined;
192
+ value?: `0x${string}` | undefined;
193
+ gasPrice?: `0x${string}` | undefined;
194
+ maxFeePerGas?: `0x${string}` | undefined;
195
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
196
+ blockHash?: `0x${string}` | null | undefined;
197
+ blockNumber?: `0x${string}` | null | undefined;
198
+ from?: `0x${string}` | undefined;
199
+ hash?: `0x${string}` | undefined;
200
+ input?: `0x${string}` | undefined;
201
+ nonce?: `0x${string}` | undefined;
202
+ r?: `0x${string}` | undefined;
203
+ s?: `0x${string}` | undefined;
204
+ to?: `0x${string}` | null | undefined;
205
+ transactionIndex?: `0x${string}` | null | undefined;
206
+ v?: `0x${string}` | undefined;
207
+ accessList?: import("../../index.js").AccessList | undefined;
208
+ chainId?: `0x${string}` | undefined;
209
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
210
+ isSystemTx?: boolean | undefined;
211
+ mint?: `0x${string}` | undefined;
212
+ sourceHash: `0x${string}`;
213
+ type: "0x7e";
214
+ }) | ({
215
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
216
+ gas?: `0x${string}` | undefined;
217
+ value?: `0x${string}` | undefined;
218
+ gasPrice?: `0x${string}` | undefined;
219
+ maxFeePerGas?: `0x${string}` | undefined;
220
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
221
+ blockHash?: `0x${string}` | null | undefined;
222
+ blockNumber?: `0x${string}` | null | undefined;
223
+ from?: `0x${string}` | undefined;
224
+ hash?: `0x${string}` | undefined;
225
+ input?: `0x${string}` | undefined;
226
+ nonce?: `0x${string}` | undefined;
227
+ r?: `0x${string}` | undefined;
228
+ s?: `0x${string}` | undefined;
229
+ to?: `0x${string}` | null | undefined;
230
+ transactionIndex?: `0x${string}` | null | undefined;
231
+ v?: `0x${string}` | undefined;
232
+ accessList?: import("../../index.js").AccessList | undefined;
233
+ chainId?: `0x${string}` | undefined;
234
+ } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
235
+ isSystemTx?: undefined;
236
+ mint?: undefined;
237
+ sourceHash?: undefined;
238
+ }) | ({
239
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
240
+ gas?: `0x${string}` | undefined;
241
+ value?: `0x${string}` | undefined;
242
+ gasPrice?: `0x${string}` | undefined;
243
+ maxFeePerGas?: `0x${string}` | undefined;
244
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
245
+ blockHash?: `0x${string}` | null | undefined;
246
+ blockNumber?: `0x${string}` | null | undefined;
247
+ from?: `0x${string}` | undefined;
248
+ hash?: `0x${string}` | undefined;
249
+ input?: `0x${string}` | undefined;
250
+ nonce?: `0x${string}` | undefined;
251
+ r?: `0x${string}` | undefined;
252
+ s?: `0x${string}` | undefined;
253
+ to?: `0x${string}` | null | undefined;
254
+ transactionIndex?: `0x${string}` | null | undefined;
255
+ v?: `0x${string}` | undefined;
256
+ accessList?: import("../../index.js").AccessList | undefined;
257
+ chainId?: `0x${string}` | undefined;
258
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
259
+ isSystemTx?: undefined;
260
+ mint?: undefined;
261
+ sourceHash?: undefined;
262
+ }) | ({
263
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
264
+ gas?: `0x${string}` | undefined;
265
+ value?: `0x${string}` | undefined;
266
+ gasPrice?: `0x${string}` | undefined;
267
+ maxFeePerGas?: `0x${string}` | undefined;
268
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
269
+ blockHash?: `0x${string}` | null | undefined;
270
+ blockNumber?: `0x${string}` | null | undefined;
271
+ from?: `0x${string}` | undefined;
272
+ hash?: `0x${string}` | undefined;
273
+ input?: `0x${string}` | undefined;
274
+ nonce?: `0x${string}` | undefined;
275
+ r?: `0x${string}` | undefined;
276
+ s?: `0x${string}` | undefined;
277
+ to?: `0x${string}` | null | undefined;
278
+ transactionIndex?: `0x${string}` | null | undefined;
279
+ v?: `0x${string}` | undefined;
280
+ accessList?: import("../../index.js").AccessList | undefined;
281
+ chainId?: `0x${string}` | undefined;
282
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
283
+ isSystemTx?: undefined;
284
+ mint?: undefined;
285
+ sourceHash?: undefined;
286
+ }) | ({
287
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
288
+ gas?: `0x${string}` | undefined;
289
+ value?: `0x${string}` | undefined;
290
+ gasPrice?: `0x${string}` | undefined;
291
+ maxFeePerGas?: `0x${string}` | undefined;
292
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
293
+ blockHash?: `0x${string}` | null | undefined;
294
+ blockNumber?: `0x${string}` | null | undefined;
295
+ from?: `0x${string}` | undefined;
296
+ hash?: `0x${string}` | undefined;
297
+ input?: `0x${string}` | undefined;
298
+ nonce?: `0x${string}` | undefined;
299
+ r?: `0x${string}` | undefined;
300
+ s?: `0x${string}` | undefined;
301
+ to?: `0x${string}` | null | undefined;
302
+ transactionIndex?: `0x${string}` | null | undefined;
303
+ v?: `0x${string}` | undefined;
304
+ accessList?: import("../../index.js").AccessList | undefined;
305
+ chainId?: `0x${string}` | undefined;
306
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
307
+ isSystemTx?: boolean | undefined;
308
+ mint?: `0x${string}` | undefined;
309
+ sourceHash: `0x${string}`;
310
+ type: "0x7e";
311
+ })) => ({
312
+ blockHash: `0x${string}` | null;
313
+ blockNumber: bigint | null;
314
+ from: `0x${string}`;
315
+ gas: bigint;
316
+ hash: `0x${string}`;
317
+ input: `0x${string}`;
318
+ nonce: number;
319
+ r: `0x${string}`;
320
+ s: `0x${string}`;
321
+ to: `0x${string}` | null;
322
+ transactionIndex: number | null;
323
+ typeHex: `0x${string}` | null;
324
+ v: bigint;
325
+ value: bigint;
326
+ gasPrice: bigint;
327
+ maxFeePerGas?: undefined;
328
+ maxPriorityFeePerGas?: undefined;
329
+ accessList?: undefined;
330
+ chainId?: number | undefined;
331
+ type: "legacy";
332
+ isSystemTx?: undefined;
333
+ mint?: undefined;
334
+ sourceHash?: undefined;
335
+ } | {
336
+ blockHash: `0x${string}` | null;
337
+ blockNumber: bigint | null;
338
+ from: `0x${string}`;
339
+ gas: bigint;
340
+ hash: `0x${string}`;
341
+ input: `0x${string}`;
342
+ nonce: number;
343
+ r: `0x${string}`;
344
+ s: `0x${string}`;
345
+ to: `0x${string}` | null;
346
+ transactionIndex: number | null;
347
+ typeHex: `0x${string}` | null;
348
+ v: bigint;
349
+ value: bigint;
350
+ gasPrice: undefined;
351
+ maxFeePerGas: bigint;
352
+ maxPriorityFeePerGas: bigint;
353
+ accessList?: undefined;
354
+ chainId?: number | undefined;
355
+ type: "deposit";
356
+ isSystemTx?: boolean | undefined;
357
+ mint?: bigint | undefined;
358
+ sourceHash: `0x${string}`;
359
+ } | {
360
+ blockHash: `0x${string}` | null;
361
+ blockNumber: bigint | null;
362
+ from: `0x${string}`;
363
+ gas: bigint;
364
+ hash: `0x${string}`;
365
+ input: `0x${string}`;
366
+ nonce: number;
367
+ r: `0x${string}`;
368
+ s: `0x${string}`;
369
+ to: `0x${string}` | null;
370
+ transactionIndex: number | null;
371
+ typeHex: `0x${string}` | null;
372
+ v: bigint;
373
+ value: bigint;
374
+ gasPrice: bigint;
375
+ maxFeePerGas?: undefined;
376
+ maxPriorityFeePerGas?: undefined;
377
+ accessList: import("../../index.js").AccessList;
378
+ chainId: number;
379
+ type: "eip2930";
380
+ isSystemTx?: undefined;
381
+ mint?: undefined;
382
+ sourceHash?: undefined;
383
+ } | {
384
+ blockHash: `0x${string}` | null;
385
+ blockNumber: bigint | null;
386
+ from: `0x${string}`;
387
+ gas: bigint;
388
+ hash: `0x${string}`;
389
+ input: `0x${string}`;
390
+ nonce: number;
391
+ r: `0x${string}`;
392
+ s: `0x${string}`;
393
+ to: `0x${string}` | null;
394
+ transactionIndex: number | null;
395
+ typeHex: `0x${string}` | null;
396
+ v: bigint;
397
+ value: bigint;
398
+ gasPrice: undefined;
399
+ maxFeePerGas: bigint;
400
+ maxPriorityFeePerGas: bigint;
401
+ accessList: import("../../index.js").AccessList;
402
+ chainId: number;
403
+ type: "eip1559";
404
+ isSystemTx?: undefined;
405
+ mint?: undefined;
406
+ sourceHash?: undefined;
407
+ } | {
408
+ blockHash: `0x${string}` | null;
409
+ blockNumber: bigint | null;
410
+ from: `0x${string}`;
411
+ gas: bigint;
412
+ hash: `0x${string}`;
413
+ input: `0x${string}`;
414
+ nonce: number;
415
+ r: `0x${string}`;
416
+ s: `0x${string}`;
417
+ to: `0x${string}` | null;
418
+ transactionIndex: number | null;
419
+ typeHex: `0x${string}` | null;
420
+ v: bigint;
421
+ value: bigint;
422
+ gasPrice: undefined;
423
+ maxFeePerGas: bigint;
424
+ maxPriorityFeePerGas: bigint;
425
+ accessList: import("../../index.js").AccessList;
426
+ chainId: number;
427
+ type: "deposit";
428
+ isSystemTx?: boolean | undefined;
429
+ mint?: bigint | undefined;
430
+ sourceHash: `0x${string}`;
431
+ } | {
432
+ blockHash: `0x${string}` | null;
433
+ blockNumber: bigint | null;
434
+ from: `0x${string}`;
435
+ gas: bigint;
436
+ hash: `0x${string}`;
437
+ input: `0x${string}`;
438
+ nonce: number;
439
+ r: `0x${string}`;
440
+ s: `0x${string}`;
441
+ to: `0x${string}` | null;
442
+ transactionIndex: number | null;
443
+ typeHex: `0x${string}` | null;
444
+ v: bigint;
445
+ value: bigint;
446
+ gasPrice: bigint;
447
+ maxFeePerGas: undefined;
448
+ maxPriorityFeePerGas: undefined;
449
+ accessList: import("../../index.js").AccessList;
450
+ chainId: number;
451
+ type: "eip2930";
452
+ isSystemTx?: undefined;
453
+ mint?: undefined;
454
+ sourceHash?: undefined;
455
+ } | {
456
+ blockHash: `0x${string}` | null;
457
+ blockNumber: bigint | null;
458
+ from: `0x${string}`;
459
+ gas: bigint;
460
+ hash: `0x${string}`;
461
+ input: `0x${string}`;
462
+ nonce: number;
463
+ r: `0x${string}`;
464
+ s: `0x${string}`;
465
+ to: `0x${string}` | null;
466
+ transactionIndex: number | null;
467
+ typeHex: `0x${string}` | null;
468
+ v: bigint;
469
+ value: bigint;
470
+ gasPrice?: undefined;
471
+ maxFeePerGas: bigint;
472
+ maxPriorityFeePerGas: bigint;
473
+ accessList: import("../../index.js").AccessList;
474
+ chainId: number;
475
+ type: "eip1559";
476
+ isSystemTx?: undefined;
477
+ mint?: undefined;
478
+ sourceHash?: undefined;
479
+ } | {
480
+ blockHash: `0x${string}` | null;
481
+ blockNumber: bigint | null;
482
+ from: `0x${string}`;
483
+ gas: bigint;
484
+ hash: `0x${string}`;
485
+ input: `0x${string}`;
486
+ nonce: number;
487
+ r: `0x${string}`;
488
+ s: `0x${string}`;
489
+ to: `0x${string}` | null;
490
+ transactionIndex: number | null;
491
+ typeHex: `0x${string}` | null;
492
+ v: bigint;
493
+ value: bigint;
494
+ gasPrice?: undefined;
495
+ maxFeePerGas: bigint;
496
+ maxPriorityFeePerGas: bigint;
497
+ accessList: import("../../index.js").AccessList;
498
+ chainId: number;
499
+ type: "deposit";
500
+ isSystemTx?: boolean | undefined;
501
+ mint?: bigint | undefined;
502
+ sourceHash: `0x${string}`;
503
+ }) & {};
504
+ type: "transaction";
505
+ };
506
+ readonly transactionReceipt: {
507
+ exclude: [] | undefined;
508
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").OptimismRpcTransactionReceiptOverrides>) => {
509
+ blockHash: `0x${string}`;
510
+ blockNumber: bigint;
511
+ contractAddress: `0x${string}` | null;
512
+ cumulativeGasUsed: bigint;
513
+ effectiveGasPrice: bigint;
514
+ from: `0x${string}`;
515
+ gasUsed: bigint;
516
+ logs: import("../../index.js").Log<bigint, number>[];
517
+ logsBloom: `0x${string}`;
518
+ status: "success" | "reverted";
519
+ to: `0x${string}` | null;
520
+ transactionHash: `0x${string}`;
521
+ transactionIndex: number;
522
+ type: import("../../index.js").TransactionType;
523
+ l1GasPrice: bigint | null;
524
+ l1GasUsed: bigint | null;
525
+ l1Fee: bigint | null;
526
+ l1FeeScalar: number | null;
527
+ } & {};
528
+ type: "transactionReceipt";
529
+ };
530
+ } | undefined;
531
+ serializers?: import("../../index.js").ChainSerializers<{
532
+ readonly block: {
533
+ exclude: [] | undefined;
534
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").OptimismRpcBlockOverrides & {
535
+ transactions: `0x${string}`[] | import("../utils.js").OptimismRpcTransaction[];
536
+ }>) => {
537
+ baseFeePerGas: bigint | null;
538
+ difficulty: bigint;
539
+ extraData: `0x${string}`;
540
+ gasLimit: bigint;
541
+ gasUsed: bigint;
542
+ hash: `0x${string}` | null;
543
+ logsBloom: `0x${string}` | null;
544
+ miner: `0x${string}`;
545
+ mixHash: `0x${string}`;
546
+ nonce: `0x${string}` | null;
547
+ number: bigint | null;
548
+ parentHash: `0x${string}`;
549
+ receiptsRoot: `0x${string}`;
550
+ sealFields: `0x${string}`[];
551
+ sha3Uncles: `0x${string}`;
552
+ size: bigint;
553
+ stateRoot: `0x${string}`;
554
+ timestamp: bigint;
555
+ totalDifficulty: bigint | null;
556
+ transactions: `0x${string}`[] | import("../utils.js").OptimismTransaction[];
557
+ transactionsRoot: `0x${string}`;
558
+ uncles: `0x${string}`[];
559
+ } & {};
560
+ type: "block";
561
+ };
562
+ readonly transaction: {
563
+ exclude: [] | undefined;
564
+ format: (args: ({
565
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
566
+ gas?: `0x${string}` | undefined;
567
+ value?: `0x${string}` | undefined;
568
+ gasPrice?: `0x${string}` | undefined;
569
+ maxFeePerGas?: `0x${string}` | undefined;
570
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
571
+ blockHash?: `0x${string}` | null | undefined;
572
+ blockNumber?: `0x${string}` | null | undefined;
573
+ from?: `0x${string}` | undefined;
574
+ hash?: `0x${string}` | undefined;
575
+ input?: `0x${string}` | undefined;
576
+ nonce?: `0x${string}` | undefined;
577
+ r?: `0x${string}` | undefined;
578
+ s?: `0x${string}` | undefined;
579
+ to?: `0x${string}` | null | undefined;
580
+ transactionIndex?: `0x${string}` | null | undefined;
581
+ v?: `0x${string}` | undefined;
582
+ accessList?: undefined;
583
+ chainId?: `0x${string}` | undefined;
584
+ } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
585
+ isSystemTx?: undefined;
586
+ mint?: undefined;
587
+ sourceHash?: undefined;
588
+ }) | ({
589
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
590
+ gas?: `0x${string}` | undefined;
591
+ value?: `0x${string}` | undefined;
592
+ gasPrice?: `0x${string}` | undefined;
593
+ maxFeePerGas?: `0x${string}` | undefined;
594
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
595
+ blockHash?: `0x${string}` | null | undefined;
596
+ blockNumber?: `0x${string}` | null | undefined;
597
+ from?: `0x${string}` | undefined;
598
+ hash?: `0x${string}` | undefined;
599
+ input?: `0x${string}` | undefined;
600
+ nonce?: `0x${string}` | undefined;
601
+ r?: `0x${string}` | undefined;
602
+ s?: `0x${string}` | undefined;
603
+ to?: `0x${string}` | null | undefined;
604
+ transactionIndex?: `0x${string}` | null | undefined;
605
+ v?: `0x${string}` | undefined;
606
+ accessList?: undefined;
607
+ chainId?: `0x${string}` | undefined;
608
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
609
+ isSystemTx?: boolean | undefined;
610
+ mint?: `0x${string}` | undefined;
611
+ sourceHash: `0x${string}`;
612
+ type: "0x7e";
613
+ }) | ({
614
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
615
+ gas?: `0x${string}` | undefined;
616
+ value?: `0x${string}` | undefined;
617
+ gasPrice?: `0x${string}` | undefined;
618
+ maxFeePerGas?: `0x${string}` | undefined;
619
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
620
+ blockHash?: `0x${string}` | null | undefined;
621
+ blockNumber?: `0x${string}` | null | undefined;
622
+ from?: `0x${string}` | undefined;
623
+ hash?: `0x${string}` | undefined;
624
+ input?: `0x${string}` | undefined;
625
+ nonce?: `0x${string}` | undefined;
626
+ r?: `0x${string}` | undefined;
627
+ s?: `0x${string}` | undefined;
628
+ to?: `0x${string}` | null | undefined;
629
+ transactionIndex?: `0x${string}` | null | undefined;
630
+ v?: `0x${string}` | undefined;
631
+ accessList?: import("../../index.js").AccessList | undefined;
632
+ chainId?: `0x${string}` | undefined;
633
+ } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
634
+ isSystemTx?: undefined;
635
+ mint?: undefined;
636
+ sourceHash?: undefined;
637
+ }) | ({
638
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
639
+ gas?: `0x${string}` | undefined;
640
+ value?: `0x${string}` | undefined;
641
+ gasPrice?: `0x${string}` | undefined;
642
+ maxFeePerGas?: `0x${string}` | undefined;
643
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
644
+ blockHash?: `0x${string}` | null | undefined;
645
+ blockNumber?: `0x${string}` | null | undefined;
646
+ from?: `0x${string}` | undefined;
647
+ hash?: `0x${string}` | undefined;
648
+ input?: `0x${string}` | undefined;
649
+ nonce?: `0x${string}` | undefined;
650
+ r?: `0x${string}` | undefined;
651
+ s?: `0x${string}` | undefined;
652
+ to?: `0x${string}` | null | undefined;
653
+ transactionIndex?: `0x${string}` | null | undefined;
654
+ v?: `0x${string}` | undefined;
655
+ accessList?: import("../../index.js").AccessList | undefined;
656
+ chainId?: `0x${string}` | undefined;
657
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
658
+ isSystemTx?: undefined;
659
+ mint?: undefined;
660
+ sourceHash?: undefined;
661
+ }) | ({
662
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
663
+ gas?: `0x${string}` | undefined;
664
+ value?: `0x${string}` | undefined;
665
+ gasPrice?: `0x${string}` | undefined;
666
+ maxFeePerGas?: `0x${string}` | undefined;
667
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
668
+ blockHash?: `0x${string}` | null | undefined;
669
+ blockNumber?: `0x${string}` | null | undefined;
670
+ from?: `0x${string}` | undefined;
671
+ hash?: `0x${string}` | undefined;
672
+ input?: `0x${string}` | undefined;
673
+ nonce?: `0x${string}` | undefined;
674
+ r?: `0x${string}` | undefined;
675
+ s?: `0x${string}` | undefined;
676
+ to?: `0x${string}` | null | undefined;
677
+ transactionIndex?: `0x${string}` | null | undefined;
678
+ v?: `0x${string}` | undefined;
679
+ accessList?: import("../../index.js").AccessList | undefined;
680
+ chainId?: `0x${string}` | undefined;
681
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
682
+ isSystemTx?: undefined;
683
+ mint?: undefined;
684
+ sourceHash?: undefined;
685
+ }) | ({
686
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
687
+ gas?: `0x${string}` | undefined;
688
+ value?: `0x${string}` | undefined;
689
+ gasPrice?: `0x${string}` | undefined;
690
+ maxFeePerGas?: `0x${string}` | undefined;
691
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
692
+ blockHash?: `0x${string}` | null | undefined;
693
+ blockNumber?: `0x${string}` | null | undefined;
694
+ from?: `0x${string}` | undefined;
695
+ hash?: `0x${string}` | undefined;
696
+ input?: `0x${string}` | undefined;
697
+ nonce?: `0x${string}` | undefined;
698
+ r?: `0x${string}` | undefined;
699
+ s?: `0x${string}` | undefined;
700
+ to?: `0x${string}` | null | undefined;
701
+ transactionIndex?: `0x${string}` | null | undefined;
702
+ v?: `0x${string}` | undefined;
703
+ accessList?: import("../../index.js").AccessList | undefined;
704
+ chainId?: `0x${string}` | undefined;
705
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
706
+ isSystemTx?: boolean | undefined;
707
+ mint?: `0x${string}` | undefined;
708
+ sourceHash: `0x${string}`;
709
+ type: "0x7e";
710
+ }) | ({
711
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
712
+ gas?: `0x${string}` | undefined;
713
+ value?: `0x${string}` | undefined;
714
+ gasPrice?: `0x${string}` | undefined;
715
+ maxFeePerGas?: `0x${string}` | undefined;
716
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
717
+ blockHash?: `0x${string}` | null | undefined;
718
+ blockNumber?: `0x${string}` | null | undefined;
719
+ from?: `0x${string}` | undefined;
720
+ hash?: `0x${string}` | undefined;
721
+ input?: `0x${string}` | undefined;
722
+ nonce?: `0x${string}` | undefined;
723
+ r?: `0x${string}` | undefined;
724
+ s?: `0x${string}` | undefined;
725
+ to?: `0x${string}` | null | undefined;
726
+ transactionIndex?: `0x${string}` | null | undefined;
727
+ v?: `0x${string}` | undefined;
728
+ accessList?: import("../../index.js").AccessList | undefined;
729
+ chainId?: `0x${string}` | undefined;
730
+ } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
731
+ isSystemTx?: undefined;
732
+ mint?: undefined;
733
+ sourceHash?: undefined;
734
+ }) | ({
735
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
736
+ gas?: `0x${string}` | undefined;
737
+ value?: `0x${string}` | undefined;
738
+ gasPrice?: `0x${string}` | undefined;
739
+ maxFeePerGas?: `0x${string}` | undefined;
740
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
741
+ blockHash?: `0x${string}` | null | undefined;
742
+ blockNumber?: `0x${string}` | null | undefined;
743
+ from?: `0x${string}` | undefined;
744
+ hash?: `0x${string}` | undefined;
745
+ input?: `0x${string}` | undefined;
746
+ nonce?: `0x${string}` | undefined;
747
+ r?: `0x${string}` | undefined;
748
+ s?: `0x${string}` | undefined;
749
+ to?: `0x${string}` | null | undefined;
750
+ transactionIndex?: `0x${string}` | null | undefined;
751
+ v?: `0x${string}` | undefined;
752
+ accessList?: import("../../index.js").AccessList | undefined;
753
+ chainId?: `0x${string}` | undefined;
754
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
755
+ isSystemTx?: undefined;
756
+ mint?: undefined;
757
+ sourceHash?: undefined;
758
+ }) | ({
759
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
760
+ gas?: `0x${string}` | undefined;
761
+ value?: `0x${string}` | undefined;
762
+ gasPrice?: `0x${string}` | undefined;
763
+ maxFeePerGas?: `0x${string}` | undefined;
764
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
765
+ blockHash?: `0x${string}` | null | undefined;
766
+ blockNumber?: `0x${string}` | null | undefined;
767
+ from?: `0x${string}` | undefined;
768
+ hash?: `0x${string}` | undefined;
769
+ input?: `0x${string}` | undefined;
770
+ nonce?: `0x${string}` | undefined;
771
+ r?: `0x${string}` | undefined;
772
+ s?: `0x${string}` | undefined;
773
+ to?: `0x${string}` | null | undefined;
774
+ transactionIndex?: `0x${string}` | null | undefined;
775
+ v?: `0x${string}` | undefined;
776
+ accessList?: import("../../index.js").AccessList | undefined;
777
+ chainId?: `0x${string}` | undefined;
778
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
779
+ isSystemTx?: undefined;
780
+ mint?: undefined;
781
+ sourceHash?: undefined;
782
+ }) | ({
783
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
784
+ gas?: `0x${string}` | undefined;
785
+ value?: `0x${string}` | undefined;
786
+ gasPrice?: `0x${string}` | undefined;
787
+ maxFeePerGas?: `0x${string}` | undefined;
788
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
789
+ blockHash?: `0x${string}` | null | undefined;
790
+ blockNumber?: `0x${string}` | null | undefined;
791
+ from?: `0x${string}` | undefined;
792
+ hash?: `0x${string}` | undefined;
793
+ input?: `0x${string}` | undefined;
794
+ nonce?: `0x${string}` | undefined;
795
+ r?: `0x${string}` | undefined;
796
+ s?: `0x${string}` | undefined;
797
+ to?: `0x${string}` | null | undefined;
798
+ transactionIndex?: `0x${string}` | null | undefined;
799
+ v?: `0x${string}` | undefined;
800
+ accessList?: import("../../index.js").AccessList | undefined;
801
+ chainId?: `0x${string}` | undefined;
802
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
803
+ isSystemTx?: boolean | undefined;
804
+ mint?: `0x${string}` | undefined;
805
+ sourceHash: `0x${string}`;
806
+ type: "0x7e";
807
+ })) => ({
808
+ blockHash: `0x${string}` | null;
809
+ blockNumber: bigint | null;
810
+ from: `0x${string}`;
811
+ gas: bigint;
812
+ hash: `0x${string}`;
813
+ input: `0x${string}`;
814
+ nonce: number;
815
+ r: `0x${string}`;
816
+ s: `0x${string}`;
817
+ to: `0x${string}` | null;
818
+ transactionIndex: number | null;
819
+ typeHex: `0x${string}` | null;
820
+ v: bigint;
821
+ value: bigint;
822
+ gasPrice: bigint;
823
+ maxFeePerGas?: undefined;
824
+ maxPriorityFeePerGas?: undefined;
825
+ accessList?: undefined;
826
+ chainId?: number | undefined;
827
+ type: "legacy";
828
+ isSystemTx?: undefined;
829
+ mint?: undefined;
830
+ sourceHash?: undefined;
831
+ } | {
832
+ blockHash: `0x${string}` | null;
833
+ blockNumber: bigint | null;
834
+ from: `0x${string}`;
835
+ gas: bigint;
836
+ hash: `0x${string}`;
837
+ input: `0x${string}`;
838
+ nonce: number;
839
+ r: `0x${string}`;
840
+ s: `0x${string}`;
841
+ to: `0x${string}` | null;
842
+ transactionIndex: number | null;
843
+ typeHex: `0x${string}` | null;
844
+ v: bigint;
845
+ value: bigint;
846
+ gasPrice: undefined;
847
+ maxFeePerGas: bigint;
848
+ maxPriorityFeePerGas: bigint;
849
+ accessList?: undefined;
850
+ chainId?: number | undefined;
851
+ type: "deposit";
852
+ isSystemTx?: boolean | undefined;
853
+ mint?: bigint | undefined;
854
+ sourceHash: `0x${string}`;
855
+ } | {
856
+ blockHash: `0x${string}` | null;
857
+ blockNumber: bigint | null;
858
+ from: `0x${string}`;
859
+ gas: bigint;
860
+ hash: `0x${string}`;
861
+ input: `0x${string}`;
862
+ nonce: number;
863
+ r: `0x${string}`;
864
+ s: `0x${string}`;
865
+ to: `0x${string}` | null;
866
+ transactionIndex: number | null;
867
+ typeHex: `0x${string}` | null;
868
+ v: bigint;
869
+ value: bigint;
870
+ gasPrice: bigint;
871
+ maxFeePerGas?: undefined;
872
+ maxPriorityFeePerGas?: undefined;
873
+ accessList: import("../../index.js").AccessList;
874
+ chainId: number;
875
+ type: "eip2930";
876
+ isSystemTx?: undefined;
877
+ mint?: undefined;
878
+ sourceHash?: undefined;
879
+ } | {
880
+ blockHash: `0x${string}` | null;
881
+ blockNumber: bigint | null;
882
+ from: `0x${string}`;
883
+ gas: bigint;
884
+ hash: `0x${string}`;
885
+ input: `0x${string}`;
886
+ nonce: number;
887
+ r: `0x${string}`;
888
+ s: `0x${string}`;
889
+ to: `0x${string}` | null;
890
+ transactionIndex: number | null;
891
+ typeHex: `0x${string}` | null;
892
+ v: bigint;
893
+ value: bigint;
894
+ gasPrice: undefined;
895
+ maxFeePerGas: bigint;
896
+ maxPriorityFeePerGas: bigint;
897
+ accessList: import("../../index.js").AccessList;
898
+ chainId: number;
899
+ type: "eip1559";
900
+ isSystemTx?: undefined;
901
+ mint?: undefined;
902
+ sourceHash?: undefined;
903
+ } | {
904
+ blockHash: `0x${string}` | null;
905
+ blockNumber: bigint | null;
906
+ from: `0x${string}`;
907
+ gas: bigint;
908
+ hash: `0x${string}`;
909
+ input: `0x${string}`;
910
+ nonce: number;
911
+ r: `0x${string}`;
912
+ s: `0x${string}`;
913
+ to: `0x${string}` | null;
914
+ transactionIndex: number | null;
915
+ typeHex: `0x${string}` | null;
916
+ v: bigint;
917
+ value: bigint;
918
+ gasPrice: undefined;
919
+ maxFeePerGas: bigint;
920
+ maxPriorityFeePerGas: bigint;
921
+ accessList: import("../../index.js").AccessList;
922
+ chainId: number;
923
+ type: "deposit";
924
+ isSystemTx?: boolean | undefined;
925
+ mint?: bigint | undefined;
926
+ sourceHash: `0x${string}`;
927
+ } | {
928
+ blockHash: `0x${string}` | null;
929
+ blockNumber: bigint | null;
930
+ from: `0x${string}`;
931
+ gas: bigint;
932
+ hash: `0x${string}`;
933
+ input: `0x${string}`;
934
+ nonce: number;
935
+ r: `0x${string}`;
936
+ s: `0x${string}`;
937
+ to: `0x${string}` | null;
938
+ transactionIndex: number | null;
939
+ typeHex: `0x${string}` | null;
940
+ v: bigint;
941
+ value: bigint;
942
+ gasPrice: bigint;
943
+ maxFeePerGas: undefined;
944
+ maxPriorityFeePerGas: undefined;
945
+ accessList: import("../../index.js").AccessList;
946
+ chainId: number;
947
+ type: "eip2930";
948
+ isSystemTx?: undefined;
949
+ mint?: undefined;
950
+ sourceHash?: undefined;
951
+ } | {
952
+ blockHash: `0x${string}` | null;
953
+ blockNumber: bigint | null;
954
+ from: `0x${string}`;
955
+ gas: bigint;
956
+ hash: `0x${string}`;
957
+ input: `0x${string}`;
958
+ nonce: number;
959
+ r: `0x${string}`;
960
+ s: `0x${string}`;
961
+ to: `0x${string}` | null;
962
+ transactionIndex: number | null;
963
+ typeHex: `0x${string}` | null;
964
+ v: bigint;
965
+ value: bigint;
966
+ gasPrice?: undefined;
967
+ maxFeePerGas: bigint;
968
+ maxPriorityFeePerGas: bigint;
969
+ accessList: import("../../index.js").AccessList;
970
+ chainId: number;
971
+ type: "eip1559";
972
+ isSystemTx?: undefined;
973
+ mint?: undefined;
974
+ sourceHash?: undefined;
975
+ } | {
976
+ blockHash: `0x${string}` | null;
977
+ blockNumber: bigint | null;
978
+ from: `0x${string}`;
979
+ gas: bigint;
980
+ hash: `0x${string}`;
981
+ input: `0x${string}`;
982
+ nonce: number;
983
+ r: `0x${string}`;
984
+ s: `0x${string}`;
985
+ to: `0x${string}` | null;
986
+ transactionIndex: number | null;
987
+ typeHex: `0x${string}` | null;
988
+ v: bigint;
989
+ value: bigint;
990
+ gasPrice?: undefined;
991
+ maxFeePerGas: bigint;
992
+ maxPriorityFeePerGas: bigint;
993
+ accessList: import("../../index.js").AccessList;
994
+ chainId: number;
995
+ type: "deposit";
996
+ isSystemTx?: boolean | undefined;
997
+ mint?: bigint | undefined;
998
+ sourceHash: `0x${string}`;
999
+ }) & {};
1000
+ type: "transaction";
1001
+ };
1002
+ readonly transactionReceipt: {
1003
+ exclude: [] | undefined;
1004
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").OptimismRpcTransactionReceiptOverrides>) => {
1005
+ blockHash: `0x${string}`;
1006
+ blockNumber: bigint;
1007
+ contractAddress: `0x${string}` | null;
1008
+ cumulativeGasUsed: bigint;
1009
+ effectiveGasPrice: bigint;
1010
+ from: `0x${string}`;
1011
+ gasUsed: bigint;
1012
+ logs: import("../../index.js").Log<bigint, number>[];
1013
+ logsBloom: `0x${string}`;
1014
+ status: "success" | "reverted";
1015
+ to: `0x${string}` | null;
1016
+ transactionHash: `0x${string}`;
1017
+ transactionIndex: number;
1018
+ type: import("../../index.js").TransactionType;
1019
+ l1GasPrice: bigint | null;
1020
+ l1GasUsed: bigint | null;
1021
+ l1Fee: bigint | null;
1022
+ l1FeeScalar: number | null;
1023
+ } & {};
1024
+ type: "transactionReceipt";
1025
+ };
1026
+ }> | undefined;
1027
+ fees?: import("../../index.js").ChainFees<{
1028
+ readonly block: {
1029
+ exclude: [] | undefined;
1030
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").OptimismRpcBlockOverrides & {
1031
+ transactions: `0x${string}`[] | import("../utils.js").OptimismRpcTransaction[];
1032
+ }>) => {
1033
+ baseFeePerGas: bigint | null;
1034
+ difficulty: bigint;
1035
+ extraData: `0x${string}`;
1036
+ gasLimit: bigint;
1037
+ gasUsed: bigint;
1038
+ hash: `0x${string}` | null;
1039
+ logsBloom: `0x${string}` | null;
1040
+ miner: `0x${string}`;
1041
+ mixHash: `0x${string}`;
1042
+ nonce: `0x${string}` | null;
1043
+ number: bigint | null;
1044
+ parentHash: `0x${string}`;
1045
+ receiptsRoot: `0x${string}`;
1046
+ sealFields: `0x${string}`[];
1047
+ sha3Uncles: `0x${string}`;
1048
+ size: bigint;
1049
+ stateRoot: `0x${string}`;
1050
+ timestamp: bigint;
1051
+ totalDifficulty: bigint | null;
1052
+ transactions: `0x${string}`[] | import("../utils.js").OptimismTransaction[];
1053
+ transactionsRoot: `0x${string}`;
1054
+ uncles: `0x${string}`[];
1055
+ } & {};
1056
+ type: "block";
1057
+ };
1058
+ readonly transaction: {
1059
+ exclude: [] | undefined;
1060
+ format: (args: ({
1061
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1062
+ gas?: `0x${string}` | undefined;
1063
+ value?: `0x${string}` | undefined;
1064
+ gasPrice?: `0x${string}` | undefined;
1065
+ maxFeePerGas?: `0x${string}` | undefined;
1066
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1067
+ blockHash?: `0x${string}` | null | undefined;
1068
+ blockNumber?: `0x${string}` | null | undefined;
1069
+ from?: `0x${string}` | undefined;
1070
+ hash?: `0x${string}` | undefined;
1071
+ input?: `0x${string}` | undefined;
1072
+ nonce?: `0x${string}` | undefined;
1073
+ r?: `0x${string}` | undefined;
1074
+ s?: `0x${string}` | undefined;
1075
+ to?: `0x${string}` | null | undefined;
1076
+ transactionIndex?: `0x${string}` | null | undefined;
1077
+ v?: `0x${string}` | undefined;
1078
+ accessList?: undefined;
1079
+ chainId?: `0x${string}` | undefined;
1080
+ } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1081
+ isSystemTx?: undefined;
1082
+ mint?: undefined;
1083
+ sourceHash?: undefined;
1084
+ }) | ({
1085
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1086
+ gas?: `0x${string}` | undefined;
1087
+ value?: `0x${string}` | undefined;
1088
+ gasPrice?: `0x${string}` | undefined;
1089
+ maxFeePerGas?: `0x${string}` | undefined;
1090
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1091
+ blockHash?: `0x${string}` | null | undefined;
1092
+ blockNumber?: `0x${string}` | null | undefined;
1093
+ from?: `0x${string}` | undefined;
1094
+ hash?: `0x${string}` | undefined;
1095
+ input?: `0x${string}` | undefined;
1096
+ nonce?: `0x${string}` | undefined;
1097
+ r?: `0x${string}` | undefined;
1098
+ s?: `0x${string}` | undefined;
1099
+ to?: `0x${string}` | null | undefined;
1100
+ transactionIndex?: `0x${string}` | null | undefined;
1101
+ v?: `0x${string}` | undefined;
1102
+ accessList?: undefined;
1103
+ chainId?: `0x${string}` | undefined;
1104
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1105
+ isSystemTx?: boolean | undefined;
1106
+ mint?: `0x${string}` | undefined;
1107
+ sourceHash: `0x${string}`;
1108
+ type: "0x7e";
1109
+ }) | ({
1110
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1111
+ gas?: `0x${string}` | undefined;
1112
+ value?: `0x${string}` | undefined;
1113
+ gasPrice?: `0x${string}` | undefined;
1114
+ maxFeePerGas?: `0x${string}` | undefined;
1115
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1116
+ blockHash?: `0x${string}` | null | undefined;
1117
+ blockNumber?: `0x${string}` | null | undefined;
1118
+ from?: `0x${string}` | undefined;
1119
+ hash?: `0x${string}` | undefined;
1120
+ input?: `0x${string}` | undefined;
1121
+ nonce?: `0x${string}` | undefined;
1122
+ r?: `0x${string}` | undefined;
1123
+ s?: `0x${string}` | undefined;
1124
+ to?: `0x${string}` | null | undefined;
1125
+ transactionIndex?: `0x${string}` | null | undefined;
1126
+ v?: `0x${string}` | undefined;
1127
+ accessList?: import("../../index.js").AccessList | undefined;
1128
+ chainId?: `0x${string}` | undefined;
1129
+ } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1130
+ isSystemTx?: undefined;
1131
+ mint?: undefined;
1132
+ sourceHash?: undefined;
1133
+ }) | ({
1134
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1135
+ gas?: `0x${string}` | undefined;
1136
+ value?: `0x${string}` | undefined;
1137
+ gasPrice?: `0x${string}` | undefined;
1138
+ maxFeePerGas?: `0x${string}` | undefined;
1139
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1140
+ blockHash?: `0x${string}` | null | undefined;
1141
+ blockNumber?: `0x${string}` | null | undefined;
1142
+ from?: `0x${string}` | undefined;
1143
+ hash?: `0x${string}` | undefined;
1144
+ input?: `0x${string}` | undefined;
1145
+ nonce?: `0x${string}` | undefined;
1146
+ r?: `0x${string}` | undefined;
1147
+ s?: `0x${string}` | undefined;
1148
+ to?: `0x${string}` | null | undefined;
1149
+ transactionIndex?: `0x${string}` | null | undefined;
1150
+ v?: `0x${string}` | undefined;
1151
+ accessList?: import("../../index.js").AccessList | undefined;
1152
+ chainId?: `0x${string}` | undefined;
1153
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1154
+ isSystemTx?: undefined;
1155
+ mint?: undefined;
1156
+ sourceHash?: undefined;
1157
+ }) | ({
1158
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1159
+ gas?: `0x${string}` | undefined;
1160
+ value?: `0x${string}` | undefined;
1161
+ gasPrice?: `0x${string}` | undefined;
1162
+ maxFeePerGas?: `0x${string}` | undefined;
1163
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1164
+ blockHash?: `0x${string}` | null | undefined;
1165
+ blockNumber?: `0x${string}` | null | undefined;
1166
+ from?: `0x${string}` | undefined;
1167
+ hash?: `0x${string}` | undefined;
1168
+ input?: `0x${string}` | undefined;
1169
+ nonce?: `0x${string}` | undefined;
1170
+ r?: `0x${string}` | undefined;
1171
+ s?: `0x${string}` | undefined;
1172
+ to?: `0x${string}` | null | undefined;
1173
+ transactionIndex?: `0x${string}` | null | undefined;
1174
+ v?: `0x${string}` | undefined;
1175
+ accessList?: import("../../index.js").AccessList | undefined;
1176
+ chainId?: `0x${string}` | undefined;
1177
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1178
+ isSystemTx?: undefined;
1179
+ mint?: undefined;
1180
+ sourceHash?: undefined;
1181
+ }) | ({
1182
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1183
+ gas?: `0x${string}` | undefined;
1184
+ value?: `0x${string}` | undefined;
1185
+ gasPrice?: `0x${string}` | undefined;
1186
+ maxFeePerGas?: `0x${string}` | undefined;
1187
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1188
+ blockHash?: `0x${string}` | null | undefined;
1189
+ blockNumber?: `0x${string}` | null | undefined;
1190
+ from?: `0x${string}` | undefined;
1191
+ hash?: `0x${string}` | undefined;
1192
+ input?: `0x${string}` | undefined;
1193
+ nonce?: `0x${string}` | undefined;
1194
+ r?: `0x${string}` | undefined;
1195
+ s?: `0x${string}` | undefined;
1196
+ to?: `0x${string}` | null | undefined;
1197
+ transactionIndex?: `0x${string}` | null | undefined;
1198
+ v?: `0x${string}` | undefined;
1199
+ accessList?: import("../../index.js").AccessList | undefined;
1200
+ chainId?: `0x${string}` | undefined;
1201
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1202
+ isSystemTx?: boolean | undefined;
1203
+ mint?: `0x${string}` | undefined;
1204
+ sourceHash: `0x${string}`;
1205
+ type: "0x7e";
1206
+ }) | ({
1207
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1208
+ gas?: `0x${string}` | undefined;
1209
+ value?: `0x${string}` | undefined;
1210
+ gasPrice?: `0x${string}` | undefined;
1211
+ maxFeePerGas?: `0x${string}` | undefined;
1212
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1213
+ blockHash?: `0x${string}` | null | undefined;
1214
+ blockNumber?: `0x${string}` | null | undefined;
1215
+ from?: `0x${string}` | undefined;
1216
+ hash?: `0x${string}` | undefined;
1217
+ input?: `0x${string}` | undefined;
1218
+ nonce?: `0x${string}` | undefined;
1219
+ r?: `0x${string}` | undefined;
1220
+ s?: `0x${string}` | undefined;
1221
+ to?: `0x${string}` | null | undefined;
1222
+ transactionIndex?: `0x${string}` | null | undefined;
1223
+ v?: `0x${string}` | undefined;
1224
+ accessList?: import("../../index.js").AccessList | undefined;
1225
+ chainId?: `0x${string}` | undefined;
1226
+ } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1227
+ isSystemTx?: undefined;
1228
+ mint?: undefined;
1229
+ sourceHash?: undefined;
1230
+ }) | ({
1231
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1232
+ gas?: `0x${string}` | undefined;
1233
+ value?: `0x${string}` | undefined;
1234
+ gasPrice?: `0x${string}` | undefined;
1235
+ maxFeePerGas?: `0x${string}` | undefined;
1236
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1237
+ blockHash?: `0x${string}` | null | undefined;
1238
+ blockNumber?: `0x${string}` | null | undefined;
1239
+ from?: `0x${string}` | undefined;
1240
+ hash?: `0x${string}` | undefined;
1241
+ input?: `0x${string}` | undefined;
1242
+ nonce?: `0x${string}` | undefined;
1243
+ r?: `0x${string}` | undefined;
1244
+ s?: `0x${string}` | undefined;
1245
+ to?: `0x${string}` | null | undefined;
1246
+ transactionIndex?: `0x${string}` | null | undefined;
1247
+ v?: `0x${string}` | undefined;
1248
+ accessList?: import("../../index.js").AccessList | undefined;
1249
+ chainId?: `0x${string}` | undefined;
1250
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1251
+ isSystemTx?: undefined;
1252
+ mint?: undefined;
1253
+ sourceHash?: undefined;
1254
+ }) | ({
1255
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1256
+ gas?: `0x${string}` | undefined;
1257
+ value?: `0x${string}` | undefined;
1258
+ gasPrice?: `0x${string}` | undefined;
1259
+ maxFeePerGas?: `0x${string}` | undefined;
1260
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1261
+ blockHash?: `0x${string}` | null | undefined;
1262
+ blockNumber?: `0x${string}` | null | undefined;
1263
+ from?: `0x${string}` | undefined;
1264
+ hash?: `0x${string}` | undefined;
1265
+ input?: `0x${string}` | undefined;
1266
+ nonce?: `0x${string}` | undefined;
1267
+ r?: `0x${string}` | undefined;
1268
+ s?: `0x${string}` | undefined;
1269
+ to?: `0x${string}` | null | undefined;
1270
+ transactionIndex?: `0x${string}` | null | undefined;
1271
+ v?: `0x${string}` | undefined;
1272
+ accessList?: import("../../index.js").AccessList | undefined;
1273
+ chainId?: `0x${string}` | undefined;
1274
+ } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1275
+ isSystemTx?: undefined;
1276
+ mint?: undefined;
1277
+ sourceHash?: undefined;
1278
+ }) | ({
1279
+ type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
1280
+ gas?: `0x${string}` | undefined;
1281
+ value?: `0x${string}` | undefined;
1282
+ gasPrice?: `0x${string}` | undefined;
1283
+ maxFeePerGas?: `0x${string}` | undefined;
1284
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1285
+ blockHash?: `0x${string}` | null | undefined;
1286
+ blockNumber?: `0x${string}` | null | undefined;
1287
+ from?: `0x${string}` | undefined;
1288
+ hash?: `0x${string}` | undefined;
1289
+ input?: `0x${string}` | undefined;
1290
+ nonce?: `0x${string}` | undefined;
1291
+ r?: `0x${string}` | undefined;
1292
+ s?: `0x${string}` | undefined;
1293
+ to?: `0x${string}` | null | undefined;
1294
+ transactionIndex?: `0x${string}` | null | undefined;
1295
+ v?: `0x${string}` | undefined;
1296
+ accessList?: import("../../index.js").AccessList | undefined;
1297
+ chainId?: `0x${string}` | undefined;
1298
+ } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1299
+ isSystemTx?: boolean | undefined;
1300
+ mint?: `0x${string}` | undefined;
1301
+ sourceHash: `0x${string}`;
1302
+ type: "0x7e";
1303
+ })) => ({
1304
+ blockHash: `0x${string}` | null;
1305
+ blockNumber: bigint | null;
1306
+ from: `0x${string}`;
1307
+ gas: bigint;
1308
+ hash: `0x${string}`;
1309
+ input: `0x${string}`;
1310
+ nonce: number;
1311
+ r: `0x${string}`;
1312
+ s: `0x${string}`;
1313
+ to: `0x${string}` | null;
1314
+ transactionIndex: number | null;
1315
+ typeHex: `0x${string}` | null;
1316
+ v: bigint;
1317
+ value: bigint;
1318
+ gasPrice: bigint;
1319
+ maxFeePerGas?: undefined;
1320
+ maxPriorityFeePerGas?: undefined;
1321
+ accessList?: undefined;
1322
+ chainId?: number | undefined;
1323
+ type: "legacy";
1324
+ isSystemTx?: undefined;
1325
+ mint?: undefined;
1326
+ sourceHash?: undefined;
1327
+ } | {
1328
+ blockHash: `0x${string}` | null;
1329
+ blockNumber: bigint | null;
1330
+ from: `0x${string}`;
1331
+ gas: bigint;
1332
+ hash: `0x${string}`;
1333
+ input: `0x${string}`;
1334
+ nonce: number;
1335
+ r: `0x${string}`;
1336
+ s: `0x${string}`;
1337
+ to: `0x${string}` | null;
1338
+ transactionIndex: number | null;
1339
+ typeHex: `0x${string}` | null;
1340
+ v: bigint;
1341
+ value: bigint;
1342
+ gasPrice: undefined;
1343
+ maxFeePerGas: bigint;
1344
+ maxPriorityFeePerGas: bigint;
1345
+ accessList?: undefined;
1346
+ chainId?: number | undefined;
1347
+ type: "deposit";
1348
+ isSystemTx?: boolean | undefined;
1349
+ mint?: bigint | undefined;
1350
+ sourceHash: `0x${string}`;
1351
+ } | {
1352
+ blockHash: `0x${string}` | null;
1353
+ blockNumber: bigint | null;
1354
+ from: `0x${string}`;
1355
+ gas: bigint;
1356
+ hash: `0x${string}`;
1357
+ input: `0x${string}`;
1358
+ nonce: number;
1359
+ r: `0x${string}`;
1360
+ s: `0x${string}`;
1361
+ to: `0x${string}` | null;
1362
+ transactionIndex: number | null;
1363
+ typeHex: `0x${string}` | null;
1364
+ v: bigint;
1365
+ value: bigint;
1366
+ gasPrice: bigint;
1367
+ maxFeePerGas?: undefined;
1368
+ maxPriorityFeePerGas?: undefined;
1369
+ accessList: import("../../index.js").AccessList;
1370
+ chainId: number;
1371
+ type: "eip2930";
1372
+ isSystemTx?: undefined;
1373
+ mint?: undefined;
1374
+ sourceHash?: undefined;
1375
+ } | {
1376
+ blockHash: `0x${string}` | null;
1377
+ blockNumber: bigint | null;
1378
+ from: `0x${string}`;
1379
+ gas: bigint;
1380
+ hash: `0x${string}`;
1381
+ input: `0x${string}`;
1382
+ nonce: number;
1383
+ r: `0x${string}`;
1384
+ s: `0x${string}`;
1385
+ to: `0x${string}` | null;
1386
+ transactionIndex: number | null;
1387
+ typeHex: `0x${string}` | null;
1388
+ v: bigint;
1389
+ value: bigint;
1390
+ gasPrice: undefined;
1391
+ maxFeePerGas: bigint;
1392
+ maxPriorityFeePerGas: bigint;
1393
+ accessList: import("../../index.js").AccessList;
1394
+ chainId: number;
1395
+ type: "eip1559";
1396
+ isSystemTx?: undefined;
1397
+ mint?: undefined;
1398
+ sourceHash?: undefined;
1399
+ } | {
1400
+ blockHash: `0x${string}` | null;
1401
+ blockNumber: bigint | null;
1402
+ from: `0x${string}`;
1403
+ gas: bigint;
1404
+ hash: `0x${string}`;
1405
+ input: `0x${string}`;
1406
+ nonce: number;
1407
+ r: `0x${string}`;
1408
+ s: `0x${string}`;
1409
+ to: `0x${string}` | null;
1410
+ transactionIndex: number | null;
1411
+ typeHex: `0x${string}` | null;
1412
+ v: bigint;
1413
+ value: bigint;
1414
+ gasPrice: undefined;
1415
+ maxFeePerGas: bigint;
1416
+ maxPriorityFeePerGas: bigint;
1417
+ accessList: import("../../index.js").AccessList;
1418
+ chainId: number;
1419
+ type: "deposit";
1420
+ isSystemTx?: boolean | undefined;
1421
+ mint?: bigint | undefined;
1422
+ sourceHash: `0x${string}`;
1423
+ } | {
1424
+ blockHash: `0x${string}` | null;
1425
+ blockNumber: bigint | null;
1426
+ from: `0x${string}`;
1427
+ gas: bigint;
1428
+ hash: `0x${string}`;
1429
+ input: `0x${string}`;
1430
+ nonce: number;
1431
+ r: `0x${string}`;
1432
+ s: `0x${string}`;
1433
+ to: `0x${string}` | null;
1434
+ transactionIndex: number | null;
1435
+ typeHex: `0x${string}` | null;
1436
+ v: bigint;
1437
+ value: bigint;
1438
+ gasPrice: bigint;
1439
+ maxFeePerGas: undefined;
1440
+ maxPriorityFeePerGas: undefined;
1441
+ accessList: import("../../index.js").AccessList;
1442
+ chainId: number;
1443
+ type: "eip2930";
1444
+ isSystemTx?: undefined;
1445
+ mint?: undefined;
1446
+ sourceHash?: undefined;
1447
+ } | {
1448
+ blockHash: `0x${string}` | null;
1449
+ blockNumber: bigint | null;
1450
+ from: `0x${string}`;
1451
+ gas: bigint;
1452
+ hash: `0x${string}`;
1453
+ input: `0x${string}`;
1454
+ nonce: number;
1455
+ r: `0x${string}`;
1456
+ s: `0x${string}`;
1457
+ to: `0x${string}` | null;
1458
+ transactionIndex: number | null;
1459
+ typeHex: `0x${string}` | null;
1460
+ v: bigint;
1461
+ value: bigint;
1462
+ gasPrice?: undefined;
1463
+ maxFeePerGas: bigint;
1464
+ maxPriorityFeePerGas: bigint;
1465
+ accessList: import("../../index.js").AccessList;
1466
+ chainId: number;
1467
+ type: "eip1559";
1468
+ isSystemTx?: undefined;
1469
+ mint?: undefined;
1470
+ sourceHash?: undefined;
1471
+ } | {
1472
+ blockHash: `0x${string}` | null;
1473
+ blockNumber: bigint | null;
1474
+ from: `0x${string}`;
1475
+ gas: bigint;
1476
+ hash: `0x${string}`;
1477
+ input: `0x${string}`;
1478
+ nonce: number;
1479
+ r: `0x${string}`;
1480
+ s: `0x${string}`;
1481
+ to: `0x${string}` | null;
1482
+ transactionIndex: number | null;
1483
+ typeHex: `0x${string}` | null;
1484
+ v: bigint;
1485
+ value: bigint;
1486
+ gasPrice?: undefined;
1487
+ maxFeePerGas: bigint;
1488
+ maxPriorityFeePerGas: bigint;
1489
+ accessList: import("../../index.js").AccessList;
1490
+ chainId: number;
1491
+ type: "deposit";
1492
+ isSystemTx?: boolean | undefined;
1493
+ mint?: bigint | undefined;
1494
+ sourceHash: `0x${string}`;
1495
+ }) & {};
1496
+ type: "transaction";
1497
+ };
1498
+ readonly transactionReceipt: {
1499
+ exclude: [] | undefined;
1500
+ format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").OptimismRpcTransactionReceiptOverrides>) => {
1501
+ blockHash: `0x${string}`;
1502
+ blockNumber: bigint;
1503
+ contractAddress: `0x${string}` | null;
1504
+ cumulativeGasUsed: bigint;
1505
+ effectiveGasPrice: bigint;
1506
+ from: `0x${string}`;
1507
+ gasUsed: bigint;
1508
+ logs: import("../../index.js").Log<bigint, number>[];
1509
+ logsBloom: `0x${string}`;
1510
+ status: "success" | "reverted";
1511
+ to: `0x${string}` | null;
1512
+ transactionHash: `0x${string}`;
1513
+ transactionIndex: number;
1514
+ type: import("../../index.js").TransactionType;
1515
+ l1GasPrice: bigint | null;
1516
+ l1GasUsed: bigint | null;
1517
+ l1Fee: bigint | null;
1518
+ l1FeeScalar: number | null;
1519
+ } & {};
1520
+ type: "transactionReceipt";
1521
+ };
1522
+ }> | undefined;
1523
+ };
1524
+ //# sourceMappingURL=optimismSepolia.d.ts.map