viem 2.7.2 → 2.7.5

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 (1241) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/_cjs/_test/generated.js +313 -0
  3. package/_cjs/_test/generated.js.map +1 -0
  4. package/_cjs/actions/public/call.js +69 -6
  5. package/_cjs/actions/public/call.js.map +1 -1
  6. package/_cjs/actions/public/getBlock.js.map +1 -1
  7. package/_cjs/actions/public/multicall.js +2 -1
  8. package/_cjs/actions/public/multicall.js.map +1 -1
  9. package/_cjs/chains/definitions/x1Testnet.js +30 -0
  10. package/_cjs/chains/definitions/x1Testnet.js.map +1 -0
  11. package/_cjs/chains/index.js +3 -1
  12. package/_cjs/chains/index.js.map +1 -1
  13. package/_cjs/clients/createClient.js.map +1 -1
  14. package/_cjs/clients/createPublicClient.js.map +1 -1
  15. package/_cjs/errors/contract.js +6 -2
  16. package/_cjs/errors/contract.js.map +1 -1
  17. package/_cjs/errors/data.js +15 -1
  18. package/_cjs/errors/data.js.map +1 -1
  19. package/_cjs/errors/stateOverride.js +58 -0
  20. package/_cjs/errors/stateOverride.js.map +1 -0
  21. package/_cjs/errors/version.js +1 -1
  22. package/_cjs/index.js +7 -4
  23. package/_cjs/index.js.map +1 -1
  24. package/_cjs/types/eip1193.js.map +1 -1
  25. package/_cjs/types/stateOverride.js +3 -0
  26. package/_cjs/types/stateOverride.js.map +1 -0
  27. package/_esm/_test/generated.js +335 -0
  28. package/_esm/_test/generated.js.map +1 -0
  29. package/_esm/actions/public/call.js +65 -5
  30. package/_esm/actions/public/call.js.map +1 -1
  31. package/_esm/actions/public/getBlock.js.map +1 -1
  32. package/_esm/actions/public/multicall.js +2 -1
  33. package/_esm/actions/public/multicall.js.map +1 -1
  34. package/_esm/chains/definitions/x1Testnet.js +27 -0
  35. package/_esm/chains/definitions/x1Testnet.js.map +1 -0
  36. package/_esm/chains/index.js +1 -0
  37. package/_esm/chains/index.js.map +1 -1
  38. package/_esm/clients/createClient.js.map +1 -1
  39. package/_esm/clients/createPublicClient.js +19 -0
  40. package/_esm/clients/createPublicClient.js.map +1 -1
  41. package/_esm/errors/contract.js +6 -2
  42. package/_esm/errors/contract.js.map +1 -1
  43. package/_esm/errors/data.js +13 -0
  44. package/_esm/errors/data.js.map +1 -1
  45. package/_esm/errors/stateOverride.js +51 -0
  46. package/_esm/errors/stateOverride.js.map +1 -0
  47. package/_esm/errors/version.js +1 -1
  48. package/_esm/index.js +1 -0
  49. package/_esm/index.js.map +1 -1
  50. package/_esm/types/eip1193.js.map +1 -1
  51. package/_esm/types/stateOverride.js +2 -0
  52. package/_esm/types/stateOverride.js.map +1 -0
  53. package/_test/generated.ts +350 -0
  54. package/actions/public/call.ts +105 -6
  55. package/actions/public/getBlock.ts +2 -1
  56. package/actions/public/multicall.ts +3 -1
  57. package/actions/public/readContract.ts +1 -1
  58. package/chains/definitions/x1Testnet.ts +27 -0
  59. package/chains/index.ts +1 -0
  60. package/clients/createClient.ts +9 -4
  61. package/clients/createPublicClient.ts +1 -5
  62. package/errors/contract.ts +7 -1
  63. package/errors/data.ts +22 -0
  64. package/errors/stateOverride.ts +50 -0
  65. package/errors/version.ts +1 -1
  66. package/index.ts +13 -0
  67. package/package.json +1 -1
  68. package/types/chain.ts +13 -9
  69. package/types/eip1193.ts +6 -0
  70. package/types/rpc.ts +24 -0
  71. package/types/stateOverride.ts +26 -0
  72. package/_types/accounts/generateMnemonic.d.ts +0 -12
  73. package/_types/accounts/generateMnemonic.d.ts.map +0 -1
  74. package/_types/accounts/generatePrivateKey.d.ts +0 -11
  75. package/_types/accounts/generatePrivateKey.d.ts.map +0 -1
  76. package/_types/accounts/hdKeyToAccount.d.ts +0 -13
  77. package/_types/accounts/hdKeyToAccount.d.ts.map +0 -1
  78. package/_types/accounts/index.d.ts +0 -27
  79. package/_types/accounts/index.d.ts.map +0 -1
  80. package/_types/accounts/mnemonicToAccount.d.ts +0 -11
  81. package/_types/accounts/mnemonicToAccount.d.ts.map +0 -1
  82. package/_types/accounts/privateKeyToAccount.d.ts +0 -17
  83. package/_types/accounts/privateKeyToAccount.d.ts.map +0 -1
  84. package/_types/accounts/toAccount.d.ts +0 -15
  85. package/_types/accounts/toAccount.d.ts.map +0 -1
  86. package/_types/accounts/types.d.ts +0 -50
  87. package/_types/accounts/types.d.ts.map +0 -1
  88. package/_types/accounts/utils/parseAccount.d.ts +0 -6
  89. package/_types/accounts/utils/parseAccount.d.ts.map +0 -1
  90. package/_types/accounts/utils/privateKeyToAddress.d.ts +0 -15
  91. package/_types/accounts/utils/privateKeyToAddress.d.ts.map +0 -1
  92. package/_types/accounts/utils/publicKeyToAddress.d.ts +0 -15
  93. package/_types/accounts/utils/publicKeyToAddress.d.ts.map +0 -1
  94. package/_types/accounts/utils/sign.d.ts +0 -19
  95. package/_types/accounts/utils/sign.d.ts.map +0 -1
  96. package/_types/accounts/utils/signMessage.d.ts +0 -21
  97. package/_types/accounts/utils/signMessage.d.ts.map +0 -1
  98. package/_types/accounts/utils/signTransaction.d.ts +0 -16
  99. package/_types/accounts/utils/signTransaction.d.ts.map +0 -1
  100. package/_types/accounts/utils/signTypedData.d.ts +0 -21
  101. package/_types/accounts/utils/signTypedData.d.ts.map +0 -1
  102. package/_types/actions/ens/getEnsAddress.d.ts +0 -58
  103. package/_types/actions/ens/getEnsAddress.d.ts.map +0 -1
  104. package/_types/actions/ens/getEnsAvatar.d.ts +0 -44
  105. package/_types/actions/ens/getEnsAvatar.d.ts.map +0 -1
  106. package/_types/actions/ens/getEnsName.d.ts +0 -50
  107. package/_types/actions/ens/getEnsName.d.ts.map +0 -1
  108. package/_types/actions/ens/getEnsResolver.d.ts +0 -48
  109. package/_types/actions/ens/getEnsResolver.d.ts.map +0 -1
  110. package/_types/actions/ens/getEnsText.d.ts +0 -57
  111. package/_types/actions/ens/getEnsText.d.ts.map +0 -1
  112. package/_types/actions/getContract.d.ts +0 -360
  113. package/_types/actions/getContract.d.ts.map +0 -1
  114. package/_types/actions/index.d.ts +0 -91
  115. package/_types/actions/index.d.ts.map +0 -1
  116. package/_types/actions/public/call.d.ts +0 -70
  117. package/_types/actions/public/call.d.ts.map +0 -1
  118. package/_types/actions/public/createBlockFilter.d.ts +0 -31
  119. package/_types/actions/public/createBlockFilter.d.ts.map +0 -1
  120. package/_types/actions/public/createContractEventFilter.d.ts +0 -55
  121. package/_types/actions/public/createContractEventFilter.d.ts.map +0 -1
  122. package/_types/actions/public/createEventFilter.d.ts +0 -81
  123. package/_types/actions/public/createEventFilter.d.ts.map +0 -1
  124. package/_types/actions/public/createPendingTransactionFilter.d.ts +0 -31
  125. package/_types/actions/public/createPendingTransactionFilter.d.ts.map +0 -1
  126. package/_types/actions/public/estimateContractGas.d.ts +0 -43
  127. package/_types/actions/public/estimateContractGas.d.ts.map +0 -1
  128. package/_types/actions/public/estimateFeesPerGas.d.ts +0 -53
  129. package/_types/actions/public/estimateFeesPerGas.d.ts.map +0 -1
  130. package/_types/actions/public/estimateGas.d.ts +0 -57
  131. package/_types/actions/public/estimateGas.d.ts.map +0 -1
  132. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts +0 -44
  133. package/_types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +0 -1
  134. package/_types/actions/public/getBalance.d.ts +0 -59
  135. package/_types/actions/public/getBalance.d.ts.map +0 -1
  136. package/_types/actions/public/getBlock.d.ts +0 -61
  137. package/_types/actions/public/getBlock.d.ts.map +0 -1
  138. package/_types/actions/public/getBlockNumber.d.ts +0 -58
  139. package/_types/actions/public/getBlockNumber.d.ts.map +0 -1
  140. package/_types/actions/public/getBlockTransactionCount.d.ts +0 -52
  141. package/_types/actions/public/getBlockTransactionCount.d.ts.map +0 -1
  142. package/_types/actions/public/getBytecode.d.ts +0 -45
  143. package/_types/actions/public/getBytecode.d.ts.map +0 -1
  144. package/_types/actions/public/getChainId.d.ts +0 -32
  145. package/_types/actions/public/getChainId.d.ts.map +0 -1
  146. package/_types/actions/public/getContractEvents.d.ts +0 -66
  147. package/_types/actions/public/getContractEvents.d.ts.map +0 -1
  148. package/_types/actions/public/getFeeHistory.d.ts +0 -57
  149. package/_types/actions/public/getFeeHistory.d.ts.map +0 -1
  150. package/_types/actions/public/getFilterChanges.d.ts +0 -101
  151. package/_types/actions/public/getFilterChanges.d.ts.map +0 -1
  152. package/_types/actions/public/getFilterLogs.d.ts +0 -45
  153. package/_types/actions/public/getFilterLogs.d.ts.map +0 -1
  154. package/_types/actions/public/getGasPrice.d.ts +0 -30
  155. package/_types/actions/public/getGasPrice.d.ts.map +0 -1
  156. package/_types/actions/public/getLogs.d.ts +0 -78
  157. package/_types/actions/public/getLogs.d.ts.map +0 -1
  158. package/_types/actions/public/getProof.d.ts +0 -57
  159. package/_types/actions/public/getProof.d.ts.map +0 -1
  160. package/_types/actions/public/getStorageAt.d.ts +0 -47
  161. package/_types/actions/public/getStorageAt.d.ts.map +0 -1
  162. package/_types/actions/public/getTransaction.d.ts +0 -70
  163. package/_types/actions/public/getTransaction.d.ts.map +0 -1
  164. package/_types/actions/public/getTransactionConfirmations.d.ts +0 -45
  165. package/_types/actions/public/getTransactionConfirmations.d.ts.map +0 -1
  166. package/_types/actions/public/getTransactionCount.d.ts +0 -49
  167. package/_types/actions/public/getTransactionCount.d.ts.map +0 -1
  168. package/_types/actions/public/getTransactionReceipt.d.ts +0 -40
  169. package/_types/actions/public/getTransactionReceipt.d.ts.map +0 -1
  170. package/_types/actions/public/multicall.d.ts +0 -73
  171. package/_types/actions/public/multicall.d.ts.map +0 -1
  172. package/_types/actions/public/readContract.d.ts +0 -46
  173. package/_types/actions/public/readContract.d.ts.map +0 -1
  174. package/_types/actions/public/simulateContract.d.ts +0 -67
  175. package/_types/actions/public/simulateContract.d.ts.map +0 -1
  176. package/_types/actions/public/uninstallFilter.d.ts +0 -37
  177. package/_types/actions/public/uninstallFilter.d.ts.map +0 -1
  178. package/_types/actions/public/verifyHash.d.ts +0 -30
  179. package/_types/actions/public/verifyHash.d.ts.map +0 -1
  180. package/_types/actions/public/verifyMessage.d.ts +0 -31
  181. package/_types/actions/public/verifyMessage.d.ts.map +0 -1
  182. package/_types/actions/public/verifyTypedData.d.ts +0 -28
  183. package/_types/actions/public/verifyTypedData.d.ts.map +0 -1
  184. package/_types/actions/public/waitForTransactionReceipt.d.ts +0 -90
  185. package/_types/actions/public/waitForTransactionReceipt.d.ts.map +0 -1
  186. package/_types/actions/public/watchBlockNumber.d.ts +0 -58
  187. package/_types/actions/public/watchBlockNumber.d.ts.map +0 -1
  188. package/_types/actions/public/watchBlocks.d.ts +0 -66
  189. package/_types/actions/public/watchBlocks.d.ts.map +0 -1
  190. package/_types/actions/public/watchContractEvent.d.ts +0 -64
  191. package/_types/actions/public/watchContractEvent.d.ts.map +0 -1
  192. package/_types/actions/public/watchEvent.d.ts +0 -79
  193. package/_types/actions/public/watchEvent.d.ts.map +0 -1
  194. package/_types/actions/public/watchPendingTransactions.d.ts +0 -49
  195. package/_types/actions/public/watchPendingTransactions.d.ts.map +0 -1
  196. package/_types/actions/test/dropTransaction.d.ts +0 -36
  197. package/_types/actions/test/dropTransaction.d.ts.map +0 -1
  198. package/_types/actions/test/dumpState.d.ts +0 -31
  199. package/_types/actions/test/dumpState.d.ts.map +0 -1
  200. package/_types/actions/test/getAutomine.d.ts +0 -30
  201. package/_types/actions/test/getAutomine.d.ts.map +0 -1
  202. package/_types/actions/test/getTxpoolContent.d.ts +0 -37
  203. package/_types/actions/test/getTxpoolContent.d.ts.map +0 -1
  204. package/_types/actions/test/getTxpoolStatus.d.ts +0 -33
  205. package/_types/actions/test/getTxpoolStatus.d.ts.map +0 -1
  206. package/_types/actions/test/impersonateAccount.d.ts +0 -36
  207. package/_types/actions/test/impersonateAccount.d.ts.map +0 -1
  208. package/_types/actions/test/increaseTime.d.ts +0 -35
  209. package/_types/actions/test/increaseTime.d.ts.map +0 -1
  210. package/_types/actions/test/inspectTxpool.d.ts +0 -34
  211. package/_types/actions/test/inspectTxpool.d.ts.map +0 -1
  212. package/_types/actions/test/loadState.d.ts +0 -34
  213. package/_types/actions/test/loadState.d.ts.map +0 -1
  214. package/_types/actions/test/mine.d.ts +0 -35
  215. package/_types/actions/test/mine.d.ts.map +0 -1
  216. package/_types/actions/test/removeBlockTimestampInterval.d.ts +0 -28
  217. package/_types/actions/test/removeBlockTimestampInterval.d.ts.map +0 -1
  218. package/_types/actions/test/reset.d.ts +0 -35
  219. package/_types/actions/test/reset.d.ts.map +0 -1
  220. package/_types/actions/test/revert.d.ts +0 -34
  221. package/_types/actions/test/revert.d.ts.map +0 -1
  222. package/_types/actions/test/sendUnsignedTransaction.d.ts +0 -38
  223. package/_types/actions/test/sendUnsignedTransaction.d.ts.map +0 -1
  224. package/_types/actions/test/setAutomine.d.ts +0 -28
  225. package/_types/actions/test/setAutomine.d.ts.map +0 -1
  226. package/_types/actions/test/setBalance.d.ts +0 -39
  227. package/_types/actions/test/setBalance.d.ts.map +0 -1
  228. package/_types/actions/test/setBlockGasLimit.d.ts +0 -33
  229. package/_types/actions/test/setBlockGasLimit.d.ts.map +0 -1
  230. package/_types/actions/test/setBlockTimestampInterval.d.ts +0 -33
  231. package/_types/actions/test/setBlockTimestampInterval.d.ts.map +0 -1
  232. package/_types/actions/test/setCode.d.ts +0 -40
  233. package/_types/actions/test/setCode.d.ts.map +0 -1
  234. package/_types/actions/test/setCoinbase.d.ts +0 -36
  235. package/_types/actions/test/setCoinbase.d.ts.map +0 -1
  236. package/_types/actions/test/setIntervalMining.d.ts +0 -33
  237. package/_types/actions/test/setIntervalMining.d.ts.map +0 -1
  238. package/_types/actions/test/setLoggingEnabled.d.ts +0 -28
  239. package/_types/actions/test/setLoggingEnabled.d.ts.map +0 -1
  240. package/_types/actions/test/setMinGasPrice.d.ts +0 -37
  241. package/_types/actions/test/setMinGasPrice.d.ts.map +0 -1
  242. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts +0 -35
  243. package/_types/actions/test/setNextBlockBaseFeePerGas.d.ts.map +0 -1
  244. package/_types/actions/test/setNextBlockTimestamp.d.ts +0 -33
  245. package/_types/actions/test/setNextBlockTimestamp.d.ts.map +0 -1
  246. package/_types/actions/test/setNonce.d.ts +0 -39
  247. package/_types/actions/test/setNonce.d.ts.map +0 -1
  248. package/_types/actions/test/setRpcUrl.d.ts +0 -29
  249. package/_types/actions/test/setRpcUrl.d.ts.map +0 -1
  250. package/_types/actions/test/setStorageAt.d.ts +0 -43
  251. package/_types/actions/test/setStorageAt.d.ts.map +0 -1
  252. package/_types/actions/test/snapshot.d.ts +0 -28
  253. package/_types/actions/test/snapshot.d.ts.map +0 -1
  254. package/_types/actions/test/stopImpersonatingAccount.d.ts +0 -36
  255. package/_types/actions/test/stopImpersonatingAccount.d.ts.map +0 -1
  256. package/_types/actions/wallet/addChain.d.ts +0 -33
  257. package/_types/actions/wallet/addChain.d.ts.map +0 -1
  258. package/_types/actions/wallet/deployContract.d.ts +0 -50
  259. package/_types/actions/wallet/deployContract.d.ts.map +0 -1
  260. package/_types/actions/wallet/getAddresses.d.ts +0 -32
  261. package/_types/actions/wallet/getAddresses.d.ts.map +0 -1
  262. package/_types/actions/wallet/getPermissions.d.ts +0 -31
  263. package/_types/actions/wallet/getPermissions.d.ts.map +0 -1
  264. package/_types/actions/wallet/prepareTransactionRequest.d.ts +0 -72
  265. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +0 -1
  266. package/_types/actions/wallet/requestAddresses.d.ts +0 -35
  267. package/_types/actions/wallet/requestAddresses.d.ts.map +0 -1
  268. package/_types/actions/wallet/requestPermissions.d.ts +0 -40
  269. package/_types/actions/wallet/requestPermissions.d.ts.map +0 -1
  270. package/_types/actions/wallet/sendRawTransaction.d.ts +0 -41
  271. package/_types/actions/wallet/sendRawTransaction.d.ts.map +0 -1
  272. package/_types/actions/wallet/sendTransaction.d.ts +0 -69
  273. package/_types/actions/wallet/sendTransaction.d.ts.map +0 -1
  274. package/_types/actions/wallet/signMessage.d.ts +0 -64
  275. package/_types/actions/wallet/signMessage.d.ts.map +0 -1
  276. package/_types/actions/wallet/signTransaction.d.ts +0 -64
  277. package/_types/actions/wallet/signTransaction.d.ts.map +0 -1
  278. package/_types/actions/wallet/signTypedData.d.ts +0 -119
  279. package/_types/actions/wallet/signTypedData.d.ts.map +0 -1
  280. package/_types/actions/wallet/switchChain.d.ts +0 -34
  281. package/_types/actions/wallet/switchChain.d.ts.map +0 -1
  282. package/_types/actions/wallet/watchAsset.d.ts +0 -40
  283. package/_types/actions/wallet/watchAsset.d.ts.map +0 -1
  284. package/_types/actions/wallet/writeContract.d.ts +0 -71
  285. package/_types/actions/wallet/writeContract.d.ts.map +0 -1
  286. package/_types/chains/celo/chainConfig.d.ts +0 -1201
  287. package/_types/chains/celo/chainConfig.d.ts.map +0 -1
  288. package/_types/chains/celo/formatters.d.ts +0 -1198
  289. package/_types/chains/celo/formatters.d.ts.map +0 -1
  290. package/_types/chains/celo/index.d.ts +0 -5
  291. package/_types/chains/celo/index.d.ts.map +0 -1
  292. package/_types/chains/celo/parsers.d.ts +0 -6
  293. package/_types/chains/celo/parsers.d.ts.map +0 -1
  294. package/_types/chains/celo/serializers.d.ts +0 -12
  295. package/_types/chains/celo/serializers.d.ts.map +0 -1
  296. package/_types/chains/celo/types.d.ts +0 -126
  297. package/_types/chains/celo/types.d.ts.map +0 -1
  298. package/_types/chains/celo/utils.d.ts +0 -7
  299. package/_types/chains/celo/utils.d.ts.map +0 -1
  300. package/_types/chains/definitions/acala.d.ts +0 -42
  301. package/_types/chains/definitions/acala.d.ts.map +0 -1
  302. package/_types/chains/definitions/arbitrum.d.ts +0 -34
  303. package/_types/chains/definitions/arbitrum.d.ts.map +0 -1
  304. package/_types/chains/definitions/arbitrumGoerli.d.ts +0 -33
  305. package/_types/chains/definitions/arbitrumGoerli.d.ts.map +0 -1
  306. package/_types/chains/definitions/arbitrumNova.d.ts +0 -34
  307. package/_types/chains/definitions/arbitrumNova.d.ts.map +0 -1
  308. package/_types/chains/definitions/arbitrumSepolia.d.ts +0 -34
  309. package/_types/chains/definitions/arbitrumSepolia.d.ts.map +0 -1
  310. package/_types/chains/definitions/astar.d.ts +0 -34
  311. package/_types/chains/definitions/astar.d.ts.map +0 -1
  312. package/_types/chains/definitions/astarZkatana.d.ts +0 -34
  313. package/_types/chains/definitions/astarZkatana.d.ts.map +0 -1
  314. package/_types/chains/definitions/aurora.d.ts +0 -34
  315. package/_types/chains/definitions/aurora.d.ts.map +0 -1
  316. package/_types/chains/definitions/auroraTestnet.d.ts +0 -36
  317. package/_types/chains/definitions/auroraTestnet.d.ts.map +0 -1
  318. package/_types/chains/definitions/avalanche.d.ts +0 -34
  319. package/_types/chains/definitions/avalanche.d.ts.map +0 -1
  320. package/_types/chains/definitions/avalancheFuji.d.ts +0 -34
  321. package/_types/chains/definitions/avalancheFuji.d.ts.map +0 -1
  322. package/_types/chains/definitions/bahamut.d.ts +0 -42
  323. package/_types/chains/definitions/bahamut.d.ts.map +0 -1
  324. package/_types/chains/definitions/base.d.ts +0 -811
  325. package/_types/chains/definitions/base.d.ts.map +0 -1
  326. package/_types/chains/definitions/baseGoerli.d.ts +0 -810
  327. package/_types/chains/definitions/baseGoerli.d.ts.map +0 -1
  328. package/_types/chains/definitions/baseSepolia.d.ts +0 -812
  329. package/_types/chains/definitions/baseSepolia.d.ts.map +0 -1
  330. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +0 -36
  331. package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +0 -1
  332. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +0 -36
  333. package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +0 -1
  334. package/_types/chains/definitions/berachainTestnet.d.ts +0 -35
  335. package/_types/chains/definitions/berachainTestnet.d.ts.map +0 -1
  336. package/_types/chains/definitions/bitTorrent.d.ts +0 -40
  337. package/_types/chains/definitions/bitTorrent.d.ts.map +0 -1
  338. package/_types/chains/definitions/bitTorrentTestnet.d.ts +0 -40
  339. package/_types/chains/definitions/bitTorrentTestnet.d.ts.map +0 -1
  340. package/_types/chains/definitions/blastSepolia.d.ts +0 -35
  341. package/_types/chains/definitions/blastSepolia.d.ts.map +0 -1
  342. package/_types/chains/definitions/boba.d.ts +0 -33
  343. package/_types/chains/definitions/boba.d.ts.map +0 -1
  344. package/_types/chains/definitions/bronos.d.ts +0 -35
  345. package/_types/chains/definitions/bronos.d.ts.map +0 -1
  346. package/_types/chains/definitions/bronosTestnet.d.ts +0 -35
  347. package/_types/chains/definitions/bronosTestnet.d.ts.map +0 -1
  348. package/_types/chains/definitions/bsc.d.ts +0 -34
  349. package/_types/chains/definitions/bsc.d.ts.map +0 -1
  350. package/_types/chains/definitions/bscTestnet.d.ts +0 -34
  351. package/_types/chains/definitions/bscTestnet.d.ts.map +0 -1
  352. package/_types/chains/definitions/bxn.d.ts +0 -36
  353. package/_types/chains/definitions/bxn.d.ts.map +0 -1
  354. package/_types/chains/definitions/bxnTestnet.d.ts +0 -36
  355. package/_types/chains/definitions/bxnTestnet.d.ts.map +0 -1
  356. package/_types/chains/definitions/canto.d.ts +0 -33
  357. package/_types/chains/definitions/canto.d.ts.map +0 -1
  358. package/_types/chains/definitions/celo.d.ts +0 -1230
  359. package/_types/chains/definitions/celo.d.ts.map +0 -1
  360. package/_types/chains/definitions/celoAlfajores.d.ts +0 -1230
  361. package/_types/chains/definitions/celoAlfajores.d.ts.map +0 -1
  362. package/_types/chains/definitions/chiliz.d.ts +0 -37
  363. package/_types/chains/definitions/chiliz.d.ts.map +0 -1
  364. package/_types/chains/definitions/classic.d.ts +0 -35
  365. package/_types/chains/definitions/classic.d.ts.map +0 -1
  366. package/_types/chains/definitions/confluxESpace.d.ts +0 -34
  367. package/_types/chains/definitions/confluxESpace.d.ts.map +0 -1
  368. package/_types/chains/definitions/confluxESpaceTestnet.d.ts +0 -35
  369. package/_types/chains/definitions/confluxESpaceTestnet.d.ts.map +0 -1
  370. package/_types/chains/definitions/coreDao.d.ts +0 -33
  371. package/_types/chains/definitions/coreDao.d.ts.map +0 -1
  372. package/_types/chains/definitions/cronos.d.ts +0 -34
  373. package/_types/chains/definitions/cronos.d.ts.map +0 -1
  374. package/_types/chains/definitions/cronosTestnet.d.ts +0 -33
  375. package/_types/chains/definitions/cronosTestnet.d.ts.map +0 -1
  376. package/_types/chains/definitions/crossbell.d.ts +0 -34
  377. package/_types/chains/definitions/crossbell.d.ts.map +0 -1
  378. package/_types/chains/definitions/defichainEvm.d.ts +0 -37
  379. package/_types/chains/definitions/defichainEvm.d.ts.map +0 -1
  380. package/_types/chains/definitions/defichainEvmTestnet.d.ts +0 -37
  381. package/_types/chains/definitions/defichainEvmTestnet.d.ts.map +0 -1
  382. package/_types/chains/definitions/dfk.d.ts +0 -35
  383. package/_types/chains/definitions/dfk.d.ts.map +0 -1
  384. package/_types/chains/definitions/dogechain.d.ts +0 -36
  385. package/_types/chains/definitions/dogechain.d.ts.map +0 -1
  386. package/_types/chains/definitions/edgeware.d.ts +0 -34
  387. package/_types/chains/definitions/edgeware.d.ts.map +0 -1
  388. package/_types/chains/definitions/edgewareTestnet.d.ts +0 -36
  389. package/_types/chains/definitions/edgewareTestnet.d.ts.map +0 -1
  390. package/_types/chains/definitions/ekta.d.ts +0 -36
  391. package/_types/chains/definitions/ekta.d.ts.map +0 -1
  392. package/_types/chains/definitions/ektaTestnet.d.ts +0 -36
  393. package/_types/chains/definitions/ektaTestnet.d.ts.map +0 -1
  394. package/_types/chains/definitions/eon.d.ts +0 -28
  395. package/_types/chains/definitions/eon.d.ts.map +0 -1
  396. package/_types/chains/definitions/eos.d.ts +0 -34
  397. package/_types/chains/definitions/eos.d.ts.map +0 -1
  398. package/_types/chains/definitions/eosTestnet.d.ts +0 -34
  399. package/_types/chains/definitions/eosTestnet.d.ts.map +0 -1
  400. package/_types/chains/definitions/evmos.d.ts +0 -35
  401. package/_types/chains/definitions/evmos.d.ts.map +0 -1
  402. package/_types/chains/definitions/evmosTestnet.d.ts +0 -35
  403. package/_types/chains/definitions/evmosTestnet.d.ts.map +0 -1
  404. package/_types/chains/definitions/fantom.d.ts +0 -34
  405. package/_types/chains/definitions/fantom.d.ts.map +0 -1
  406. package/_types/chains/definitions/fantomSonicTestnet.d.ts +0 -36
  407. package/_types/chains/definitions/fantomSonicTestnet.d.ts.map +0 -1
  408. package/_types/chains/definitions/fantomTestnet.d.ts +0 -34
  409. package/_types/chains/definitions/fantomTestnet.d.ts.map +0 -1
  410. package/_types/chains/definitions/fibo.d.ts +0 -35
  411. package/_types/chains/definitions/fibo.d.ts.map +0 -1
  412. package/_types/chains/definitions/filecoin.d.ts +0 -33
  413. package/_types/chains/definitions/filecoin.d.ts.map +0 -1
  414. package/_types/chains/definitions/filecoinCalibration.d.ts +0 -35
  415. package/_types/chains/definitions/filecoinCalibration.d.ts.map +0 -1
  416. package/_types/chains/definitions/filecoinHyperspace.d.ts +0 -35
  417. package/_types/chains/definitions/filecoinHyperspace.d.ts.map +0 -1
  418. package/_types/chains/definitions/flare.d.ts +0 -36
  419. package/_types/chains/definitions/flare.d.ts.map +0 -1
  420. package/_types/chains/definitions/flareTestnet.d.ts +0 -36
  421. package/_types/chains/definitions/flareTestnet.d.ts.map +0 -1
  422. package/_types/chains/definitions/foundry.d.ts +0 -42
  423. package/_types/chains/definitions/foundry.d.ts.map +0 -1
  424. package/_types/chains/definitions/fuse.d.ts +0 -34
  425. package/_types/chains/definitions/fuse.d.ts.map +0 -1
  426. package/_types/chains/definitions/fuseSparknet.d.ts +0 -36
  427. package/_types/chains/definitions/fuseSparknet.d.ts.map +0 -1
  428. package/_types/chains/definitions/gnosis.d.ts +0 -35
  429. package/_types/chains/definitions/gnosis.d.ts.map +0 -1
  430. package/_types/chains/definitions/gnosisChiado.d.ts +0 -35
  431. package/_types/chains/definitions/gnosisChiado.d.ts.map +0 -1
  432. package/_types/chains/definitions/gobi.d.ts +0 -28
  433. package/_types/chains/definitions/gobi.d.ts.map +0 -1
  434. package/_types/chains/definitions/goerli.d.ts +0 -41
  435. package/_types/chains/definitions/goerli.d.ts.map +0 -1
  436. package/_types/chains/definitions/haqqMainnet.d.ts +0 -36
  437. package/_types/chains/definitions/haqqMainnet.d.ts.map +0 -1
  438. package/_types/chains/definitions/haqqTestedge2.d.ts +0 -36
  439. package/_types/chains/definitions/haqqTestedge2.d.ts.map +0 -1
  440. package/_types/chains/definitions/hardhat.d.ts +0 -41
  441. package/_types/chains/definitions/hardhat.d.ts.map +0 -1
  442. package/_types/chains/definitions/harmonyOne.d.ts +0 -33
  443. package/_types/chains/definitions/harmonyOne.d.ts.map +0 -1
  444. package/_types/chains/definitions/hedera.d.ts +0 -36
  445. package/_types/chains/definitions/hedera.d.ts.map +0 -1
  446. package/_types/chains/definitions/hederaPreviewnet.d.ts +0 -36
  447. package/_types/chains/definitions/hederaPreviewnet.d.ts.map +0 -1
  448. package/_types/chains/definitions/hederaTestnet.d.ts +0 -36
  449. package/_types/chains/definitions/hederaTestnet.d.ts.map +0 -1
  450. package/_types/chains/definitions/holesky.d.ts +0 -41
  451. package/_types/chains/definitions/holesky.d.ts.map +0 -1
  452. package/_types/chains/definitions/iotex.d.ts +0 -34
  453. package/_types/chains/definitions/iotex.d.ts.map +0 -1
  454. package/_types/chains/definitions/iotexTestnet.d.ts +0 -36
  455. package/_types/chains/definitions/iotexTestnet.d.ts.map +0 -1
  456. package/_types/chains/definitions/jbc.d.ts +0 -38
  457. package/_types/chains/definitions/jbc.d.ts.map +0 -1
  458. package/_types/chains/definitions/karura.d.ts +0 -42
  459. package/_types/chains/definitions/karura.d.ts.map +0 -1
  460. package/_types/chains/definitions/kava.d.ts +0 -35
  461. package/_types/chains/definitions/kava.d.ts.map +0 -1
  462. package/_types/chains/definitions/kavaTestnet.d.ts +0 -35
  463. package/_types/chains/definitions/kavaTestnet.d.ts.map +0 -1
  464. package/_types/chains/definitions/kcc.d.ts +0 -37
  465. package/_types/chains/definitions/kcc.d.ts.map +0 -1
  466. package/_types/chains/definitions/klaytn.d.ts +0 -33
  467. package/_types/chains/definitions/klaytn.d.ts.map +0 -1
  468. package/_types/chains/definitions/klaytnBaobab.d.ts +0 -34
  469. package/_types/chains/definitions/klaytnBaobab.d.ts.map +0 -1
  470. package/_types/chains/definitions/kroma.d.ts +0 -36
  471. package/_types/chains/definitions/kroma.d.ts.map +0 -1
  472. package/_types/chains/definitions/kromaSepolia.d.ts +0 -36
  473. package/_types/chains/definitions/kromaSepolia.d.ts.map +0 -1
  474. package/_types/chains/definitions/lightlinkPegasus.d.ts +0 -36
  475. package/_types/chains/definitions/lightlinkPegasus.d.ts.map +0 -1
  476. package/_types/chains/definitions/lightlinkPhoenix.d.ts +0 -36
  477. package/_types/chains/definitions/lightlinkPhoenix.d.ts.map +0 -1
  478. package/_types/chains/definitions/linea.d.ts +0 -35
  479. package/_types/chains/definitions/linea.d.ts.map +0 -1
  480. package/_types/chains/definitions/lineaTestnet.d.ts +0 -35
  481. package/_types/chains/definitions/lineaTestnet.d.ts.map +0 -1
  482. package/_types/chains/definitions/localhost.d.ts +0 -41
  483. package/_types/chains/definitions/localhost.d.ts.map +0 -1
  484. package/_types/chains/definitions/lukso.d.ts +0 -38
  485. package/_types/chains/definitions/lukso.d.ts.map +0 -1
  486. package/_types/chains/definitions/mainnet.d.ts +0 -41
  487. package/_types/chains/definitions/mainnet.d.ts.map +0 -1
  488. package/_types/chains/definitions/mandala.d.ts +0 -42
  489. package/_types/chains/definitions/mandala.d.ts.map +0 -1
  490. package/_types/chains/definitions/manta.d.ts +0 -35
  491. package/_types/chains/definitions/manta.d.ts.map +0 -1
  492. package/_types/chains/definitions/mantaTestnet.d.ts +0 -35
  493. package/_types/chains/definitions/mantaTestnet.d.ts.map +0 -1
  494. package/_types/chains/definitions/mantle.d.ts +0 -34
  495. package/_types/chains/definitions/mantle.d.ts.map +0 -1
  496. package/_types/chains/definitions/mantleTestnet.d.ts +0 -34
  497. package/_types/chains/definitions/mantleTestnet.d.ts.map +0 -1
  498. package/_types/chains/definitions/metachain.d.ts +0 -33
  499. package/_types/chains/definitions/metachain.d.ts.map +0 -1
  500. package/_types/chains/definitions/meter.d.ts +0 -35
  501. package/_types/chains/definitions/meter.d.ts.map +0 -1
  502. package/_types/chains/definitions/meterTestnet.d.ts +0 -35
  503. package/_types/chains/definitions/meterTestnet.d.ts.map +0 -1
  504. package/_types/chains/definitions/metis.d.ts +0 -34
  505. package/_types/chains/definitions/metis.d.ts.map +0 -1
  506. package/_types/chains/definitions/metisGoerli.d.ts +0 -34
  507. package/_types/chains/definitions/metisGoerli.d.ts.map +0 -1
  508. package/_types/chains/definitions/mev.d.ts +0 -33
  509. package/_types/chains/definitions/mev.d.ts.map +0 -1
  510. package/_types/chains/definitions/mevTestnet.d.ts +0 -33
  511. package/_types/chains/definitions/mevTestnet.d.ts.map +0 -1
  512. package/_types/chains/definitions/modeTestnet.d.ts +0 -34
  513. package/_types/chains/definitions/modeTestnet.d.ts.map +0 -1
  514. package/_types/chains/definitions/moonbaseAlpha.d.ts +0 -35
  515. package/_types/chains/definitions/moonbaseAlpha.d.ts.map +0 -1
  516. package/_types/chains/definitions/moonbeam.d.ts +0 -35
  517. package/_types/chains/definitions/moonbeam.d.ts.map +0 -1
  518. package/_types/chains/definitions/moonbeamDev.d.ts +0 -42
  519. package/_types/chains/definitions/moonbeamDev.d.ts.map +0 -1
  520. package/_types/chains/definitions/moonriver.d.ts +0 -35
  521. package/_types/chains/definitions/moonriver.d.ts.map +0 -1
  522. package/_types/chains/definitions/neonDevnet.d.ts +0 -33
  523. package/_types/chains/definitions/neonDevnet.d.ts.map +0 -1
  524. package/_types/chains/definitions/neonMainnet.d.ts +0 -34
  525. package/_types/chains/definitions/neonMainnet.d.ts.map +0 -1
  526. package/_types/chains/definitions/nexi.d.ts +0 -34
  527. package/_types/chains/definitions/nexi.d.ts.map +0 -1
  528. package/_types/chains/definitions/nexilix.d.ts +0 -33
  529. package/_types/chains/definitions/nexilix.d.ts.map +0 -1
  530. package/_types/chains/definitions/oasisTestnet.d.ts +0 -40
  531. package/_types/chains/definitions/oasisTestnet.d.ts.map +0 -1
  532. package/_types/chains/definitions/oasys.d.ts +0 -36
  533. package/_types/chains/definitions/oasys.d.ts.map +0 -1
  534. package/_types/chains/definitions/okc.d.ts +0 -33
  535. package/_types/chains/definitions/okc.d.ts.map +0 -1
  536. package/_types/chains/definitions/oortmainnetDev.d.ts +0 -39
  537. package/_types/chains/definitions/oortmainnetDev.d.ts.map +0 -1
  538. package/_types/chains/definitions/opBNB.d.ts +0 -33
  539. package/_types/chains/definitions/opBNB.d.ts.map +0 -1
  540. package/_types/chains/definitions/opBNBTestnet.d.ts +0 -33
  541. package/_types/chains/definitions/opBNBTestnet.d.ts.map +0 -1
  542. package/_types/chains/definitions/optimism.d.ts +0 -810
  543. package/_types/chains/definitions/optimism.d.ts.map +0 -1
  544. package/_types/chains/definitions/optimismGoerli.d.ts +0 -810
  545. package/_types/chains/definitions/optimismGoerli.d.ts.map +0 -1
  546. package/_types/chains/definitions/optimismSepolia.d.ts +0 -810
  547. package/_types/chains/definitions/optimismSepolia.d.ts.map +0 -1
  548. package/_types/chains/definitions/palm.d.ts +0 -34
  549. package/_types/chains/definitions/palm.d.ts.map +0 -1
  550. package/_types/chains/definitions/palmTestnet.d.ts +0 -34
  551. package/_types/chains/definitions/palmTestnet.d.ts.map +0 -1
  552. package/_types/chains/definitions/pgn.d.ts +0 -796
  553. package/_types/chains/definitions/pgn.d.ts.map +0 -1
  554. package/_types/chains/definitions/pgnTestnet.d.ts +0 -791
  555. package/_types/chains/definitions/pgnTestnet.d.ts.map +0 -1
  556. package/_types/chains/definitions/plinga.d.ts +0 -33
  557. package/_types/chains/definitions/plinga.d.ts.map +0 -1
  558. package/_types/chains/definitions/polygon.d.ts +0 -34
  559. package/_types/chains/definitions/polygon.d.ts.map +0 -1
  560. package/_types/chains/definitions/polygonMumbai.d.ts +0 -34
  561. package/_types/chains/definitions/polygonMumbai.d.ts.map +0 -1
  562. package/_types/chains/definitions/polygonZkEvm.d.ts +0 -34
  563. package/_types/chains/definitions/polygonZkEvm.d.ts.map +0 -1
  564. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +0 -34
  565. package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +0 -1
  566. package/_types/chains/definitions/pulsechain.d.ts +0 -38
  567. package/_types/chains/definitions/pulsechain.d.ts.map +0 -1
  568. package/_types/chains/definitions/pulsechainV4.d.ts +0 -38
  569. package/_types/chains/definitions/pulsechainV4.d.ts.map +0 -1
  570. package/_types/chains/definitions/qMainnet.d.ts +0 -36
  571. package/_types/chains/definitions/qMainnet.d.ts.map +0 -1
  572. package/_types/chains/definitions/qTestnet.d.ts +0 -36
  573. package/_types/chains/definitions/qTestnet.d.ts.map +0 -1
  574. package/_types/chains/definitions/rollux.d.ts +0 -35
  575. package/_types/chains/definitions/rollux.d.ts.map +0 -1
  576. package/_types/chains/definitions/rolluxTestnet.d.ts +0 -35
  577. package/_types/chains/definitions/rolluxTestnet.d.ts.map +0 -1
  578. package/_types/chains/definitions/ronin.d.ts +0 -33
  579. package/_types/chains/definitions/ronin.d.ts.map +0 -1
  580. package/_types/chains/definitions/rootstock.d.ts +0 -34
  581. package/_types/chains/definitions/rootstock.d.ts.map +0 -1
  582. package/_types/chains/definitions/saigon.d.ts +0 -33
  583. package/_types/chains/definitions/saigon.d.ts.map +0 -1
  584. package/_types/chains/definitions/sapphire.d.ts +0 -36
  585. package/_types/chains/definitions/sapphire.d.ts.map +0 -1
  586. package/_types/chains/definitions/sapphireTestnet.d.ts +0 -38
  587. package/_types/chains/definitions/sapphireTestnet.d.ts.map +0 -1
  588. package/_types/chains/definitions/scroll.d.ts +0 -35
  589. package/_types/chains/definitions/scroll.d.ts.map +0 -1
  590. package/_types/chains/definitions/scrollSepolia.d.ts +0 -34
  591. package/_types/chains/definitions/scrollSepolia.d.ts.map +0 -1
  592. package/_types/chains/definitions/scrollTestnet.d.ts +0 -37
  593. package/_types/chains/definitions/scrollTestnet.d.ts.map +0 -1
  594. package/_types/chains/definitions/sepolia.d.ts +0 -41
  595. package/_types/chains/definitions/sepolia.d.ts.map +0 -1
  596. package/_types/chains/definitions/shardeumSphinx.d.ts +0 -35
  597. package/_types/chains/definitions/shardeumSphinx.d.ts.map +0 -1
  598. package/_types/chains/definitions/shibarium.d.ts +0 -34
  599. package/_types/chains/definitions/shibarium.d.ts.map +0 -1
  600. package/_types/chains/definitions/shimmer.d.ts +0 -37
  601. package/_types/chains/definitions/shimmer.d.ts.map +0 -1
  602. package/_types/chains/definitions/shimmerTestnet.d.ts +0 -37
  603. package/_types/chains/definitions/shimmerTestnet.d.ts.map +0 -1
  604. package/_types/chains/definitions/skale/brawl.d.ts +0 -29
  605. package/_types/chains/definitions/skale/brawl.d.ts.map +0 -1
  606. package/_types/chains/definitions/skale/calypso.d.ts +0 -34
  607. package/_types/chains/definitions/skale/calypso.d.ts.map +0 -1
  608. package/_types/chains/definitions/skale/calypsoTestnet.d.ts +0 -34
  609. package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +0 -1
  610. package/_types/chains/definitions/skale/chaosTestnet.d.ts +0 -34
  611. package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +0 -1
  612. package/_types/chains/definitions/skale/cryptoBlades.d.ts +0 -29
  613. package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +0 -1
  614. package/_types/chains/definitions/skale/cryptoColosseum.d.ts +0 -29
  615. package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +0 -1
  616. package/_types/chains/definitions/skale/europa.d.ts +0 -34
  617. package/_types/chains/definitions/skale/europa.d.ts.map +0 -1
  618. package/_types/chains/definitions/skale/europaTestnet.d.ts +0 -34
  619. package/_types/chains/definitions/skale/europaTestnet.d.ts.map +0 -1
  620. package/_types/chains/definitions/skale/exorde.d.ts +0 -29
  621. package/_types/chains/definitions/skale/exorde.d.ts.map +0 -1
  622. package/_types/chains/definitions/skale/humanProtocol.d.ts +0 -29
  623. package/_types/chains/definitions/skale/humanProtocol.d.ts.map +0 -1
  624. package/_types/chains/definitions/skale/nebula.d.ts +0 -34
  625. package/_types/chains/definitions/skale/nebula.d.ts.map +0 -1
  626. package/_types/chains/definitions/skale/nebulaTestnet.d.ts +0 -34
  627. package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +0 -1
  628. package/_types/chains/definitions/skale/razor.d.ts +0 -29
  629. package/_types/chains/definitions/skale/razor.d.ts.map +0 -1
  630. package/_types/chains/definitions/skale/titan.d.ts +0 -34
  631. package/_types/chains/definitions/skale/titan.d.ts.map +0 -1
  632. package/_types/chains/definitions/skale/titanTestnet.d.ts +0 -34
  633. package/_types/chains/definitions/skale/titanTestnet.d.ts.map +0 -1
  634. package/_types/chains/definitions/songbird.d.ts +0 -36
  635. package/_types/chains/definitions/songbird.d.ts.map +0 -1
  636. package/_types/chains/definitions/songbirdTestnet.d.ts +0 -36
  637. package/_types/chains/definitions/songbirdTestnet.d.ts.map +0 -1
  638. package/_types/chains/definitions/spicy.d.ts +0 -38
  639. package/_types/chains/definitions/spicy.d.ts.map +0 -1
  640. package/_types/chains/definitions/syscoin.d.ts +0 -35
  641. package/_types/chains/definitions/syscoin.d.ts.map +0 -1
  642. package/_types/chains/definitions/syscoinTestnet.d.ts +0 -34
  643. package/_types/chains/definitions/syscoinTestnet.d.ts.map +0 -1
  644. package/_types/chains/definitions/taikoJolnir.d.ts +0 -33
  645. package/_types/chains/definitions/taikoJolnir.d.ts.map +0 -1
  646. package/_types/chains/definitions/taikoKatla.d.ts +0 -39
  647. package/_types/chains/definitions/taikoKatla.d.ts.map +0 -1
  648. package/_types/chains/definitions/taikoTestnetSepolia.d.ts +0 -35
  649. package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +0 -1
  650. package/_types/chains/definitions/taraxa.d.ts +0 -35
  651. package/_types/chains/definitions/taraxa.d.ts.map +0 -1
  652. package/_types/chains/definitions/taraxaTestnet.d.ts +0 -35
  653. package/_types/chains/definitions/taraxaTestnet.d.ts.map +0 -1
  654. package/_types/chains/definitions/telos.d.ts +0 -33
  655. package/_types/chains/definitions/telos.d.ts.map +0 -1
  656. package/_types/chains/definitions/telosTestnet.d.ts +0 -35
  657. package/_types/chains/definitions/telosTestnet.d.ts.map +0 -1
  658. package/_types/chains/definitions/tenet.d.ts +0 -37
  659. package/_types/chains/definitions/tenet.d.ts.map +0 -1
  660. package/_types/chains/definitions/thunderTestnet.d.ts +0 -35
  661. package/_types/chains/definitions/thunderTestnet.d.ts.map +0 -1
  662. package/_types/chains/definitions/vechain.d.ts +0 -39
  663. package/_types/chains/definitions/vechain.d.ts.map +0 -1
  664. package/_types/chains/definitions/wanchain.d.ts +0 -33
  665. package/_types/chains/definitions/wanchain.d.ts.map +0 -1
  666. package/_types/chains/definitions/wanchainTestnet.d.ts +0 -33
  667. package/_types/chains/definitions/wanchainTestnet.d.ts.map +0 -1
  668. package/_types/chains/definitions/wemix.d.ts +0 -39
  669. package/_types/chains/definitions/wemix.d.ts.map +0 -1
  670. package/_types/chains/definitions/wemixTestnet.d.ts +0 -40
  671. package/_types/chains/definitions/wemixTestnet.d.ts.map +0 -1
  672. package/_types/chains/definitions/xdc.d.ts +0 -39
  673. package/_types/chains/definitions/xdc.d.ts.map +0 -1
  674. package/_types/chains/definitions/xdcTestnet.d.ts +0 -35
  675. package/_types/chains/definitions/xdcTestnet.d.ts.map +0 -1
  676. package/_types/chains/definitions/zetachainAthensTestnet.d.ts +0 -35
  677. package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +0 -1
  678. package/_types/chains/definitions/zhejiang.d.ts +0 -35
  679. package/_types/chains/definitions/zhejiang.d.ts.map +0 -1
  680. package/_types/chains/definitions/zilliqa.d.ts +0 -36
  681. package/_types/chains/definitions/zilliqa.d.ts.map +0 -1
  682. package/_types/chains/definitions/zilliqaTestnet.d.ts +0 -36
  683. package/_types/chains/definitions/zilliqaTestnet.d.ts.map +0 -1
  684. package/_types/chains/definitions/zkFair.d.ts +0 -38
  685. package/_types/chains/definitions/zkFair.d.ts.map +0 -1
  686. package/_types/chains/definitions/zkFairTestnet.d.ts +0 -39
  687. package/_types/chains/definitions/zkFairTestnet.d.ts.map +0 -1
  688. package/_types/chains/definitions/zkSync.d.ts +0 -650
  689. package/_types/chains/definitions/zkSync.d.ts.map +0 -1
  690. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts +0 -649
  691. package/_types/chains/definitions/zkSyncSepoliaTestnet.d.ts.map +0 -1
  692. package/_types/chains/definitions/zkSyncTestnet.d.ts +0 -650
  693. package/_types/chains/definitions/zkSyncTestnet.d.ts.map +0 -1
  694. package/_types/chains/definitions/zora.d.ts +0 -811
  695. package/_types/chains/definitions/zora.d.ts.map +0 -1
  696. package/_types/chains/definitions/zoraSepolia.d.ts +0 -812
  697. package/_types/chains/definitions/zoraSepolia.d.ts.map +0 -1
  698. package/_types/chains/definitions/zoraTestnet.d.ts +0 -806
  699. package/_types/chains/definitions/zoraTestnet.d.ts.map +0 -1
  700. package/_types/chains/index.d.ts +0 -204
  701. package/_types/chains/index.d.ts.map +0 -1
  702. package/_types/chains/opStack/abis.d.ts +0 -1010
  703. package/_types/chains/opStack/abis.d.ts.map +0 -1
  704. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts +0 -65
  705. package/_types/chains/opStack/actions/buildDepositTransaction.d.ts.map +0 -1
  706. package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts +0 -50
  707. package/_types/chains/opStack/actions/buildInitiateWithdrawal.d.ts.map +0 -1
  708. package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts +0 -48
  709. package/_types/chains/opStack/actions/buildProveWithdrawal.d.ts.map +0 -1
  710. package/_types/chains/opStack/actions/depositTransaction.d.ts +0 -80
  711. package/_types/chains/opStack/actions/depositTransaction.d.ts.map +0 -1
  712. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts +0 -39
  713. package/_types/chains/opStack/actions/estimateContractL1Fee.d.ts.map +0 -1
  714. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts +0 -39
  715. package/_types/chains/opStack/actions/estimateContractL1Gas.d.ts.map +0 -1
  716. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts +0 -39
  717. package/_types/chains/opStack/actions/estimateContractTotalFee.d.ts.map +0 -1
  718. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts +0 -39
  719. package/_types/chains/opStack/actions/estimateContractTotalGas.d.ts.map +0 -1
  720. package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts +0 -50
  721. package/_types/chains/opStack/actions/estimateDepositTransactionGas.d.ts.map +0 -1
  722. package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts +0 -45
  723. package/_types/chains/opStack/actions/estimateFinalizeWithdrawalGas.d.ts.map +0 -1
  724. package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts +0 -51
  725. package/_types/chains/opStack/actions/estimateInitiateWithdrawalGas.d.ts.map +0 -1
  726. package/_types/chains/opStack/actions/estimateL1Fee.d.ts +0 -43
  727. package/_types/chains/opStack/actions/estimateL1Fee.d.ts.map +0 -1
  728. package/_types/chains/opStack/actions/estimateL1Gas.d.ts +0 -43
  729. package/_types/chains/opStack/actions/estimateL1Gas.d.ts.map +0 -1
  730. package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts +0 -63
  731. package/_types/chains/opStack/actions/estimateProveWithdrawalGas.d.ts.map +0 -1
  732. package/_types/chains/opStack/actions/estimateTotalFee.d.ts +0 -37
  733. package/_types/chains/opStack/actions/estimateTotalFee.d.ts.map +0 -1
  734. package/_types/chains/opStack/actions/estimateTotalGas.d.ts +0 -36
  735. package/_types/chains/opStack/actions/estimateTotalGas.d.ts.map +0 -1
  736. package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts +0 -49
  737. package/_types/chains/opStack/actions/finalizeWithdrawal.d.ts.map +0 -1
  738. package/_types/chains/opStack/actions/getL2Output.d.ts +0 -44
  739. package/_types/chains/opStack/actions/getL2Output.d.ts.map +0 -1
  740. package/_types/chains/opStack/actions/getTimeToFinalize.d.ts +0 -57
  741. package/_types/chains/opStack/actions/getTimeToFinalize.d.ts.map +0 -1
  742. package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts +0 -61
  743. package/_types/chains/opStack/actions/getTimeToNextL2Output.d.ts.map +0 -1
  744. package/_types/chains/opStack/actions/getTimeToProve.d.ts +0 -50
  745. package/_types/chains/opStack/actions/getTimeToProve.d.ts.map +0 -1
  746. package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts +0 -48
  747. package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts.map +0 -1
  748. package/_types/chains/opStack/actions/initiateWithdrawal.d.ts +0 -77
  749. package/_types/chains/opStack/actions/initiateWithdrawal.d.ts.map +0 -1
  750. package/_types/chains/opStack/actions/proveWithdrawal.d.ts +0 -67
  751. package/_types/chains/opStack/actions/proveWithdrawal.d.ts.map +0 -1
  752. package/_types/chains/opStack/actions/waitForNextL2Output.d.ts +0 -55
  753. package/_types/chains/opStack/actions/waitForNextL2Output.d.ts.map +0 -1
  754. package/_types/chains/opStack/actions/waitToFinalize.d.ts +0 -45
  755. package/_types/chains/opStack/actions/waitToFinalize.d.ts.map +0 -1
  756. package/_types/chains/opStack/actions/waitToProve.d.ts +0 -55
  757. package/_types/chains/opStack/actions/waitToProve.d.ts.map +0 -1
  758. package/_types/chains/opStack/chainConfig.d.ts +0 -773
  759. package/_types/chains/opStack/chainConfig.d.ts.map +0 -1
  760. package/_types/chains/opStack/chains.d.ts +0 -12
  761. package/_types/chains/opStack/chains.d.ts.map +0 -1
  762. package/_types/chains/opStack/contracts.d.ts +0 -25
  763. package/_types/chains/opStack/contracts.d.ts.map +0 -1
  764. package/_types/chains/opStack/decorators/publicL1.d.ts +0 -401
  765. package/_types/chains/opStack/decorators/publicL1.d.ts.map +0 -1
  766. package/_types/chains/opStack/decorators/publicL2.d.ts +0 -312
  767. package/_types/chains/opStack/decorators/publicL2.d.ts.map +0 -1
  768. package/_types/chains/opStack/decorators/walletL1.d.ts +0 -136
  769. package/_types/chains/opStack/decorators/walletL1.d.ts.map +0 -1
  770. package/_types/chains/opStack/decorators/walletL2.d.ts +0 -79
  771. package/_types/chains/opStack/decorators/walletL2.d.ts.map +0 -1
  772. package/_types/chains/opStack/errors/withdrawal.d.ts +0 -12
  773. package/_types/chains/opStack/errors/withdrawal.d.ts.map +0 -1
  774. package/_types/chains/opStack/formatters.d.ts +0 -751
  775. package/_types/chains/opStack/formatters.d.ts.map +0 -1
  776. package/_types/chains/opStack/index.d.ts +0 -42
  777. package/_types/chains/opStack/index.d.ts.map +0 -1
  778. package/_types/chains/opStack/parsers.d.ts +0 -8
  779. package/_types/chains/opStack/parsers.d.ts.map +0 -1
  780. package/_types/chains/opStack/serializers.d.ts +0 -12
  781. package/_types/chains/opStack/serializers.d.ts.map +0 -1
  782. package/_types/chains/opStack/types/block.d.ts +0 -13
  783. package/_types/chains/opStack/types/block.d.ts.map +0 -1
  784. package/_types/chains/opStack/types/chain.d.ts +0 -9
  785. package/_types/chains/opStack/types/chain.d.ts.map +0 -1
  786. package/_types/chains/opStack/types/contract.d.ts +0 -14
  787. package/_types/chains/opStack/types/contract.d.ts.map +0 -1
  788. package/_types/chains/opStack/types/deposit.d.ts +0 -25
  789. package/_types/chains/opStack/types/deposit.d.ts.map +0 -1
  790. package/_types/chains/opStack/types/transaction.d.ts +0 -60
  791. package/_types/chains/opStack/types/transaction.d.ts.map +0 -1
  792. package/_types/chains/opStack/types/withdrawal.d.ts +0 -22
  793. package/_types/chains/opStack/types/withdrawal.d.ts.map +0 -1
  794. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts +0 -446
  795. package/_types/chains/opStack/utils/extractTransactionDepositedLogs.d.ts.map +0 -1
  796. package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts +0 -137
  797. package/_types/chains/opStack/utils/extractWithdrawalMessageLogs.d.ts.map +0 -1
  798. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts +0 -12
  799. package/_types/chains/opStack/utils/getL2TransactionHash.d.ts.map +0 -1
  800. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts +0 -11
  801. package/_types/chains/opStack/utils/getL2TransactionHashes.d.ts.map +0 -1
  802. package/_types/chains/opStack/utils/getSourceHash.d.ts +0 -28
  803. package/_types/chains/opStack/utils/getSourceHash.d.ts.map +0 -1
  804. package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts +0 -11
  805. package/_types/chains/opStack/utils/getWithdrawalHashStorageSlot.d.ts.map +0 -1
  806. package/_types/chains/opStack/utils/getWithdrawals.d.ts +0 -12
  807. package/_types/chains/opStack/utils/getWithdrawals.d.ts.map +0 -1
  808. package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts +0 -15
  809. package/_types/chains/opStack/utils/opaqueDataToDepositData.d.ts.map +0 -1
  810. package/_types/chains/utils.d.ts +0 -5
  811. package/_types/chains/utils.d.ts.map +0 -1
  812. package/_types/chains/zksync/actions/sendEip712Transaction.d.ts +0 -50
  813. package/_types/chains/zksync/actions/sendEip712Transaction.d.ts.map +0 -1
  814. package/_types/chains/zksync/actions/sendTransaction.d.ts +0 -54
  815. package/_types/chains/zksync/actions/sendTransaction.d.ts.map +0 -1
  816. package/_types/chains/zksync/actions/signEip712Transaction.d.ts +0 -54
  817. package/_types/chains/zksync/actions/signEip712Transaction.d.ts.map +0 -1
  818. package/_types/chains/zksync/actions/signTransaction.d.ts +0 -56
  819. package/_types/chains/zksync/actions/signTransaction.d.ts.map +0 -1
  820. package/_types/chains/zksync/chainConfig.d.ts +0 -621
  821. package/_types/chains/zksync/chainConfig.d.ts.map +0 -1
  822. package/_types/chains/zksync/chains.d.ts +0 -4
  823. package/_types/chains/zksync/chains.d.ts.map +0 -1
  824. package/_types/chains/zksync/decorators/eip712.d.ts +0 -151
  825. package/_types/chains/zksync/decorators/eip712.d.ts.map +0 -1
  826. package/_types/chains/zksync/errors/transaction.d.ts +0 -9
  827. package/_types/chains/zksync/errors/transaction.d.ts.map +0 -1
  828. package/_types/chains/zksync/formatters.d.ts +0 -617
  829. package/_types/chains/zksync/formatters.d.ts.map +0 -1
  830. package/_types/chains/zksync/index.d.ts +0 -15
  831. package/_types/chains/zksync/index.d.ts.map +0 -1
  832. package/_types/chains/zksync/serializers.d.ts +0 -8
  833. package/_types/chains/zksync/serializers.d.ts.map +0 -1
  834. package/_types/chains/zksync/types/block.d.ts +0 -15
  835. package/_types/chains/zksync/types/block.d.ts.map +0 -1
  836. package/_types/chains/zksync/types/chain.d.ts +0 -9
  837. package/_types/chains/zksync/types/chain.d.ts.map +0 -1
  838. package/_types/chains/zksync/types/eip712.d.ts +0 -27
  839. package/_types/chains/zksync/types/eip712.d.ts.map +0 -1
  840. package/_types/chains/zksync/types/fee.d.ts +0 -6
  841. package/_types/chains/zksync/types/fee.d.ts.map +0 -1
  842. package/_types/chains/zksync/types/log.d.ts +0 -41
  843. package/_types/chains/zksync/types/log.d.ts.map +0 -1
  844. package/_types/chains/zksync/types/transaction.d.ts +0 -122
  845. package/_types/chains/zksync/types/transaction.d.ts.map +0 -1
  846. package/_types/chains/zksync/utils/assertEip712Request.d.ts +0 -8
  847. package/_types/chains/zksync/utils/assertEip712Request.d.ts.map +0 -1
  848. package/_types/chains/zksync/utils/assertEip712Transaction.d.ts +0 -3
  849. package/_types/chains/zksync/utils/assertEip712Transaction.d.ts.map +0 -1
  850. package/_types/chains/zksync/utils/getEip712Domain.d.ts +0 -4
  851. package/_types/chains/zksync/utils/getEip712Domain.d.ts.map +0 -1
  852. package/_types/chains/zksync/utils/isEip712Transaction.d.ts +0 -3
  853. package/_types/chains/zksync/utils/isEip712Transaction.d.ts.map +0 -1
  854. package/_types/clients/createClient.d.ts +0 -86
  855. package/_types/clients/createClient.d.ts.map +0 -1
  856. package/_types/clients/createPublicClient.d.ts +0 -31
  857. package/_types/clients/createPublicClient.d.ts.map +0 -1
  858. package/_types/clients/createTestClient.d.ts +0 -45
  859. package/_types/clients/createTestClient.d.ts.map +0 -1
  860. package/_types/clients/createWalletClient.d.ts +0 -51
  861. package/_types/clients/createWalletClient.d.ts.map +0 -1
  862. package/_types/clients/decorators/public.d.ts +0 -1252
  863. package/_types/clients/decorators/public.d.ts.map +0 -1
  864. package/_types/clients/decorators/test.d.ts +0 -640
  865. package/_types/clients/decorators/test.d.ts.map +0 -1
  866. package/_types/clients/decorators/wallet.d.ts +0 -561
  867. package/_types/clients/decorators/wallet.d.ts.map +0 -1
  868. package/_types/clients/transports/createTransport.d.ts +0 -36
  869. package/_types/clients/transports/createTransport.d.ts.map +0 -1
  870. package/_types/clients/transports/custom.d.ts +0 -23
  871. package/_types/clients/transports/custom.d.ts.map +0 -1
  872. package/_types/clients/transports/fallback.d.ts +0 -77
  873. package/_types/clients/transports/fallback.d.ts.map +0 -1
  874. package/_types/clients/transports/http.d.ts +0 -44
  875. package/_types/clients/transports/http.d.ts.map +0 -1
  876. package/_types/clients/transports/ipc.d.ts +0 -46
  877. package/_types/clients/transports/ipc.d.ts.map +0 -1
  878. package/_types/clients/transports/webSocket.d.ts +0 -52
  879. package/_types/clients/transports/webSocket.d.ts.map +0 -1
  880. package/_types/constants/abis.d.ts +0 -1130
  881. package/_types/constants/abis.d.ts.map +0 -1
  882. package/_types/constants/address.d.ts +0 -2
  883. package/_types/constants/address.d.ts.map +0 -1
  884. package/_types/constants/bytes.d.ts +0 -2
  885. package/_types/constants/bytes.d.ts.map +0 -1
  886. package/_types/constants/contract.d.ts +0 -2
  887. package/_types/constants/contract.d.ts.map +0 -1
  888. package/_types/constants/contracts.d.ts +0 -2
  889. package/_types/constants/contracts.d.ts.map +0 -1
  890. package/_types/constants/number.d.ts +0 -97
  891. package/_types/constants/number.d.ts.map +0 -1
  892. package/_types/constants/solidity.d.ts +0 -15
  893. package/_types/constants/solidity.d.ts.map +0 -1
  894. package/_types/constants/strings.d.ts +0 -2
  895. package/_types/constants/strings.d.ts.map +0 -1
  896. package/_types/constants/unit.d.ts +0 -13
  897. package/_types/constants/unit.d.ts.map +0 -1
  898. package/_types/ens/index.d.ts +0 -9
  899. package/_types/ens/index.d.ts.map +0 -1
  900. package/_types/errors/abi.d.ts +0 -267
  901. package/_types/errors/abi.d.ts.map +0 -1
  902. package/_types/errors/account.d.ts +0 -11
  903. package/_types/errors/account.d.ts.map +0 -1
  904. package/_types/errors/address.d.ts +0 -11
  905. package/_types/errors/address.d.ts.map +0 -1
  906. package/_types/errors/base.d.ts +0 -27
  907. package/_types/errors/base.d.ts.map +0 -1
  908. package/_types/errors/block.d.ts +0 -13
  909. package/_types/errors/block.d.ts.map +0 -1
  910. package/_types/errors/ccip.d.ts +0 -38
  911. package/_types/errors/ccip.d.ts.map +0 -1
  912. package/_types/errors/chain.d.ts +0 -50
  913. package/_types/errors/chain.d.ts.map +0 -1
  914. package/_types/errors/contract.d.ts +0 -79
  915. package/_types/errors/contract.d.ts.map +0 -1
  916. package/_types/errors/cursor.d.ts +0 -31
  917. package/_types/errors/cursor.d.ts.map +0 -1
  918. package/_types/errors/data.d.ts +0 -24
  919. package/_types/errors/data.d.ts.map +0 -1
  920. package/_types/errors/encoding.d.ts +0 -47
  921. package/_types/errors/encoding.d.ts.map +0 -1
  922. package/_types/errors/ens.d.ts +0 -38
  923. package/_types/errors/ens.d.ts.map +0 -1
  924. package/_types/errors/estimateGas.d.ts +0 -17
  925. package/_types/errors/estimateGas.d.ts.map +0 -1
  926. package/_types/errors/fee.d.ts +0 -25
  927. package/_types/errors/fee.d.ts.map +0 -1
  928. package/_types/errors/log.d.ts +0 -9
  929. package/_types/errors/log.d.ts.map +0 -1
  930. package/_types/errors/node.d.ts +0 -142
  931. package/_types/errors/node.d.ts.map +0 -1
  932. package/_types/errors/request.d.ts +0 -73
  933. package/_types/errors/request.d.ts.map +0 -1
  934. package/_types/errors/rpc.d.ts +0 -302
  935. package/_types/errors/rpc.d.ts.map +0 -1
  936. package/_types/errors/transaction.d.ts +0 -109
  937. package/_types/errors/transaction.d.ts.map +0 -1
  938. package/_types/errors/transport.d.ts +0 -8
  939. package/_types/errors/transport.d.ts.map +0 -1
  940. package/_types/errors/utils.d.ts +0 -8
  941. package/_types/errors/utils.d.ts.map +0 -1
  942. package/_types/errors/version.d.ts +0 -2
  943. package/_types/errors/version.d.ts.map +0 -1
  944. package/_types/index.d.ts +0 -244
  945. package/_types/index.d.ts.map +0 -1
  946. package/_types/node/index.d.ts +0 -3
  947. package/_types/node/index.d.ts.map +0 -1
  948. package/_types/types/account.d.ts +0 -15
  949. package/_types/types/account.d.ts.map +0 -1
  950. package/_types/types/block.d.ts +0 -71
  951. package/_types/types/block.d.ts.map +0 -1
  952. package/_types/types/chain.d.ts +0 -162
  953. package/_types/types/chain.d.ts.map +0 -1
  954. package/_types/types/contract.d.ts +0 -119
  955. package/_types/types/contract.d.ts.map +0 -1
  956. package/_types/types/eip1193.d.ts +0 -1283
  957. package/_types/types/eip1193.d.ts.map +0 -1
  958. package/_types/types/ens.d.ts +0 -5
  959. package/_types/types/ens.d.ts.map +0 -1
  960. package/_types/types/fee.d.ts +0 -36
  961. package/_types/types/fee.d.ts.map +0 -1
  962. package/_types/types/filter.d.ts +0 -40
  963. package/_types/types/filter.d.ts.map +0 -1
  964. package/_types/types/log.d.ts +0 -55
  965. package/_types/types/log.d.ts.map +0 -1
  966. package/_types/types/misc.d.ts +0 -18
  967. package/_types/types/misc.d.ts.map +0 -1
  968. package/_types/types/multicall.d.ts +0 -58
  969. package/_types/types/multicall.d.ts.map +0 -1
  970. package/_types/types/proof.d.ts +0 -18
  971. package/_types/types/proof.d.ts.map +0 -1
  972. package/_types/types/rpc.d.ts +0 -57
  973. package/_types/types/rpc.d.ts.map +0 -1
  974. package/_types/types/transaction.d.ts +0 -173
  975. package/_types/types/transaction.d.ts.map +0 -1
  976. package/_types/types/transport.d.ts +0 -24
  977. package/_types/types/transport.d.ts.map +0 -1
  978. package/_types/types/typedData.d.ts +0 -25
  979. package/_types/types/typedData.d.ts.map +0 -1
  980. package/_types/types/utils.d.ts +0 -171
  981. package/_types/types/utils.d.ts.map +0 -1
  982. package/_types/types/window.d.ts +0 -7
  983. package/_types/types/window.d.ts.map +0 -1
  984. package/_types/types/withdrawal.d.ts +0 -8
  985. package/_types/types/withdrawal.d.ts.map +0 -1
  986. package/_types/utils/abi/decodeAbiParameters.d.ts +0 -24
  987. package/_types/utils/abi/decodeAbiParameters.d.ts.map +0 -1
  988. package/_types/utils/abi/decodeDeployData.d.ts +0 -18
  989. package/_types/utils/abi/decodeDeployData.d.ts.map +0 -1
  990. package/_types/utils/abi/decodeErrorResult.d.ts +0 -27
  991. package/_types/utils/abi/decodeErrorResult.d.ts.map +0 -1
  992. package/_types/utils/abi/decodeEventLog.d.ts +0 -33
  993. package/_types/utils/abi/decodeEventLog.d.ts.map +0 -1
  994. package/_types/utils/abi/decodeFunctionData.d.ts +0 -26
  995. package/_types/utils/abi/decodeFunctionData.d.ts.map +0 -1
  996. package/_types/utils/abi/decodeFunctionResult.d.ts +0 -26
  997. package/_types/utils/abi/decodeFunctionResult.d.ts.map +0 -1
  998. package/_types/utils/abi/encodeAbiParameters.d.ts +0 -30
  999. package/_types/utils/abi/encodeAbiParameters.d.ts.map +0 -1
  1000. package/_types/utils/abi/encodeDeployData.d.ts +0 -22
  1001. package/_types/utils/abi/encodeDeployData.d.ts.map +0 -1
  1002. package/_types/utils/abi/encodeErrorResult.d.ts +0 -24
  1003. package/_types/utils/abi/encodeErrorResult.d.ts.map +0 -1
  1004. package/_types/utils/abi/encodeEventTopics.d.ts +0 -26
  1005. package/_types/utils/abi/encodeEventTopics.d.ts.map +0 -1
  1006. package/_types/utils/abi/encodeFunctionData.d.ts +0 -28
  1007. package/_types/utils/abi/encodeFunctionData.d.ts.map +0 -1
  1008. package/_types/utils/abi/encodeFunctionResult.d.ts +0 -22
  1009. package/_types/utils/abi/encodeFunctionResult.d.ts.map +0 -1
  1010. package/_types/utils/abi/encodePacked.d.ts +0 -20
  1011. package/_types/utils/abi/encodePacked.d.ts.map +0 -1
  1012. package/_types/utils/abi/formatAbiItem.d.ts +0 -14
  1013. package/_types/utils/abi/formatAbiItem.d.ts.map +0 -1
  1014. package/_types/utils/abi/formatAbiItemWithArgs.d.ts +0 -10
  1015. package/_types/utils/abi/formatAbiItemWithArgs.d.ts.map +0 -1
  1016. package/_types/utils/abi/getAbiItem.d.ts +0 -23
  1017. package/_types/utils/abi/getAbiItem.d.ts.map +0 -1
  1018. package/_types/utils/abi/parseEventLogs.d.ts +0 -43
  1019. package/_types/utils/abi/parseEventLogs.d.ts.map +0 -1
  1020. package/_types/utils/accounts.d.ts +0 -3
  1021. package/_types/utils/accounts.d.ts.map +0 -1
  1022. package/_types/utils/address/getAddress.d.ts +0 -10
  1023. package/_types/utils/address/getAddress.d.ts.map +0 -1
  1024. package/_types/utils/address/getContractAddress.d.ts +0 -35
  1025. package/_types/utils/address/getContractAddress.d.ts.map +0 -1
  1026. package/_types/utils/address/isAddress.d.ts +0 -5
  1027. package/_types/utils/address/isAddress.d.ts.map +0 -1
  1028. package/_types/utils/address/isAddressEqual.d.ts +0 -7
  1029. package/_types/utils/address/isAddressEqual.d.ts.map +0 -1
  1030. package/_types/utils/buildRequest.d.ts +0 -11
  1031. package/_types/utils/buildRequest.d.ts.map +0 -1
  1032. package/_types/utils/ccip.d.ts +0 -40
  1033. package/_types/utils/ccip.d.ts.map +0 -1
  1034. package/_types/utils/chain/assertCurrentChain.d.ts +0 -10
  1035. package/_types/utils/chain/assertCurrentChain.d.ts.map +0 -1
  1036. package/_types/utils/chain/defineChain.d.ts +0 -4
  1037. package/_types/utils/chain/defineChain.d.ts.map +0 -1
  1038. package/_types/utils/chain/extractChain.d.ts +0 -10
  1039. package/_types/utils/chain/extractChain.d.ts.map +0 -1
  1040. package/_types/utils/chain/getChainContractAddress.d.ts +0 -9
  1041. package/_types/utils/chain/getChainContractAddress.d.ts.map +0 -1
  1042. package/_types/utils/cursor.d.ts +0 -47
  1043. package/_types/utils/cursor.d.ts.map +0 -1
  1044. package/_types/utils/data/concat.d.ts +0 -10
  1045. package/_types/utils/data/concat.d.ts.map +0 -1
  1046. package/_types/utils/data/isBytes.d.ts +0 -5
  1047. package/_types/utils/data/isBytes.d.ts.map +0 -1
  1048. package/_types/utils/data/isBytesEqual.d.ts +0 -7
  1049. package/_types/utils/data/isBytesEqual.d.ts.map +0 -1
  1050. package/_types/utils/data/isHex.d.ts +0 -7
  1051. package/_types/utils/data/isHex.d.ts.map +0 -1
  1052. package/_types/utils/data/pad.d.ts +0 -16
  1053. package/_types/utils/data/pad.d.ts.map +0 -1
  1054. package/_types/utils/data/size.d.ts +0 -12
  1055. package/_types/utils/data/size.d.ts.map +0 -1
  1056. package/_types/utils/data/slice.d.ts +0 -42
  1057. package/_types/utils/data/slice.d.ts.map +0 -1
  1058. package/_types/utils/data/trim.d.ts +0 -10
  1059. package/_types/utils/data/trim.d.ts.map +0 -1
  1060. package/_types/utils/encoding/fromBytes.d.ts +0 -117
  1061. package/_types/utils/encoding/fromBytes.d.ts.map +0 -1
  1062. package/_types/utils/encoding/fromHex.d.ts +0 -149
  1063. package/_types/utils/encoding/fromHex.d.ts.map +0 -1
  1064. package/_types/utils/encoding/fromRlp.d.ts +0 -21
  1065. package/_types/utils/encoding/fromRlp.d.ts.map +0 -1
  1066. package/_types/utils/encoding/toBytes.d.ts +0 -134
  1067. package/_types/utils/encoding/toBytes.d.ts.map +0 -1
  1068. package/_types/utils/encoding/toHex.d.ts +0 -148
  1069. package/_types/utils/encoding/toHex.d.ts.map +0 -1
  1070. package/_types/utils/encoding/toRlp.d.ts +0 -16
  1071. package/_types/utils/encoding/toRlp.d.ts.map +0 -1
  1072. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts +0 -13
  1073. package/_types/utils/ens/avatar/parseAvatarRecord.d.ts.map +0 -1
  1074. package/_types/utils/ens/avatar/utils.d.ts +0 -48
  1075. package/_types/utils/ens/avatar/utils.d.ts.map +0 -1
  1076. package/_types/utils/ens/encodeLabelhash.d.ts +0 -5
  1077. package/_types/utils/ens/encodeLabelhash.d.ts.map +0 -1
  1078. package/_types/utils/ens/encodedLabelToLabelhash.d.ts +0 -6
  1079. package/_types/utils/ens/encodedLabelToLabelhash.d.ts.map +0 -1
  1080. package/_types/utils/ens/errors.d.ts +0 -4
  1081. package/_types/utils/ens/errors.d.ts.map +0 -1
  1082. package/_types/utils/ens/labelhash.d.ts +0 -17
  1083. package/_types/utils/ens/labelhash.d.ts.map +0 -1
  1084. package/_types/utils/ens/namehash.d.ts +0 -20
  1085. package/_types/utils/ens/namehash.d.ts.map +0 -1
  1086. package/_types/utils/ens/normalize.d.ts +0 -14
  1087. package/_types/utils/ens/normalize.d.ts.map +0 -1
  1088. package/_types/utils/ens/packetToBytes.d.ts +0 -8
  1089. package/_types/utils/ens/packetToBytes.d.ts.map +0 -1
  1090. package/_types/utils/errors/getCallError.d.ts +0 -13
  1091. package/_types/utils/errors/getCallError.d.ts.map +0 -1
  1092. package/_types/utils/errors/getContractError.d.ts +0 -15
  1093. package/_types/utils/errors/getContractError.d.ts.map +0 -1
  1094. package/_types/utils/errors/getEstimateGasError.d.ts +0 -15
  1095. package/_types/utils/errors/getEstimateGasError.d.ts.map +0 -1
  1096. package/_types/utils/errors/getNodeError.d.ts +0 -8
  1097. package/_types/utils/errors/getNodeError.d.ts.map +0 -1
  1098. package/_types/utils/errors/getTransactionError.d.ts +0 -16
  1099. package/_types/utils/errors/getTransactionError.d.ts.map +0 -1
  1100. package/_types/utils/filters/createFilterRequestScope.d.ts +0 -22
  1101. package/_types/utils/filters/createFilterRequestScope.d.ts.map +0 -1
  1102. package/_types/utils/formatters/block.d.ts +0 -28
  1103. package/_types/utils/formatters/block.d.ts.map +0 -1
  1104. package/_types/utils/formatters/extract.d.ts +0 -10
  1105. package/_types/utils/formatters/extract.d.ts.map +0 -1
  1106. package/_types/utils/formatters/feeHistory.d.ts +0 -6
  1107. package/_types/utils/formatters/feeHistory.d.ts.map +0 -1
  1108. package/_types/utils/formatters/formatter.d.ts +0 -12
  1109. package/_types/utils/formatters/formatter.d.ts.map +0 -1
  1110. package/_types/utils/formatters/log.d.ts +0 -9
  1111. package/_types/utils/formatters/log.d.ts.map +0 -1
  1112. package/_types/utils/formatters/proof.d.ts +0 -6
  1113. package/_types/utils/formatters/proof.d.ts.map +0 -1
  1114. package/_types/utils/formatters/transaction.d.ts +0 -415
  1115. package/_types/utils/formatters/transaction.d.ts.map +0 -1
  1116. package/_types/utils/formatters/transactionReceipt.d.ts +0 -18
  1117. package/_types/utils/formatters/transactionReceipt.d.ts.map +0 -1
  1118. package/_types/utils/formatters/transactionRequest.d.ts +0 -24
  1119. package/_types/utils/formatters/transactionRequest.d.ts.map +0 -1
  1120. package/_types/utils/getAction.d.ts +0 -10
  1121. package/_types/utils/getAction.d.ts.map +0 -1
  1122. package/_types/utils/hash/hashSignature.d.ts +0 -6
  1123. package/_types/utils/hash/hashSignature.d.ts.map +0 -1
  1124. package/_types/utils/hash/isHash.d.ts +0 -7
  1125. package/_types/utils/hash/isHash.d.ts.map +0 -1
  1126. package/_types/utils/hash/keccak256.d.ts +0 -11
  1127. package/_types/utils/hash/keccak256.d.ts.map +0 -1
  1128. package/_types/utils/hash/normalizeSignature.d.ts +0 -6
  1129. package/_types/utils/hash/normalizeSignature.d.ts.map +0 -1
  1130. package/_types/utils/hash/ripemd160.d.ts +0 -11
  1131. package/_types/utils/hash/ripemd160.d.ts.map +0 -1
  1132. package/_types/utils/hash/sha256.d.ts +0 -11
  1133. package/_types/utils/hash/sha256.d.ts.map +0 -1
  1134. package/_types/utils/hash/toEventHash.d.ts +0 -2
  1135. package/_types/utils/hash/toEventHash.d.ts.map +0 -1
  1136. package/_types/utils/hash/toEventSelector.d.ts +0 -12
  1137. package/_types/utils/hash/toEventSelector.d.ts.map +0 -1
  1138. package/_types/utils/hash/toEventSignature.d.ts +0 -2
  1139. package/_types/utils/hash/toEventSignature.d.ts.map +0 -1
  1140. package/_types/utils/hash/toFunctionHash.d.ts +0 -2
  1141. package/_types/utils/hash/toFunctionHash.d.ts.map +0 -1
  1142. package/_types/utils/hash/toFunctionSelector.d.ts +0 -14
  1143. package/_types/utils/hash/toFunctionSelector.d.ts.map +0 -1
  1144. package/_types/utils/hash/toFunctionSignature.d.ts +0 -2
  1145. package/_types/utils/hash/toFunctionSignature.d.ts.map +0 -1
  1146. package/_types/utils/hash/toSignature.d.ts +0 -23
  1147. package/_types/utils/hash/toSignature.d.ts.map +0 -1
  1148. package/_types/utils/hash/toSignatureHash.d.ts +0 -10
  1149. package/_types/utils/hash/toSignatureHash.d.ts.map +0 -1
  1150. package/_types/utils/index.d.ts +0 -109
  1151. package/_types/utils/index.d.ts.map +0 -1
  1152. package/_types/utils/observe.d.ts +0 -19
  1153. package/_types/utils/observe.d.ts.map +0 -1
  1154. package/_types/utils/poll.d.ts +0 -15
  1155. package/_types/utils/poll.d.ts.map +0 -1
  1156. package/_types/utils/promise/createBatchScheduler.d.ts +0 -21
  1157. package/_types/utils/promise/createBatchScheduler.d.ts.map +0 -1
  1158. package/_types/utils/promise/withCache.d.ts +0 -38
  1159. package/_types/utils/promise/withCache.d.ts.map +0 -1
  1160. package/_types/utils/promise/withRetry.d.ts +0 -15
  1161. package/_types/utils/promise/withRetry.d.ts.map +0 -1
  1162. package/_types/utils/promise/withTimeout.d.ts +0 -10
  1163. package/_types/utils/promise/withTimeout.d.ts.map +0 -1
  1164. package/_types/utils/regex.d.ts +0 -4
  1165. package/_types/utils/regex.d.ts.map +0 -1
  1166. package/_types/utils/rpc/compat.d.ts +0 -78
  1167. package/_types/utils/rpc/compat.d.ts.map +0 -1
  1168. package/_types/utils/rpc/http.d.ts +0 -20
  1169. package/_types/utils/rpc/http.d.ts.map +0 -1
  1170. package/_types/utils/rpc/id.d.ts +0 -11
  1171. package/_types/utils/rpc/id.d.ts.map +0 -1
  1172. package/_types/utils/rpc/ipc.d.ts +0 -8
  1173. package/_types/utils/rpc/ipc.d.ts.map +0 -1
  1174. package/_types/utils/rpc/socket.d.ts +0 -45
  1175. package/_types/utils/rpc/socket.d.ts.map +0 -1
  1176. package/_types/utils/rpc/webSocket.d.ts +0 -3
  1177. package/_types/utils/rpc/webSocket.d.ts.map +0 -1
  1178. package/_types/utils/signature/compactSignatureToHex.d.ts +0 -19
  1179. package/_types/utils/signature/compactSignatureToHex.d.ts.map +0 -1
  1180. package/_types/utils/signature/compactSignatureToSignature.d.ts +0 -24
  1181. package/_types/utils/signature/compactSignatureToSignature.d.ts.map +0 -1
  1182. package/_types/utils/signature/hashMessage.d.ts +0 -11
  1183. package/_types/utils/signature/hashMessage.d.ts.map +0 -1
  1184. package/_types/utils/signature/hashTypedData.d.ts +0 -29
  1185. package/_types/utils/signature/hashTypedData.d.ts.map +0 -1
  1186. package/_types/utils/signature/hexToCompactSignature.d.ts +0 -16
  1187. package/_types/utils/signature/hexToCompactSignature.d.ts.map +0 -1
  1188. package/_types/utils/signature/hexToSignature.d.ts +0 -16
  1189. package/_types/utils/signature/hexToSignature.d.ts.map +0 -1
  1190. package/_types/utils/signature/recoverAddress.d.ts +0 -11
  1191. package/_types/utils/signature/recoverAddress.d.ts.map +0 -1
  1192. package/_types/utils/signature/recoverMessageAddress.d.ts +0 -13
  1193. package/_types/utils/signature/recoverMessageAddress.d.ts.map +0 -1
  1194. package/_types/utils/signature/recoverPublicKey.d.ts +0 -12
  1195. package/_types/utils/signature/recoverPublicKey.d.ts.map +0 -1
  1196. package/_types/utils/signature/recoverTypedDataAddress.d.ts +0 -13
  1197. package/_types/utils/signature/recoverTypedDataAddress.d.ts.map +0 -1
  1198. package/_types/utils/signature/signatureToCompactSignature.d.ts +0 -23
  1199. package/_types/utils/signature/signatureToCompactSignature.d.ts.map +0 -1
  1200. package/_types/utils/signature/signatureToHex.d.ts +0 -21
  1201. package/_types/utils/signature/signatureToHex.d.ts.map +0 -1
  1202. package/_types/utils/signature/verifyMessage.d.ts +0 -30
  1203. package/_types/utils/signature/verifyMessage.d.ts.map +0 -1
  1204. package/_types/utils/signature/verifyTypedData.d.ts +0 -29
  1205. package/_types/utils/signature/verifyTypedData.d.ts.map +0 -1
  1206. package/_types/utils/stringify.d.ts +0 -4
  1207. package/_types/utils/stringify.d.ts.map +0 -1
  1208. package/_types/utils/transaction/assertRequest.d.ts +0 -11
  1209. package/_types/utils/transaction/assertRequest.d.ts.map +0 -1
  1210. package/_types/utils/transaction/assertTransaction.d.ts +0 -14
  1211. package/_types/utils/transaction/assertTransaction.d.ts.map +0 -1
  1212. package/_types/utils/transaction/getSerializedTransactionType.d.ts +0 -9
  1213. package/_types/utils/transaction/getSerializedTransactionType.d.ts.map +0 -1
  1214. package/_types/utils/transaction/getTransactionType.d.ts +0 -7
  1215. package/_types/utils/transaction/getTransactionType.d.ts.map +0 -1
  1216. package/_types/utils/transaction/parseTransaction.d.ts +0 -26
  1217. package/_types/utils/transaction/parseTransaction.d.ts.map +0 -1
  1218. package/_types/utils/transaction/serializeAccessList.d.ts +0 -10
  1219. package/_types/utils/transaction/serializeAccessList.d.ts.map +0 -1
  1220. package/_types/utils/transaction/serializeTransaction.d.ts +0 -19
  1221. package/_types/utils/transaction/serializeTransaction.d.ts.map +0 -1
  1222. package/_types/utils/typedData.d.ts +0 -19
  1223. package/_types/utils/typedData.d.ts.map +0 -1
  1224. package/_types/utils/uid.d.ts +0 -2
  1225. package/_types/utils/uid.d.ts.map +0 -1
  1226. package/_types/utils/unit/formatEther.d.ts +0 -15
  1227. package/_types/utils/unit/formatEther.d.ts.map +0 -1
  1228. package/_types/utils/unit/formatGwei.d.ts +0 -15
  1229. package/_types/utils/unit/formatGwei.d.ts.map +0 -1
  1230. package/_types/utils/unit/formatUnits.d.ts +0 -15
  1231. package/_types/utils/unit/formatUnits.d.ts.map +0 -1
  1232. package/_types/utils/unit/parseEther.d.ts +0 -16
  1233. package/_types/utils/unit/parseEther.d.ts.map +0 -1
  1234. package/_types/utils/unit/parseGwei.d.ts +0 -16
  1235. package/_types/utils/unit/parseGwei.d.ts.map +0 -1
  1236. package/_types/utils/unit/parseUnits.d.ts +0 -15
  1237. package/_types/utils/unit/parseUnits.d.ts.map +0 -1
  1238. package/_types/utils/wait.d.ts +0 -2
  1239. package/_types/utils/wait.d.ts.map +0 -1
  1240. package/_types/window/index.d.ts +0 -2
  1241. package/_types/window/index.d.ts.map +0 -1
