viem 2.0.0-rc.0 → 2.0.0-rc.1

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 (259) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/_cjs/actions/public/getFilterChanges.js +3 -2
  3. package/_cjs/actions/public/getFilterChanges.js.map +1 -1
  4. package/_cjs/actions/public/getFilterLogs.js +3 -2
  5. package/_cjs/actions/public/getFilterLogs.js.map +1 -1
  6. package/_cjs/actions/public/getLogs.js +3 -2
  7. package/_cjs/actions/public/getLogs.js.map +1 -1
  8. package/_cjs/actions/public/verifyTypedData.js +2 -1
  9. package/_cjs/actions/public/verifyTypedData.js.map +1 -1
  10. package/_cjs/chains/celo/formatters.js +0 -10
  11. package/_cjs/chains/celo/formatters.js.map +1 -1
  12. package/_cjs/chains/definitions/astar.js +0 -1
  13. package/_cjs/chains/definitions/astar.js.map +1 -1
  14. package/_cjs/chains/definitions/astarZkatana.js +0 -6
  15. package/_cjs/chains/definitions/astarZkatana.js.map +1 -1
  16. package/_cjs/chains/definitions/baseSepolia.js +0 -3
  17. package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
  18. package/_cjs/chains/definitions/bscTestnet.js +0 -1
  19. package/_cjs/chains/definitions/bscTestnet.js.map +1 -1
  20. package/_cjs/chains/definitions/confluxESpaceTestnet.js +0 -4
  21. package/_cjs/chains/definitions/confluxESpaceTestnet.js.map +1 -1
  22. package/_cjs/chains/definitions/fantomSonicTestnet.js +0 -1
  23. package/_cjs/chains/definitions/fantomSonicTestnet.js.map +1 -1
  24. package/_cjs/chains/definitions/kava.js +0 -1
  25. package/_cjs/chains/definitions/kava.js.map +1 -1
  26. package/_cjs/chains/definitions/kavaTestnet.js +0 -1
  27. package/_cjs/chains/definitions/kavaTestnet.js.map +1 -1
  28. package/_cjs/chains/definitions/klaytnBaobab.js +0 -1
  29. package/_cjs/chains/definitions/klaytnBaobab.js.map +1 -1
  30. package/_cjs/chains/definitions/lukso.js +0 -4
  31. package/_cjs/chains/definitions/lukso.js.map +1 -1
  32. package/_cjs/chains/definitions/manta.js +0 -1
  33. package/_cjs/chains/definitions/manta.js.map +1 -1
  34. package/_cjs/chains/definitions/mantaTestnet.js +0 -1
  35. package/_cjs/chains/definitions/mantaTestnet.js.map +1 -1
  36. package/_cjs/chains/definitions/neonMainnet.js +0 -3
  37. package/_cjs/chains/definitions/neonMainnet.js.map +1 -1
  38. package/_cjs/chains/definitions/pgn.js +0 -3
  39. package/_cjs/chains/definitions/pgn.js.map +1 -1
  40. package/_cjs/chains/definitions/pgnTestnet.js +0 -3
  41. package/_cjs/chains/definitions/pgnTestnet.js.map +1 -1
  42. package/_cjs/chains/definitions/rootstock.js +0 -1
  43. package/_cjs/chains/definitions/rootstock.js.map +1 -1
  44. package/_cjs/chains/definitions/sapphire.js +0 -4
  45. package/_cjs/chains/definitions/sapphire.js.map +1 -1
  46. package/_cjs/chains/definitions/sapphireTestnet.js +0 -4
  47. package/_cjs/chains/definitions/sapphireTestnet.js.map +1 -1
  48. package/_cjs/chains/definitions/shibarium.js +0 -3
  49. package/_cjs/chains/definitions/shibarium.js.map +1 -1
  50. package/_cjs/chains/definitions/shimmer.js +0 -3
  51. package/_cjs/chains/definitions/shimmer.js.map +1 -1
  52. package/_cjs/chains/definitions/shimmerTestnet.js +0 -3
  53. package/_cjs/chains/definitions/shimmerTestnet.js.map +1 -1
  54. package/_cjs/chains/definitions/taikoJolnir.js +2 -2
  55. package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
  56. package/_cjs/chains/definitions/tenet.js +0 -1
  57. package/_cjs/chains/definitions/tenet.js.map +1 -1
  58. package/_cjs/chains/definitions/zilliqa.js +0 -3
  59. package/_cjs/chains/definitions/zilliqa.js.map +1 -1
  60. package/_cjs/chains/definitions/zilliqaTestnet.js +0 -3
  61. package/_cjs/chains/definitions/zilliqaTestnet.js.map +1 -1
  62. package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js +0 -4
  63. package/_cjs/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -1
  64. package/_cjs/chains/definitions/zkSyncTestnet.js +0 -4
  65. package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
  66. package/_cjs/chains/definitions/zoraSepolia.js +0 -4
  67. package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
  68. package/_cjs/errors/version.js +1 -1
  69. package/_esm/actions/public/getFilterChanges.js +3 -2
  70. package/_esm/actions/public/getFilterChanges.js.map +1 -1
  71. package/_esm/actions/public/getFilterLogs.js +3 -2
  72. package/_esm/actions/public/getFilterLogs.js.map +1 -1
  73. package/_esm/actions/public/getLogs.js +3 -2
  74. package/_esm/actions/public/getLogs.js.map +1 -1
  75. package/_esm/actions/public/verifyTypedData.js +2 -1
  76. package/_esm/actions/public/verifyTypedData.js.map +1 -1
  77. package/_esm/chains/celo/formatters.js +0 -10
  78. package/_esm/chains/celo/formatters.js.map +1 -1
  79. package/_esm/chains/definitions/astar.js +0 -1
  80. package/_esm/chains/definitions/astar.js.map +1 -1
  81. package/_esm/chains/definitions/astarZkatana.js +0 -6
  82. package/_esm/chains/definitions/astarZkatana.js.map +1 -1
  83. package/_esm/chains/definitions/baseSepolia.js +0 -3
  84. package/_esm/chains/definitions/baseSepolia.js.map +1 -1
  85. package/_esm/chains/definitions/bscTestnet.js +0 -1
  86. package/_esm/chains/definitions/bscTestnet.js.map +1 -1
  87. package/_esm/chains/definitions/confluxESpaceTestnet.js +0 -4
  88. package/_esm/chains/definitions/confluxESpaceTestnet.js.map +1 -1
  89. package/_esm/chains/definitions/fantomSonicTestnet.js +0 -1
  90. package/_esm/chains/definitions/fantomSonicTestnet.js.map +1 -1
  91. package/_esm/chains/definitions/kava.js +0 -1
  92. package/_esm/chains/definitions/kava.js.map +1 -1
  93. package/_esm/chains/definitions/kavaTestnet.js +0 -1
  94. package/_esm/chains/definitions/kavaTestnet.js.map +1 -1
  95. package/_esm/chains/definitions/klaytnBaobab.js +0 -1
  96. package/_esm/chains/definitions/klaytnBaobab.js.map +1 -1
  97. package/_esm/chains/definitions/lukso.js +0 -4
  98. package/_esm/chains/definitions/lukso.js.map +1 -1
  99. package/_esm/chains/definitions/manta.js +0 -1
  100. package/_esm/chains/definitions/manta.js.map +1 -1
  101. package/_esm/chains/definitions/mantaTestnet.js +0 -1
  102. package/_esm/chains/definitions/mantaTestnet.js.map +1 -1
  103. package/_esm/chains/definitions/neonMainnet.js +0 -3
  104. package/_esm/chains/definitions/neonMainnet.js.map +1 -1
  105. package/_esm/chains/definitions/pgn.js +0 -3
  106. package/_esm/chains/definitions/pgn.js.map +1 -1
  107. package/_esm/chains/definitions/pgnTestnet.js +0 -3
  108. package/_esm/chains/definitions/pgnTestnet.js.map +1 -1
  109. package/_esm/chains/definitions/rootstock.js +0 -1
  110. package/_esm/chains/definitions/rootstock.js.map +1 -1
  111. package/_esm/chains/definitions/sapphire.js +0 -4
  112. package/_esm/chains/definitions/sapphire.js.map +1 -1
  113. package/_esm/chains/definitions/sapphireTestnet.js +0 -4
  114. package/_esm/chains/definitions/sapphireTestnet.js.map +1 -1
  115. package/_esm/chains/definitions/shibarium.js +0 -3
  116. package/_esm/chains/definitions/shibarium.js.map +1 -1
  117. package/_esm/chains/definitions/shimmer.js +0 -3
  118. package/_esm/chains/definitions/shimmer.js.map +1 -1
  119. package/_esm/chains/definitions/shimmerTestnet.js +0 -3
  120. package/_esm/chains/definitions/shimmerTestnet.js.map +1 -1
  121. package/_esm/chains/definitions/taikoJolnir.js +2 -2
  122. package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
  123. package/_esm/chains/definitions/tenet.js +0 -1
  124. package/_esm/chains/definitions/tenet.js.map +1 -1
  125. package/_esm/chains/definitions/zilliqa.js +0 -3
  126. package/_esm/chains/definitions/zilliqa.js.map +1 -1
  127. package/_esm/chains/definitions/zilliqaTestnet.js +0 -3
  128. package/_esm/chains/definitions/zilliqaTestnet.js.map +1 -1
  129. package/_esm/chains/definitions/zkSyncSepoliaTestnet.js +0 -4
  130. package/_esm/chains/definitions/zkSyncSepoliaTestnet.js.map +1 -1
  131. package/_esm/chains/definitions/zkSyncTestnet.js +0 -4
  132. package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
  133. package/_esm/chains/definitions/zoraSepolia.js +0 -4
  134. package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
  135. package/_esm/errors/version.js +1 -1
  136. package/_types/actions/public/getFilterChanges.d.ts.map +1 -1
  137. package/_types/actions/public/verifyTypedData.d.ts +2 -4
  138. package/_types/actions/public/verifyTypedData.d.ts.map +1 -1
  139. package/_types/chains/celo/chainConfig.d.ts +154 -177
  140. package/_types/chains/celo/chainConfig.d.ts.map +1 -1
  141. package/_types/chains/celo/formatters.d.ts +155 -178
  142. package/_types/chains/celo/formatters.d.ts.map +1 -1
  143. package/_types/chains/celo/index.d.ts +1 -1
  144. package/_types/chains/celo/index.d.ts.map +1 -1
  145. package/_types/chains/celo/types.d.ts +2 -14
  146. package/_types/chains/celo/types.d.ts.map +1 -1
  147. package/_types/chains/definitions/astar.d.ts +0 -3
  148. package/_types/chains/definitions/astar.d.ts.map +1 -1
  149. package/_types/chains/definitions/astarZkatana.d.ts +0 -3
  150. package/_types/chains/definitions/astarZkatana.d.ts.map +1 -1
  151. package/_types/chains/definitions/base.d.ts +116 -116
  152. package/_types/chains/definitions/baseGoerli.d.ts +116 -116
  153. package/_types/chains/definitions/baseSepolia.d.ts +116 -119
  154. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  155. package/_types/chains/definitions/bscTestnet.d.ts +0 -3
  156. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
  157. package/_types/chains/definitions/celo.d.ts +154 -177
  158. package/_types/chains/definitions/celo.d.ts.map +1 -1
  159. package/_types/chains/definitions/celoAlfajores.d.ts +154 -177
  160. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  161. package/_types/chains/definitions/celoCannoli.d.ts +154 -177
  162. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  163. package/_types/chains/definitions/confluxESpaceTestnet.d.ts +0 -4
  164. package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +1 -1
  165. package/_types/chains/definitions/fantomSonicTestnet.d.ts +0 -3
  166. package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +1 -1
  167. package/_types/chains/definitions/kava.d.ts +0 -3
  168. package/_types/chains/definitions/kava.d.ts.map +1 -1
  169. package/_types/chains/definitions/kavaTestnet.d.ts +0 -3
  170. package/_types/chains/definitions/kavaTestnet.d.ts.map +1 -1
  171. package/_types/chains/definitions/klaytnBaobab.d.ts +0 -3
  172. package/_types/chains/definitions/klaytnBaobab.d.ts.map +1 -1
  173. package/_types/chains/definitions/lukso.d.ts +0 -4
  174. package/_types/chains/definitions/lukso.d.ts.map +1 -1
  175. package/_types/chains/definitions/manta.d.ts +0 -3
  176. package/_types/chains/definitions/manta.d.ts.map +1 -1
  177. package/_types/chains/definitions/mantaTestnet.d.ts +0 -3
  178. package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
  179. package/_types/chains/definitions/neonMainnet.d.ts +0 -3
  180. package/_types/chains/definitions/neonMainnet.d.ts.map +1 -1
  181. package/_types/chains/definitions/optimism.d.ts +116 -116
  182. package/_types/chains/definitions/optimismGoerli.d.ts +116 -116
  183. package/_types/chains/definitions/optimismSepolia.d.ts +116 -116
  184. package/_types/chains/definitions/pgn.d.ts +116 -119
  185. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  186. package/_types/chains/definitions/pgnTestnet.d.ts +116 -119
  187. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  188. package/_types/chains/definitions/rootstock.d.ts +0 -3
  189. package/_types/chains/definitions/rootstock.d.ts.map +1 -1
  190. package/_types/chains/definitions/sapphire.d.ts +0 -4
  191. package/_types/chains/definitions/sapphire.d.ts.map +1 -1
  192. package/_types/chains/definitions/sapphireTestnet.d.ts +0 -4
  193. package/_types/chains/definitions/sapphireTestnet.d.ts.map +1 -1
  194. package/_types/chains/definitions/shibarium.d.ts +0 -3
  195. package/_types/chains/definitions/shibarium.d.ts.map +1 -1
  196. package/_types/chains/definitions/shimmer.d.ts +0 -3
  197. package/_types/chains/definitions/shimmer.d.ts.map +1 -1
  198. package/_types/chains/definitions/shimmerTestnet.d.ts +0 -3
  199. package/_types/chains/definitions/shimmerTestnet.d.ts.map +1 -1
  200. package/_types/chains/definitions/taikoJolnir.d.ts +2 -2
  201. package/_types/chains/definitions/tenet.d.ts +0 -3
  202. package/_types/chains/definitions/tenet.d.ts.map +1 -1
  203. package/_types/chains/definitions/zilliqa.d.ts +0 -3
  204. package/_types/chains/definitions/zilliqa.d.ts.map +1 -1
  205. package/_types/chains/definitions/zilliqaTestnet.d.ts +0 -3
  206. package/_types/chains/definitions/zilliqaTestnet.d.ts.map +1 -1
  207. package/_types/chains/definitions/zkSync.d.ts +27 -27
  208. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +27 -31
  209. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +1 -1
  210. package/_types/chains/definitions/zkSyncTestnet.d.ts +27 -31
  211. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  212. package/_types/chains/definitions/zora.d.ts +116 -116
  213. package/_types/chains/definitions/zoraSepolia.d.ts +116 -120
  214. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  215. package/_types/chains/definitions/zoraTestnet.d.ts +116 -116
  216. package/_types/chains/opStack/chainConfig.d.ts +116 -116
  217. package/_types/chains/opStack/formatters.d.ts +116 -116
  218. package/_types/chains/zksync/chainConfig.d.ts +27 -27
  219. package/_types/chains/zksync/formatters.d.ts +27 -27
  220. package/_types/errors/version.d.ts +1 -1
  221. package/_types/utils/formatters/transaction.d.ts +1 -1
  222. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  223. package/actions/public/getFilterChanges.ts +3 -5
  224. package/actions/public/getFilterLogs.ts +3 -3
  225. package/actions/public/getLogs.ts +3 -3
  226. package/actions/public/verifyTypedData.ts +13 -8
  227. package/chains/celo/formatters.ts +0 -14
  228. package/chains/celo/index.ts +0 -4
  229. package/chains/celo/types.ts +0 -18
  230. package/chains/definitions/astar.ts +0 -1
  231. package/chains/definitions/astarZkatana.ts +0 -6
  232. package/chains/definitions/baseSepolia.ts +0 -3
  233. package/chains/definitions/bscTestnet.ts +0 -1
  234. package/chains/definitions/confluxESpaceTestnet.ts +0 -4
  235. package/chains/definitions/fantomSonicTestnet.ts +0 -1
  236. package/chains/definitions/kava.ts +0 -1
  237. package/chains/definitions/kavaTestnet.ts +0 -1
  238. package/chains/definitions/klaytnBaobab.ts +0 -1
  239. package/chains/definitions/lukso.ts +0 -4
  240. package/chains/definitions/manta.ts +0 -1
  241. package/chains/definitions/mantaTestnet.ts +0 -1
  242. package/chains/definitions/neonMainnet.ts +0 -3
  243. package/chains/definitions/pgn.ts +0 -3
  244. package/chains/definitions/pgnTestnet.ts +0 -3
  245. package/chains/definitions/rootstock.ts +0 -1
  246. package/chains/definitions/sapphire.ts +0 -4
  247. package/chains/definitions/sapphireTestnet.ts +0 -4
  248. package/chains/definitions/shibarium.ts +0 -3
  249. package/chains/definitions/shimmer.ts +0 -3
  250. package/chains/definitions/shimmerTestnet.ts +0 -3
  251. package/chains/definitions/taikoJolnir.ts +2 -2
  252. package/chains/definitions/tenet.ts +0 -1
  253. package/chains/definitions/zilliqa.ts +0 -3
  254. package/chains/definitions/zilliqaTestnet.ts +0 -3
  255. package/chains/definitions/zkSyncSepoliaTestnet.ts +0 -4
  256. package/chains/definitions/zkSyncTestnet.ts +0 -4
  257. package/chains/definitions/zoraSepolia.ts +0 -4
  258. package/errors/version.ts +1 -1
  259. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import type { Hash } from '../../types/misc.js';
