viem 2.16.4 → 2.17.0

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