@@ -1,1283 +0,0 @@
1
- import type { Address } from 'abitype';
2
- import type { BlockTag } from './block.js';
3
- import type { Hash, Hex, LogTopic } from './misc.js';
4
- import type { Quantity, RpcBlock as Block, RpcBlockIdentifier as BlockIdentifier, RpcBlockNumber as BlockNumber, RpcFeeHistory as FeeHistory, RpcLog as Log, RpcProof as Proof, RpcTransaction as Transaction, RpcTransactionReceipt as TransactionReceipt, RpcTransactionRequest as TransactionRequest, RpcUncle as Uncle } from './rpc.js';
5
- import type { Prettify } from './utils.js';
6
- export type EIP1474Methods = [...PublicRpcSchema, ...WalletRpcSchema];
7
- export type EIP1193Provider = Prettify<EIP1193Events & {
8
- request: EIP1193RequestFn<EIP1474Methods>;
9
- }>;
10
- export type ProviderRpcErrorType = ProviderRpcError & {
11
- name: 'ProviderRpcError';
12
- };
13
- export declare class ProviderRpcError extends Error {
14
- code: number;
15
- details: string;
16
- constructor(code: number, message: string);
17
- }
18
- export type ProviderConnectInfo = {
19
- chainId: string;
20
- };
21
- export type ProviderMessage = {
22
- type: string;
23
- data: unknown;
24
- };
25
- export type EIP1193EventMap = {
26
- accountsChanged(accounts: Address[]): void;
27
- chainChanged(chainId: string): void;
28
- connect(connectInfo: ProviderConnectInfo): void;
29
- disconnect(error: ProviderRpcError): void;
30
- message(message: ProviderMessage): void;
31
- };
32
- export type EIP1193Events = {
33
- on<TEvent extends keyof EIP1193EventMap>(event: TEvent, listener: EIP1193EventMap[TEvent]): void;
34
- removeListener<TEvent extends keyof EIP1193EventMap>(event: TEvent, listener: EIP1193EventMap[TEvent]): void;
35
- };
36
- export type AddEthereumChainParameter = {
37
- /** A 0x-prefixed hexadecimal string */
38
- chainId: string;
39
- /** The chain name. */
40
- chainName: string;
41
- /** Native currency for the chain. */
42
- nativeCurrency?: {
43
- name: string;
44
- symbol: string;
45
- decimals: number;
46
- };
47
- rpcUrls: readonly string[];
48
- blockExplorerUrls?: string[];
49
- iconUrls?: string[];
50
- };
51
- export type NetworkSync = {
52
- /** The current block number */
53
- currentBlock: Quantity;
54
- /** Number of latest block on the network */
55
- highestBlock: Quantity;
56
- /** Block number at which syncing started */
57
- startingBlock: Quantity;
58
- };
59
- export type WalletPermissionCaveat = {
60
- type: string;
61
- value: any;
62
- };
63
- export type WalletPermission = {
64
- caveats: WalletPermissionCaveat[];
65
- date: number;
66
- id: string;
67
- invoker: `http://${string}` | `https://${string}`;
68
- parentCapability: 'eth_accounts' | string;
69
- };
70
- export type WatchAssetParams = {
71
- /** Token type. */
72
- type: 'ERC20';
73
- options: {
74
- /** The address of the token contract */
75
- address: string;
76
- /** A ticker symbol or shorthand, up to 11 characters */
77
- symbol: string;
78
- /** The number of token decimals */
79
- decimals: number;
80
- /** A string url of the token logo */
81
- image?: string;
82
- };
83
- };
84
- export type PublicRpcSchema = [
85
- /**
86
- * @description Returns the version of the current client
87
- *
88
- * @example
89
- * provider.request({ method: 'web3_clientVersion' })
90
- * // => 'MetaMask/v1.0.0'
91
- */
92
- {
93
- Method: 'web3_clientVersion';
94
- Parameters?: undefined;
95
- ReturnType: string;
96
- },
97
- /**
98
- * @description Hashes data using the Keccak-256 algorithm
99
- *
100
- * @example
101
- * provider.request({ method: 'web3_sha3', params: ['0x68656c6c6f20776f726c64'] })
102
- * // => '0xc94770007dda54cF92009BFF0dE90c06F603a09f'
103
- */
104
- {
105
- Method: 'web3_sha3';
106
- Parameters: [data: Hash];
107
- ReturnType: string;
108
- },
109
- /**
110
- * @description Determines if this client is listening for new network connections
111
- *
112
- * @example
113
- * provider.request({ method: 'net_listening' })
114
- * // => true
115
- */
116
- {
117
- Method: 'net_listening';
118
- Parameters?: undefined;
119
- ReturnType: boolean;
120
- },
121
- /**
122
- * @description Returns the number of peers currently connected to this client
123
- *
124
- * @example
125
- * provider.request({ method: 'net_peerCount' })
126
- * // => '0x1'
127
- */
128
- {
129
- Method: 'net_peerCount';
130
- Parameters?: undefined;
131
- ReturnType: Quantity;
132
- },
133
- /**
134
- * @description Returns the chain ID associated with the current network
135
- *
136
- * @example
137
- * provider.request({ method: 'net_version' })
138
- * // => '1'
139
- */
140
- {
141
- Method: 'net_version';
142
- Parameters?: undefined;
143
- ReturnType: Quantity;
144
- },
145
- /**
146
- * @description Returns the current blob price of gas expressed in wei
147
- *
148
- * @example
149
- * provider.request({ method: 'eth_blobGasPrice' })
150
- * // => '0x09184e72a000'
151
- */
152
- {
153
- Method: 'eth_blobGasPrice';
154
- Parameters?: undefined;
155
- ReturnType: Quantity;
156
- },
157
- /**
158
- * @description Returns the number of the most recent block seen by this client
159
- *
160
- * @example
161
- * provider.request({ method: 'eth_blockNumber' })
162
- * // => '0x1b4'
163
- */
164
- {
165
- Method: 'eth_blockNumber';
166
- Parameters?: undefined;
167
- ReturnType: Quantity;
168
- },
169
- /**
170
- * @description Executes a new message call immediately without submitting a transaction to the network
171
- *
172
- * @example
173
- * provider.request({ method: 'eth_call', params: [{ to: '0x...', data: '0x...' }] })
174
- * // => '0x...'
175
- */
176
- {
177
- Method: 'eth_call';
178
- Parameters: [transaction: Partial<TransactionRequest>] | [
179
- transaction: Partial<TransactionRequest>,
180
- block: BlockNumber | BlockTag | BlockIdentifier
181
- ];
182
- ReturnType: Hex;
183
- },
184
- /**
185
- * @description Returns the chain ID associated with the current network
186
- * @example
187
- * provider.request({ method: 'eth_chainId' })
188
- * // => '1'
189
- */
190
- {
191
- Method: 'eth_chainId';
192
- Parameters?: undefined;
193
- ReturnType: Quantity;
194
- },
195
- /**
196
- * @description Returns the client coinbase address.
197
- * @example
198
- * provider.request({ method: 'eth_coinbase' })
199
- * // => '0x...'
200
- */
201
- {
202
- Method: 'eth_coinbase';
203
- Parameters?: undefined;
204
- ReturnType: Address;
205
- },
206
- /**
207
- * @description Estimates the gas necessary to complete a transaction without submitting it to the network
208
- *
209
- * @example
210
- * provider.request({
211
- * method: 'eth_estimateGas',
212
- * params: [{ from: '0x...', to: '0x...', value: '0x...' }]
213
- * })
214
- * // => '0x5208'
215
- */
216
- {
217
- Method: 'eth_estimateGas';
218
- Parameters: [transaction: TransactionRequest] | [transaction: TransactionRequest, block: BlockNumber | BlockTag];
219
- ReturnType: Quantity;
220
- },
221
- /**
222
- * @description Returns a collection of historical gas information
223
- *
224
- * @example
225
- * provider.request({
226
- * method: 'eth_feeHistory',
227
- * params: ['4', 'latest', ['25', '75']]
228
- * })
229
- * // => {
230
- * // oldestBlock: '0x1',
231
- * // baseFeePerGas: ['0x1', '0x2', '0x3', '0x4'],
232
- * // gasUsedRatio: ['0x1', '0x2', '0x3', '0x4'],
233
- * // reward: [['0x1', '0x2'], ['0x3', '0x4'], ['0x5', '0x6'], ['0x7', '0x8']]
234
- * // }
235
- * */
236
- {
237
- Method: 'eth_feeHistory';
238
- Parameters: [
239
- /** Number of blocks in the requested range. Between 1 and 1024 blocks can be requested in a single query. Less than requested may be returned if not all blocks are available. */
240
- blockCount: Quantity,
241
- /** Highest number block of the requested range. */
242
- newestBlock: BlockNumber | BlockTag,
243
- /** A monotonically increasing list of percentile values to sample from each block's effective priority fees per gas in ascending order, weighted by gas used. */
244
- rewardPercentiles: number[] | undefined
245
- ];
246
- ReturnType: FeeHistory;
247
- },
248
- /**
249
- * @description Returns the current price of gas expressed in wei
250
- *
251
- * @example
252
- * provider.request({ method: 'eth_gasPrice' })
253
- * // => '0x09184e72a000'
254
- */
255
- {
256
- Method: 'eth_gasPrice';
257
- Parameters?: undefined;
258
- ReturnType: Quantity;
259
- },
260
- /**
261
- * @description Returns the balance of an address in wei
262
- *
263
- * @example
264
- * provider.request({ method: 'eth_getBalance', params: ['0x...', 'latest'] })
265
- * // => '0x12a05...'
266
- */
267
- {
268
- Method: 'eth_getBalance';
269
- Parameters: [
270
- address: Address,
271
- block: BlockNumber | BlockTag | BlockIdentifier
272
- ];
273
- ReturnType: Quantity;
274
- },
275
- /**
276
- * @description Returns information about a block specified by hash
277
- * @link https://eips.ethereum.org/EIPS/eip-1474
278
- * @example
279
- * provider.request({ method: 'eth_getBlockByHash', params: ['0x...', true] })
280
- * // => {
281
- * // number: '0x1b4',
282
- * // hash: '0x...',
283
- * // parentHash: '0x...',
284
- * // ...
285
- * // }
286
- */
287
- {
288
- Method: 'eth_getBlockByHash';
289
- Parameters: [
290
- /** hash of a block */
291
- hash: Hash,
292
- /** true will pull full transaction objects, false will pull transaction hashes */
293
- includeTransactionObjects: boolean
294
- ];
295
- ReturnType: Block | null;
296
- },
297
- /**
298
- * @description Returns information about a block specified by number
299
- * @link https://eips.ethereum.org/EIPS/eip-1474
300
- * @example
301
- * provider.request({ method: 'eth_getBlockByNumber', params: ['0x1b4', true] })
302
- * // => {
303
- * // number: '0x1b4',
304
- * // hash: '0x...',
305
- * // parentHash: '0x...',
306
- * // ...
307
- * // }
308
- */
309
- {
310
- Method: 'eth_getBlockByNumber';
311
- Parameters: [
312
- /** block number, or one of "latest", "safe", "finalized", "earliest" or "pending" */
313
- block: BlockNumber | BlockTag,
314
- /** true will pull full transaction objects, false will pull transaction hashes */
315
- includeTransactionObjects: boolean
316
- ];
317
- ReturnType: Block | null;
318
- },
319
- /**
320
- * @description Returns the number of transactions in a block specified by block hash
321
- * @link https://eips.ethereum.org/EIPS/eip-1474
322
- * @example
323
- * provider.request({ method: 'eth_getBlockTransactionCountByHash', params: ['0x...'] })
324
- * // => '0x1'
325
- */
326
- {
327
- Method: 'eth_getBlockTransactionCountByHash';
328
- Parameters: [hash: Hash];
329
- ReturnType: Quantity;
330
- },
331
- /**
332
- * @description Returns the number of transactions in a block specified by block number
333
- * @link https://eips.ethereum.org/EIPS/eip-1474
334
- * @example
335
- * provider.request({ method: 'eth_getBlockTransactionCountByNumber', params: ['0x1b4'] })
336
- * // => '0x1'
337
- */
338
- {
339
- Method: 'eth_getBlockTransactionCountByNumber';
340
- Parameters: [block: BlockNumber | BlockTag];
341
- ReturnType: Quantity;
342
- },
343
- /**
344
- * @description Returns the contract code stored at a given address
345
- * @link https://eips.ethereum.org/EIPS/eip-1474
346
- * @example
347
- * provider.request({ method: 'eth_getCode', params: ['0x...', 'latest'] })
348
- * // => '0x...'
349
- */
350
- {
351
- Method: 'eth_getCode';
352
- Parameters: [
353
- address: Address,
354
- block: BlockNumber | BlockTag | BlockIdentifier
355
- ];
356
- ReturnType: Hex;
357
- },
358
- /**
359
- * @description Returns a list of all logs based on filter ID since the last log retrieval
360
- * @link https://eips.ethereum.org/EIPS/eip-1474
361
- * @example
362
- * provider.request({ method: 'eth_getFilterChanges', params: ['0x...'] })
363
- * // => [{ ... }, { ... }]
364
- */
365
- {
366
- Method: 'eth_getFilterChanges';
367
- Parameters: [filterId: Quantity];
368
- ReturnType: Log[] | Hex[];
369
- },
370
- /**
371
- * @description Returns a list of all logs based on filter ID
372
- * @link https://eips.ethereum.org/EIPS/eip-1474
373
- * @example
374
- * provider.request({ method: 'eth_getFilterLogs', params: ['0x...'] })
375
- * // => [{ ... }, { ... }]
376
- */
377
- {
378
- Method: 'eth_getFilterLogs';
379
- Parameters: [filterId: Quantity];
380
- ReturnType: Log[];
381
- },
382
- /**
383
- * @description Returns a list of all logs based on a filter object
384
- * @link https://eips.ethereum.org/EIPS/eip-1474
385
- * @example
386
- * provider.request({ method: 'eth_getLogs', params: [{ fromBlock: '0x...', toBlock: '0x...', address: '0x...', topics: ['0x...'] }] })
387
- * // => [{ ... }, { ... }]
388
- */
389
- {
390
- Method: 'eth_getLogs';
391
- Parameters: [
392
- {
393
- address?: Address | Address[];
394
- topics?: LogTopic[];
395
- } & ({
396
- fromBlock?: BlockNumber | BlockTag;
397
- toBlock?: BlockNumber | BlockTag;
398
- blockHash?: never;
399
- } | {
400
- fromBlock?: never;
401
- toBlock?: never;
402
- blockHash?: Hash;
403
- })
404
- ];
405
- ReturnType: Log[];
406
- },
407
- /**
408
- * @description Returns the account and storage values of the specified account including the Merkle-proof.
409
- * @link https://eips.ethereum.org/EIPS/eip-1186
410
- * @example
411
- * provider.request({ method: 'eth_getProof', params: ['0x...', ['0x...'], 'latest'] })
412
- * // => {
413
- * // ...
414
- * // }
415
- */
416
- {
417
- Method: 'eth_getProof';
418
- Parameters: [
419
- /** Address of the account. */
420
- address: Address,
421
- /** An array of storage-keys that should be proofed and included. */
422
- storageKeys: Hash[],
423
- block: BlockNumber | BlockTag
424
- ];
425
- ReturnType: Proof;
426
- },
427
- /**
428
- * @description Returns the value from a storage position at an address
429
- * @link https://eips.ethereum.org/EIPS/eip-1474
430
- * @example
431
- * provider.request({ method: 'eth_getStorageAt', params: ['0x...', '0x...', 'latest'] })
432
- * // => '0x...'
433
- */
434
- {
435
- Method: 'eth_getStorageAt';
436
- Parameters: [
437
- address: Address,
438
- index: Quantity,
439
- block: BlockNumber | BlockTag | BlockIdentifier
440
- ];
441
- ReturnType: Hex;
442
- },
443
- /**
444
- * @description Returns information about a transaction specified by block hash and transaction index
445
- * @link https://eips.ethereum.org/EIPS/eip-1474
446
- * @example
447
- * provider.request({ method: 'eth_getTransactionByBlockHashAndIndex', params: ['0x...', '0x...'] })
448
- * // => { ... }
449
- */
450
- {
451
- Method: 'eth_getTransactionByBlockHashAndIndex';
452
- Parameters: [hash: Hash, index: Quantity];
453
- ReturnType: Transaction | null;
454
- },
455
- /**
456
- * @description Returns information about a transaction specified by block number and transaction index
457
- * @link https://eips.ethereum.org/EIPS/eip-1474
458
- * @example
459
- * provider.request({ method: 'eth_getTransactionByBlockNumberAndIndex', params: ['0x...', '0x...'] })
460
- * // => { ... }
461
- */
462
- {
463
- Method: 'eth_getTransactionByBlockNumberAndIndex';
464
- Parameters: [block: BlockNumber | BlockTag, index: Quantity];
465
- ReturnType: Transaction | null;
466
- },
467
- /**
468
- * @description Returns information about a transaction specified by hash
469
- * @link https://eips.ethereum.org/EIPS/eip-1474
470
- * @example
471
- * provider.request({ method: 'eth_getTransactionByHash', params: ['0x...'] })
472
- * // => { ... }
473
- */
474
- {
475
- Method: 'eth_getTransactionByHash';
476
- Parameters: [hash: Hash];
477
- ReturnType: Transaction | null;
478
- },
479
- /**
480
- * @description Returns the number of transactions sent from an address
481
- * @link https://eips.ethereum.org/EIPS/eip-1474
482
- * @example
483
- * provider.request({ method: 'eth_getTransactionCount', params: ['0x...', 'latest'] })
484
- * // => '0x1'
485
- */
486
- {
487
- Method: 'eth_getTransactionCount';
488
- Parameters: [
489
- address: Address,
490
- block: BlockNumber | BlockTag | BlockIdentifier
491
- ];
492
- ReturnType: Quantity;
493
- },
494
- /**
495
- * @description Returns the receipt of a transaction specified by hash
496
- * @link https://eips.ethereum.org/EIPS/eip-1474
497
- * @example
498
- * provider.request({ method: 'eth_getTransactionReceipt', params: ['0x...'] })
499
- * // => { ... }
500
- */
501
- {
502
- Method: 'eth_getTransactionReceipt';
503
- Parameters: [hash: Hash];
504
- ReturnType: TransactionReceipt | null;
505
- },
506
- /**
507
- * @description Returns information about an uncle specified by block hash and uncle index position
508
- * @link https://eips.ethereum.org/EIPS/eip-1474
509
- * @example
510
- * provider.request({ method: 'eth_getUncleByBlockHashAndIndex', params: ['0x...', '0x...'] })
511
- * // => { ... }
512
- */
513
- {
514
- Method: 'eth_getUncleByBlockHashAndIndex';
515
- Parameters: [hash: Hash, index: Quantity];
516
- ReturnType: Uncle | null;
517
- },
518
- /**
519
- * @description Returns information about an uncle specified by block number and uncle index position
520
- * @link https://eips.ethereum.org/EIPS/eip-1474
521
- * @example
522
- * provider.request({ method: 'eth_getUncleByBlockNumberAndIndex', params: ['0x...', '0x...'] })
523
- * // => { ... }
524
- */
525
- {
526
- Method: 'eth_getUncleByBlockNumberAndIndex';
527
- Parameters: [block: BlockNumber | BlockTag, index: Quantity];
528
- ReturnType: Uncle | null;
529
- },
530
- /**
531
- * @description Returns the number of uncles in a block specified by block hash
532
- * @link https://eips.ethereum.org/EIPS/eip-1474
533
- * @example
534
- * provider.request({ method: 'eth_getUncleCountByBlockHash', params: ['0x...'] })
535
- * // => '0x1'
536
- */
537
- {
538
- Method: 'eth_getUncleCountByBlockHash';
539
- Parameters: [hash: Hash];
540
- ReturnType: Quantity;
541
- },
542
- /**
543
- * @description Returns the number of uncles in a block specified by block number
544
- * @link https://eips.ethereum.org/EIPS/eip-1474
545
- * @example
546
- * provider.request({ method: 'eth_getUncleCountByBlockNumber', params: ['0x...'] })
547
- * // => '0x1'
548
- */
549
- {
550
- Method: 'eth_getUncleCountByBlockNumber';
551
- Parameters: [block: BlockNumber | BlockTag];
552
- ReturnType: Quantity;
553
- },
554
- /**
555
- * @description Returns the current maxPriorityFeePerGas in wei.
556
- * @link https://ethereum.github.io/execution-apis/api-documentation/
557
- * @example
558
- * provider.request({ method: 'eth_maxPriorityFeePerGas' })
559
- * // => '0x5f5e100'
560
- */
561
- {
562
- Method: 'eth_maxPriorityFeePerGas';
563
- Parameters?: undefined;
564
- ReturnType: Quantity;
565
- },
566
- /**
567
- * @description Creates a filter to listen for new blocks that can be used with `eth_getFilterChanges`
568
- * @link https://eips.ethereum.org/EIPS/eip-1474
569
- * @example
570
- * provider.request({ method: 'eth_newBlockFilter' })
571
- * // => '0x1'
572
- */
573
- {
574
- Method: 'eth_newBlockFilter';
575
- Parameters?: undefined;
576
- ReturnType: Quantity;
577
- },
578
- /**
579
- * @description Creates a filter to listen for specific state changes that can then be used with `eth_getFilterChanges`
580
- * @link https://eips.ethereum.org/EIPS/eip-1474
581
- * @example
582
- * provider.request({ method: 'eth_newFilter', params: [{ fromBlock: '0x...', toBlock: '0x...', address: '0x...', topics: ['0x...'] }] })
583
- * // => '0x1'
584
- */
585
- {
586
- Method: 'eth_newFilter';
587
- Parameters: [
588
- filter: {
589
- fromBlock?: BlockNumber | BlockTag;
590
- toBlock?: BlockNumber | BlockTag;
591
- address?: Address | Address[];
592
- topics?: LogTopic[];
593
- }
594
- ];
595
- ReturnType: Quantity;
596
- },
597
- /**
598
- * @description Creates a filter to listen for new pending transactions that can be used with `eth_getFilterChanges`
599
- * @link https://eips.ethereum.org/EIPS/eip-1474
600
- * @example
601
- * provider.request({ method: 'eth_newPendingTransactionFilter' })
602
- * // => '0x1'
603
- */
604
- {
605
- Method: 'eth_newPendingTransactionFilter';
606
- Parameters?: undefined;
607
- ReturnType: Quantity;
608
- },
609
- /**
610
- * @description Returns the current Ethereum protocol version
611
- * @link https://eips.ethereum.org/EIPS/eip-1474
612
- * @example
613
- * provider.request({ method: 'eth_protocolVersion' })
614
- * // => '54'
615
- */
616
- {
617
- Method: 'eth_protocolVersion';
618
- Parameters?: undefined;
619
- ReturnType: string;
620
- },
621
- /**
622
- * @description Sends a **signed** transaction to the network
623
- * @link https://eips.ethereum.org/EIPS/eip-1474
624
- * @example
625
- * provider.request({ method: 'eth_sendRawTransaction', params: ['0x...'] })
626
- * // => '0x...'
627
- */
628
- {
629
- Method: 'eth_sendRawTransaction';
630
- Parameters: [signedTransaction: Hex];
631
- ReturnType: Hash;
632
- },
633
- /**
634
- * @description Destroys a filter based on filter ID
635
- * @link https://eips.ethereum.org/EIPS/eip-1474
636
- * @example
637
- * provider.request({ method: 'eth_uninstallFilter', params: ['0x1'] })
638
- * // => true
639
- */
640
- {
641
- Method: 'eth_uninstallFilter';
642
- Parameters: [filterId: Quantity];
643
- ReturnType: boolean;
644
- }
645
- ];
646
- export type TestRpcSchema<TMode extends string> = [
647
- /**
648
- * @description Add information about compiled contracts
649
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_addcompilationresult
650
- */
651
- {
652
- Method: `${TMode}_addCompilationResult`;
653
- Parameters: any[];
654
- ReturnType: any;
655
- },
656
- /**
657
- * @description Remove a transaction from the mempool
658
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_droptransaction
659
- */
660
- {
661
- Method: `${TMode}_dropTransaction`;
662
- Parameters: [hash: Hash];
663
- ReturnType: void;
664
- },
665
- /**
666
- * @description Serializes the current state (including contracts code, contract's storage, accounts properties, etc.) into a savable data blob.
667
- */
668
- {
669
- Method: `${TMode}_dumpState`;
670
- Parameters?: undefined;
671
- ReturnType: Hex;
672
- },
673
- /**
674
- * @description Turn on call traces for transactions that are returned to the user when they execute a transaction (instead of just txhash/receipt).
675
- */
676
- {
677
- Method: `${TMode}_enableTraces`;
678
- Parameters?: undefined;
679
- ReturnType: void;
680
- },
681
- /**
682
- * @description Impersonate an account or contract address.
683
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_impersonateaccount
684
- */
685
- {
686
- Method: `${TMode}_impersonateAccount`;
687
- Parameters: [address: Address];
688
- ReturnType: void;
689
- },
690
- /**
691
- * @description Returns true if automatic mining is enabled, and false otherwise. See [Mining Modes](https://hardhat.org/hardhat-network/explanation/mining-modes) to learn more.
692
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_getautomine
693
- */
694
- {
695
- Method: `${TMode}_getAutomine`;
696
- Parameters?: undefined;
697
- ReturnType: boolean;
698
- },
699
- /**
700
- * @description Adds state previously dumped with `dumpState` to the current chain.
701
- */
702
- {
703
- Method: `${TMode}_loadState`;
704
- Parameters?: [Hex];
705
- ReturnType: void;
706
- },
707
- /**
708
- * @description Advance the block number of the network by a certain number of blocks
709
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_mine
710
- */
711
- {
712
- Method: `${TMode}_mine`;
713
- Parameters: [
714
- /** Number of blocks to mine. */
715
- count: Hex,
716
- /** Interval between each block in seconds. */
717
- interval: Hex | undefined
718
- ];
719
- ReturnType: void;
720
- },
721
- /**
722
- * @description Resets the fork.
723
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_reset
724
- */
725
- {
726
- Method: `${TMode}_reset`;
727
- Parameters: any[];
728
- ReturnType: void;
729
- },
730
- /**
731
- * @description Modifies the balance of an account.
732
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setbalance
733
- */
734
- {
735
- Method: `${TMode}_setBalance`;
736
- Parameters: [
737
- /** The address of the target account. */
738
- address: Address,
739
- /** Amount to send in wei. */
740
- balance: Quantity
741
- ];
742
- ReturnType: void;
743
- },
744
- /**
745
- * @description Modifies the bytecode stored at an account's address.
746
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setcode
747
- */
748
- {
749
- Method: `${TMode}_setCode`;
750
- Parameters: [
751
- /** The address of the contract. */
752
- address: Address,
753
- /** Data bytecode. */
754
- data: string
755
- ];
756
- ReturnType: void;
757
- },
758
- /**
759
- * @description Sets the coinbase address to be used in new blocks.
760
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setcoinbase
761
- */
762
- {
763
- Method: `${TMode}_setCoinbase`;
764
- Parameters: [
765
- /** The address to set as the coinbase address. */
766
- address: Address
767
- ];
768
- ReturnType: void;
769
- },
770
- /**
771
- * @description Enable or disable logging on the test node network.
772
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setcoinbase
773
- */
774
- {
775
- Method: `${TMode}_setLoggingEnabled`;
776
- Parameters: [enabled: boolean];
777
- ReturnType: void;
778
- },
779
- /**
780
- * @description Change the minimum gas price accepted by the network (in wei).
781
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setmingasprice
782
- */
783
- {
784
- Method: `${TMode}_setMinGasPrice`;
785
- Parameters: [gasPrice: Quantity];
786
- ReturnType: void;
787
- },
788
- /**
789
- * @description Sets the base fee of the next block.
790
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setnextblockbasefeepergas
791
- */
792
- {
793
- Method: `${TMode}_setNextBlockBaseFeePerGas`;
794
- Parameters: [baseFeePerGas: Quantity];
795
- ReturnType: void;
796
- },
797
- /**
798
- * @description Modifies an account's nonce by overwriting it.
799
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setnonce
800
- */
801
- {
802
- Method: `${TMode}_setNonce`;
803
- Parameters: [
804
- /** The account address. */
805
- address: Address,
806
- /** The new nonce. */
807
- nonce: Quantity
808
- ];
809
- ReturnType: void;
810
- },
811
- /**
812
- * @description Sets the backend RPC URL.
813
- */
814
- {
815
- Method: `${TMode}_setRpcUrl`;
816
- Parameters: [url: string];
817
- ReturnType: void;
818
- },
819
- /**
820
- * @description Writes a single position of an account's storage.
821
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_setstorageat
822
- */
823
- {
824
- Method: `${TMode}_setStorageAt`;
825
- Parameters: [
826
- /** The account address. */
827
- address: Address,
828
- /** The storage position index. */
829
- index: Quantity,
830
- /** The storage value. */
831
- value: Quantity
832
- ];
833
- ReturnType: void;
834
- },
835
- /**
836
- * @description Use this method to stop impersonating an account after having previously used impersonateAccount.
837
- * @link https://hardhat.org/hardhat-network/docs/reference#hardhat_stopimpersonatingaccount
838
- */
839
- {
840
- Method: `${TMode}_stopImpersonatingAccount`;
841
- Parameters: [
842
- /** The address to stop impersonating. */
843
- address: Address
844
- ];
845
- ReturnType: void;
846
- },
847
- /**
848
- * @description Jump forward in time by the given amount of time, in seconds.
849
- * @link https://github.com/trufflesuite/ganache/blob/ef1858d5d6f27e4baeb75cccd57fb3dc77a45ae8/src/chains/ethereum/ethereum/RPC-METHODS.md#evm_increasetime
850
- */
851
- {
852
- Method: `${TMode}_increaseTime`;
853
- Parameters: [seconds: number];
854
- ReturnType: Quantity;
855
- },
856
- /**
857
- * @description Modifies the balance of an account.
858
- * @link https://ganache.dev/#evm_setAccountBalance
859
- */
860
- {
861
- Method: `evm_setAccountBalance`;
862
- Parameters: [
863
- /** The address of the target account. */
864
- address: Address,
865
- /** Amount to send in wei. */
866
- value: Quantity
867
- ];
868
- ReturnType: void;
869
- },
870
- /**
871
- * @description Enables or disables, based on the single boolean argument, the automatic mining of new blocks with each new transaction submitted to the network.
872
- * @link https://hardhat.org/hardhat-network/docs/reference#evm_setautomine
873
- */
874
- {
875
- Method: `evm_setAutomine`;
876
- Parameters: [boolean];
877
- ReturnType: void;
878
- },
879
- /**
880
- * @description Sets the block's gas limit.
881
- * @link https://hardhat.org/hardhat-network/docs/reference#evm_setblockgaslimit
882
- */
883
- {
884
- Method: 'evm_setBlockGasLimit';
885
- Parameters: [gasLimit: Quantity];
886
- ReturnType: void;
887
- },
888
- /**
889
- * @description Jump forward in time by the given amount of time, in seconds.
890
- * @link https://github.com/trufflesuite/ganache/blob/ef1858d5d6f27e4baeb75cccd57fb3dc77a45ae8/src/chains/ethereum/ethereum/RPC-METHODS.md#evm_increasetime
891
- */
892
- {
893
- Method: `evm_increaseTime`;
894
- Parameters: [seconds: Quantity];
895
- ReturnType: Quantity;
896
- },
897
- /**
898
- * @description Similar to `evm_increaseTime` but sets a block timestamp `interval`.
899
- * The timestamp of the next block will be computed as `lastBlock_timestamp` + `interval`
900
- */
901
- {
902
- Method: `${TMode}_setBlockTimestampInterval`;
903
- Parameters: [seconds: number];
904
- ReturnType: void;
905
- },
906
- /**
907
- * @description Removes `setBlockTimestampInterval` if it exists
908
- */
909
- {
910
- Method: `${TMode}_removeBlockTimestampInterval`;
911
- Parameters?: undefined;
912
- ReturnType: void;
913
- },
914
- /**
915
- * @description Enables (with a numeric argument greater than 0) or disables (with a numeric argument equal to 0), the automatic mining of blocks at a regular interval of milliseconds, each of which will include all pending transactions.
916
- * @link https://hardhat.org/hardhat-network/docs/reference#evm_setintervalmining
917
- */
918
- {
919
- Method: 'evm_setIntervalMining';
920
- Parameters: [number];
921
- ReturnType: void;
922
- },
923
- /**
924
- * @description Set the timestamp of the next block.
925
- * @link https://hardhat.org/hardhat-network/docs/reference#evm_setnextblocktimestamp
926
- */
927
- {
928
- Method: 'evm_setNextBlockTimestamp';
929
- Parameters: [Quantity];
930
- ReturnType: void;
931
- },
932
- /**
933
- * @description Snapshot the state of the blockchain at the current block. Takes no parameters. Returns the id of the snapshot that was created.
934
- * @link https://hardhat.org/hardhat-network/docs/reference#evm_snapshot
935
- */
936
- {
937
- Method: 'evm_snapshot';
938
- Parameters?: undefined;
939
- ReturnType: Quantity;
940
- },
941
- /**
942
- * @description Revert the state of the blockchain to a previous snapshot. Takes a single parameter, which is the snapshot id to revert to.
943
- */
944
- {
945
- Method: 'evm_revert';
946
- Parameters?: [id: Quantity];
947
- ReturnType: void;
948
- },
949
- /**
950
- * @description Enables the automatic mining of new blocks with each new transaction submitted to the network.
951
- * @link https://ganache.dev/#miner_start
952
- */
953
- {
954
- Method: 'miner_start';
955
- Parameters?: undefined;
956
- ReturnType: void;
957
- },
958
- /**
959
- * @description Disables the automatic mining of new blocks with each new transaction submitted to the network.
960
- * @link https://ganache.dev/#miner_stop
961
- */
962
- {
963
- Method: 'miner_stop';
964
- Parameters?: undefined;
965
- ReturnType: void;
966
- },
967
- /**
968
- * @link https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool#txpool-content
969
- */
970
- {
971
- Method: 'txpool_content';
972
- Parameters?: undefined;
973
- ReturnType: {
974
- pending: Record<Address, Record<string, Transaction>>;
975
- queued: Record<Address, Record<string, Transaction>>;
976
- };
977
- },
978
- /**
979
- * @link https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool#txpool-inspect
980
- */
981
- {
982
- Method: 'txpool_inspect';
983
- Parameters?: undefined;
984
- ReturnType: {
985
- pending: Record<Address, Record<string, string>>;
986
- queued: Record<Address, Record<string, string>>;
987
- };
988
- },
989
- /**
990
- * @link https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-txpool#txpool-inspect
991
- */
992
- {
993
- Method: 'txpool_status';
994
- Parameters?: undefined;
995
- ReturnType: {
996
- pending: Quantity;
997
- queued: Quantity;
998
- };
999
- },
1000
- /**
1001
- * @description Returns whether the client is actively mining new blocks.
1002
- * @link https://eips.ethereum.org/EIPS/eip-1474
1003
- * @example
1004
- * provider.request({ method: 'eth_mining' })
1005
- * // => true
1006
- */
1007
- {
1008
- Method: 'eth_mining';
1009
- Parameters?: undefined;
1010
- ReturnType: boolean;
1011
- },
1012
- /**
1013
- * @description Advance the block number of the network by a certain number of blocks.
1014
- * @link https://ganache.dev/#evm_mine
1015
- */
1016
- {
1017
- Method: 'evm_mine';
1018
- Parameters?: [
1019
- {
1020
- /** Number of blocks to mine. */
1021
- blocks: Hex;
1022
- }
1023
- ];
1024
- ReturnType: void;
1025
- },
1026
- /**
1027
- * @description Creates, signs, and sends a new transaction to the network regardless of the signature.
1028
- * @link https://eips.ethereum.org/EIPS/eip-1474
1029
- * @example
1030
- * provider.request({ method: 'eth_sendTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] })
1031
- * // => '0x...'
1032
- */
1033
- {
1034
- Method: 'eth_sendUnsignedTransaction';
1035
- Parameters: [transaction: TransactionRequest];
1036
- ReturnType: Hash;
1037
- }
1038
- ];
1039
- export type WalletRpcSchema = [
1040
- /**
1041
- * @description Returns a list of addresses owned by this client
1042
- * @link https://eips.ethereum.org/EIPS/eip-1474
1043
- * @example
1044
- * provider.request({ method: 'eth_accounts' })
1045
- * // => ['0x0fB69...']
1046
- */
1047
- {
1048
- Method: 'eth_accounts';
1049
- Parameters?: undefined;
1050
- ReturnType: Address[];
1051
- },
1052
- /**
1053
- * @description Returns the current chain ID associated with the wallet.
1054
- * @example
1055
- * provider.request({ method: 'eth_chainId' })
1056
- * // => '1'
1057
- */
1058
- {
1059
- Method: 'eth_chainId';
1060
- Parameters?: undefined;
1061
- ReturnType: Quantity;
1062
- },
1063
- /**
1064
- * @description Estimates the gas necessary to complete a transaction without submitting it to the network
1065
- *
1066
- * @example
1067
- * provider.request({
1068
- * method: 'eth_estimateGas',
1069
- * params: [{ from: '0x...', to: '0x...', value: '0x...' }]
1070
- * })
1071
- * // => '0x5208'
1072
- */
1073
- {
1074
- Method: 'eth_estimateGas';
1075
- Parameters: [transaction: TransactionRequest] | [transaction: TransactionRequest, block: BlockNumber | BlockTag];
1076
- ReturnType: Quantity;
1077
- },
1078
- /**
1079
- * @description Requests that the user provides an Ethereum address to be identified by. Typically causes a browser extension popup to appear.
1080
- * @link https://eips.ethereum.org/EIPS/eip-1102
1081
- * @example
1082
- * provider.request({ method: 'eth_requestAccounts' }] })
1083
- * // => ['0x...', '0x...']
1084
- */
1085
- {
1086
- Method: 'eth_requestAccounts';
1087
- Parameters?: undefined;
1088
- ReturnType: Address[];
1089
- },
1090
- /**
1091
- * @description Creates, signs, and sends a new transaction to the network
1092
- * @link https://eips.ethereum.org/EIPS/eip-1474
1093
- * @example
1094
- * provider.request({ method: 'eth_sendTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] })
1095
- * // => '0x...'
1096
- */
1097
- {
1098
- Method: 'eth_sendTransaction';
1099
- Parameters: [transaction: TransactionRequest];
1100
- ReturnType: Hash;
1101
- },
1102
- /**
1103
- * @description Sends and already-signed transaction to the network
1104
- * @link https://eips.ethereum.org/EIPS/eip-1474
1105
- * @example
1106
- * provider.request({ method: 'eth_sendRawTransaction', params: ['0x...'] })
1107
- * // => '0x...'
1108
- */
1109
- {
1110
- Method: 'eth_sendRawTransaction';
1111
- Parameters: [signedTransaction: Hex];
1112
- ReturnType: Hash;
1113
- },
1114
- /**
1115
- * @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`
1116
- * @link https://eips.ethereum.org/EIPS/eip-1474
1117
- * @example
1118
- * provider.request({ method: 'eth_sign', params: ['0x...', '0x...'] })
1119
- * // => '0x...'
1120
- */
1121
- {
1122
- Method: 'eth_sign';
1123
- Parameters: [
1124
- /** Address to use for signing */
1125
- address: Address,
1126
- /** Data to sign */
1127
- data: Hex
1128
- ];
1129
- ReturnType: Hex;
1130
- },
1131
- /**
1132
- * @description Signs a transaction that can be submitted to the network at a later time using with `eth_sendRawTransaction`
1133
- * @link https://eips.ethereum.org/EIPS/eip-1474
1134
- * @example
1135
- * provider.request({ method: 'eth_signTransaction', params: [{ from: '0x...', to: '0x...', value: '0x...' }] })
1136
- * // => '0x...'
1137
- */
1138
- {
1139
- Method: 'eth_signTransaction';
1140
- Parameters: [request: TransactionRequest];
1141
- ReturnType: Hex;
1142
- },
1143
- /**
1144
- * @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`
1145
- * @link https://eips.ethereum.org/EIPS/eip-1474
1146
- * @example
1147
- * provider.request({ method: 'eth_signTypedData_v4', params: [{ from: '0x...', data: [{ type: 'string', name: 'message', value: 'hello world' }] }] })
1148
- * // => '0x...'
1149
- */
1150
- {
1151
- Method: 'eth_signTypedData_v4';
1152
- Parameters: [
1153
- /** Address to use for signing */
1154
- address: Address,
1155
- /** Message to sign containing type information, a domain separator, and data */
1156
- message: string
1157
- ];
1158
- ReturnType: Hex;
1159
- },
1160
- /**
1161
- * @description Returns information about the status of this client’s network synchronization
1162
- * @link https://eips.ethereum.org/EIPS/eip-1474
1163
- * @example
1164
- * provider.request({ method: 'eth_syncing' })
1165
- * // => { startingBlock: '0x...', currentBlock: '0x...', highestBlock: '0x...' }
1166
- */
1167
- {
1168
- Method: 'eth_syncing';
1169
- Parameters?: undefined;
1170
- ReturnType: NetworkSync | false;
1171
- },
1172
- /**
1173
- * @description Calculates an Ethereum-specific signature in the form of `keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`
1174
- * @link https://eips.ethereum.org/EIPS/eip-1474
1175
- * @example
1176
- * provider.request({ method: 'personal_sign', params: ['0x...', '0x...'] })
1177
- * // => '0x...'
1178
- */
1179
- {
1180
- Method: 'personal_sign';
1181
- Parameters: [
1182
- /** Data to sign */
1183
- data: Hex,
1184
- /** Address to use for signing */
1185
- address: Address
1186
- ];
1187
- ReturnType: Hex;
1188
- },
1189
- /**
1190
- * @description Add an Ethereum chain to the wallet.
1191
- * @link https://eips.ethereum.org/EIPS/eip-3085
1192
- * @example
1193
- * provider.request({ method: 'wallet_addEthereumChain', params: [{ chainId: 1, rpcUrl: 'https://mainnet.infura.io/v3/...' }] })
1194
- * // => { ... }
1195
- */
1196
- {
1197
- Method: 'wallet_addEthereumChain';
1198
- Parameters: [chain: AddEthereumChainParameter];
1199
- ReturnType: null;
1200
- },
1201
- /**
1202
- * @description Gets the wallets current permissions.
1203
- * @link https://eips.ethereum.org/EIPS/eip-2255
1204
- * @example
1205
- * provider.request({ method: 'wallet_getPermissions' })
1206
- * // => { ... }
1207
- */
1208
- {
1209
- Method: 'wallet_getPermissions';
1210
- Parameters?: undefined;
1211
- ReturnType: WalletPermission[];
1212
- },
1213
- /**
1214
- * @description Requests the given permissions from the user.
1215
- * @link https://eips.ethereum.org/EIPS/eip-2255
1216
- * @example
1217
- * provider.request({ method: 'wallet_requestPermissions', params: [{ eth_accounts: {} }] })
1218
- * // => { ... }
1219
- */
1220
- {
1221
- Method: 'wallet_requestPermissions';
1222
- Parameters: [permissions: {
1223
- eth_accounts: Record<string, any>;
1224
- }];
1225
- ReturnType: WalletPermission[];
1226
- },
1227
- /**
1228
- * @description Switch the wallet to the given Ethereum chain.
1229
- * @link https://eips.ethereum.org/EIPS/eip-3326
1230
- * @example
1231
- * provider.request({ method: 'wallet_switchEthereumChain', params: [{ chainId: '0xf00' }] })
1232
- * // => { ... }
1233
- */
1234
- {
1235
- Method: 'wallet_switchEthereumChain';
1236
- Parameters: [chain: {
1237
- chainId: string;
1238
- }];
1239
- ReturnType: null;
1240
- },
1241
- /**
1242
- * @description Requests that the user tracks the token in their wallet. Returns a boolean indicating if the token was successfully added.
1243
- * @link https://eips.ethereum.org/EIPS/eip-747
1244
- * @example
1245
- * provider.request({ method: 'wallet_watchAsset' }] })
1246
- * // => true
1247
- */
1248
- {
1249
- Method: 'wallet_watchAsset';
1250
- Parameters: WatchAssetParams;
1251
- ReturnType: boolean;
1252
- }
1253
- ];
1254
- export type RpcSchema = readonly {
1255
- Method: string;
1256
- Parameters?: unknown;
1257
- ReturnType: unknown;
1258
- }[];
1259
- export type RpcSchemaOverride = Omit<RpcSchema[number], 'Method'>;
1260
- export type EIP1193Parameters<TRpcSchema extends RpcSchema | undefined = undefined> = TRpcSchema extends RpcSchema ? {
1261
- [K in keyof TRpcSchema]: Prettify<{
1262
- method: TRpcSchema[K] extends TRpcSchema[number] ? TRpcSchema[K]['Method'] : never;
1263
- } & (TRpcSchema[K] extends TRpcSchema[number] ? TRpcSchema[K]['Parameters'] extends undefined ? {
1264
- params?: never;
1265
- } : {
1266
- params: TRpcSchema[K]['Parameters'];
1267
- } : never)>;
1268
- }[number] : {
1269
- method: string;
1270
- params?: unknown;
1271
- };
1272
- export type EIP1193RequestOptions = {
1273
- retryDelay?: number;
1274
- retryCount?: number;
1275
- };
1276
- type DerivedRpcSchema<TRpcSchema extends RpcSchema | undefined, TRpcSchemaOverride extends RpcSchemaOverride | undefined> = TRpcSchemaOverride extends RpcSchemaOverride ? [TRpcSchemaOverride & {
1277
- Method: string;
1278
- }] : TRpcSchema;
1279
- export type EIP1193RequestFn<TRpcSchema extends RpcSchema | undefined = undefined> = <TRpcSchemaOverride extends RpcSchemaOverride | undefined = undefined, TParameters extends EIP1193Parameters<DerivedRpcSchema<TRpcSchema, TRpcSchemaOverride>> = EIP1193Parameters<DerivedRpcSchema<TRpcSchema, TRpcSchemaOverride>>, _ReturnType = DerivedRpcSchema<TRpcSchema, TRpcSchemaOverride> extends RpcSchema ? Extract<DerivedRpcSchema<TRpcSchema, TRpcSchemaOverride>[number], {
1280
- Method: TParameters['method'];
1281
- }>['ReturnType'] : unknown>(args: TParameters, options?: EIP1193RequestOptions) => Promise<_ReturnType>;
1282
- export {};
1283
- //# sourceMappingURL=eip1193.d.ts.map