2
- import type { CeloBlockOverrides, CeloRpcTransaction, CeloRpcTransactionReceiptOverrides, CeloTransaction, CeloTransactionRequest } from './types.js';
2
+ import type { CeloBlockOverrides, CeloRpcTransaction, CeloTransaction, CeloTransactionRequest } from './types.js';
3
3
  export declare const formatters: {
4
4
  readonly block: {
5
5
  exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
@@ -46,24 +46,24 @@ export declare const formatters: {
46
46
  readonly transaction: {
47
47
  exclude: [] | undefined;
48
48
  format: (args: ({
49
- gas?: `0x${string}` | undefined;
50
- nonce?: `0x${string}` | undefined;
51
49
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
50
+ blockHash?: `0x${string}` | null | undefined;
51
+ gasPrice?: `0x${string}` | undefined;
52
52
  maxFeePerGas?: `0x${string}` | undefined;
53
53
  maxPriorityFeePerGas?: `0x${string}` | undefined;
54
- gasPrice?: `0x${string}` | undefined;
55
- from?: `0x${string}` | undefined;
56
- to?: `0x${string}` | null | undefined;
57
- value?: `0x${string}` | undefined;
58
- r?: `0x${string}` | undefined;
59
- s?: `0x${string}` | undefined;
60
- v?: `0x${string}` | undefined;
61
54
  yParity?: `0x${string}` | undefined;
62
- blockHash?: `0x${string}` | null | undefined;
63
55
  blockNumber?: `0x${string}` | null | undefined;
56
+ from?: `0x${string}` | undefined;
57
+ gas?: `0x${string}` | undefined;
64
58
  hash?: `0x${string}` | undefined;
65
59
  input?: `0x${string}` | undefined;
60
+ nonce?: `0x${string}` | undefined;
61
+ r?: `0x${string}` | undefined;
62
+ s?: `0x${string}` | undefined;
63
+ to?: `0x${string}` | null | undefined;
66
64
  transactionIndex?: `0x${string}` | null | undefined;
65
+ v?: `0x${string}` | undefined;
66
+ value?: `0x${string}` | undefined;
67
67
  accessList?: undefined;
68
68
  chainId?: `0x${string}` | undefined;
69
69
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -71,24 +71,24 @@ export declare const formatters: {
71
71
  gatewayFee: `0x${string}` | null;
72
72
  gatewayFeeRecipient: `0x${string}` | null;
73
73
  }) | ({
74
- gas?: `0x${string}` | undefined;
75
- nonce?: `0x${string}` | undefined;
76
74
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
75
+ blockHash?: `0x${string}` | null | undefined;
76
+ gasPrice?: `0x${string}` | undefined;
77
77
  maxFeePerGas?: `0x${string}` | undefined;
78
78
  maxPriorityFeePerGas?: `0x${string}` | undefined;
79
- gasPrice?: `0x${string}` | undefined;
80
- from?: `0x${string}` | undefined;
81
- to?: `0x${string}` | null | undefined;
82
- value?: `0x${string}` | undefined;
83
- r?: `0x${string}` | undefined;
84
- s?: `0x${string}` | undefined;
85
- v?: `0x${string}` | undefined;
86
79
  yParity?: `0x${string}` | undefined;
87
- blockHash?: `0x${string}` | null | undefined;
88
80
  blockNumber?: `0x${string}` | null | undefined;
81
+ from?: `0x${string}` | undefined;
82
+ gas?: `0x${string}` | undefined;
89
83
  hash?: `0x${string}` | undefined;
90
84
  input?: `0x${string}` | undefined;
85
+ nonce?: `0x${string}` | undefined;
86
+ r?: `0x${string}` | undefined;
87
+ s?: `0x${string}` | undefined;
88
+ to?: `0x${string}` | null | undefined;
91
89
  transactionIndex?: `0x${string}` | null | undefined;
90
+ v?: `0x${string}` | undefined;
91
+ value?: `0x${string}` | undefined;
92
92
  accessList?: undefined;
93
93
  chainId?: `0x${string}` | undefined;
94
94
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -97,24 +97,24 @@ export declare const formatters: {
97
97
  gatewayFeeRecipient: `0x${string}` | null;
98
98
  type: "0x7c";
99
99
  }) | ({
100
- gas?: `0x${string}` | undefined;
101
- nonce?: `0x${string}` | undefined;
102
100
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
101
+ blockHash?: `0x${string}` | null | undefined;
102
+ gasPrice?: `0x${string}` | undefined;
103
103
  maxFeePerGas?: `0x${string}` | undefined;
104
104
  maxPriorityFeePerGas?: `0x${string}` | undefined;
105
- gasPrice?: `0x${string}` | undefined;
106
- from?: `0x${string}` | undefined;
107
- to?: `0x${string}` | null | undefined;
108
- value?: `0x${string}` | undefined;
109
- r?: `0x${string}` | undefined;
110
- s?: `0x${string}` | undefined;
111
- v?: `0x${string}` | undefined;
112
105
  yParity?: `0x${string}` | undefined;
113
- blockHash?: `0x${string}` | null | undefined;
114
106
  blockNumber?: `0x${string}` | null | undefined;
107
+ from?: `0x${string}` | undefined;
108
+ gas?: `0x${string}` | undefined;
115
109
  hash?: `0x${string}` | undefined;
116
110
  input?: `0x${string}` | undefined;
111
+ nonce?: `0x${string}` | undefined;
112
+ r?: `0x${string}` | undefined;
113
+ s?: `0x${string}` | undefined;
114
+ to?: `0x${string}` | null | undefined;
117
115
  transactionIndex?: `0x${string}` | null | undefined;
116
+ v?: `0x${string}` | undefined;
117
+ value?: `0x${string}` | undefined;
118
118
  accessList?: undefined;
119
119
  chainId?: `0x${string}` | undefined;
120
120
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -123,24 +123,24 @@ export declare const formatters: {
123
123
  gatewayFeeRecipient?: undefined;
124
124
  type: "0x7b";
125
125
  }) | ({
126
- gas?: `0x${string}` | undefined;
127
- nonce?: `0x${string}` | undefined;
128
126
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
127
+ blockHash?: `0x${string}` | null | undefined;
128
+ gasPrice?: `0x${string}` | undefined;
129
129
  maxFeePerGas?: `0x${string}` | undefined;
130
130
  maxPriorityFeePerGas?: `0x${string}` | undefined;
131
- gasPrice?: `0x${string}` | undefined;
132
- from?: `0x${string}` | undefined;
133
- to?: `0x${string}` | null | undefined;
134
- value?: `0x${string}` | undefined;
135
- r?: `0x${string}` | undefined;
136
- s?: `0x${string}` | undefined;
137
- v?: `0x${string}` | undefined;
138
131
  yParity?: `0x${string}` | undefined;
139
- blockHash?: `0x${string}` | null | undefined;
140
132
  blockNumber?: `0x${string}` | null | undefined;
133
+ from?: `0x${string}` | undefined;
134
+ gas?: `0x${string}` | undefined;
141
135
  hash?: `0x${string}` | undefined;
142
136
  input?: `0x${string}` | undefined;
137
+ nonce?: `0x${string}` | undefined;
138
+ r?: `0x${string}` | undefined;
139
+ s?: `0x${string}` | undefined;
140
+ to?: `0x${string}` | null | undefined;
143
141
  transactionIndex?: `0x${string}` | null | undefined;
142
+ v?: `0x${string}` | undefined;
143
+ value?: `0x${string}` | undefined;
144
144
  accessList?: import("../../index.js").AccessList | undefined;
145
145
  chainId?: `0x${string}` | undefined;
146
146
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -148,24 +148,24 @@ export declare const formatters: {
148
148
  gatewayFee: `0x${string}` | null;
149
149
  gatewayFeeRecipient: `0x${string}` | null;
150
150
  }) | ({
151
- gas?: `0x${string}` | undefined;
152
- nonce?: `0x${string}` | undefined;
153
151
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
152
+ blockHash?: `0x${string}` | null | undefined;
153
+ gasPrice?: `0x${string}` | undefined;
154
154
  maxFeePerGas?: `0x${string}` | undefined;
155
155
  maxPriorityFeePerGas?: `0x${string}` | undefined;
156
- gasPrice?: `0x${string}` | undefined;
157
- from?: `0x${string}` | undefined;
158
- to?: `0x${string}` | null | undefined;
159
- value?: `0x${string}` | undefined;
160
- r?: `0x${string}` | undefined;
161
- s?: `0x${string}` | undefined;
162
- v?: `0x${string}` | undefined;
163
156
  yParity?: `0x${string}` | undefined;
164
- blockHash?: `0x${string}` | null | undefined;
165
157
  blockNumber?: `0x${string}` | null | undefined;
158
+ from?: `0x${string}` | undefined;
159
+ gas?: `0x${string}` | undefined;
166
160
  hash?: `0x${string}` | undefined;
167
161
  input?: `0x${string}` | undefined;
162
+ nonce?: `0x${string}` | undefined;
163
+ r?: `0x${string}` | undefined;
164
+ s?: `0x${string}` | undefined;
165
+ to?: `0x${string}` | null | undefined;
168
166
  transactionIndex?: `0x${string}` | null | undefined;
167
+ v?: `0x${string}` | undefined;
168
+ value?: `0x${string}` | undefined;
169
169
  accessList?: import("../../index.js").AccessList | undefined;
170
170
  chainId?: `0x${string}` | undefined;
171
171
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
@@ -173,24 +173,24 @@ export declare const formatters: {
173
173
  gatewayFee: `0x${string}` | null;
174
174
  gatewayFeeRecipient: `0x${string}` | null;
175
175
  }) | ({
176
- gas?: `0x${string}` | undefined;
177
- nonce?: `0x${string}` | undefined;
178
176
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
177
+ blockHash?: `0x${string}` | null | undefined;
178
+ gasPrice?: `0x${string}` | undefined;
179
179
  maxFeePerGas?: `0x${string}` | undefined;
180
180
  maxPriorityFeePerGas?: `0x${string}` | undefined;
181
- gasPrice?: `0x${string}` | undefined;
182
- from?: `0x${string}` | undefined;
183
- to?: `0x${string}` | null | undefined;
184
- value?: `0x${string}` | undefined;
185
- r?: `0x${string}` | undefined;
186
- s?: `0x${string}` | undefined;
187
- v?: `0x${string}` | undefined;
188
181
  yParity?: `0x${string}` | undefined;
189
- blockHash?: `0x${string}` | null | undefined;
190
182
  blockNumber?: `0x${string}` | null | undefined;
183
+ from?: `0x${string}` | undefined;
184
+ gas?: `0x${string}` | undefined;
191
185
  hash?: `0x${string}` | undefined;
192
186
  input?: `0x${string}` | undefined;
187
+ nonce?: `0x${string}` | undefined;
188
+ r?: `0x${string}` | undefined;
189
+ s?: `0x${string}` | undefined;
190
+ to?: `0x${string}` | null | undefined;
193
191
  transactionIndex?: `0x${string}` | null | undefined;
192
+ v?: `0x${string}` | undefined;
193
+ value?: `0x${string}` | undefined;
194
194
  accessList?: import("../../index.js").AccessList | undefined;
195
195
  chainId?: `0x${string}` | undefined;
196
196
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
@@ -198,24 +198,24 @@ export declare const formatters: {
198
198
  gatewayFee: `0x${string}` | null;
199
199
  gatewayFeeRecipient: `0x${string}` | null;
200
200
  }) | ({
201
- gas?: `0x${string}` | undefined;
202
- nonce?: `0x${string}` | undefined;
203
201
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
202
+ blockHash?: `0x${string}` | null | undefined;
203
+ gasPrice?: `0x${string}` | undefined;
204
204
  maxFeePerGas?: `0x${string}` | undefined;
205
205
  maxPriorityFeePerGas?: `0x${string}` | undefined;
206
- gasPrice?: `0x${string}` | undefined;
207
- from?: `0x${string}` | undefined;
208
- to?: `0x${string}` | null | undefined;
209
- value?: `0x${string}` | undefined;
210
- r?: `0x${string}` | undefined;
211
- s?: `0x${string}` | undefined;
212
- v?: `0x${string}` | undefined;
213
206
  yParity?: `0x${string}` | undefined;
214
- blockHash?: `0x${string}` | null | undefined;
215
207
  blockNumber?: `0x${string}` | null | undefined;
208
+ from?: `0x${string}` | undefined;
209
+ gas?: `0x${string}` | undefined;
216
210
  hash?: `0x${string}` | undefined;
217
211
  input?: `0x${string}` | undefined;
212
+ nonce?: `0x${string}` | undefined;
213
+ r?: `0x${string}` | undefined;
214
+ s?: `0x${string}` | undefined;
215
+ to?: `0x${string}` | null | undefined;
218
216
  transactionIndex?: `0x${string}` | null | undefined;
217
+ v?: `0x${string}` | undefined;
218
+ value?: `0x${string}` | undefined;
219
219
  accessList?: import("../../index.js").AccessList | undefined;
220
220
  chainId?: `0x${string}` | undefined;
221
221
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -224,24 +224,24 @@ export declare const formatters: {
224
224
  gatewayFeeRecipient: `0x${string}` | null;
225
225
  type: "0x7c";
226
226
  }) | ({
227
- gas?: `0x${string}` | undefined;
228
- nonce?: `0x${string}` | undefined;
229
227
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
228
+ blockHash?: `0x${string}` | null | undefined;
229
+ gasPrice?: `0x${string}` | undefined;
230
230
  maxFeePerGas?: `0x${string}` | undefined;
231
231
  maxPriorityFeePerGas?: `0x${string}` | undefined;
232
- gasPrice?: `0x${string}` | undefined;
233
- from?: `0x${string}` | undefined;
234
- to?: `0x${string}` | null | undefined;
235
- value?: `0x${string}` | undefined;
236
- r?: `0x${string}` | undefined;
237
- s?: `0x${string}` | undefined;
238
- v?: `0x${string}` | undefined;
239
232
  yParity?: `0x${string}` | undefined;
240
- blockHash?: `0x${string}` | null | undefined;
241
233
  blockNumber?: `0x${string}` | null | undefined;
234
+ from?: `0x${string}` | undefined;
235
+ gas?: `0x${string}` | undefined;
242
236
  hash?: `0x${string}` | undefined;
243
237
  input?: `0x${string}` | undefined;
238
+ nonce?: `0x${string}` | undefined;
239
+ r?: `0x${string}` | undefined;
240
+ s?: `0x${string}` | undefined;
241
+ to?: `0x${string}` | null | undefined;
244
242
  transactionIndex?: `0x${string}` | null | undefined;
243
+ v?: `0x${string}` | undefined;
244
+ value?: `0x${string}` | undefined;
245
245
  accessList?: import("../../index.js").AccessList | undefined;
246
246
  chainId?: `0x${string}` | undefined;
247
247
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -250,24 +250,24 @@ export declare const formatters: {
250
250
  gatewayFeeRecipient?: undefined;
251
251
  type: "0x7b";
252
252
  }) | ({
253
- gas?: `0x${string}` | undefined;
254
- nonce?: `0x${string}` | undefined;
255
253
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
254
+ blockHash?: `0x${string}` | null | undefined;
255
+ gasPrice?: `0x${string}` | undefined;
256
256
  maxFeePerGas?: `0x${string}` | undefined;
257
257
  maxPriorityFeePerGas?: `0x${string}` | undefined;
258
- gasPrice?: `0x${string}` | undefined;
259
- from?: `0x${string}` | undefined;
260
- to?: `0x${string}` | null | undefined;
261
- value?: `0x${string}` | undefined;
262
- r?: `0x${string}` | undefined;
263
- s?: `0x${string}` | undefined;
264
- v?: `0x${string}` | undefined;
265
258
  yParity?: `0x${string}` | undefined;
266
- blockHash?: `0x${string}` | null | undefined;
267
259
  blockNumber?: `0x${string}` | null | undefined;
260
+ from?: `0x${string}` | undefined;
261
+ gas?: `0x${string}` | undefined;
268
262
  hash?: `0x${string}` | undefined;
269
263
  input?: `0x${string}` | undefined;
264
+ nonce?: `0x${string}` | undefined;
265
+ r?: `0x${string}` | undefined;
266
+ s?: `0x${string}` | undefined;
267
+ to?: `0x${string}` | null | undefined;
270
268
  transactionIndex?: `0x${string}` | null | undefined;
269
+ v?: `0x${string}` | undefined;
270
+ value?: `0x${string}` | undefined;
271
271
  accessList?: import("../../index.js").AccessList | undefined;
272
272
  chainId?: `0x${string}` | undefined;
273
273
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
@@ -275,24 +275,24 @@ export declare const formatters: {
275
275
  gatewayFee: `0x${string}` | null;
276
276
  gatewayFeeRecipient: `0x${string}` | null;
277
277
  }) | ({
278
- gas?: `0x${string}` | undefined;
279
- nonce?: `0x${string}` | undefined;
280
278
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
279
+ blockHash?: `0x${string}` | null | undefined;
280
+ gasPrice?: `0x${string}` | undefined;
281
281
  maxFeePerGas?: `0x${string}` | undefined;
282
282
  maxPriorityFeePerGas?: `0x${string}` | undefined;
283
- gasPrice?: `0x${string}` | undefined;
284
- from?: `0x${string}` | undefined;
285
- to?: `0x${string}` | null | undefined;
286
- value?: `0x${string}` | undefined;
287
- r?: `0x${string}` | undefined;
288
- s?: `0x${string}` | undefined;
289
- v?: `0x${string}` | undefined;
290
283
  yParity?: `0x${string}` | undefined;
291
- blockHash?: `0x${string}` | null | undefined;
292
284
  blockNumber?: `0x${string}` | null | undefined;
285
+ from?: `0x${string}` | undefined;
286
+ gas?: `0x${string}` | undefined;
293
287
  hash?: `0x${string}` | undefined;
294
288
  input?: `0x${string}` | undefined;
289
+ nonce?: `0x${string}` | undefined;
290
+ r?: `0x${string}` | undefined;
291
+ s?: `0x${string}` | undefined;
292
+ to?: `0x${string}` | null | undefined;
295
293
  transactionIndex?: `0x${string}` | null | undefined;
294
+ v?: `0x${string}` | undefined;
295
+ value?: `0x${string}` | undefined;
296
296
  accessList?: import("../../index.js").AccessList | undefined;
297
297
  chainId?: `0x${string}` | undefined;
298
298
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
@@ -300,24 +300,24 @@ export declare const formatters: {
300
300
  gatewayFee: `0x${string}` | null;
301
301
  gatewayFeeRecipient: `0x${string}` | null;
302
302
  }) | ({
303
- gas?: `0x${string}` | undefined;
304
- nonce?: `0x${string}` | undefined;
305
303
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
304
+ blockHash?: `0x${string}` | null | undefined;
305
+ gasPrice?: `0x${string}` | undefined;
306
306
  maxFeePerGas?: `0x${string}` | undefined;
307
307
  maxPriorityFeePerGas?: `0x${string}` | undefined;
308
- gasPrice?: `0x${string}` | undefined;
309
- from?: `0x${string}` | undefined;
310
- to?: `0x${string}` | null | undefined;
311
- value?: `0x${string}` | undefined;
312
- r?: `0x${string}` | undefined;
313
- s?: `0x${string}` | undefined;
314
- v?: `0x${string}` | undefined;
315
308
  yParity?: `0x${string}` | undefined;
316
- blockHash?: `0x${string}` | null | undefined;
317
309
  blockNumber?: `0x${string}` | null | undefined;
310
+ from?: `0x${string}` | undefined;
311
+ gas?: `0x${string}` | undefined;
318
312
  hash?: `0x${string}` | undefined;
319
313
  input?: `0x${string}` | undefined;
314
+ nonce?: `0x${string}` | undefined;
315
+ r?: `0x${string}` | undefined;
316
+ s?: `0x${string}` | undefined;
317
+ to?: `0x${string}` | null | undefined;
320
318
  transactionIndex?: `0x${string}` | null | undefined;
319
+ v?: `0x${string}` | undefined;
320
+ value?: `0x${string}` | undefined;
321
321
  accessList?: import("../../index.js").AccessList | undefined;
322
322
  chainId?: `0x${string}` | undefined;
323
323
  } & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
@@ -325,24 +325,24 @@ export declare const formatters: {
325
325
  gatewayFee: `0x${string}` | null;
326
326
  gatewayFeeRecipient: `0x${string}` | null;
327
327
  }) | ({
328
- gas?: `0x${string}` | undefined;
329
- nonce?: `0x${string}` | undefined;
330
328
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
329
+ blockHash?: `0x${string}` | null | undefined;
330
+ gasPrice?: `0x${string}` | undefined;
331
331
  maxFeePerGas?: `0x${string}` | undefined;
332
332
  maxPriorityFeePerGas?: `0x${string}` | undefined;
333
- gasPrice?: `0x${string}` | undefined;
334
- from?: `0x${string}` | undefined;
335
- to?: `0x${string}` | null | undefined;
336
- value?: `0x${string}` | undefined;
337
- r?: `0x${string}` | undefined;
338
- s?: `0x${string}` | undefined;
339
- v?: `0x${string}` | undefined;
340
333
  yParity?: `0x${string}` | undefined;
341
- blockHash?: `0x${string}` | null | undefined;
342
334
  blockNumber?: `0x${string}` | null | undefined;
335
+ from?: `0x${string}` | undefined;
336
+ gas?: `0x${string}` | undefined;
343
337
  hash?: `0x${string}` | undefined;
344
338
  input?: `0x${string}` | undefined;
339
+ nonce?: `0x${string}` | undefined;
340
+ r?: `0x${string}` | undefined;
341
+ s?: `0x${string}` | undefined;
342
+ to?: `0x${string}` | null | undefined;
345
343
  transactionIndex?: `0x${string}` | null | undefined;
344
+ v?: `0x${string}` | undefined;
345
+ value?: `0x${string}` | undefined;
346
346
  accessList?: import("../../index.js").AccessList | undefined;
347
347
  chainId?: `0x${string}` | undefined;
348
348
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -351,24 +351,24 @@ export declare const formatters: {
351
351
  gatewayFeeRecipient: `0x${string}` | null;
352
352
  type: "0x7c";
353
353
  }) | ({
354
- gas?: `0x${string}` | undefined;
355
- nonce?: `0x${string}` | undefined;
356
354
  type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
355
+ blockHash?: `0x${string}` | null | undefined;
356
+ gasPrice?: `0x${string}` | undefined;
357
357
  maxFeePerGas?: `0x${string}` | undefined;
358
358
  maxPriorityFeePerGas?: `0x${string}` | undefined;
359
- gasPrice?: `0x${string}` | undefined;
360
- from?: `0x${string}` | undefined;
361
- to?: `0x${string}` | null | undefined;
362
- value?: `0x${string}` | undefined;
363
- r?: `0x${string}` | undefined;
364
- s?: `0x${string}` | undefined;
365
- v?: `0x${string}` | undefined;
366
359
  yParity?: `0x${string}` | undefined;
367
- blockHash?: `0x${string}` | null | undefined;
368
360
  blockNumber?: `0x${string}` | null | undefined;
361
+ from?: `0x${string}` | undefined;
362
+ gas?: `0x${string}` | undefined;
369
363
  hash?: `0x${string}` | undefined;
370
364
  input?: `0x${string}` | undefined;
365
+ nonce?: `0x${string}` | undefined;
366
+ r?: `0x${string}` | undefined;
367
+ s?: `0x${string}` | undefined;
368
+ to?: `0x${string}` | null | undefined;
371
369
  transactionIndex?: `0x${string}` | null | undefined;
370
+ v?: `0x${string}` | undefined;
371
+ value?: `0x${string}` | undefined;
372
372
  accessList?: import("../../index.js").AccessList | undefined;
373
373
  chainId?: `0x${string}` | undefined;
374
374
  } & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
@@ -377,20 +377,20 @@ export declare const formatters: {
377
377
  gatewayFeeRecipient?: undefined;
378
378
  type: "0x7b";
379
379
  })) => ({
380
- gas: bigint;
381
- nonce: number;
382
- from: `0x${string}`;
383
- to: `0x${string}` | null;
384
- value: bigint;
385
- r: `0x${string}`;
386
- s: `0x${string}`;
387
- v: bigint;
388
380
  blockHash: `0x${string}` | null;
389
381
  blockNumber: bigint | null;
382
+ from: `0x${string}`;
383
+ gas: bigint;
390
384
  hash: `0x${string}`;
391
385
  input: `0x${string}`;
386
+ nonce: number;
387
+ r: `0x${string}`;
388
+ s: `0x${string}`;
389
+ to: `0x${string}` | null;
392
390
  transactionIndex: number | null;
393
391
  typeHex: `0x${string}` | null;
392
+ v: bigint;
393
+ value: bigint;
394
394
  gasPrice: bigint;
395
395
  maxFeePerGas?: undefined;
396
396
  maxPriorityFeePerGas?: undefined;
@@ -402,20 +402,20 @@ export declare const formatters: {
402
402
  gatewayFee: bigint | null;
403
403
  gatewayFeeRecipient: `0x${string}` | null;
404
404
  } | {
405
- gas: bigint;
406
- nonce: number;
407
- from: `0x${string}`;
408
- to: `0x${string}` | null;
409
- value: bigint;
410
- r: `0x${string}`;
411
- s: `0x${string}`;
412
- v: bigint;
413
405
  blockHash: `0x${string}` | null;
414
406
  blockNumber: bigint | null;
407
+ from: `0x${string}`;
408
+ gas: bigint;
415
409
  hash: `0x${string}`;
416
410
  input: `0x${string}`;
411
+ nonce: number;
412
+ r: `0x${string}`;
413
+ s: `0x${string}`;
414
+ to: `0x${string}` | null;
417
415
  transactionIndex: number | null;
418
416
  typeHex: `0x${string}` | null;
417
+ v: bigint;
418
+ value: bigint;
419
419
  gasPrice: undefined;
420
420
  maxFeePerGas: bigint;
421
421
  maxPriorityFeePerGas: bigint;
@@ -427,20 +427,20 @@ export declare const formatters: {
427
427
  gatewayFee: bigint | null;
428
428
  gatewayFeeRecipient: `0x${string}` | null;
429
429
  } | {
430
- gas: bigint;
431
- nonce: number;
432
- from: `0x${string}`;
433
- to: `0x${string}` | null;
434
- value: bigint;
435
- r: `0x${string}`;
436
- s: `0x${string}`;
437
- v: bigint;
438
430
  blockHash: `0x${string}` | null;
439
431
  blockNumber: bigint | null;
432
+ from: `0x${string}`;
433
+ gas: bigint;
440
434
  hash: `0x${string}`;
441
435
  input: `0x${string}`;
436
+ nonce: number;
437
+ r: `0x${string}`;
438
+ s: `0x${string}`;
439
+ to: `0x${string}` | null;
442
440
  transactionIndex: number | null;
443
441
  typeHex: `0x${string}` | null;
442
+ v: bigint;
443
+ value: bigint;
444
444
  gasPrice: undefined;
445
445
  maxFeePerGas: bigint;
446
446
  maxPriorityFeePerGas: bigint;
@@ -654,29 +654,6 @@ export declare const formatters: {
654
654
  }) & {};
655
655
  type: "transaction";
656
656
  };
657
- readonly transactionReceipt: {
658
- exclude: [] | undefined;
659
- format: (args: import("../index.js").Assign<Partial<import("../../types/rpc.js").RpcTransactionReceipt>, CeloRpcTransactionReceiptOverrides>) => {
660
- blockHash: `0x${string}`;
661
- blockNumber: bigint;
662
- contractAddress: `0x${string}` | null;
663
- cumulativeGasUsed: bigint;
664
- effectiveGasPrice: bigint;
665
- from: `0x${string}`;
666
- gasUsed: bigint;
667
- logs: import("../../index.js").Log<bigint, number, false>[];
668
- logsBloom: `0x${string}`;
669
- status: "success" | "reverted";
670
- to: `0x${string}` | null;
671
- transactionHash: `0x${string}`;
672
- transactionIndex: number;
673
- type: import("../../index.js").TransactionType;
674
- feeCurrency: `0x${string}` | null;
675
- gatewayFee: bigint | null;
676
- gatewayFeeRecipient: `0x${string}` | null;
677
- } & {};
678
- type: "transactionReceipt";
679
- };
680
657
  readonly transactionRequest: {
681
658
  exclude: [] | undefined;
682
659
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, CeloTransactionRequest>) => ({
@@ -1 +1 @@
1
- {"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../chains/celo/formatters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAW/C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,kCAAkC,EAElC,eAAe,EAEf,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAGnB,eAAO,MAAM,UAAU;;;;0BAKD,IAAI,EAAE,GAAG,kBAAkB,EAAE;;;;;;;;;;;;;;;;;;;;;0BAG/B,IAAI,EAAE,GAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwEV,CAAA"}
1
+ {"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../chains/celo/formatters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAU/C,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAElB,eAAe,EACf,sBAAsB,EACvB,MAAM,YAAY,CAAA;AAGnB,eAAO,MAAM,UAAU;;;;0BAKD,IAAI,EAAE,GAAG,kBAAkB,EAAE;;;;;;;;;;;;;;;;;;;;;0BAG/B,IAAI,EAAE,GAAG,eAAe,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DV,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export { chainConfig } from './chainConfig.js';
2
2
  export { parseTransaction } from './parsers.js';
3
3
  export { serializeTransaction } from './serializers.js';
4
- export type { CeloBlock, CeloBlockOverrides, CeloRpcBlock, CeloRpcBlockOverrides, CeloRpcTransaction, CeloRpcTransactionReceipt, CeloRpcTransactionReceiptOverrides, CeloRpcTransactionRequest, CeloTransaction, CeloTransactionReceipt, CeloTransactionReceiptOverrides, CeloTransactionRequest, CeloTransactionSerializable, CeloTransactionSerialized, CeloTransactionType, RpcTransactionCIP42, RpcTransactionCIP64, RpcTransactionRequestCIP42, RpcTransactionRequestCIP64, TransactionCIP42, TransactionCIP64, TransactionRequestCIP42, TransactionRequestCIP64, TransactionSerializableCIP42, TransactionSerializableCIP64, TransactionSerializedCIP42, TransactionSerializedCIP64, } from './types.js';
4
+ export type { CeloBlock, CeloBlockOverrides, CeloRpcBlock, CeloRpcBlockOverrides, CeloRpcTransaction, CeloRpcTransactionRequest, CeloTransaction, CeloTransactionRequest, CeloTransactionSerializable, CeloTransactionSerialized, CeloTransactionType, RpcTransactionCIP42, RpcTransactionCIP64, RpcTransactionRequestCIP42, RpcTransactionRequestCIP64, TransactionCIP42, TransactionCIP64, TransactionRequestCIP42, TransactionRequestCIP64, TransactionSerializableCIP42, TransactionSerializableCIP64, TransactionSerializedCIP42, TransactionSerializedCIP64, } from './types.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../chains/celo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAEvD,YAAY,EACV,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,yBAAyB,EACzB,kCAAkC,EAClC,yBAAyB,EACzB,eAAe,EACf,sBAAsB,EACtB,+BAA+B,EAC/B,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,0BAA0B,EAC1B,0BAA0B,EAC1B,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../chains/celo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAEvD,YAAY,EACV,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,yBAAyB,EACzB,eAAe,EACf,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,0BAA0B,EAC1B,0BAA0B,EAC1B,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,YAAY,CAAA"}
@@ -2,8 +2,8 @@ import type { Address } from 'abitype';
2
2
  import type { Block, BlockTag } from '../../types/block.js';
3
3
  import type { FeeValuesEIP1559 } from '../../types/fee.js';
4
4
  import type { Hex } from '../../types/misc.js';
5
- import type { Index, Quantity, RpcBlock, RpcTransaction as RpcTransaction_, RpcTransactionReceipt, RpcTransactionRequest as RpcTransactionRequest_, TransactionType } from '../../types/rpc.js';
6
- import type { AccessList, Transaction as Transaction_, TransactionBase, TransactionReceipt, TransactionRequest as TransactionRequest_, TransactionRequestBase, TransactionSerializable, TransactionSerializableBase, TransactionSerialized } from '../../types/transaction.js';
5
+ import type { Index, Quantity, RpcBlock, RpcTransaction as RpcTransaction_, RpcTransactionRequest as RpcTransactionRequest_, TransactionType } from '../../types/rpc.js';
6
+ import type { AccessList, Transaction as Transaction_, TransactionBase, TransactionRequest as TransactionRequest_, TransactionRequestBase, TransactionSerializable, TransactionSerializableBase, TransactionSerialized } from '../../types/transaction.js';
7
7
  import type { NeverBy } from '../../types/utils.js';
8
8
  type CeloBlockExclude = 'difficulty' | 'gasLimit' | 'mixHash' | 'nonce' | 'uncles';
9
9
  export type CeloBlockOverrides = {
@@ -21,20 +21,8 @@ export type CeloRpcBlockOverrides = {
21
21
  };
22
22
  export type CeloRpcBlock<TBlockTag extends BlockTag = BlockTag, TIncludeTransactions extends boolean = boolean> = NeverBy<RpcBlock<TBlockTag, TIncludeTransactions, RpcTransaction<TBlockTag extends 'pending' ? true : false>>, CeloBlockExclude> & CeloRpcBlockOverrides;
23
23
  export type CeloRpcTransaction<TPending extends boolean = boolean> = RpcTransaction<TPending> | RpcTransactionCIP42<TPending> | RpcTransactionCIP64<TPending>;
24
- export type CeloRpcTransactionReceiptOverrides = {
25
- feeCurrency: Address | null;
26
- gatewayFee: Hex | null;
27
- gatewayFeeRecipient: Address | null;
28
- };
29
- export type CeloRpcTransactionReceipt = RpcTransactionReceipt & CeloRpcTransactionReceiptOverrides;
30
24
  export type CeloRpcTransactionRequest = RpcTransactionRequest | RpcTransactionRequestCIP42 | RpcTransactionRequestCIP64;
31
25
  export type CeloTransaction<TPending extends boolean = boolean> = Transaction<TPending> | TransactionCIP42<TPending> | TransactionCIP64<TPending>;
32
- export type CeloTransactionReceiptOverrides = {
33
- feeCurrency: Address | null;
34
- gatewayFee: bigint | null;
35
- gatewayFeeRecipient: Address | null;
36
- };
37
- export type CeloTransactionReceipt = TransactionReceipt & CeloTransactionReceiptOverrides;
38
26
  export type CeloTransactionRequest = TransactionRequest | TransactionRequestCIP42 | TransactionRequestCIP64;
39
27
  export type CeloTransactionSerializable = TransactionSerializableCIP42 | TransactionSerializableCIP64 | CeloTransactionSerializableBase;
40
28
  export type CeloTransactionSerialized<TType extends CeloTransactionType = 'legacy'> = TransactionSerialized<TType> | TransactionSerializedCIP42 | TransactionSerializedCIP64;