viem 2.0.0-alpha.19 → 2.0.0-alpha.20

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 (409) hide show
  1. package/_cjs/chains/definitions/base.js +0 -1
  2. package/_cjs/chains/definitions/base.js.map +1 -1
  3. package/_cjs/chains/definitions/baseGoerli.js +0 -1
  4. package/_cjs/chains/definitions/baseGoerli.js.map +1 -1
  5. package/_cjs/chains/definitions/baseSepolia.js +0 -1
  6. package/_cjs/chains/definitions/baseSepolia.js.map +1 -1
  7. package/_cjs/chains/definitions/celo.js +0 -1
  8. package/_cjs/chains/definitions/celo.js.map +1 -1
  9. package/_cjs/chains/definitions/celoAlfajores.js +0 -1
  10. package/_cjs/chains/definitions/celoAlfajores.js.map +1 -1
  11. package/_cjs/chains/definitions/celoCannoli.js +0 -1
  12. package/_cjs/chains/definitions/celoCannoli.js.map +1 -1
  13. package/_cjs/chains/definitions/optimism.js +0 -1
  14. package/_cjs/chains/definitions/optimism.js.map +1 -1
  15. package/_cjs/chains/definitions/optimismGoerli.js +0 -1
  16. package/_cjs/chains/definitions/optimismGoerli.js.map +1 -1
  17. package/_cjs/chains/definitions/optimismSepolia.js +0 -1
  18. package/_cjs/chains/definitions/optimismSepolia.js.map +1 -1
  19. package/_cjs/chains/definitions/zkSync.js +0 -1
  20. package/_cjs/chains/definitions/zkSync.js.map +1 -1
  21. package/_cjs/chains/definitions/zkSyncTestnet.js +0 -1
  22. package/_cjs/chains/definitions/zkSyncTestnet.js.map +1 -1
  23. package/_cjs/chains/definitions/zora.js +0 -1
  24. package/_cjs/chains/definitions/zora.js.map +1 -1
  25. package/_cjs/chains/definitions/zoraSepolia.js +0 -1
  26. package/_cjs/chains/definitions/zoraSepolia.js.map +1 -1
  27. package/_cjs/chains/definitions/zoraTestnet.js +0 -1
  28. package/_cjs/chains/definitions/zoraTestnet.js.map +1 -1
  29. package/_cjs/errors/node.js +11 -11
  30. package/_cjs/errors/node.js.map +1 -1
  31. package/_cjs/errors/rpc.js +18 -18
  32. package/_cjs/errors/rpc.js.map +1 -1
  33. package/_cjs/errors/version.js +1 -1
  34. package/_cjs/index.js.map +1 -1
  35. package/_cjs/utils/chain/defineChain.js +4 -5
  36. package/_cjs/utils/chain/defineChain.js.map +1 -1
  37. package/_esm/chains/definitions/base.js +0 -1
  38. package/_esm/chains/definitions/base.js.map +1 -1
  39. package/_esm/chains/definitions/baseGoerli.js +1 -2
  40. package/_esm/chains/definitions/baseGoerli.js.map +1 -1
  41. package/_esm/chains/definitions/baseSepolia.js +1 -2
  42. package/_esm/chains/definitions/baseSepolia.js.map +1 -1
  43. package/_esm/chains/definitions/celo.js +0 -1
  44. package/_esm/chains/definitions/celo.js.map +1 -1
  45. package/_esm/chains/definitions/celoAlfajores.js +0 -1
  46. package/_esm/chains/definitions/celoAlfajores.js.map +1 -1
  47. package/_esm/chains/definitions/celoCannoli.js +0 -1
  48. package/_esm/chains/definitions/celoCannoli.js.map +1 -1
  49. package/_esm/chains/definitions/optimism.js +0 -1
  50. package/_esm/chains/definitions/optimism.js.map +1 -1
  51. package/_esm/chains/definitions/optimismGoerli.js +0 -1
  52. package/_esm/chains/definitions/optimismGoerli.js.map +1 -1
  53. package/_esm/chains/definitions/optimismSepolia.js +0 -1
  54. package/_esm/chains/definitions/optimismSepolia.js.map +1 -1
  55. package/_esm/chains/definitions/zkSync.js +0 -1
  56. package/_esm/chains/definitions/zkSync.js.map +1 -1
  57. package/_esm/chains/definitions/zkSyncTestnet.js +0 -1
  58. package/_esm/chains/definitions/zkSyncTestnet.js.map +1 -1
  59. package/_esm/chains/definitions/zora.js +0 -1
  60. package/_esm/chains/definitions/zora.js.map +1 -1
  61. package/_esm/chains/definitions/zoraSepolia.js +0 -1
  62. package/_esm/chains/definitions/zoraSepolia.js.map +1 -1
  63. package/_esm/chains/definitions/zoraTestnet.js +0 -1
  64. package/_esm/chains/definitions/zoraTestnet.js.map +1 -1
  65. package/_esm/errors/node.js +11 -22
  66. package/_esm/errors/node.js.map +1 -1
  67. package/_esm/errors/rpc.js +18 -36
  68. package/_esm/errors/rpc.js.map +1 -1
  69. package/_esm/errors/version.js +1 -1
  70. package/_esm/index.js.map +1 -1
  71. package/_esm/utils/chain/defineChain.js +4 -5
  72. package/_esm/utils/chain/defineChain.js.map +1 -1
  73. package/_types/chains/definitions/arbitrum.d.ts +16 -14
  74. package/_types/chains/definitions/arbitrum.d.ts.map +1 -1
  75. package/_types/chains/definitions/arbitrumGoerli.d.ts +16 -15
  76. package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -1
  77. package/_types/chains/definitions/arbitrumNova.d.ts +16 -14
  78. package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -1
  79. package/_types/chains/definitions/arbitrumSepolia.d.ts +16 -15
  80. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
  81. package/_types/chains/definitions/astarZkatana.d.ts +20 -19
  82. package/_types/chains/definitions/astarZkatana.d.ts.map +1 -1
  83. package/_types/chains/definitions/aurora.d.ts +20 -10
  84. package/_types/chains/definitions/aurora.d.ts.map +1 -1
  85. package/_types/chains/definitions/auroraTestnet.d.ts +20 -11
  86. package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -1
  87. package/_types/chains/definitions/avalanche.d.ts +16 -14
  88. package/_types/chains/definitions/avalanche.d.ts.map +1 -1
  89. package/_types/chains/definitions/avalancheFuji.d.ts +16 -15
  90. package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -1
  91. package/_types/chains/definitions/base.d.ts +20 -1012
  92. package/_types/chains/definitions/base.d.ts.map +1 -1
  93. package/_types/chains/definitions/baseGoerli.d.ts +20 -1014
  94. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  95. package/_types/chains/definitions/baseSepolia.d.ts +29 -1015
  96. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  97. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +20 -10
  98. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -1
  99. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +20 -11
  100. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -1
  101. package/_types/chains/definitions/boba.d.ts +16 -14
  102. package/_types/chains/definitions/boba.d.ts.map +1 -1
  103. package/_types/chains/definitions/bronos.d.ts +20 -10
  104. package/_types/chains/definitions/bronos.d.ts.map +1 -1
  105. package/_types/chains/definitions/bronosTestnet.d.ts +20 -11
  106. package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -1
  107. package/_types/chains/definitions/bsc.d.ts +16 -14
  108. package/_types/chains/definitions/bsc.d.ts.map +1 -1
  109. package/_types/chains/definitions/bscTestnet.d.ts +16 -15
  110. package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
  111. package/_types/chains/definitions/bxn.d.ts +20 -10
  112. package/_types/chains/definitions/bxn.d.ts.map +1 -1
  113. package/_types/chains/definitions/bxnTestnet.d.ts +20 -10
  114. package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -1
  115. package/_types/chains/definitions/canto.d.ts +16 -14
  116. package/_types/chains/definitions/canto.d.ts.map +1 -1
  117. package/_types/chains/definitions/celo.d.ts +22 -1773
  118. package/_types/chains/definitions/celo.d.ts.map +1 -1
  119. package/_types/chains/definitions/celoAlfajores.d.ts +22 -1773
  120. package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
  121. package/_types/chains/definitions/celoCannoli.d.ts +22 -1773
  122. package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
  123. package/_types/chains/definitions/classic.d.ts +20 -10
  124. package/_types/chains/definitions/classic.d.ts.map +1 -1
  125. package/_types/chains/definitions/confluxESpace.d.ts +16 -14
  126. package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
  127. package/_types/chains/definitions/coreDao.d.ts +16 -15
  128. package/_types/chains/definitions/coreDao.d.ts.map +1 -1
  129. package/_types/chains/definitions/cronos.d.ts +16 -14
  130. package/_types/chains/definitions/cronos.d.ts.map +1 -1
  131. package/_types/chains/definitions/cronosTestnet.d.ts +16 -15
  132. package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -1
  133. package/_types/chains/definitions/crossbell.d.ts +16 -14
  134. package/_types/chains/definitions/crossbell.d.ts.map +1 -1
  135. package/_types/chains/definitions/dfk.d.ts +20 -10
  136. package/_types/chains/definitions/dfk.d.ts.map +1 -1
  137. package/_types/chains/definitions/dogechain.d.ts +20 -10
  138. package/_types/chains/definitions/dogechain.d.ts.map +1 -1
  139. package/_types/chains/definitions/edgeware.d.ts +16 -14
  140. package/_types/chains/definitions/edgeware.d.ts.map +1 -1
  141. package/_types/chains/definitions/edgewareTestnet.d.ts +20 -10
  142. package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -1
  143. package/_types/chains/definitions/ekta.d.ts +20 -10
  144. package/_types/chains/definitions/ekta.d.ts.map +1 -1
  145. package/_types/chains/definitions/ektaTestnet.d.ts +20 -11
  146. package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -1
  147. package/_types/chains/definitions/eon.d.ts +13 -11
  148. package/_types/chains/definitions/eon.d.ts.map +1 -1
  149. package/_types/chains/definitions/eos.d.ts +16 -14
  150. package/_types/chains/definitions/eos.d.ts.map +1 -1
  151. package/_types/chains/definitions/eosTestnet.d.ts +16 -15
  152. package/_types/chains/definitions/eosTestnet.d.ts.map +1 -1
  153. package/_types/chains/definitions/evmos.d.ts +20 -10
  154. package/_types/chains/definitions/evmos.d.ts.map +1 -1
  155. package/_types/chains/definitions/evmosTestnet.d.ts +20 -10
  156. package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -1
  157. package/_types/chains/definitions/fantom.d.ts +16 -14
  158. package/_types/chains/definitions/fantom.d.ts.map +1 -1
  159. package/_types/chains/definitions/fantomTestnet.d.ts +16 -14
  160. package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -1
  161. package/_types/chains/definitions/fibo.d.ts +20 -10
  162. package/_types/chains/definitions/fibo.d.ts.map +1 -1
  163. package/_types/chains/definitions/filecoin.d.ts +20 -10
  164. package/_types/chains/definitions/filecoin.d.ts.map +1 -1
  165. package/_types/chains/definitions/filecoinCalibration.d.ts +20 -10
  166. package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -1
  167. package/_types/chains/definitions/filecoinHyperspace.d.ts +20 -10
  168. package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -1
  169. package/_types/chains/definitions/flare.d.ts +20 -10
  170. package/_types/chains/definitions/flare.d.ts.map +1 -1
  171. package/_types/chains/definitions/flareTestnet.d.ts +20 -11
  172. package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
  173. package/_types/chains/definitions/foundry.d.ts +24 -4
  174. package/_types/chains/definitions/foundry.d.ts.map +1 -1
  175. package/_types/chains/definitions/fuse.d.ts +16 -14
  176. package/_types/chains/definitions/fuse.d.ts.map +1 -1
  177. package/_types/chains/definitions/fuseSparknet.d.ts +20 -10
  178. package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -1
  179. package/_types/chains/definitions/gnosis.d.ts +16 -14
  180. package/_types/chains/definitions/gnosis.d.ts.map +1 -1
  181. package/_types/chains/definitions/gnosisChiado.d.ts +20 -11
  182. package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
  183. package/_types/chains/definitions/gobi.d.ts +13 -12
  184. package/_types/chains/definitions/gobi.d.ts.map +1 -1
  185. package/_types/chains/definitions/goerli.d.ts +16 -15
  186. package/_types/chains/definitions/goerli.d.ts.map +1 -1
  187. package/_types/chains/definitions/haqqMainnet.d.ts +20 -10
  188. package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -1
  189. package/_types/chains/definitions/haqqTestedge2.d.ts +20 -10
  190. package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -1
  191. package/_types/chains/definitions/hardhat.d.ts +24 -4
  192. package/_types/chains/definitions/hardhat.d.ts.map +1 -1
  193. package/_types/chains/definitions/harmonyOne.d.ts +16 -14
  194. package/_types/chains/definitions/harmonyOne.d.ts.map +1 -1
  195. package/_types/chains/definitions/holesky.d.ts +22 -11
  196. package/_types/chains/definitions/holesky.d.ts.map +1 -1
  197. package/_types/chains/definitions/iotex.d.ts +20 -10
  198. package/_types/chains/definitions/iotex.d.ts.map +1 -1
  199. package/_types/chains/definitions/iotexTestnet.d.ts +20 -10
  200. package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -1
  201. package/_types/chains/definitions/klaytn.d.ts +20 -10
  202. package/_types/chains/definitions/klaytn.d.ts.map +1 -1
  203. package/_types/chains/definitions/kroma.d.ts +20 -11
  204. package/_types/chains/definitions/kroma.d.ts.map +1 -1
  205. package/_types/chains/definitions/kromaSepolia.d.ts +20 -11
  206. package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
  207. package/_types/chains/definitions/linea.d.ts +17 -16
  208. package/_types/chains/definitions/linea.d.ts.map +1 -1
  209. package/_types/chains/definitions/lineaTestnet.d.ts +17 -16
  210. package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -1
  211. package/_types/chains/definitions/localhost.d.ts +24 -4
  212. package/_types/chains/definitions/localhost.d.ts.map +1 -1
  213. package/_types/chains/definitions/mainnet.d.ts +16 -14
  214. package/_types/chains/definitions/mainnet.d.ts.map +1 -1
  215. package/_types/chains/definitions/manta.d.ts +20 -18
  216. package/_types/chains/definitions/manta.d.ts.map +1 -1
  217. package/_types/chains/definitions/mantaTestnet.d.ts +20 -19
  218. package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
  219. package/_types/chains/definitions/mantle.d.ts +16 -14
  220. package/_types/chains/definitions/mantle.d.ts.map +1 -1
  221. package/_types/chains/definitions/mantleTestnet.d.ts +20 -11
  222. package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -1
  223. package/_types/chains/definitions/meter.d.ts +20 -10
  224. package/_types/chains/definitions/meter.d.ts.map +1 -1
  225. package/_types/chains/definitions/meterTestnet.d.ts +20 -10
  226. package/_types/chains/definitions/meterTestnet.d.ts.map +1 -1
  227. package/_types/chains/definitions/metis.d.ts +16 -14
  228. package/_types/chains/definitions/metis.d.ts.map +1 -1
  229. package/_types/chains/definitions/metisGoerli.d.ts +16 -14
  230. package/_types/chains/definitions/metisGoerli.d.ts.map +1 -1
  231. package/_types/chains/definitions/mev.d.ts +16 -14
  232. package/_types/chains/definitions/mev.d.ts.map +1 -1
  233. package/_types/chains/definitions/mevTestnet.d.ts +16 -15
  234. package/_types/chains/definitions/mevTestnet.d.ts.map +1 -1
  235. package/_types/chains/definitions/modeTestnet.d.ts +16 -15
  236. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
  237. package/_types/chains/definitions/moonbaseAlpha.d.ts +17 -16
  238. package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -1
  239. package/_types/chains/definitions/moonbeam.d.ts +17 -16
  240. package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
  241. package/_types/chains/definitions/moonbeamDev.d.ts +24 -4
  242. package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -1
  243. package/_types/chains/definitions/moonriver.d.ts +17 -16
  244. package/_types/chains/definitions/moonriver.d.ts.map +1 -1
  245. package/_types/chains/definitions/neonDevnet.d.ts +16 -15
  246. package/_types/chains/definitions/neonDevnet.d.ts.map +1 -1
  247. package/_types/chains/definitions/nexi.d.ts +16 -14
  248. package/_types/chains/definitions/nexi.d.ts.map +1 -1
  249. package/_types/chains/definitions/nexilix.d.ts +16 -14
  250. package/_types/chains/definitions/nexilix.d.ts.map +1 -1
  251. package/_types/chains/definitions/oasys.d.ts +20 -10
  252. package/_types/chains/definitions/oasys.d.ts.map +1 -1
  253. package/_types/chains/definitions/okc.d.ts +16 -14
  254. package/_types/chains/definitions/okc.d.ts.map +1 -1
  255. package/_types/chains/definitions/opBNB.d.ts +16 -14
  256. package/_types/chains/definitions/opBNB.d.ts.map +1 -1
  257. package/_types/chains/definitions/opBNBTestnet.d.ts +16 -15
  258. package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -1
  259. package/_types/chains/definitions/optimism.d.ts +20 -1012
  260. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  261. package/_types/chains/definitions/optimismGoerli.d.ts +20 -1013
  262. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  263. package/_types/chains/definitions/optimismSepolia.d.ts +20 -1013
  264. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  265. package/_types/chains/definitions/plinga.d.ts +16 -14
  266. package/_types/chains/definitions/plinga.d.ts.map +1 -1
  267. package/_types/chains/definitions/polygon.d.ts +16 -14
  268. package/_types/chains/definitions/polygon.d.ts.map +1 -1
  269. package/_types/chains/definitions/polygonMumbai.d.ts +16 -15
  270. package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -1
  271. package/_types/chains/definitions/polygonZkEvm.d.ts +16 -14
  272. package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -1
  273. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +16 -15
  274. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -1
  275. package/_types/chains/definitions/pulsechain.d.ts +17 -16
  276. package/_types/chains/definitions/pulsechain.d.ts.map +1 -1
  277. package/_types/chains/definitions/pulsechainV4.d.ts +17 -16
  278. package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -1
  279. package/_types/chains/definitions/qMainnet.d.ts +20 -10
  280. package/_types/chains/definitions/qMainnet.d.ts.map +1 -1
  281. package/_types/chains/definitions/qTestnet.d.ts +20 -11
  282. package/_types/chains/definitions/qTestnet.d.ts.map +1 -1
  283. package/_types/chains/definitions/rollux.d.ts +17 -15
  284. package/_types/chains/definitions/rollux.d.ts.map +1 -1
  285. package/_types/chains/definitions/rolluxTestnet.d.ts +17 -15
  286. package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -1
  287. package/_types/chains/definitions/ronin.d.ts +16 -14
  288. package/_types/chains/definitions/ronin.d.ts.map +1 -1
  289. package/_types/chains/definitions/saigon.d.ts +16 -15
  290. package/_types/chains/definitions/saigon.d.ts.map +1 -1
  291. package/_types/chains/definitions/scroll.d.ts +17 -16
  292. package/_types/chains/definitions/scroll.d.ts.map +1 -1
  293. package/_types/chains/definitions/scrollSepolia.d.ts +17 -16
  294. package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
  295. package/_types/chains/definitions/scrollTestnet.d.ts +20 -11
  296. package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -1
  297. package/_types/chains/definitions/sepolia.d.ts +16 -15
  298. package/_types/chains/definitions/sepolia.d.ts.map +1 -1
  299. package/_types/chains/definitions/shardeumSphinx.d.ts +20 -11
  300. package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -1
  301. package/_types/chains/definitions/skale/brawl.d.ts +13 -11
  302. package/_types/chains/definitions/skale/brawl.d.ts.map +1 -1
  303. package/_types/chains/definitions/skale/calypso.d.ts +17 -15
  304. package/_types/chains/definitions/skale/calypso.d.ts.map +1 -1
  305. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +17 -16
  306. package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -1
  307. package/_types/chains/definitions/skale/chaosTestnet.d.ts +17 -16
  308. package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -1
  309. package/_types/chains/definitions/skale/cryptoBlades.d.ts +13 -11
  310. package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -1
  311. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +13 -11
  312. package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -1
  313. package/_types/chains/definitions/skale/europa.d.ts +17 -15
  314. package/_types/chains/definitions/skale/europa.d.ts.map +1 -1
  315. package/_types/chains/definitions/skale/europaTestnet.d.ts +17 -16
  316. package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -1
  317. package/_types/chains/definitions/skale/exorde.d.ts +13 -11
  318. package/_types/chains/definitions/skale/exorde.d.ts.map +1 -1
  319. package/_types/chains/definitions/skale/humanProtocol.d.ts +13 -11
  320. package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -1
  321. package/_types/chains/definitions/skale/nebula.d.ts +17 -15
  322. package/_types/chains/definitions/skale/nebula.d.ts.map +1 -1
  323. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +17 -16
  324. package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -1
  325. package/_types/chains/definitions/skale/razor.d.ts +13 -11
  326. package/_types/chains/definitions/skale/razor.d.ts.map +1 -1
  327. package/_types/chains/definitions/skale/titan.d.ts +17 -15
  328. package/_types/chains/definitions/skale/titan.d.ts.map +1 -1
  329. package/_types/chains/definitions/skale/titanTestnet.d.ts +17 -16
  330. package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -1
  331. package/_types/chains/definitions/songbird.d.ts +20 -10
  332. package/_types/chains/definitions/songbird.d.ts.map +1 -1
  333. package/_types/chains/definitions/songbirdTestnet.d.ts +20 -11
  334. package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
  335. package/_types/chains/definitions/syscoin.d.ts +17 -15
  336. package/_types/chains/definitions/syscoin.d.ts.map +1 -1
  337. package/_types/chains/definitions/syscoinTestnet.d.ts +17 -15
  338. package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -1
  339. package/_types/chains/definitions/taikoJolnir.d.ts +20 -10
  340. package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
  341. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +20 -10
  342. package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -1
  343. package/_types/chains/definitions/taraxa.d.ts +20 -10
  344. package/_types/chains/definitions/taraxa.d.ts.map +1 -1
  345. package/_types/chains/definitions/taraxaTestnet.d.ts +20 -11
  346. package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -1
  347. package/_types/chains/definitions/telos.d.ts +16 -14
  348. package/_types/chains/definitions/telos.d.ts.map +1 -1
  349. package/_types/chains/definitions/telosTestnet.d.ts +20 -11
  350. package/_types/chains/definitions/telosTestnet.d.ts.map +1 -1
  351. package/_types/chains/definitions/thunderTestnet.d.ts +20 -11
  352. package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -1
  353. package/_types/chains/definitions/vechain.d.ts +23 -13
  354. package/_types/chains/definitions/vechain.d.ts.map +1 -1
  355. package/_types/chains/definitions/wanchain.d.ts +16 -14
  356. package/_types/chains/definitions/wanchain.d.ts.map +1 -1
  357. package/_types/chains/definitions/wanchainTestnet.d.ts +16 -15
  358. package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -1
  359. package/_types/chains/definitions/xdc.d.ts +23 -13
  360. package/_types/chains/definitions/xdc.d.ts.map +1 -1
  361. package/_types/chains/definitions/xdcTestnet.d.ts +23 -13
  362. package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -1
  363. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +20 -11
  364. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
  365. package/_types/chains/definitions/zhejiang.d.ts +20 -11
  366. package/_types/chains/definitions/zhejiang.d.ts.map +1 -1
  367. package/_types/chains/definitions/zkSync.d.ts +24 -986
  368. package/_types/chains/definitions/zkSync.d.ts.map +1 -1
  369. package/_types/chains/definitions/zkSyncTestnet.d.ts +24 -987
  370. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
  371. package/_types/chains/definitions/zora.d.ts +21 -1013
  372. package/_types/chains/definitions/zora.d.ts.map +1 -1
  373. package/_types/chains/definitions/zoraSepolia.d.ts +23 -1016
  374. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  375. package/_types/chains/definitions/zoraTestnet.d.ts +21 -1014
  376. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  377. package/_types/errors/version.d.ts +1 -1
  378. package/_types/index.d.ts +1 -1
  379. package/_types/index.d.ts.map +1 -1
  380. package/_types/types/chain.d.ts +14 -17
  381. package/_types/types/chain.d.ts.map +1 -1
  382. package/_types/utils/chain/defineChain.d.ts +2 -2
  383. package/_types/utils/chain/defineChain.d.ts.map +1 -1
  384. package/chains/definitions/base.ts +19 -23
  385. package/chains/definitions/baseGoerli.ts +20 -24
  386. package/chains/definitions/baseSepolia.ts +23 -27
  387. package/chains/definitions/celo.ts +24 -28
  388. package/chains/definitions/celoAlfajores.ts +25 -29
  389. package/chains/definitions/celoCannoli.ts +25 -29
  390. package/chains/definitions/optimism.ts +19 -23
  391. package/chains/definitions/optimismGoerli.ts +20 -24
  392. package/chains/definitions/optimismSepolia.ts +20 -24
  393. package/chains/definitions/zkSync.ts +25 -29
  394. package/chains/definitions/zkSyncTestnet.ts +22 -26
  395. package/chains/definitions/zora.ts +22 -26
  396. package/chains/definitions/zoraSepolia.ts +28 -32
  397. package/chains/definitions/zoraTestnet.ts +25 -29
  398. package/errors/version.ts +1 -1
  399. package/index.ts +0 -1
  400. package/package.json +1 -1
  401. package/types/chain.ts +19 -25
  402. package/utils/chain/defineChain.ts +8 -16
  403. package/_cjs/utils/chain.js +0 -43
  404. package/_cjs/utils/chain.js.map +0 -1
  405. package/_esm/utils/chain.js +0 -37
  406. package/_esm/utils/chain.js.map +0 -1
  407. package/_types/utils/chain.d.ts +0 -18
  408. package/_types/utils/chain.d.ts.map +0 -1
  409. package/utils/chain.ts +0 -91
@@ -1,30 +1,31 @@
1
1
  export declare const celoCannoli: {
2
- readonly id: 17323;
3
- readonly name: "Cannoli";
4
- readonly nativeCurrency: {
5
- readonly decimals: 18;
6
- readonly name: "CELO";
7
- readonly symbol: "C-CELO";
8
- };
9
- readonly rpcUrls: {
10
- readonly default: {
11
- readonly http: readonly ["https://forno.cannoli.celo-testnet.org"];
12
- };
13
- };
14
- readonly blockExplorers: {
2
+ blockExplorers: {
15
3
  readonly default: {
16
4
  readonly name: "Celo Explorer";
17
5
  readonly url: "https://explorer.celo.org/cannoli";
18
6
  };
19
7
  };
20
- readonly contracts: {
8
+ contracts: {
21
9
  readonly multicall3: {
22
10
  readonly address: "0x5Acb0aa8BF4E8Ff0d882Ee187140713C12BF9718";
23
11
  readonly blockCreated: 87429;
24
12
  };
25
13
  };
26
- readonly testnet: true;
27
- formatters?: {
14
+ id: 17323;
15
+ name: "Cannoli";
16
+ nativeCurrency: {
17
+ readonly decimals: 18;
18
+ readonly name: "CELO";
19
+ readonly symbol: "C-CELO";
20
+ };
21
+ rpcUrls: {
22
+ readonly default: {
23
+ readonly http: readonly ["https://forno.cannoli.celo-testnet.org"];
24
+ };
25
+ };
26
+ sourceId?: number | undefined;
27
+ testnet: true;
28
+ formatters: {
28
29
  readonly block: {
29
30
  exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
30
31
  format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
@@ -901,1762 +902,10 @@ export declare const celoCannoli: {
901
902
  }) & {};
902
903
  type: "transactionRequest";
903
904
  };
904
- } | undefined;
905
- serializers?: import("../../index.js").ChainSerializers<{
906
- readonly block: {
907
- exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
908
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
909
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
910
- }>) => {
911
- baseFeePerGas: bigint | null;
912
- difficulty: bigint;
913
- extraData: `0x${string}`;
914
- gasLimit: bigint;
915
- gasUsed: bigint;
916
- hash: `0x${string}` | null;
917
- logsBloom: `0x${string}` | null;
918
- miner: `0x${string}`;
919
- mixHash: `0x${string}`;
920
- nonce: `0x${string}` | null;
921
- number: bigint | null;
922
- parentHash: `0x${string}`;
923
- receiptsRoot: `0x${string}`;
924
- sealFields: `0x${string}`[];
925
- sha3Uncles: `0x${string}`;
926
- size: bigint;
927
- stateRoot: `0x${string}`;
928
- timestamp: bigint;
929
- totalDifficulty: bigint | null;
930
- transactions: `0x${string}`[] | import("../utils.js").CeloTransaction[];
931
- transactionsRoot: `0x${string}`;
932
- uncles: `0x${string}`[];
933
- withdrawals?: import("../../index.js").Withdrawal[] | undefined;
934
- withdrawalsRoot?: `0x${string}` | undefined;
935
- randomness: {
936
- committed: `0x${string}`;
937
- revealed: `0x${string}`;
938
- };
939
- } & {
940
- nonce: never;
941
- difficulty: never;
942
- gasLimit: never;
943
- mixHash: never;
944
- uncles: never;
945
- };
946
- type: "block";
947
- };
948
- readonly transaction: {
949
- exclude: [] | undefined;
950
- format: (args: ({
951
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
952
- gas?: `0x${string}` | undefined;
953
- value?: `0x${string}` | undefined;
954
- gasPrice?: `0x${string}` | undefined;
955
- maxFeePerGas?: `0x${string}` | undefined;
956
- maxPriorityFeePerGas?: `0x${string}` | undefined;
957
- blockHash?: `0x${string}` | null | undefined;
958
- blockNumber?: `0x${string}` | null | undefined;
959
- from?: `0x${string}` | undefined;
960
- hash?: `0x${string}` | undefined;
961
- input?: `0x${string}` | undefined;
962
- nonce?: `0x${string}` | undefined;
963
- r?: `0x${string}` | undefined;
964
- s?: `0x${string}` | undefined;
965
- to?: `0x${string}` | null | undefined;
966
- transactionIndex?: `0x${string}` | null | undefined;
967
- v?: `0x${string}` | undefined;
968
- accessList?: undefined;
969
- chainId?: `0x${string}` | undefined;
970
- } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
971
- feeCurrency: `0x${string}` | null;
972
- gatewayFee: `0x${string}` | null;
973
- gatewayFeeRecipient: `0x${string}` | null;
974
- }) | ({
975
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
976
- gas?: `0x${string}` | undefined;
977
- value?: `0x${string}` | undefined;
978
- gasPrice?: `0x${string}` | undefined;
979
- maxFeePerGas?: `0x${string}` | undefined;
980
- maxPriorityFeePerGas?: `0x${string}` | undefined;
981
- blockHash?: `0x${string}` | null | undefined;
982
- blockNumber?: `0x${string}` | null | undefined;
983
- from?: `0x${string}` | undefined;
984
- hash?: `0x${string}` | undefined;
985
- input?: `0x${string}` | undefined;
986
- nonce?: `0x${string}` | undefined;
987
- r?: `0x${string}` | undefined;
988
- s?: `0x${string}` | undefined;
989
- to?: `0x${string}` | null | undefined;
990
- transactionIndex?: `0x${string}` | null | undefined;
991
- v?: `0x${string}` | undefined;
992
- accessList?: undefined;
993
- chainId?: `0x${string}` | undefined;
994
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
995
- feeCurrency: `0x${string}` | null;
996
- gatewayFee: `0x${string}` | null;
997
- gatewayFeeRecipient: `0x${string}` | null;
998
- type: "0x7c";
999
- }) | ({
1000
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1001
- gas?: `0x${string}` | undefined;
1002
- value?: `0x${string}` | undefined;
1003
- gasPrice?: `0x${string}` | undefined;
1004
- maxFeePerGas?: `0x${string}` | undefined;
1005
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1006
- blockHash?: `0x${string}` | null | undefined;
1007
- blockNumber?: `0x${string}` | null | undefined;
1008
- from?: `0x${string}` | undefined;
1009
- hash?: `0x${string}` | undefined;
1010
- input?: `0x${string}` | undefined;
1011
- nonce?: `0x${string}` | undefined;
1012
- r?: `0x${string}` | undefined;
1013
- s?: `0x${string}` | undefined;
1014
- to?: `0x${string}` | null | undefined;
1015
- transactionIndex?: `0x${string}` | null | undefined;
1016
- v?: `0x${string}` | undefined;
1017
- accessList?: undefined;
1018
- chainId?: `0x${string}` | undefined;
1019
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1020
- feeCurrency: `0x${string}` | null;
1021
- type: "0x7b";
1022
- }) | ({
1023
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1024
- gas?: `0x${string}` | undefined;
1025
- value?: `0x${string}` | undefined;
1026
- gasPrice?: `0x${string}` | undefined;
1027
- maxFeePerGas?: `0x${string}` | undefined;
1028
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1029
- blockHash?: `0x${string}` | null | undefined;
1030
- blockNumber?: `0x${string}` | null | undefined;
1031
- from?: `0x${string}` | undefined;
1032
- hash?: `0x${string}` | undefined;
1033
- input?: `0x${string}` | undefined;
1034
- nonce?: `0x${string}` | undefined;
1035
- r?: `0x${string}` | undefined;
1036
- s?: `0x${string}` | undefined;
1037
- to?: `0x${string}` | null | undefined;
1038
- transactionIndex?: `0x${string}` | null | undefined;
1039
- v?: `0x${string}` | undefined;
1040
- accessList?: import("../../index.js").AccessList | undefined;
1041
- chainId?: `0x${string}` | undefined;
1042
- } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1043
- feeCurrency: `0x${string}` | null;
1044
- gatewayFee: `0x${string}` | null;
1045
- gatewayFeeRecipient: `0x${string}` | null;
1046
- }) | ({
1047
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1048
- gas?: `0x${string}` | undefined;
1049
- value?: `0x${string}` | undefined;
1050
- gasPrice?: `0x${string}` | undefined;
1051
- maxFeePerGas?: `0x${string}` | undefined;
1052
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1053
- blockHash?: `0x${string}` | null | undefined;
1054
- blockNumber?: `0x${string}` | null | undefined;
1055
- from?: `0x${string}` | undefined;
1056
- hash?: `0x${string}` | undefined;
1057
- input?: `0x${string}` | undefined;
1058
- nonce?: `0x${string}` | undefined;
1059
- r?: `0x${string}` | undefined;
1060
- s?: `0x${string}` | undefined;
1061
- to?: `0x${string}` | null | undefined;
1062
- transactionIndex?: `0x${string}` | null | undefined;
1063
- v?: `0x${string}` | undefined;
1064
- accessList?: import("../../index.js").AccessList | undefined;
1065
- chainId?: `0x${string}` | undefined;
1066
- } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1067
- feeCurrency: `0x${string}` | null;
1068
- gatewayFee: `0x${string}` | null;
1069
- gatewayFeeRecipient: `0x${string}` | null;
1070
- }) | ({
1071
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1072
- gas?: `0x${string}` | undefined;
1073
- value?: `0x${string}` | undefined;
1074
- gasPrice?: `0x${string}` | undefined;
1075
- maxFeePerGas?: `0x${string}` | undefined;
1076
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1077
- blockHash?: `0x${string}` | null | undefined;
1078
- blockNumber?: `0x${string}` | null | undefined;
1079
- from?: `0x${string}` | undefined;
1080
- hash?: `0x${string}` | undefined;
1081
- input?: `0x${string}` | undefined;
1082
- nonce?: `0x${string}` | undefined;
1083
- r?: `0x${string}` | undefined;
1084
- s?: `0x${string}` | undefined;
1085
- to?: `0x${string}` | null | undefined;
1086
- transactionIndex?: `0x${string}` | null | undefined;
1087
- v?: `0x${string}` | undefined;
1088
- accessList?: import("../../index.js").AccessList | undefined;
1089
- chainId?: `0x${string}` | undefined;
1090
- } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1091
- feeCurrency: `0x${string}` | null;
1092
- gatewayFee: `0x${string}` | null;
1093
- gatewayFeeRecipient: `0x${string}` | null;
1094
- }) | ({
1095
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1096
- gas?: `0x${string}` | undefined;
1097
- value?: `0x${string}` | undefined;
1098
- gasPrice?: `0x${string}` | undefined;
1099
- maxFeePerGas?: `0x${string}` | undefined;
1100
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1101
- blockHash?: `0x${string}` | null | undefined;
1102
- blockNumber?: `0x${string}` | null | undefined;
1103
- from?: `0x${string}` | undefined;
1104
- hash?: `0x${string}` | undefined;
1105
- input?: `0x${string}` | undefined;
1106
- nonce?: `0x${string}` | undefined;
1107
- r?: `0x${string}` | undefined;
1108
- s?: `0x${string}` | undefined;
1109
- to?: `0x${string}` | null | undefined;
1110
- transactionIndex?: `0x${string}` | null | undefined;
1111
- v?: `0x${string}` | undefined;
1112
- accessList?: import("../../index.js").AccessList | undefined;
1113
- chainId?: `0x${string}` | undefined;
1114
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1115
- feeCurrency: `0x${string}` | null;
1116
- gatewayFee: `0x${string}` | null;
1117
- gatewayFeeRecipient: `0x${string}` | null;
1118
- type: "0x7c";
1119
- }) | ({
1120
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1121
- gas?: `0x${string}` | undefined;
1122
- value?: `0x${string}` | undefined;
1123
- gasPrice?: `0x${string}` | undefined;
1124
- maxFeePerGas?: `0x${string}` | undefined;
1125
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1126
- blockHash?: `0x${string}` | null | undefined;
1127
- blockNumber?: `0x${string}` | null | undefined;
1128
- from?: `0x${string}` | undefined;
1129
- hash?: `0x${string}` | undefined;
1130
- input?: `0x${string}` | undefined;
1131
- nonce?: `0x${string}` | undefined;
1132
- r?: `0x${string}` | undefined;
1133
- s?: `0x${string}` | undefined;
1134
- to?: `0x${string}` | null | undefined;
1135
- transactionIndex?: `0x${string}` | null | undefined;
1136
- v?: `0x${string}` | undefined;
1137
- accessList?: import("../../index.js").AccessList | undefined;
1138
- chainId?: `0x${string}` | undefined;
1139
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1140
- feeCurrency: `0x${string}` | null;
1141
- type: "0x7b";
1142
- }) | ({
1143
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1144
- gas?: `0x${string}` | undefined;
1145
- value?: `0x${string}` | undefined;
1146
- gasPrice?: `0x${string}` | undefined;
1147
- maxFeePerGas?: `0x${string}` | undefined;
1148
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1149
- blockHash?: `0x${string}` | null | undefined;
1150
- blockNumber?: `0x${string}` | null | undefined;
1151
- from?: `0x${string}` | undefined;
1152
- hash?: `0x${string}` | undefined;
1153
- input?: `0x${string}` | undefined;
1154
- nonce?: `0x${string}` | undefined;
1155
- r?: `0x${string}` | undefined;
1156
- s?: `0x${string}` | undefined;
1157
- to?: `0x${string}` | null | undefined;
1158
- transactionIndex?: `0x${string}` | null | undefined;
1159
- v?: `0x${string}` | undefined;
1160
- accessList?: import("../../index.js").AccessList | undefined;
1161
- chainId?: `0x${string}` | undefined;
1162
- } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1163
- feeCurrency: `0x${string}` | null;
1164
- gatewayFee: `0x${string}` | null;
1165
- gatewayFeeRecipient: `0x${string}` | null;
1166
- }) | ({
1167
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1168
- gas?: `0x${string}` | undefined;
1169
- value?: `0x${string}` | undefined;
1170
- gasPrice?: `0x${string}` | undefined;
1171
- maxFeePerGas?: `0x${string}` | undefined;
1172
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1173
- blockHash?: `0x${string}` | null | undefined;
1174
- blockNumber?: `0x${string}` | null | undefined;
1175
- from?: `0x${string}` | undefined;
1176
- hash?: `0x${string}` | undefined;
1177
- input?: `0x${string}` | undefined;
1178
- nonce?: `0x${string}` | undefined;
1179
- r?: `0x${string}` | undefined;
1180
- s?: `0x${string}` | undefined;
1181
- to?: `0x${string}` | null | undefined;
1182
- transactionIndex?: `0x${string}` | null | undefined;
1183
- v?: `0x${string}` | undefined;
1184
- accessList?: import("../../index.js").AccessList | undefined;
1185
- chainId?: `0x${string}` | undefined;
1186
- } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1187
- feeCurrency: `0x${string}` | null;
1188
- gatewayFee: `0x${string}` | null;
1189
- gatewayFeeRecipient: `0x${string}` | null;
1190
- }) | ({
1191
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1192
- gas?: `0x${string}` | undefined;
1193
- value?: `0x${string}` | undefined;
1194
- gasPrice?: `0x${string}` | undefined;
1195
- maxFeePerGas?: `0x${string}` | undefined;
1196
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1197
- blockHash?: `0x${string}` | null | undefined;
1198
- blockNumber?: `0x${string}` | null | undefined;
1199
- from?: `0x${string}` | undefined;
1200
- hash?: `0x${string}` | undefined;
1201
- input?: `0x${string}` | undefined;
1202
- nonce?: `0x${string}` | undefined;
1203
- r?: `0x${string}` | undefined;
1204
- s?: `0x${string}` | undefined;
1205
- to?: `0x${string}` | null | undefined;
1206
- transactionIndex?: `0x${string}` | null | undefined;
1207
- v?: `0x${string}` | undefined;
1208
- accessList?: import("../../index.js").AccessList | undefined;
1209
- chainId?: `0x${string}` | undefined;
1210
- } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1211
- feeCurrency: `0x${string}` | null;
1212
- gatewayFee: `0x${string}` | null;
1213
- gatewayFeeRecipient: `0x${string}` | null;
1214
- }) | ({
1215
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1216
- gas?: `0x${string}` | undefined;
1217
- value?: `0x${string}` | undefined;
1218
- gasPrice?: `0x${string}` | undefined;
1219
- maxFeePerGas?: `0x${string}` | undefined;
1220
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1221
- blockHash?: `0x${string}` | null | undefined;
1222
- blockNumber?: `0x${string}` | null | undefined;
1223
- from?: `0x${string}` | undefined;
1224
- hash?: `0x${string}` | undefined;
1225
- input?: `0x${string}` | undefined;
1226
- nonce?: `0x${string}` | undefined;
1227
- r?: `0x${string}` | undefined;
1228
- s?: `0x${string}` | undefined;
1229
- to?: `0x${string}` | null | undefined;
1230
- transactionIndex?: `0x${string}` | null | undefined;
1231
- v?: `0x${string}` | undefined;
1232
- accessList?: import("../../index.js").AccessList | undefined;
1233
- chainId?: `0x${string}` | undefined;
1234
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1235
- feeCurrency: `0x${string}` | null;
1236
- gatewayFee: `0x${string}` | null;
1237
- gatewayFeeRecipient: `0x${string}` | null;
1238
- type: "0x7c";
1239
- }) | ({
1240
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1241
- gas?: `0x${string}` | undefined;
1242
- value?: `0x${string}` | undefined;
1243
- gasPrice?: `0x${string}` | undefined;
1244
- maxFeePerGas?: `0x${string}` | undefined;
1245
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1246
- blockHash?: `0x${string}` | null | undefined;
1247
- blockNumber?: `0x${string}` | null | undefined;
1248
- from?: `0x${string}` | undefined;
1249
- hash?: `0x${string}` | undefined;
1250
- input?: `0x${string}` | undefined;
1251
- nonce?: `0x${string}` | undefined;
1252
- r?: `0x${string}` | undefined;
1253
- s?: `0x${string}` | undefined;
1254
- to?: `0x${string}` | null | undefined;
1255
- transactionIndex?: `0x${string}` | null | undefined;
1256
- v?: `0x${string}` | undefined;
1257
- accessList?: import("../../index.js").AccessList | undefined;
1258
- chainId?: `0x${string}` | undefined;
1259
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1260
- feeCurrency: `0x${string}` | null;
1261
- type: "0x7b";
1262
- })) => ({
1263
- blockHash: `0x${string}` | null;
1264
- blockNumber: bigint | null;
1265
- from: `0x${string}`;
1266
- gas: bigint;
1267
- hash: `0x${string}`;
1268
- input: `0x${string}`;
1269
- nonce: number;
1270
- r: `0x${string}`;
1271
- s: `0x${string}`;
1272
- to: `0x${string}` | null;
1273
- transactionIndex: number | null;
1274
- typeHex: `0x${string}` | null;
1275
- v: bigint;
1276
- value: bigint;
1277
- gasPrice: bigint;
1278
- maxFeePerGas?: undefined;
1279
- maxPriorityFeePerGas?: undefined;
1280
- accessList?: undefined;
1281
- chainId?: number | undefined;
1282
- type: "legacy";
1283
- feeCurrency: `0x${string}` | null;
1284
- gatewayFee: bigint | null;
1285
- gatewayFeeRecipient: `0x${string}` | null;
1286
- } | {
1287
- blockHash: `0x${string}` | null;
1288
- blockNumber: bigint | null;
1289
- from: `0x${string}`;
1290
- gas: bigint;
1291
- hash: `0x${string}`;
1292
- input: `0x${string}`;
1293
- nonce: number;
1294
- r: `0x${string}`;
1295
- s: `0x${string}`;
1296
- to: `0x${string}` | null;
1297
- transactionIndex: number | null;
1298
- typeHex: `0x${string}` | null;
1299
- v: bigint;
1300
- value: bigint;
1301
- gasPrice: undefined;
1302
- maxFeePerGas: bigint;
1303
- maxPriorityFeePerGas: bigint;
1304
- accessList?: undefined;
1305
- chainId?: number | undefined;
1306
- type: "cip42";
1307
- feeCurrency: `0x${string}` | null;
1308
- gatewayFee: bigint | null;
1309
- gatewayFeeRecipient: `0x${string}` | null;
1310
- } | {
1311
- blockHash: `0x${string}` | null;
1312
- blockNumber: bigint | null;
1313
- from: `0x${string}`;
1314
- gas: bigint;
1315
- hash: `0x${string}`;
1316
- input: `0x${string}`;
1317
- nonce: number;
1318
- r: `0x${string}`;
1319
- s: `0x${string}`;
1320
- to: `0x${string}` | null;
1321
- transactionIndex: number | null;
1322
- typeHex: `0x${string}` | null;
1323
- v: bigint;
1324
- value: bigint;
1325
- gasPrice: undefined;
1326
- maxFeePerGas: bigint;
1327
- maxPriorityFeePerGas: bigint;
1328
- accessList?: undefined;
1329
- chainId?: number | undefined;
1330
- type: "cip64";
1331
- feeCurrency: `0x${string}` | null;
1332
- gatewayFee?: undefined;
1333
- gatewayFeeRecipient?: undefined;
1334
- } | {
1335
- blockHash: `0x${string}` | null;
1336
- blockNumber: bigint | null;
1337
- from: `0x${string}`;
1338
- gas: bigint;
1339
- hash: `0x${string}`;
1340
- input: `0x${string}`;
1341
- nonce: number;
1342
- r: `0x${string}`;
1343
- s: `0x${string}`;
1344
- to: `0x${string}` | null;
1345
- transactionIndex: number | null;
1346
- typeHex: `0x${string}` | null;
1347
- v: bigint;
1348
- value: bigint;
1349
- gasPrice: bigint;
1350
- maxFeePerGas?: undefined;
1351
- maxPriorityFeePerGas?: undefined;
1352
- accessList: import("../../index.js").AccessList;
1353
- chainId: number;
1354
- type: "eip2930";
1355
- feeCurrency: `0x${string}` | null;
1356
- gatewayFee: bigint | null;
1357
- gatewayFeeRecipient: `0x${string}` | null;
1358
- } | {
1359
- blockHash: `0x${string}` | null;
1360
- blockNumber: bigint | null;
1361
- from: `0x${string}`;
1362
- gas: bigint;
1363
- hash: `0x${string}`;
1364
- input: `0x${string}`;
1365
- nonce: number;
1366
- r: `0x${string}`;
1367
- s: `0x${string}`;
1368
- to: `0x${string}` | null;
1369
- transactionIndex: number | null;
1370
- typeHex: `0x${string}` | null;
1371
- v: bigint;
1372
- value: bigint;
1373
- gasPrice: undefined;
1374
- maxFeePerGas: bigint;
1375
- maxPriorityFeePerGas: bigint;
1376
- accessList: import("../../index.js").AccessList;
1377
- chainId: number;
1378
- type: "eip1559";
1379
- feeCurrency: `0x${string}` | null;
1380
- gatewayFee: bigint | null;
1381
- gatewayFeeRecipient: `0x${string}` | null;
1382
- } | {
1383
- blockHash: `0x${string}` | null;
1384
- blockNumber: bigint | null;
1385
- from: `0x${string}`;
1386
- gas: bigint;
1387
- hash: `0x${string}`;
1388
- input: `0x${string}`;
1389
- nonce: number;
1390
- r: `0x${string}`;
1391
- s: `0x${string}`;
1392
- to: `0x${string}` | null;
1393
- transactionIndex: number | null;
1394
- typeHex: `0x${string}` | null;
1395
- v: bigint;
1396
- value: bigint;
1397
- gasPrice: undefined;
1398
- maxFeePerGas: bigint;
1399
- maxPriorityFeePerGas: bigint;
1400
- accessList: import("../../index.js").AccessList;
1401
- chainId: number;
1402
- type: "cip42";
1403
- feeCurrency: `0x${string}` | null;
1404
- gatewayFee: bigint | null;
1405
- gatewayFeeRecipient: `0x${string}` | null;
1406
- } | {
1407
- blockHash: `0x${string}` | null;
1408
- blockNumber: bigint | null;
1409
- from: `0x${string}`;
1410
- gas: bigint;
1411
- hash: `0x${string}`;
1412
- input: `0x${string}`;
1413
- nonce: number;
1414
- r: `0x${string}`;
1415
- s: `0x${string}`;
1416
- to: `0x${string}` | null;
1417
- transactionIndex: number | null;
1418
- typeHex: `0x${string}` | null;
1419
- v: bigint;
1420
- value: bigint;
1421
- gasPrice: undefined;
1422
- maxFeePerGas: bigint;
1423
- maxPriorityFeePerGas: bigint;
1424
- accessList: import("../../index.js").AccessList;
1425
- chainId: number;
1426
- type: "cip64";
1427
- feeCurrency: `0x${string}` | null;
1428
- gatewayFee?: undefined;
1429
- gatewayFeeRecipient?: undefined;
1430
- } | {
1431
- blockHash: `0x${string}` | null;
1432
- blockNumber: bigint | null;
1433
- from: `0x${string}`;
1434
- gas: bigint;
1435
- hash: `0x${string}`;
1436
- input: `0x${string}`;
1437
- nonce: number;
1438
- r: `0x${string}`;
1439
- s: `0x${string}`;
1440
- to: `0x${string}` | null;
1441
- transactionIndex: number | null;
1442
- typeHex: `0x${string}` | null;
1443
- v: bigint;
1444
- value: bigint;
1445
- gasPrice: bigint;
1446
- maxFeePerGas: undefined;
1447
- maxPriorityFeePerGas: undefined;
1448
- accessList: import("../../index.js").AccessList;
1449
- chainId: number;
1450
- type: "eip2930";
1451
- feeCurrency: `0x${string}` | null;
1452
- gatewayFee: bigint | null;
1453
- gatewayFeeRecipient: `0x${string}` | null;
1454
- } | {
1455
- blockHash: `0x${string}` | null;
1456
- blockNumber: bigint | null;
1457
- from: `0x${string}`;
1458
- gas: bigint;
1459
- hash: `0x${string}`;
1460
- input: `0x${string}`;
1461
- nonce: number;
1462
- r: `0x${string}`;
1463
- s: `0x${string}`;
1464
- to: `0x${string}` | null;
1465
- transactionIndex: number | null;
1466
- typeHex: `0x${string}` | null;
1467
- v: bigint;
1468
- value: bigint;
1469
- gasPrice?: undefined;
1470
- maxFeePerGas: bigint;
1471
- maxPriorityFeePerGas: bigint;
1472
- accessList: import("../../index.js").AccessList;
1473
- chainId: number;
1474
- type: "eip1559";
1475
- feeCurrency: `0x${string}` | null;
1476
- gatewayFee: bigint | null;
1477
- gatewayFeeRecipient: `0x${string}` | null;
1478
- } | {
1479
- blockHash: `0x${string}` | null;
1480
- blockNumber: bigint | null;
1481
- from: `0x${string}`;
1482
- gas: bigint;
1483
- hash: `0x${string}`;
1484
- input: `0x${string}`;
1485
- nonce: number;
1486
- r: `0x${string}`;
1487
- s: `0x${string}`;
1488
- to: `0x${string}` | null;
1489
- transactionIndex: number | null;
1490
- typeHex: `0x${string}` | null;
1491
- v: bigint;
1492
- value: bigint;
1493
- gasPrice?: undefined;
1494
- maxFeePerGas: bigint;
1495
- maxPriorityFeePerGas: bigint;
1496
- accessList: import("../../index.js").AccessList;
1497
- chainId: number;
1498
- type: "cip42";
1499
- feeCurrency: `0x${string}` | null;
1500
- gatewayFee: bigint | null;
1501
- gatewayFeeRecipient: `0x${string}` | null;
1502
- } | {
1503
- blockHash: `0x${string}` | null;
1504
- blockNumber: bigint | null;
1505
- from: `0x${string}`;
1506
- gas: bigint;
1507
- hash: `0x${string}`;
1508
- input: `0x${string}`;
1509
- nonce: number;
1510
- r: `0x${string}`;
1511
- s: `0x${string}`;
1512
- to: `0x${string}` | null;
1513
- transactionIndex: number | null;
1514
- typeHex: `0x${string}` | null;
1515
- v: bigint;
1516
- value: bigint;
1517
- gasPrice?: undefined;
1518
- maxFeePerGas: bigint;
1519
- maxPriorityFeePerGas: bigint;
1520
- accessList: import("../../index.js").AccessList;
1521
- chainId: number;
1522
- type: "cip64";
1523
- feeCurrency: `0x${string}` | null;
1524
- gatewayFee?: undefined;
1525
- gatewayFeeRecipient?: undefined;
1526
- }) & {};
1527
- type: "transaction";
1528
- };
1529
- readonly transactionReceipt: {
1530
- exclude: [] | undefined;
1531
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
1532
- blockHash: `0x${string}`;
1533
- blockNumber: bigint;
1534
- contractAddress: `0x${string}` | null;
1535
- cumulativeGasUsed: bigint;
1536
- effectiveGasPrice: bigint;
1537
- from: `0x${string}`;
1538
- gasUsed: bigint;
1539
- logs: import("../../index.js").Log<bigint, number, false>[];
1540
- logsBloom: `0x${string}`;
1541
- status: "success" | "reverted";
1542
- to: `0x${string}` | null;
1543
- transactionHash: `0x${string}`;
1544
- transactionIndex: number;
1545
- type: import("../../index.js").TransactionType;
1546
- feeCurrency: `0x${string}` | null;
1547
- gatewayFee: bigint | null;
1548
- gatewayFeeRecipient: `0x${string}` | null;
1549
- } & {};
1550
- type: "transactionReceipt";
1551
- };
1552
- readonly transactionRequest: {
1553
- exclude: [] | undefined;
1554
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").CeloTransactionRequest>) => ({
1555
- data?: `0x${string}` | undefined;
1556
- from: `0x${string}`;
1557
- gas?: `0x${string}` | undefined;
1558
- nonce?: `0x${string}` | undefined;
1559
- to?: `0x${string}` | null | undefined;
1560
- value?: `0x${string}` | undefined;
1561
- gasPrice?: `0x${string}` | undefined;
1562
- maxFeePerGas?: undefined;
1563
- maxPriorityFeePerGas?: undefined;
1564
- accessList?: undefined;
1565
- type?: "0x0" | undefined;
1566
- feeCurrency?: `0x${string}` | undefined;
1567
- gatewayFee?: `0x${string}` | undefined;
1568
- gatewayFeeRecipient?: `0x${string}` | undefined;
1569
- } | {
1570
- data?: `0x${string}` | undefined;
1571
- from: `0x${string}`;
1572
- gas?: `0x${string}` | undefined;
1573
- nonce?: `0x${string}` | undefined;
1574
- to?: `0x${string}` | null | undefined;
1575
- value?: `0x${string}` | undefined;
1576
- gasPrice?: `0x${string}` | undefined;
1577
- maxFeePerGas?: undefined;
1578
- maxPriorityFeePerGas?: undefined;
1579
- accessList?: import("../../index.js").AccessList | undefined;
1580
- type?: "0x1" | undefined;
1581
- feeCurrency?: `0x${string}` | undefined;
1582
- gatewayFee?: `0x${string}` | undefined;
1583
- gatewayFeeRecipient?: `0x${string}` | undefined;
1584
- } | {
1585
- data?: `0x${string}` | undefined;
1586
- from: `0x${string}`;
1587
- gas?: `0x${string}` | undefined;
1588
- nonce?: `0x${string}` | undefined;
1589
- to?: `0x${string}` | null | undefined;
1590
- value?: `0x${string}` | undefined;
1591
- gasPrice?: undefined;
1592
- maxFeePerGas?: `0x${string}` | undefined;
1593
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1594
- accessList?: import("../../index.js").AccessList | undefined;
1595
- type?: "0x2" | undefined;
1596
- feeCurrency?: `0x${string}` | undefined;
1597
- gatewayFee?: `0x${string}` | undefined;
1598
- gatewayFeeRecipient?: `0x${string}` | undefined;
1599
- } | {
1600
- data?: `0x${string}` | undefined;
1601
- from: `0x${string}`;
1602
- gas?: `0x${string}` | undefined;
1603
- nonce?: `0x${string}` | undefined;
1604
- to?: `0x${string}` | null | undefined;
1605
- value?: `0x${string}` | undefined;
1606
- gasPrice?: undefined;
1607
- maxFeePerGas?: `0x${string}` | undefined;
1608
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1609
- accessList?: import("../../index.js").AccessList | undefined;
1610
- type?: "0x7c" | undefined;
1611
- feeCurrency?: `0x${string}` | undefined;
1612
- gatewayFee?: `0x${string}` | undefined;
1613
- gatewayFeeRecipient?: `0x${string}` | undefined;
1614
- } | {
1615
- data?: `0x${string}` | undefined;
1616
- from: `0x${string}`;
1617
- gas?: `0x${string}` | undefined;
1618
- nonce?: `0x${string}` | undefined;
1619
- to?: `0x${string}` | null | undefined;
1620
- value?: `0x${string}` | undefined;
1621
- gasPrice?: undefined;
1622
- maxFeePerGas?: `0x${string}` | undefined;
1623
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1624
- accessList?: import("../../index.js").AccessList | undefined;
1625
- type?: "0x7b" | undefined;
1626
- feeCurrency?: `0x${string}` | undefined;
1627
- gatewayFee?: undefined;
1628
- gatewayFeeRecipient?: undefined;
1629
- } | {
1630
- data?: `0x${string}` | undefined;
1631
- from: `0x${string}`;
1632
- gas?: `0x${string}` | undefined;
1633
- nonce?: `0x${string}` | undefined;
1634
- to?: `0x${string}` | null | undefined;
1635
- value?: `0x${string}` | undefined;
1636
- gasPrice?: `0x${string}` | undefined;
1637
- maxFeePerGas?: undefined;
1638
- maxPriorityFeePerGas?: undefined;
1639
- accessList?: undefined;
1640
- type?: "0x0" | undefined;
1641
- feeCurrency?: `0x${string}` | undefined;
1642
- gatewayFee?: `0x${string}` | undefined;
1643
- gatewayFeeRecipient?: `0x${string}` | undefined;
1644
- } | {
1645
- data?: `0x${string}` | undefined;
1646
- from: `0x${string}`;
1647
- gas?: `0x${string}` | undefined;
1648
- nonce?: `0x${string}` | undefined;
1649
- to?: `0x${string}` | null | undefined;
1650
- value?: `0x${string}` | undefined;
1651
- gasPrice?: `0x${string}` | undefined;
1652
- maxFeePerGas?: undefined;
1653
- maxPriorityFeePerGas?: undefined;
1654
- accessList?: import("../../index.js").AccessList | undefined;
1655
- type?: "0x1" | undefined;
1656
- feeCurrency?: `0x${string}` | undefined;
1657
- gatewayFee?: `0x${string}` | undefined;
1658
- gatewayFeeRecipient?: `0x${string}` | undefined;
1659
- } | {
1660
- data?: `0x${string}` | undefined;
1661
- from: `0x${string}`;
1662
- gas?: `0x${string}` | undefined;
1663
- nonce?: `0x${string}` | undefined;
1664
- to?: `0x${string}` | null | undefined;
1665
- value?: `0x${string}` | undefined;
1666
- gasPrice?: undefined;
1667
- maxFeePerGas?: `0x${string}` | undefined;
1668
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1669
- accessList?: import("../../index.js").AccessList | undefined;
1670
- type?: "0x2" | undefined;
1671
- feeCurrency?: `0x${string}` | undefined;
1672
- gatewayFee?: `0x${string}` | undefined;
1673
- gatewayFeeRecipient?: `0x${string}` | undefined;
1674
- } | {
1675
- data?: `0x${string}` | undefined;
1676
- from: `0x${string}`;
1677
- gas?: `0x${string}` | undefined;
1678
- nonce?: `0x${string}` | undefined;
1679
- to?: `0x${string}` | null | undefined;
1680
- value?: `0x${string}` | undefined;
1681
- gasPrice?: undefined;
1682
- maxFeePerGas?: `0x${string}` | undefined;
1683
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1684
- accessList?: import("../../index.js").AccessList | undefined;
1685
- type?: "0x7c" | undefined;
1686
- feeCurrency?: `0x${string}` | undefined;
1687
- gatewayFee?: `0x${string}` | undefined;
1688
- gatewayFeeRecipient?: `0x${string}` | undefined;
1689
- } | {
1690
- data?: `0x${string}` | undefined;
1691
- from: `0x${string}`;
1692
- gas?: `0x${string}` | undefined;
1693
- nonce?: `0x${string}` | undefined;
1694
- to?: `0x${string}` | null | undefined;
1695
- value?: `0x${string}` | undefined;
1696
- gasPrice?: undefined;
1697
- maxFeePerGas?: `0x${string}` | undefined;
1698
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1699
- accessList?: import("../../index.js").AccessList | undefined;
1700
- type?: "0x7b" | undefined;
1701
- feeCurrency?: `0x${string}` | undefined;
1702
- gatewayFee?: undefined;
1703
- gatewayFeeRecipient?: undefined;
1704
- } | {
1705
- data?: `0x${string}` | undefined;
1706
- from: `0x${string}`;
1707
- gas?: `0x${string}` | undefined;
1708
- nonce?: `0x${string}` | undefined;
1709
- to?: `0x${string}` | null | undefined;
1710
- value?: `0x${string}` | undefined;
1711
- gasPrice?: `0x${string}` | undefined;
1712
- maxFeePerGas?: undefined;
1713
- maxPriorityFeePerGas?: undefined;
1714
- accessList?: undefined;
1715
- type?: "0x0" | undefined;
1716
- feeCurrency?: `0x${string}` | undefined;
1717
- gatewayFee?: `0x${string}` | undefined;
1718
- gatewayFeeRecipient?: `0x${string}` | undefined;
1719
- } | {
1720
- data?: `0x${string}` | undefined;
1721
- from: `0x${string}`;
1722
- gas?: `0x${string}` | undefined;
1723
- nonce?: `0x${string}` | undefined;
1724
- to?: `0x${string}` | null | undefined;
1725
- value?: `0x${string}` | undefined;
1726
- gasPrice?: `0x${string}` | undefined;
1727
- maxFeePerGas?: undefined;
1728
- maxPriorityFeePerGas?: undefined;
1729
- accessList?: import("../../index.js").AccessList | undefined;
1730
- type?: "0x1" | undefined;
1731
- feeCurrency?: `0x${string}` | undefined;
1732
- gatewayFee?: `0x${string}` | undefined;
1733
- gatewayFeeRecipient?: `0x${string}` | undefined;
1734
- } | {
1735
- data?: `0x${string}` | undefined;
1736
- from: `0x${string}`;
1737
- gas?: `0x${string}` | undefined;
1738
- nonce?: `0x${string}` | undefined;
1739
- to?: `0x${string}` | null | undefined;
1740
- value?: `0x${string}` | undefined;
1741
- gasPrice?: undefined;
1742
- maxFeePerGas?: `0x${string}` | undefined;
1743
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1744
- accessList?: import("../../index.js").AccessList | undefined;
1745
- type?: "0x2" | undefined;
1746
- feeCurrency?: `0x${string}` | undefined;
1747
- gatewayFee?: `0x${string}` | undefined;
1748
- gatewayFeeRecipient?: `0x${string}` | undefined;
1749
- } | {
1750
- data?: `0x${string}` | undefined;
1751
- from: `0x${string}`;
1752
- gas?: `0x${string}` | undefined;
1753
- nonce?: `0x${string}` | undefined;
1754
- to?: `0x${string}` | null | undefined;
1755
- value?: `0x${string}` | undefined;
1756
- gasPrice?: undefined;
1757
- maxFeePerGas?: `0x${string}` | undefined;
1758
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1759
- accessList?: import("../../index.js").AccessList | undefined;
1760
- type?: "0x7c" | undefined;
1761
- feeCurrency?: `0x${string}` | undefined;
1762
- gatewayFee?: `0x${string}` | undefined;
1763
- gatewayFeeRecipient?: `0x${string}` | undefined;
1764
- } | {
1765
- data?: `0x${string}` | undefined;
1766
- from: `0x${string}`;
1767
- gas?: `0x${string}` | undefined;
1768
- nonce?: `0x${string}` | undefined;
1769
- to?: `0x${string}` | null | undefined;
1770
- value?: `0x${string}` | undefined;
1771
- gasPrice?: undefined;
1772
- maxFeePerGas?: `0x${string}` | undefined;
1773
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1774
- accessList?: import("../../index.js").AccessList | undefined;
1775
- type?: "0x7b" | undefined;
1776
- feeCurrency?: `0x${string}` | undefined;
1777
- gatewayFee?: undefined;
1778
- gatewayFeeRecipient?: undefined;
1779
- }) & {};
1780
- type: "transactionRequest";
1781
- };
1782
- }> | undefined;
1783
- fees?: import("../../index.js").ChainFees<{
1784
- readonly block: {
1785
- exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
1786
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").CeloBlockOverrides & {
1787
- transactions: `0x${string}`[] | import("../utils.js").CeloRpcTransaction[];
1788
- }>) => {
1789
- baseFeePerGas: bigint | null;
1790
- difficulty: bigint;
1791
- extraData: `0x${string}`;
1792
- gasLimit: bigint;
1793
- gasUsed: bigint;
1794
- hash: `0x${string}` | null;
1795
- logsBloom: `0x${string}` | null;
1796
- miner: `0x${string}`;
1797
- mixHash: `0x${string}`;
1798
- nonce: `0x${string}` | null;
1799
- number: bigint | null;
1800
- parentHash: `0x${string}`;
1801
- receiptsRoot: `0x${string}`;
1802
- sealFields: `0x${string}`[];
1803
- sha3Uncles: `0x${string}`;
1804
- size: bigint;
1805
- stateRoot: `0x${string}`;
1806
- timestamp: bigint;
1807
- totalDifficulty: bigint | null;
1808
- transactions: `0x${string}`[] | import("../utils.js").CeloTransaction[];
1809
- transactionsRoot: `0x${string}`;
1810
- uncles: `0x${string}`[];
1811
- withdrawals?: import("../../index.js").Withdrawal[] | undefined;
1812
- withdrawalsRoot?: `0x${string}` | undefined;
1813
- randomness: {
1814
- committed: `0x${string}`;
1815
- revealed: `0x${string}`;
1816
- };
1817
- } & {
1818
- nonce: never;
1819
- difficulty: never;
1820
- gasLimit: never;
1821
- mixHash: never;
1822
- uncles: never;
1823
- };
1824
- type: "block";
1825
- };
1826
- readonly transaction: {
1827
- exclude: [] | undefined;
1828
- format: (args: ({
1829
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1830
- gas?: `0x${string}` | undefined;
1831
- value?: `0x${string}` | undefined;
1832
- gasPrice?: `0x${string}` | undefined;
1833
- maxFeePerGas?: `0x${string}` | undefined;
1834
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1835
- blockHash?: `0x${string}` | null | undefined;
1836
- blockNumber?: `0x${string}` | null | undefined;
1837
- from?: `0x${string}` | undefined;
1838
- hash?: `0x${string}` | undefined;
1839
- input?: `0x${string}` | undefined;
1840
- nonce?: `0x${string}` | undefined;
1841
- r?: `0x${string}` | undefined;
1842
- s?: `0x${string}` | undefined;
1843
- to?: `0x${string}` | null | undefined;
1844
- transactionIndex?: `0x${string}` | null | undefined;
1845
- v?: `0x${string}` | undefined;
1846
- accessList?: undefined;
1847
- chainId?: `0x${string}` | undefined;
1848
- } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1849
- feeCurrency: `0x${string}` | null;
1850
- gatewayFee: `0x${string}` | null;
1851
- gatewayFeeRecipient: `0x${string}` | null;
1852
- }) | ({
1853
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1854
- gas?: `0x${string}` | undefined;
1855
- value?: `0x${string}` | undefined;
1856
- gasPrice?: `0x${string}` | undefined;
1857
- maxFeePerGas?: `0x${string}` | undefined;
1858
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1859
- blockHash?: `0x${string}` | null | undefined;
1860
- blockNumber?: `0x${string}` | null | undefined;
1861
- from?: `0x${string}` | undefined;
1862
- hash?: `0x${string}` | undefined;
1863
- input?: `0x${string}` | undefined;
1864
- nonce?: `0x${string}` | undefined;
1865
- r?: `0x${string}` | undefined;
1866
- s?: `0x${string}` | undefined;
1867
- to?: `0x${string}` | null | undefined;
1868
- transactionIndex?: `0x${string}` | null | undefined;
1869
- v?: `0x${string}` | undefined;
1870
- accessList?: undefined;
1871
- chainId?: `0x${string}` | undefined;
1872
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1873
- feeCurrency: `0x${string}` | null;
1874
- gatewayFee: `0x${string}` | null;
1875
- gatewayFeeRecipient: `0x${string}` | null;
1876
- type: "0x7c";
1877
- }) | ({
1878
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1879
- gas?: `0x${string}` | undefined;
1880
- value?: `0x${string}` | undefined;
1881
- gasPrice?: `0x${string}` | undefined;
1882
- maxFeePerGas?: `0x${string}` | undefined;
1883
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1884
- blockHash?: `0x${string}` | null | undefined;
1885
- blockNumber?: `0x${string}` | null | undefined;
1886
- from?: `0x${string}` | undefined;
1887
- hash?: `0x${string}` | undefined;
1888
- input?: `0x${string}` | undefined;
1889
- nonce?: `0x${string}` | undefined;
1890
- r?: `0x${string}` | undefined;
1891
- s?: `0x${string}` | undefined;
1892
- to?: `0x${string}` | null | undefined;
1893
- transactionIndex?: `0x${string}` | null | undefined;
1894
- v?: `0x${string}` | undefined;
1895
- accessList?: undefined;
1896
- chainId?: `0x${string}` | undefined;
1897
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1898
- feeCurrency: `0x${string}` | null;
1899
- type: "0x7b";
1900
- }) | ({
1901
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1902
- gas?: `0x${string}` | undefined;
1903
- value?: `0x${string}` | undefined;
1904
- gasPrice?: `0x${string}` | undefined;
1905
- maxFeePerGas?: `0x${string}` | undefined;
1906
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1907
- blockHash?: `0x${string}` | null | undefined;
1908
- blockNumber?: `0x${string}` | null | undefined;
1909
- from?: `0x${string}` | undefined;
1910
- hash?: `0x${string}` | undefined;
1911
- input?: `0x${string}` | undefined;
1912
- nonce?: `0x${string}` | undefined;
1913
- r?: `0x${string}` | undefined;
1914
- s?: `0x${string}` | undefined;
1915
- to?: `0x${string}` | null | undefined;
1916
- transactionIndex?: `0x${string}` | null | undefined;
1917
- v?: `0x${string}` | undefined;
1918
- accessList?: import("../../index.js").AccessList | undefined;
1919
- chainId?: `0x${string}` | undefined;
1920
- } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1921
- feeCurrency: `0x${string}` | null;
1922
- gatewayFee: `0x${string}` | null;
1923
- gatewayFeeRecipient: `0x${string}` | null;
1924
- }) | ({
1925
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1926
- gas?: `0x${string}` | undefined;
1927
- value?: `0x${string}` | undefined;
1928
- gasPrice?: `0x${string}` | undefined;
1929
- maxFeePerGas?: `0x${string}` | undefined;
1930
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1931
- blockHash?: `0x${string}` | null | undefined;
1932
- blockNumber?: `0x${string}` | null | undefined;
1933
- from?: `0x${string}` | undefined;
1934
- hash?: `0x${string}` | undefined;
1935
- input?: `0x${string}` | undefined;
1936
- nonce?: `0x${string}` | undefined;
1937
- r?: `0x${string}` | undefined;
1938
- s?: `0x${string}` | undefined;
1939
- to?: `0x${string}` | null | undefined;
1940
- transactionIndex?: `0x${string}` | null | undefined;
1941
- v?: `0x${string}` | undefined;
1942
- accessList?: import("../../index.js").AccessList | undefined;
1943
- chainId?: `0x${string}` | undefined;
1944
- } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1945
- feeCurrency: `0x${string}` | null;
1946
- gatewayFee: `0x${string}` | null;
1947
- gatewayFeeRecipient: `0x${string}` | null;
1948
- }) | ({
1949
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1950
- gas?: `0x${string}` | undefined;
1951
- value?: `0x${string}` | undefined;
1952
- gasPrice?: `0x${string}` | undefined;
1953
- maxFeePerGas?: `0x${string}` | undefined;
1954
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1955
- blockHash?: `0x${string}` | null | undefined;
1956
- blockNumber?: `0x${string}` | null | undefined;
1957
- from?: `0x${string}` | undefined;
1958
- hash?: `0x${string}` | undefined;
1959
- input?: `0x${string}` | undefined;
1960
- nonce?: `0x${string}` | undefined;
1961
- r?: `0x${string}` | undefined;
1962
- s?: `0x${string}` | undefined;
1963
- to?: `0x${string}` | null | undefined;
1964
- transactionIndex?: `0x${string}` | null | undefined;
1965
- v?: `0x${string}` | undefined;
1966
- accessList?: import("../../index.js").AccessList | undefined;
1967
- chainId?: `0x${string}` | undefined;
1968
- } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1969
- feeCurrency: `0x${string}` | null;
1970
- gatewayFee: `0x${string}` | null;
1971
- gatewayFeeRecipient: `0x${string}` | null;
1972
- }) | ({
1973
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1974
- gas?: `0x${string}` | undefined;
1975
- value?: `0x${string}` | undefined;
1976
- gasPrice?: `0x${string}` | undefined;
1977
- maxFeePerGas?: `0x${string}` | undefined;
1978
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1979
- blockHash?: `0x${string}` | null | undefined;
1980
- blockNumber?: `0x${string}` | null | undefined;
1981
- from?: `0x${string}` | undefined;
1982
- hash?: `0x${string}` | undefined;
1983
- input?: `0x${string}` | undefined;
1984
- nonce?: `0x${string}` | undefined;
1985
- r?: `0x${string}` | undefined;
1986
- s?: `0x${string}` | undefined;
1987
- to?: `0x${string}` | null | undefined;
1988
- transactionIndex?: `0x${string}` | null | undefined;
1989
- v?: `0x${string}` | undefined;
1990
- accessList?: import("../../index.js").AccessList | undefined;
1991
- chainId?: `0x${string}` | undefined;
1992
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
1993
- feeCurrency: `0x${string}` | null;
1994
- gatewayFee: `0x${string}` | null;
1995
- gatewayFeeRecipient: `0x${string}` | null;
1996
- type: "0x7c";
1997
- }) | ({
1998
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
1999
- gas?: `0x${string}` | undefined;
2000
- value?: `0x${string}` | undefined;
2001
- gasPrice?: `0x${string}` | undefined;
2002
- maxFeePerGas?: `0x${string}` | undefined;
2003
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2004
- blockHash?: `0x${string}` | null | undefined;
2005
- blockNumber?: `0x${string}` | null | undefined;
2006
- from?: `0x${string}` | undefined;
2007
- hash?: `0x${string}` | undefined;
2008
- input?: `0x${string}` | undefined;
2009
- nonce?: `0x${string}` | undefined;
2010
- r?: `0x${string}` | undefined;
2011
- s?: `0x${string}` | undefined;
2012
- to?: `0x${string}` | null | undefined;
2013
- transactionIndex?: `0x${string}` | null | undefined;
2014
- v?: `0x${string}` | undefined;
2015
- accessList?: import("../../index.js").AccessList | undefined;
2016
- chainId?: `0x${string}` | undefined;
2017
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
2018
- feeCurrency: `0x${string}` | null;
2019
- type: "0x7b";
2020
- }) | ({
2021
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
2022
- gas?: `0x${string}` | undefined;
2023
- value?: `0x${string}` | undefined;
2024
- gasPrice?: `0x${string}` | undefined;
2025
- maxFeePerGas?: `0x${string}` | undefined;
2026
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2027
- blockHash?: `0x${string}` | null | undefined;
2028
- blockNumber?: `0x${string}` | null | undefined;
2029
- from?: `0x${string}` | undefined;
2030
- hash?: `0x${string}` | undefined;
2031
- input?: `0x${string}` | undefined;
2032
- nonce?: `0x${string}` | undefined;
2033
- r?: `0x${string}` | undefined;
2034
- s?: `0x${string}` | undefined;
2035
- to?: `0x${string}` | null | undefined;
2036
- transactionIndex?: `0x${string}` | null | undefined;
2037
- v?: `0x${string}` | undefined;
2038
- accessList?: import("../../index.js").AccessList | undefined;
2039
- chainId?: `0x${string}` | undefined;
2040
- } & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
2041
- feeCurrency: `0x${string}` | null;
2042
- gatewayFee: `0x${string}` | null;
2043
- gatewayFeeRecipient: `0x${string}` | null;
2044
- }) | ({
2045
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
2046
- gas?: `0x${string}` | undefined;
2047
- value?: `0x${string}` | undefined;
2048
- gasPrice?: `0x${string}` | undefined;
2049
- maxFeePerGas?: `0x${string}` | undefined;
2050
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2051
- blockHash?: `0x${string}` | null | undefined;
2052
- blockNumber?: `0x${string}` | null | undefined;
2053
- from?: `0x${string}` | undefined;
2054
- hash?: `0x${string}` | undefined;
2055
- input?: `0x${string}` | undefined;
2056
- nonce?: `0x${string}` | undefined;
2057
- r?: `0x${string}` | undefined;
2058
- s?: `0x${string}` | undefined;
2059
- to?: `0x${string}` | null | undefined;
2060
- transactionIndex?: `0x${string}` | null | undefined;
2061
- v?: `0x${string}` | undefined;
2062
- accessList?: import("../../index.js").AccessList | undefined;
2063
- chainId?: `0x${string}` | undefined;
2064
- } & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
2065
- feeCurrency: `0x${string}` | null;
2066
- gatewayFee: `0x${string}` | null;
2067
- gatewayFeeRecipient: `0x${string}` | null;
2068
- }) | ({
2069
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
2070
- gas?: `0x${string}` | undefined;
2071
- value?: `0x${string}` | undefined;
2072
- gasPrice?: `0x${string}` | undefined;
2073
- maxFeePerGas?: `0x${string}` | undefined;
2074
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2075
- blockHash?: `0x${string}` | null | undefined;
2076
- blockNumber?: `0x${string}` | null | undefined;
2077
- from?: `0x${string}` | undefined;
2078
- hash?: `0x${string}` | undefined;
2079
- input?: `0x${string}` | undefined;
2080
- nonce?: `0x${string}` | undefined;
2081
- r?: `0x${string}` | undefined;
2082
- s?: `0x${string}` | undefined;
2083
- to?: `0x${string}` | null | undefined;
2084
- transactionIndex?: `0x${string}` | null | undefined;
2085
- v?: `0x${string}` | undefined;
2086
- accessList?: import("../../index.js").AccessList | undefined;
2087
- chainId?: `0x${string}` | undefined;
2088
- } & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
2089
- feeCurrency: `0x${string}` | null;
2090
- gatewayFee: `0x${string}` | null;
2091
- gatewayFeeRecipient: `0x${string}` | null;
2092
- }) | ({
2093
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
2094
- gas?: `0x${string}` | undefined;
2095
- value?: `0x${string}` | undefined;
2096
- gasPrice?: `0x${string}` | undefined;
2097
- maxFeePerGas?: `0x${string}` | undefined;
2098
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2099
- blockHash?: `0x${string}` | null | undefined;
2100
- blockNumber?: `0x${string}` | null | undefined;
2101
- from?: `0x${string}` | undefined;
2102
- hash?: `0x${string}` | undefined;
2103
- input?: `0x${string}` | undefined;
2104
- nonce?: `0x${string}` | undefined;
2105
- r?: `0x${string}` | undefined;
2106
- s?: `0x${string}` | undefined;
2107
- to?: `0x${string}` | null | undefined;
2108
- transactionIndex?: `0x${string}` | null | undefined;
2109
- v?: `0x${string}` | undefined;
2110
- accessList?: import("../../index.js").AccessList | undefined;
2111
- chainId?: `0x${string}` | undefined;
2112
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
2113
- feeCurrency: `0x${string}` | null;
2114
- gatewayFee: `0x${string}` | null;
2115
- gatewayFeeRecipient: `0x${string}` | null;
2116
- type: "0x7c";
2117
- }) | ({
2118
- type?: "0x0" | "0x1" | "0x2" | "0x7c" | "0x7b" | undefined;
2119
- gas?: `0x${string}` | undefined;
2120
- value?: `0x${string}` | undefined;
2121
- gasPrice?: `0x${string}` | undefined;
2122
- maxFeePerGas?: `0x${string}` | undefined;
2123
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2124
- blockHash?: `0x${string}` | null | undefined;
2125
- blockNumber?: `0x${string}` | null | undefined;
2126
- from?: `0x${string}` | undefined;
2127
- hash?: `0x${string}` | undefined;
2128
- input?: `0x${string}` | undefined;
2129
- nonce?: `0x${string}` | undefined;
2130
- r?: `0x${string}` | undefined;
2131
- s?: `0x${string}` | undefined;
2132
- to?: `0x${string}` | null | undefined;
2133
- transactionIndex?: `0x${string}` | null | undefined;
2134
- v?: `0x${string}` | undefined;
2135
- accessList?: import("../../index.js").AccessList | undefined;
2136
- chainId?: `0x${string}` | undefined;
2137
- } & import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
2138
- feeCurrency: `0x${string}` | null;
2139
- type: "0x7b";
2140
- })) => ({
2141
- blockHash: `0x${string}` | null;
2142
- blockNumber: bigint | null;
2143
- from: `0x${string}`;
2144
- gas: bigint;
2145
- hash: `0x${string}`;
2146
- input: `0x${string}`;
2147
- nonce: number;
2148
- r: `0x${string}`;
2149
- s: `0x${string}`;
2150
- to: `0x${string}` | null;
2151
- transactionIndex: number | null;
2152
- typeHex: `0x${string}` | null;
2153
- v: bigint;
2154
- value: bigint;
2155
- gasPrice: bigint;
2156
- maxFeePerGas?: undefined;
2157
- maxPriorityFeePerGas?: undefined;
2158
- accessList?: undefined;
2159
- chainId?: number | undefined;
2160
- type: "legacy";
2161
- feeCurrency: `0x${string}` | null;
2162
- gatewayFee: bigint | null;
2163
- gatewayFeeRecipient: `0x${string}` | null;
2164
- } | {
2165
- blockHash: `0x${string}` | null;
2166
- blockNumber: bigint | null;
2167
- from: `0x${string}`;
2168
- gas: bigint;
2169
- hash: `0x${string}`;
2170
- input: `0x${string}`;
2171
- nonce: number;
2172
- r: `0x${string}`;
2173
- s: `0x${string}`;
2174
- to: `0x${string}` | null;
2175
- transactionIndex: number | null;
2176
- typeHex: `0x${string}` | null;
2177
- v: bigint;
2178
- value: bigint;
2179
- gasPrice: undefined;
2180
- maxFeePerGas: bigint;
2181
- maxPriorityFeePerGas: bigint;
2182
- accessList?: undefined;
2183
- chainId?: number | undefined;
2184
- type: "cip42";
2185
- feeCurrency: `0x${string}` | null;
2186
- gatewayFee: bigint | null;
2187
- gatewayFeeRecipient: `0x${string}` | null;
2188
- } | {
2189
- blockHash: `0x${string}` | null;
2190
- blockNumber: bigint | null;
2191
- from: `0x${string}`;
2192
- gas: bigint;
2193
- hash: `0x${string}`;
2194
- input: `0x${string}`;
2195
- nonce: number;
2196
- r: `0x${string}`;
2197
- s: `0x${string}`;
2198
- to: `0x${string}` | null;
2199
- transactionIndex: number | null;
2200
- typeHex: `0x${string}` | null;
2201
- v: bigint;
2202
- value: bigint;
2203
- gasPrice: undefined;
2204
- maxFeePerGas: bigint;
2205
- maxPriorityFeePerGas: bigint;
2206
- accessList?: undefined;
2207
- chainId?: number | undefined;
2208
- type: "cip64";
2209
- feeCurrency: `0x${string}` | null;
2210
- gatewayFee?: undefined;
2211
- gatewayFeeRecipient?: undefined;
2212
- } | {
2213
- blockHash: `0x${string}` | null;
2214
- blockNumber: bigint | null;
2215
- from: `0x${string}`;
2216
- gas: bigint;
2217
- hash: `0x${string}`;
2218
- input: `0x${string}`;
2219
- nonce: number;
2220
- r: `0x${string}`;
2221
- s: `0x${string}`;
2222
- to: `0x${string}` | null;
2223
- transactionIndex: number | null;
2224
- typeHex: `0x${string}` | null;
2225
- v: bigint;
2226
- value: bigint;
2227
- gasPrice: bigint;
2228
- maxFeePerGas?: undefined;
2229
- maxPriorityFeePerGas?: undefined;
2230
- accessList: import("../../index.js").AccessList;
2231
- chainId: number;
2232
- type: "eip2930";
2233
- feeCurrency: `0x${string}` | null;
2234
- gatewayFee: bigint | null;
2235
- gatewayFeeRecipient: `0x${string}` | null;
2236
- } | {
2237
- blockHash: `0x${string}` | null;
2238
- blockNumber: bigint | null;
2239
- from: `0x${string}`;
2240
- gas: bigint;
2241
- hash: `0x${string}`;
2242
- input: `0x${string}`;
2243
- nonce: number;
2244
- r: `0x${string}`;
2245
- s: `0x${string}`;
2246
- to: `0x${string}` | null;
2247
- transactionIndex: number | null;
2248
- typeHex: `0x${string}` | null;
2249
- v: bigint;
2250
- value: bigint;
2251
- gasPrice: undefined;
2252
- maxFeePerGas: bigint;
2253
- maxPriorityFeePerGas: bigint;
2254
- accessList: import("../../index.js").AccessList;
2255
- chainId: number;
2256
- type: "eip1559";
2257
- feeCurrency: `0x${string}` | null;
2258
- gatewayFee: bigint | null;
2259
- gatewayFeeRecipient: `0x${string}` | null;
2260
- } | {
2261
- blockHash: `0x${string}` | null;
2262
- blockNumber: bigint | null;
2263
- from: `0x${string}`;
2264
- gas: bigint;
2265
- hash: `0x${string}`;
2266
- input: `0x${string}`;
2267
- nonce: number;
2268
- r: `0x${string}`;
2269
- s: `0x${string}`;
2270
- to: `0x${string}` | null;
2271
- transactionIndex: number | null;
2272
- typeHex: `0x${string}` | null;
2273
- v: bigint;
2274
- value: bigint;
2275
- gasPrice: undefined;
2276
- maxFeePerGas: bigint;
2277
- maxPriorityFeePerGas: bigint;
2278
- accessList: import("../../index.js").AccessList;
2279
- chainId: number;
2280
- type: "cip42";
2281
- feeCurrency: `0x${string}` | null;
2282
- gatewayFee: bigint | null;
2283
- gatewayFeeRecipient: `0x${string}` | null;
2284
- } | {
2285
- blockHash: `0x${string}` | null;
2286
- blockNumber: bigint | null;
2287
- from: `0x${string}`;
2288
- gas: bigint;
2289
- hash: `0x${string}`;
2290
- input: `0x${string}`;
2291
- nonce: number;
2292
- r: `0x${string}`;
2293
- s: `0x${string}`;
2294
- to: `0x${string}` | null;
2295
- transactionIndex: number | null;
2296
- typeHex: `0x${string}` | null;
2297
- v: bigint;
2298
- value: bigint;
2299
- gasPrice: undefined;
2300
- maxFeePerGas: bigint;
2301
- maxPriorityFeePerGas: bigint;
2302
- accessList: import("../../index.js").AccessList;
2303
- chainId: number;
2304
- type: "cip64";
2305
- feeCurrency: `0x${string}` | null;
2306
- gatewayFee?: undefined;
2307
- gatewayFeeRecipient?: undefined;
2308
- } | {
2309
- blockHash: `0x${string}` | null;
2310
- blockNumber: bigint | null;
2311
- from: `0x${string}`;
2312
- gas: bigint;
2313
- hash: `0x${string}`;
2314
- input: `0x${string}`;
2315
- nonce: number;
2316
- r: `0x${string}`;
2317
- s: `0x${string}`;
2318
- to: `0x${string}` | null;
2319
- transactionIndex: number | null;
2320
- typeHex: `0x${string}` | null;
2321
- v: bigint;
2322
- value: bigint;
2323
- gasPrice: bigint;
2324
- maxFeePerGas: undefined;
2325
- maxPriorityFeePerGas: undefined;
2326
- accessList: import("../../index.js").AccessList;
2327
- chainId: number;
2328
- type: "eip2930";
2329
- feeCurrency: `0x${string}` | null;
2330
- gatewayFee: bigint | null;
2331
- gatewayFeeRecipient: `0x${string}` | null;
2332
- } | {
2333
- blockHash: `0x${string}` | null;
2334
- blockNumber: bigint | null;
2335
- from: `0x${string}`;
2336
- gas: bigint;
2337
- hash: `0x${string}`;
2338
- input: `0x${string}`;
2339
- nonce: number;
2340
- r: `0x${string}`;
2341
- s: `0x${string}`;
2342
- to: `0x${string}` | null;
2343
- transactionIndex: number | null;
2344
- typeHex: `0x${string}` | null;
2345
- v: bigint;
2346
- value: bigint;
2347
- gasPrice?: undefined;
2348
- maxFeePerGas: bigint;
2349
- maxPriorityFeePerGas: bigint;
2350
- accessList: import("../../index.js").AccessList;
2351
- chainId: number;
2352
- type: "eip1559";
2353
- feeCurrency: `0x${string}` | null;
2354
- gatewayFee: bigint | null;
2355
- gatewayFeeRecipient: `0x${string}` | null;
2356
- } | {
2357
- blockHash: `0x${string}` | null;
2358
- blockNumber: bigint | null;
2359
- from: `0x${string}`;
2360
- gas: bigint;
2361
- hash: `0x${string}`;
2362
- input: `0x${string}`;
2363
- nonce: number;
2364
- r: `0x${string}`;
2365
- s: `0x${string}`;
2366
- to: `0x${string}` | null;
2367
- transactionIndex: number | null;
2368
- typeHex: `0x${string}` | null;
2369
- v: bigint;
2370
- value: bigint;
2371
- gasPrice?: undefined;
2372
- maxFeePerGas: bigint;
2373
- maxPriorityFeePerGas: bigint;
2374
- accessList: import("../../index.js").AccessList;
2375
- chainId: number;
2376
- type: "cip42";
2377
- feeCurrency: `0x${string}` | null;
2378
- gatewayFee: bigint | null;
2379
- gatewayFeeRecipient: `0x${string}` | null;
2380
- } | {
2381
- blockHash: `0x${string}` | null;
2382
- blockNumber: bigint | null;
2383
- from: `0x${string}`;
2384
- gas: bigint;
2385
- hash: `0x${string}`;
2386
- input: `0x${string}`;
2387
- nonce: number;
2388
- r: `0x${string}`;
2389
- s: `0x${string}`;
2390
- to: `0x${string}` | null;
2391
- transactionIndex: number | null;
2392
- typeHex: `0x${string}` | null;
2393
- v: bigint;
2394
- value: bigint;
2395
- gasPrice?: undefined;
2396
- maxFeePerGas: bigint;
2397
- maxPriorityFeePerGas: bigint;
2398
- accessList: import("../../index.js").AccessList;
2399
- chainId: number;
2400
- type: "cip64";
2401
- feeCurrency: `0x${string}` | null;
2402
- gatewayFee?: undefined;
2403
- gatewayFeeRecipient?: undefined;
2404
- }) & {};
2405
- type: "transaction";
2406
- };
2407
- readonly transactionReceipt: {
2408
- exclude: [] | undefined;
2409
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").CeloRpcTransactionReceiptOverrides>) => {
2410
- blockHash: `0x${string}`;
2411
- blockNumber: bigint;
2412
- contractAddress: `0x${string}` | null;
2413
- cumulativeGasUsed: bigint;
2414
- effectiveGasPrice: bigint;
2415
- from: `0x${string}`;
2416
- gasUsed: bigint;
2417
- logs: import("../../index.js").Log<bigint, number, false>[];
2418
- logsBloom: `0x${string}`;
2419
- status: "success" | "reverted";
2420
- to: `0x${string}` | null;
2421
- transactionHash: `0x${string}`;
2422
- transactionIndex: number;
2423
- type: import("../../index.js").TransactionType;
2424
- feeCurrency: `0x${string}` | null;
2425
- gatewayFee: bigint | null;
2426
- gatewayFeeRecipient: `0x${string}` | null;
2427
- } & {};
2428
- type: "transactionReceipt";
2429
- };
2430
- readonly transactionRequest: {
2431
- exclude: [] | undefined;
2432
- format: (args: import("../index.js").Assign<Partial<import("../../index.js").TransactionRequest>, import("../utils.js").CeloTransactionRequest>) => ({
2433
- data?: `0x${string}` | undefined;
2434
- from: `0x${string}`;
2435
- gas?: `0x${string}` | undefined;
2436
- nonce?: `0x${string}` | undefined;
2437
- to?: `0x${string}` | null | undefined;
2438
- value?: `0x${string}` | undefined;
2439
- gasPrice?: `0x${string}` | undefined;
2440
- maxFeePerGas?: undefined;
2441
- maxPriorityFeePerGas?: undefined;
2442
- accessList?: undefined;
2443
- type?: "0x0" | undefined;
2444
- feeCurrency?: `0x${string}` | undefined;
2445
- gatewayFee?: `0x${string}` | undefined;
2446
- gatewayFeeRecipient?: `0x${string}` | undefined;
2447
- } | {
2448
- data?: `0x${string}` | undefined;
2449
- from: `0x${string}`;
2450
- gas?: `0x${string}` | undefined;
2451
- nonce?: `0x${string}` | undefined;
2452
- to?: `0x${string}` | null | undefined;
2453
- value?: `0x${string}` | undefined;
2454
- gasPrice?: `0x${string}` | undefined;
2455
- maxFeePerGas?: undefined;
2456
- maxPriorityFeePerGas?: undefined;
2457
- accessList?: import("../../index.js").AccessList | undefined;
2458
- type?: "0x1" | undefined;
2459
- feeCurrency?: `0x${string}` | undefined;
2460
- gatewayFee?: `0x${string}` | undefined;
2461
- gatewayFeeRecipient?: `0x${string}` | undefined;
2462
- } | {
2463
- data?: `0x${string}` | undefined;
2464
- from: `0x${string}`;
2465
- gas?: `0x${string}` | undefined;
2466
- nonce?: `0x${string}` | undefined;
2467
- to?: `0x${string}` | null | undefined;
2468
- value?: `0x${string}` | undefined;
2469
- gasPrice?: undefined;
2470
- maxFeePerGas?: `0x${string}` | undefined;
2471
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2472
- accessList?: import("../../index.js").AccessList | undefined;
2473
- type?: "0x2" | undefined;
2474
- feeCurrency?: `0x${string}` | undefined;
2475
- gatewayFee?: `0x${string}` | undefined;
2476
- gatewayFeeRecipient?: `0x${string}` | undefined;
2477
- } | {
2478
- data?: `0x${string}` | undefined;
2479
- from: `0x${string}`;
2480
- gas?: `0x${string}` | undefined;
2481
- nonce?: `0x${string}` | undefined;
2482
- to?: `0x${string}` | null | undefined;
2483
- value?: `0x${string}` | undefined;
2484
- gasPrice?: undefined;
2485
- maxFeePerGas?: `0x${string}` | undefined;
2486
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2487
- accessList?: import("../../index.js").AccessList | undefined;
2488
- type?: "0x7c" | undefined;
2489
- feeCurrency?: `0x${string}` | undefined;
2490
- gatewayFee?: `0x${string}` | undefined;
2491
- gatewayFeeRecipient?: `0x${string}` | undefined;
2492
- } | {
2493
- data?: `0x${string}` | undefined;
2494
- from: `0x${string}`;
2495
- gas?: `0x${string}` | undefined;
2496
- nonce?: `0x${string}` | undefined;
2497
- to?: `0x${string}` | null | undefined;
2498
- value?: `0x${string}` | undefined;
2499
- gasPrice?: undefined;
2500
- maxFeePerGas?: `0x${string}` | undefined;
2501
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2502
- accessList?: import("../../index.js").AccessList | undefined;
2503
- type?: "0x7b" | undefined;
2504
- feeCurrency?: `0x${string}` | undefined;
2505
- gatewayFee?: undefined;
2506
- gatewayFeeRecipient?: undefined;
2507
- } | {
2508
- data?: `0x${string}` | undefined;
2509
- from: `0x${string}`;
2510
- gas?: `0x${string}` | undefined;
2511
- nonce?: `0x${string}` | undefined;
2512
- to?: `0x${string}` | null | undefined;
2513
- value?: `0x${string}` | undefined;
2514
- gasPrice?: `0x${string}` | undefined;
2515
- maxFeePerGas?: undefined;
2516
- maxPriorityFeePerGas?: undefined;
2517
- accessList?: undefined;
2518
- type?: "0x0" | undefined;
2519
- feeCurrency?: `0x${string}` | undefined;
2520
- gatewayFee?: `0x${string}` | undefined;
2521
- gatewayFeeRecipient?: `0x${string}` | undefined;
2522
- } | {
2523
- data?: `0x${string}` | undefined;
2524
- from: `0x${string}`;
2525
- gas?: `0x${string}` | undefined;
2526
- nonce?: `0x${string}` | undefined;
2527
- to?: `0x${string}` | null | undefined;
2528
- value?: `0x${string}` | undefined;
2529
- gasPrice?: `0x${string}` | undefined;
2530
- maxFeePerGas?: undefined;
2531
- maxPriorityFeePerGas?: undefined;
2532
- accessList?: import("../../index.js").AccessList | undefined;
2533
- type?: "0x1" | undefined;
2534
- feeCurrency?: `0x${string}` | undefined;
2535
- gatewayFee?: `0x${string}` | undefined;
2536
- gatewayFeeRecipient?: `0x${string}` | undefined;
2537
- } | {
2538
- data?: `0x${string}` | undefined;
2539
- from: `0x${string}`;
2540
- gas?: `0x${string}` | undefined;
2541
- nonce?: `0x${string}` | undefined;
2542
- to?: `0x${string}` | null | undefined;
2543
- value?: `0x${string}` | undefined;
2544
- gasPrice?: undefined;
2545
- maxFeePerGas?: `0x${string}` | undefined;
2546
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2547
- accessList?: import("../../index.js").AccessList | undefined;
2548
- type?: "0x2" | undefined;
2549
- feeCurrency?: `0x${string}` | undefined;
2550
- gatewayFee?: `0x${string}` | undefined;
2551
- gatewayFeeRecipient?: `0x${string}` | undefined;
2552
- } | {
2553
- data?: `0x${string}` | undefined;
2554
- from: `0x${string}`;
2555
- gas?: `0x${string}` | undefined;
2556
- nonce?: `0x${string}` | undefined;
2557
- to?: `0x${string}` | null | undefined;
2558
- value?: `0x${string}` | undefined;
2559
- gasPrice?: undefined;
2560
- maxFeePerGas?: `0x${string}` | undefined;
2561
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2562
- accessList?: import("../../index.js").AccessList | undefined;
2563
- type?: "0x7c" | undefined;
2564
- feeCurrency?: `0x${string}` | undefined;
2565
- gatewayFee?: `0x${string}` | undefined;
2566
- gatewayFeeRecipient?: `0x${string}` | undefined;
2567
- } | {
2568
- data?: `0x${string}` | undefined;
2569
- from: `0x${string}`;
2570
- gas?: `0x${string}` | undefined;
2571
- nonce?: `0x${string}` | undefined;
2572
- to?: `0x${string}` | null | undefined;
2573
- value?: `0x${string}` | undefined;
2574
- gasPrice?: undefined;
2575
- maxFeePerGas?: `0x${string}` | undefined;
2576
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2577
- accessList?: import("../../index.js").AccessList | undefined;
2578
- type?: "0x7b" | undefined;
2579
- feeCurrency?: `0x${string}` | undefined;
2580
- gatewayFee?: undefined;
2581
- gatewayFeeRecipient?: undefined;
2582
- } | {
2583
- data?: `0x${string}` | undefined;
2584
- from: `0x${string}`;
2585
- gas?: `0x${string}` | undefined;
2586
- nonce?: `0x${string}` | undefined;
2587
- to?: `0x${string}` | null | undefined;
2588
- value?: `0x${string}` | undefined;
2589
- gasPrice?: `0x${string}` | undefined;
2590
- maxFeePerGas?: undefined;
2591
- maxPriorityFeePerGas?: undefined;
2592
- accessList?: undefined;
2593
- type?: "0x0" | undefined;
2594
- feeCurrency?: `0x${string}` | undefined;
2595
- gatewayFee?: `0x${string}` | undefined;
2596
- gatewayFeeRecipient?: `0x${string}` | undefined;
2597
- } | {
2598
- data?: `0x${string}` | undefined;
2599
- from: `0x${string}`;
2600
- gas?: `0x${string}` | undefined;
2601
- nonce?: `0x${string}` | undefined;
2602
- to?: `0x${string}` | null | undefined;
2603
- value?: `0x${string}` | undefined;
2604
- gasPrice?: `0x${string}` | undefined;
2605
- maxFeePerGas?: undefined;
2606
- maxPriorityFeePerGas?: undefined;
2607
- accessList?: import("../../index.js").AccessList | undefined;
2608
- type?: "0x1" | undefined;
2609
- feeCurrency?: `0x${string}` | undefined;
2610
- gatewayFee?: `0x${string}` | undefined;
2611
- gatewayFeeRecipient?: `0x${string}` | undefined;
2612
- } | {
2613
- data?: `0x${string}` | undefined;
2614
- from: `0x${string}`;
2615
- gas?: `0x${string}` | undefined;
2616
- nonce?: `0x${string}` | undefined;
2617
- to?: `0x${string}` | null | undefined;
2618
- value?: `0x${string}` | undefined;
2619
- gasPrice?: undefined;
2620
- maxFeePerGas?: `0x${string}` | undefined;
2621
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2622
- accessList?: import("../../index.js").AccessList | undefined;
2623
- type?: "0x2" | undefined;
2624
- feeCurrency?: `0x${string}` | undefined;
2625
- gatewayFee?: `0x${string}` | undefined;
2626
- gatewayFeeRecipient?: `0x${string}` | undefined;
2627
- } | {
2628
- data?: `0x${string}` | undefined;
2629
- from: `0x${string}`;
2630
- gas?: `0x${string}` | undefined;
2631
- nonce?: `0x${string}` | undefined;
2632
- to?: `0x${string}` | null | undefined;
2633
- value?: `0x${string}` | undefined;
2634
- gasPrice?: undefined;
2635
- maxFeePerGas?: `0x${string}` | undefined;
2636
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2637
- accessList?: import("../../index.js").AccessList | undefined;
2638
- type?: "0x7c" | undefined;
2639
- feeCurrency?: `0x${string}` | undefined;
2640
- gatewayFee?: `0x${string}` | undefined;
2641
- gatewayFeeRecipient?: `0x${string}` | undefined;
2642
- } | {
2643
- data?: `0x${string}` | undefined;
2644
- from: `0x${string}`;
2645
- gas?: `0x${string}` | undefined;
2646
- nonce?: `0x${string}` | undefined;
2647
- to?: `0x${string}` | null | undefined;
2648
- value?: `0x${string}` | undefined;
2649
- gasPrice?: undefined;
2650
- maxFeePerGas?: `0x${string}` | undefined;
2651
- maxPriorityFeePerGas?: `0x${string}` | undefined;
2652
- accessList?: import("../../index.js").AccessList | undefined;
2653
- type?: "0x7b" | undefined;
2654
- feeCurrency?: `0x${string}` | undefined;
2655
- gatewayFee?: undefined;
2656
- gatewayFeeRecipient?: undefined;
2657
- }) & {};
2658
- type: "transactionRequest";
2659
- };
2660
- }> | undefined;
905
+ };
906
+ serializers: {
907
+ readonly transaction: import("../../index.js").SerializeTransactionFn<import("../utils.js").CeloTransactionSerializable>;
908
+ };
909
+ fees?: import("../../index.js").ChainFees<undefined> | undefined;
2661
910
  };
2662
911
  //# sourceMappingURL=celoCannoli.d.ts.map