rise-wallet 0.1.4-beta.2 → 0.2.29-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (738) hide show
  1. package/README.md +56 -34
  2. package/dist/cli/Dialog.d.ts +35 -0
  3. package/dist/cli/Dialog.d.ts.map +1 -0
  4. package/dist/cli/Dialog.js +60 -0
  5. package/dist/cli/Dialog.js.map +1 -0
  6. package/dist/cli/Messenger.d.ts +8 -0
  7. package/dist/cli/Messenger.d.ts.map +1 -0
  8. package/dist/cli/Messenger.js +123 -0
  9. package/dist/cli/Messenger.js.map +1 -0
  10. package/dist/cli/bin/commands-BWkYsY2L.js +50 -0
  11. package/dist/cli/bin/index.js +9 -0
  12. package/dist/cli/index.d.ts +3 -0
  13. package/dist/cli/index.d.ts.map +1 -0
  14. package/dist/cli/index.js +3 -0
  15. package/dist/cli/index.js.map +1 -0
  16. package/dist/cli/internal/commands.d.ts +13 -0
  17. package/dist/cli/internal/commands.d.ts.map +1 -0
  18. package/dist/cli/internal/commands.js +180 -0
  19. package/dist/cli/internal/commands.js.map +1 -0
  20. package/dist/cli/internal/context.d.ts +521 -0
  21. package/dist/cli/internal/context.d.ts.map +1 -0
  22. package/dist/cli/internal/context.js +38 -0
  23. package/dist/cli/internal/context.js.map +1 -0
  24. package/dist/cli/internal/http.d.ts +7 -0
  25. package/dist/cli/internal/http.d.ts.map +1 -0
  26. package/dist/cli/internal/http.js +17 -0
  27. package/dist/cli/internal/http.js.map +1 -0
  28. package/dist/cli/internal/utils.d.ts +7 -0
  29. package/dist/cli/internal/utils.d.ts.map +1 -0
  30. package/dist/cli/internal/utils.js +24 -0
  31. package/dist/cli/internal/utils.js.map +1 -0
  32. package/dist/core/Chains.d.ts +211 -0
  33. package/dist/core/Chains.d.ts.map +1 -0
  34. package/dist/core/Chains.js +20 -0
  35. package/dist/core/Chains.js.map +1 -0
  36. package/dist/core/Dialog.d.ts +308 -0
  37. package/dist/core/Dialog.d.ts.map +1 -0
  38. package/dist/core/Dialog.js +809 -0
  39. package/dist/core/Dialog.js.map +1 -0
  40. package/dist/core/Messenger.d.ts +165 -0
  41. package/dist/core/Messenger.d.ts.map +1 -0
  42. package/dist/core/Messenger.js +207 -0
  43. package/dist/core/Messenger.js.map +1 -0
  44. package/dist/core/Mode.d.ts +5 -0
  45. package/dist/core/Mode.d.ts.map +1 -0
  46. package/dist/core/Mode.js +5 -0
  47. package/dist/core/Mode.js.map +1 -0
  48. package/dist/core/Porto.d.ts +1609 -0
  49. package/dist/core/Porto.d.ts.map +1 -0
  50. package/dist/core/Porto.js +105 -0
  51. package/dist/core/Porto.js.map +1 -0
  52. package/dist/core/RpcSchema.d.ts +82 -0
  53. package/dist/core/RpcSchema.d.ts.map +1 -0
  54. package/dist/core/RpcSchema.js +2 -0
  55. package/dist/core/RpcSchema.js.map +1 -0
  56. package/dist/core/Storage.d.ts +15 -0
  57. package/dist/core/Storage.d.ts.map +1 -0
  58. package/dist/core/Storage.js +109 -0
  59. package/dist/core/Storage.js.map +1 -0
  60. package/dist/core/Transport.d.ts +23 -0
  61. package/dist/core/Transport.d.ts.map +1 -0
  62. package/dist/core/Transport.js +37 -0
  63. package/dist/core/Transport.js.map +1 -0
  64. package/dist/core/internal/_generated/chains.d.ts +2 -0
  65. package/dist/core/internal/_generated/chains.d.ts.map +1 -0
  66. package/dist/core/internal/_generated/chains.js +3 -0
  67. package/dist/core/internal/_generated/chains.js.map +1 -0
  68. package/dist/core/internal/_generated/contracts/EIP7702Proxy.d.ts +18 -0
  69. package/dist/core/internal/_generated/contracts/EIP7702Proxy.d.ts.map +1 -0
  70. package/dist/core/internal/_generated/contracts/EIP7702Proxy.js +24 -0
  71. package/dist/core/internal/_generated/contracts/EIP7702Proxy.js.map +1 -0
  72. package/dist/core/internal/_generated/contracts/Escrow.d.ts +256 -0
  73. package/dist/core/internal/_generated/contracts/Escrow.d.ts.map +1 -0
  74. package/dist/core/internal/_generated/contracts/Escrow.js +329 -0
  75. package/dist/core/internal/_generated/contracts/Escrow.js.map +1 -0
  76. package/dist/core/internal/_generated/contracts/ExperimentERC20.d.ts +440 -0
  77. package/dist/core/internal/_generated/contracts/ExperimentERC20.d.ts.map +1 -0
  78. package/dist/core/internal/_generated/contracts/ExperimentERC20.js +568 -0
  79. package/dist/core/internal/_generated/contracts/ExperimentERC20.js.map +1 -0
  80. package/dist/core/internal/_generated/contracts/ExperimentERC721.d.ts +456 -0
  81. package/dist/core/internal/_generated/contracts/ExperimentERC721.d.ts.map +1 -0
  82. package/dist/core/internal/_generated/contracts/ExperimentERC721.js +587 -0
  83. package/dist/core/internal/_generated/contracts/ExperimentERC721.js.map +1 -0
  84. package/dist/core/internal/_generated/contracts/GuardedExecutor.d.ts +482 -0
  85. package/dist/core/internal/_generated/contracts/GuardedExecutor.d.ts.map +1 -0
  86. package/dist/core/internal/_generated/contracts/GuardedExecutor.js +622 -0
  87. package/dist/core/internal/_generated/contracts/GuardedExecutor.js.map +1 -0
  88. package/dist/core/internal/_generated/contracts/ICallChecker.d.ts +25 -0
  89. package/dist/core/internal/_generated/contracts/ICallChecker.d.ts.map +1 -0
  90. package/dist/core/internal/_generated/contracts/ICallChecker.js +33 -0
  91. package/dist/core/internal/_generated/contracts/ICallChecker.js.map +1 -0
  92. package/dist/core/internal/_generated/contracts/ICommon.d.ts +3 -0
  93. package/dist/core/internal/_generated/contracts/ICommon.d.ts.map +1 -0
  94. package/dist/core/internal/_generated/contracts/ICommon.js +3 -0
  95. package/dist/core/internal/_generated/contracts/ICommon.js.map +1 -0
  96. package/dist/core/internal/_generated/contracts/IEscrow.d.ts +88 -0
  97. package/dist/core/internal/_generated/contracts/IEscrow.d.ts.map +1 -0
  98. package/dist/core/internal/_generated/contracts/IEscrow.js +113 -0
  99. package/dist/core/internal/_generated/contracts/IEscrow.js.map +1 -0
  100. package/dist/core/internal/_generated/contracts/IFunder.d.ts +61 -0
  101. package/dist/core/internal/_generated/contracts/IFunder.d.ts.map +1 -0
  102. package/dist/core/internal/_generated/contracts/IFunder.js +79 -0
  103. package/dist/core/internal/_generated/contracts/IFunder.js.map +1 -0
  104. package/dist/core/internal/_generated/contracts/IFunderV4.d.ts +34 -0
  105. package/dist/core/internal/_generated/contracts/IFunderV4.d.ts.map +1 -0
  106. package/dist/core/internal/_generated/contracts/IFunderV4.js +44 -0
  107. package/dist/core/internal/_generated/contracts/IFunderV4.js.map +1 -0
  108. package/dist/core/internal/_generated/contracts/IIthacaAccount.d.ts +81 -0
  109. package/dist/core/internal/_generated/contracts/IIthacaAccount.d.ts.map +1 -0
  110. package/dist/core/internal/_generated/contracts/IIthacaAccount.js +106 -0
  111. package/dist/core/internal/_generated/contracts/IIthacaAccount.js.map +1 -0
  112. package/dist/core/internal/_generated/contracts/IOAppCore.d.ts +108 -0
  113. package/dist/core/internal/_generated/contracts/IOAppCore.d.ts.map +1 -0
  114. package/dist/core/internal/_generated/contracts/IOAppCore.js +141 -0
  115. package/dist/core/internal/_generated/contracts/IOAppCore.js.map +1 -0
  116. package/dist/core/internal/_generated/contracts/IOAppMsgInspector.d.ts +33 -0
  117. package/dist/core/internal/_generated/contracts/IOAppMsgInspector.d.ts.map +1 -0
  118. package/dist/core/internal/_generated/contracts/IOAppMsgInspector.js +44 -0
  119. package/dist/core/internal/_generated/contracts/IOAppMsgInspector.js.map +1 -0
  120. package/dist/core/internal/_generated/contracts/IOAppReceiver.d.ts +122 -0
  121. package/dist/core/internal/_generated/contracts/IOAppReceiver.d.ts.map +1 -0
  122. package/dist/core/internal/_generated/contracts/IOAppReceiver.js +160 -0
  123. package/dist/core/internal/_generated/contracts/IOAppReceiver.js.map +1 -0
  124. package/dist/core/internal/_generated/contracts/IOrchestrator.d.ts +71 -0
  125. package/dist/core/internal/_generated/contracts/IOrchestrator.d.ts.map +1 -0
  126. package/dist/core/internal/_generated/contracts/IOrchestrator.js +94 -0
  127. package/dist/core/internal/_generated/contracts/IOrchestrator.js.map +1 -0
  128. package/dist/core/internal/_generated/contracts/ISettler.d.ts +39 -0
  129. package/dist/core/internal/_generated/contracts/ISettler.d.ts.map +1 -0
  130. package/dist/core/internal/_generated/contracts/ISettler.js +51 -0
  131. package/dist/core/internal/_generated/contracts/ISettler.js.map +1 -0
  132. package/dist/core/internal/_generated/contracts/ISigner.d.ts +25 -0
  133. package/dist/core/internal/_generated/contracts/ISigner.d.ts.map +1 -0
  134. package/dist/core/internal/_generated/contracts/ISigner.js +33 -0
  135. package/dist/core/internal/_generated/contracts/ISigner.js.map +1 -0
  136. package/dist/core/internal/_generated/contracts/IthacaAccount.d.ts +1121 -0
  137. package/dist/core/internal/_generated/contracts/IthacaAccount.d.ts.map +1 -0
  138. package/dist/core/internal/_generated/contracts/IthacaAccount.js +1453 -0
  139. package/dist/core/internal/_generated/contracts/IthacaAccount.js.map +1 -0
  140. package/dist/core/internal/_generated/contracts/IthacaAccountNew.d.ts +1121 -0
  141. package/dist/core/internal/_generated/contracts/IthacaAccountNew.d.ts.map +1 -0
  142. package/dist/core/internal/_generated/contracts/IthacaAccountNew.js +1453 -0
  143. package/dist/core/internal/_generated/contracts/IthacaAccountNew.js.map +1 -0
  144. package/dist/core/internal/_generated/contracts/IthacaAccountOld.d.ts +1121 -0
  145. package/dist/core/internal/_generated/contracts/IthacaAccountOld.d.ts.map +1 -0
  146. package/dist/core/internal/_generated/contracts/IthacaAccountOld.js +1453 -0
  147. package/dist/core/internal/_generated/contracts/IthacaAccountOld.js.map +1 -0
  148. package/dist/core/internal/_generated/contracts/LayerZeroSettler.d.ts +621 -0
  149. package/dist/core/internal/_generated/contracts/LayerZeroSettler.d.ts.map +1 -0
  150. package/dist/core/internal/_generated/contracts/LayerZeroSettler.js +810 -0
  151. package/dist/core/internal/_generated/contracts/LayerZeroSettler.js.map +1 -0
  152. package/dist/core/internal/_generated/contracts/LibNonce.d.ts +11 -0
  153. package/dist/core/internal/_generated/contracts/LibNonce.d.ts.map +1 -0
  154. package/dist/core/internal/_generated/contracts/LibNonce.js +14 -0
  155. package/dist/core/internal/_generated/contracts/LibNonce.js.map +1 -0
  156. package/dist/core/internal/_generated/contracts/LibTStack.d.ts +3 -0
  157. package/dist/core/internal/_generated/contracts/LibTStack.d.ts.map +1 -0
  158. package/dist/core/internal/_generated/contracts/LibTStack.js +3 -0
  159. package/dist/core/internal/_generated/contracts/LibTStack.js.map +1 -0
  160. package/dist/core/internal/_generated/contracts/MultiSigSigner.d.ts +157 -0
  161. package/dist/core/internal/_generated/contracts/MultiSigSigner.d.ts.map +1 -0
  162. package/dist/core/internal/_generated/contracts/MultiSigSigner.js +202 -0
  163. package/dist/core/internal/_generated/contracts/MultiSigSigner.js.map +1 -0
  164. package/dist/core/internal/_generated/contracts/OApp.d.ts +314 -0
  165. package/dist/core/internal/_generated/contracts/OApp.d.ts.map +1 -0
  166. package/dist/core/internal/_generated/contracts/OApp.js +411 -0
  167. package/dist/core/internal/_generated/contracts/OApp.js.map +1 -0
  168. package/dist/core/internal/_generated/contracts/OAppCore.d.ts +175 -0
  169. package/dist/core/internal/_generated/contracts/OAppCore.d.ts.map +1 -0
  170. package/dist/core/internal/_generated/contracts/OAppCore.js +228 -0
  171. package/dist/core/internal/_generated/contracts/OAppCore.js.map +1 -0
  172. package/dist/core/internal/_generated/contracts/OAppReceiver.d.ts +302 -0
  173. package/dist/core/internal/_generated/contracts/OAppReceiver.d.ts.map +1 -0
  174. package/dist/core/internal/_generated/contracts/OAppReceiver.js +395 -0
  175. package/dist/core/internal/_generated/contracts/OAppReceiver.js.map +1 -0
  176. package/dist/core/internal/_generated/contracts/OAppSender.d.ts +187 -0
  177. package/dist/core/internal/_generated/contracts/OAppSender.d.ts.map +1 -0
  178. package/dist/core/internal/_generated/contracts/OAppSender.js +244 -0
  179. package/dist/core/internal/_generated/contracts/OAppSender.js.map +1 -0
  180. package/dist/core/internal/_generated/contracts/Orchestrator.d.ts +302 -0
  181. package/dist/core/internal/_generated/contracts/Orchestrator.d.ts.map +1 -0
  182. package/dist/core/internal/_generated/contracts/Orchestrator.js +389 -0
  183. package/dist/core/internal/_generated/contracts/Orchestrator.js.map +1 -0
  184. package/dist/core/internal/_generated/contracts/SimpleFunder.d.ts +413 -0
  185. package/dist/core/internal/_generated/contracts/SimpleFunder.d.ts.map +1 -0
  186. package/dist/core/internal/_generated/contracts/SimpleFunder.js +533 -0
  187. package/dist/core/internal/_generated/contracts/SimpleFunder.js.map +1 -0
  188. package/dist/core/internal/_generated/contracts/SimpleSettler.d.ts +280 -0
  189. package/dist/core/internal/_generated/contracts/SimpleSettler.d.ts.map +1 -0
  190. package/dist/core/internal/_generated/contracts/SimpleSettler.js +359 -0
  191. package/dist/core/internal/_generated/contracts/SimpleSettler.js.map +1 -0
  192. package/dist/core/internal/_generated/contracts/Simulator.d.ts +131 -0
  193. package/dist/core/internal/_generated/contracts/Simulator.d.ts.map +1 -0
  194. package/dist/core/internal/_generated/contracts/Simulator.js +169 -0
  195. package/dist/core/internal/_generated/contracts/Simulator.js.map +1 -0
  196. package/dist/core/internal/_generated/contracts/TokenTransferLib.d.ts +3 -0
  197. package/dist/core/internal/_generated/contracts/TokenTransferLib.d.ts.map +1 -0
  198. package/dist/core/internal/_generated/contracts/TokenTransferLib.js +3 -0
  199. package/dist/core/internal/_generated/contracts/TokenTransferLib.js.map +1 -0
  200. package/dist/core/internal/call.d.ts +164 -0
  201. package/dist/core/internal/call.d.ts.map +1 -0
  202. package/dist/core/internal/call.js +115 -0
  203. package/dist/core/internal/call.js.map +1 -0
  204. package/dist/core/internal/erc8010.d.ts +18 -0
  205. package/dist/core/internal/erc8010.d.ts.map +1 -0
  206. package/dist/core/internal/erc8010.js +29 -0
  207. package/dist/core/internal/erc8010.js.map +1 -0
  208. package/dist/core/internal/intersectionObserver.d.ts +2 -0
  209. package/dist/core/internal/intersectionObserver.d.ts.map +1 -0
  210. package/dist/core/internal/intersectionObserver.js +5 -0
  211. package/dist/core/internal/intersectionObserver.js.map +1 -0
  212. package/dist/core/internal/logger.d.ts +22 -0
  213. package/dist/core/internal/logger.d.ts.map +1 -0
  214. package/dist/core/internal/logger.js +24 -0
  215. package/dist/core/internal/logger.js.map +1 -0
  216. package/dist/core/internal/mode.d.ts +345 -0
  217. package/dist/core/internal/mode.d.ts.map +1 -0
  218. package/dist/core/internal/mode.js +110 -0
  219. package/dist/core/internal/mode.js.map +1 -0
  220. package/dist/core/internal/modes/dialog.d.ts +800 -0
  221. package/dist/core/internal/modes/dialog.d.ts.map +1 -0
  222. package/dist/core/internal/modes/dialog.js +760 -0
  223. package/dist/core/internal/modes/dialog.js.map +1 -0
  224. package/dist/core/internal/modes/reactNative.d.ts +1402 -0
  225. package/dist/core/internal/modes/reactNative.d.ts.map +1 -0
  226. package/dist/core/internal/modes/reactNative.js +19 -0
  227. package/dist/core/internal/modes/reactNative.js.map +1 -0
  228. package/dist/core/internal/modes/relay.d.ts +685 -0
  229. package/dist/core/internal/modes/relay.d.ts.map +1 -0
  230. package/dist/core/internal/modes/relay.js +708 -0
  231. package/dist/core/internal/modes/relay.js.map +1 -0
  232. package/dist/core/internal/permissions.d.ts +60 -0
  233. package/dist/core/internal/permissions.d.ts.map +1 -0
  234. package/dist/core/internal/permissions.js +30 -0
  235. package/dist/core/internal/permissions.js.map +1 -0
  236. package/dist/core/internal/permissionsRequest.d.ts +72 -0
  237. package/dist/core/internal/permissionsRequest.d.ts.map +1 -0
  238. package/dist/core/internal/permissionsRequest.js +58 -0
  239. package/dist/core/internal/permissionsRequest.js.map +1 -0
  240. package/dist/core/internal/porto.d.ts +14 -0
  241. package/dist/core/internal/porto.d.ts.map +1 -0
  242. package/dist/core/internal/porto.js +2 -0
  243. package/dist/core/internal/porto.js.map +1 -0
  244. package/dist/core/internal/promise.d.ts +9 -0
  245. package/dist/core/internal/promise.d.ts.map +1 -0
  246. package/dist/core/internal/promise.js +11 -0
  247. package/dist/core/internal/promise.js.map +1 -0
  248. package/dist/core/internal/provider.d.ts +30 -0
  249. package/dist/core/internal/provider.d.ts.map +1 -0
  250. package/dist/core/internal/provider.js +944 -0
  251. package/dist/core/internal/provider.js.map +1 -0
  252. package/dist/core/internal/relay/rpcSchema.d.ts +76 -0
  253. package/dist/core/internal/relay/rpcSchema.d.ts.map +1 -0
  254. package/dist/core/internal/relay/rpcSchema.js +7 -0
  255. package/dist/core/internal/relay/rpcSchema.js.map +1 -0
  256. package/dist/core/internal/relay/schema/capabilities.d.ts +165 -0
  257. package/dist/core/internal/relay/schema/capabilities.d.ts.map +1 -0
  258. package/dist/core/internal/relay/schema/capabilities.js +112 -0
  259. package/dist/core/internal/relay/schema/capabilities.js.map +1 -0
  260. package/dist/core/internal/relay/schema/intent.d.ts +168 -0
  261. package/dist/core/internal/relay/schema/intent.d.ts.map +1 -0
  262. package/dist/core/internal/relay/schema/intent.js +170 -0
  263. package/dist/core/internal/relay/schema/intent.js.map +1 -0
  264. package/dist/core/internal/relay/schema/key.d.ts +44 -0
  265. package/dist/core/internal/relay/schema/key.d.ts.map +1 -0
  266. package/dist/core/internal/relay/schema/key.js +30 -0
  267. package/dist/core/internal/relay/schema/key.js.map +1 -0
  268. package/dist/core/internal/relay/schema/permission.d.ts +40 -0
  269. package/dist/core/internal/relay/schema/permission.d.ts.map +1 -0
  270. package/dist/core/internal/relay/schema/permission.js +29 -0
  271. package/dist/core/internal/relay/schema/permission.js.map +1 -0
  272. package/dist/core/internal/relay/schema/preCall.d.ts +63 -0
  273. package/dist/core/internal/relay/schema/preCall.d.ts.map +1 -0
  274. package/dist/core/internal/relay/schema/preCall.js +36 -0
  275. package/dist/core/internal/relay/schema/preCall.js.map +1 -0
  276. package/dist/core/internal/relay/schema/quotes.d.ts +370 -0
  277. package/dist/core/internal/relay/schema/quotes.d.ts.map +1 -0
  278. package/dist/core/internal/relay/schema/quotes.js +89 -0
  279. package/dist/core/internal/relay/schema/quotes.js.map +1 -0
  280. package/dist/core/internal/relay/schema/rpc.d.ts +1529 -0
  281. package/dist/core/internal/relay/schema/rpc.d.ts.map +1 -0
  282. package/dist/core/internal/relay/schema/rpc.js +638 -0
  283. package/dist/core/internal/relay/schema/rpc.js.map +1 -0
  284. package/dist/core/internal/relay/schema/token.d.ts +14 -0
  285. package/dist/core/internal/relay/schema/token.d.ts.map +1 -0
  286. package/dist/core/internal/relay/schema/token.js +13 -0
  287. package/dist/core/internal/relay/schema/token.js.map +1 -0
  288. package/dist/core/internal/requiredFunds.d.ts +19 -0
  289. package/dist/core/internal/requiredFunds.d.ts.map +1 -0
  290. package/dist/core/internal/requiredFunds.js +25 -0
  291. package/dist/core/internal/requiredFunds.js.map +1 -0
  292. package/dist/core/internal/schema/capabilities.d.ts +314 -0
  293. package/dist/core/internal/schema/capabilities.d.ts.map +1 -0
  294. package/dist/core/internal/schema/capabilities.js +133 -0
  295. package/dist/core/internal/schema/capabilities.js.map +1 -0
  296. package/dist/core/internal/schema/key.d.ts +165 -0
  297. package/dist/core/internal/schema/key.d.ts.map +1 -0
  298. package/dist/core/internal/schema/key.js +75 -0
  299. package/dist/core/internal/schema/key.js.map +1 -0
  300. package/dist/core/internal/schema/permissions.d.ts +103 -0
  301. package/dist/core/internal/schema/permissions.d.ts.map +1 -0
  302. package/dist/core/internal/schema/permissions.js +28 -0
  303. package/dist/core/internal/schema/permissions.js.map +1 -0
  304. package/dist/core/internal/schema/request.d.ts +938 -0
  305. package/dist/core/internal/schema/request.d.ts.map +1 -0
  306. package/dist/core/internal/schema/request.js +57 -0
  307. package/dist/core/internal/schema/request.js.map +1 -0
  308. package/dist/core/internal/schema/rpc.d.ts +3315 -0
  309. package/dist/core/internal/schema/rpc.d.ts.map +1 -0
  310. package/dist/core/internal/schema/rpc.js +599 -0
  311. package/dist/core/internal/schema/rpc.js.map +1 -0
  312. package/dist/core/internal/schema/token.d.ts +2 -0
  313. package/dist/core/internal/schema/token.d.ts.map +1 -0
  314. package/dist/core/internal/schema/token.js +2 -0
  315. package/dist/core/internal/schema/token.js.map +1 -0
  316. package/dist/core/internal/schema/utils.d.ts +19 -0
  317. package/dist/core/internal/schema/utils.d.ts.map +1 -0
  318. package/dist/core/internal/schema/utils.js +213 -0
  319. package/dist/core/internal/schema/utils.js.map +1 -0
  320. package/dist/core/internal/siwe.d.ts +33 -0
  321. package/dist/core/internal/siwe.d.ts.map +1 -0
  322. package/dist/core/internal/siwe.js +92 -0
  323. package/dist/core/internal/siwe.js.map +1 -0
  324. package/dist/core/internal/store.d.ts +3 -0
  325. package/dist/core/internal/store.d.ts.map +1 -0
  326. package/dist/core/internal/store.js +9 -0
  327. package/dist/core/internal/store.js.map +1 -0
  328. package/dist/core/internal/tokens.d.ts +58 -0
  329. package/dist/core/internal/tokens.d.ts.map +1 -0
  330. package/dist/core/internal/tokens.js +69 -0
  331. package/dist/core/internal/tokens.js.map +1 -0
  332. package/dist/core/internal/types.d.ts +299 -0
  333. package/dist/core/internal/types.d.ts.map +1 -0
  334. package/dist/core/internal/types.js +2 -0
  335. package/dist/core/internal/types.js.map +1 -0
  336. package/dist/core/internal/urlString.d.ts +2 -0
  337. package/dist/core/internal/urlString.d.ts.map +1 -0
  338. package/dist/core/internal/urlString.js +8 -0
  339. package/dist/core/internal/urlString.js.map +1 -0
  340. package/dist/core/internal/userAgent.d.ts +11 -0
  341. package/dist/core/internal/userAgent.d.ts.map +1 -0
  342. package/dist/core/internal/userAgent.js +19 -0
  343. package/dist/core/internal/userAgent.js.map +1 -0
  344. package/dist/core/internal/utils.d.ts +25 -0
  345. package/dist/core/internal/utils.d.ts.map +1 -0
  346. package/dist/core/internal/utils.js +62 -0
  347. package/dist/core/internal/utils.js.map +1 -0
  348. package/dist/core/react-native/Porto.d.ts +1481 -0
  349. package/dist/core/react-native/Porto.d.ts.map +1 -0
  350. package/dist/core/react-native/Porto.js +17 -0
  351. package/dist/core/react-native/Porto.js.map +1 -0
  352. package/dist/core/react-native/configure.d.ts +10 -0
  353. package/dist/core/react-native/configure.d.ts.map +1 -0
  354. package/dist/core/react-native/configure.js +24 -0
  355. package/dist/core/react-native/configure.js.map +1 -0
  356. package/dist/core/react-native/environment.d.ts +27 -0
  357. package/dist/core/react-native/environment.d.ts.map +1 -0
  358. package/dist/core/react-native/environment.js +13 -0
  359. package/dist/core/react-native/environment.js.map +1 -0
  360. package/dist/core/react-native/index.d.ts +5 -0
  361. package/dist/core/react-native/index.d.ts.map +1 -0
  362. package/dist/core/react-native/index.js +5 -0
  363. package/dist/core/react-native/index.js.map +1 -0
  364. package/dist/core/react-native/utils.d.ts +2 -0
  365. package/dist/core/react-native/utils.d.ts.map +1 -0
  366. package/dist/core/react-native/utils.js +12 -0
  367. package/dist/core/react-native/utils.js.map +1 -0
  368. package/dist/index.d.ts +17 -2
  369. package/dist/index.d.ts.map +1 -0
  370. package/dist/index.js +15 -2
  371. package/dist/index.js.map +1 -0
  372. package/dist/index.native.d.ts +8 -0
  373. package/dist/index.native.d.ts.map +1 -0
  374. package/dist/index.native.js +12 -0
  375. package/dist/index.native.js.map +1 -0
  376. package/dist/internal/index.d.ts +4 -0
  377. package/dist/internal/index.d.ts.map +1 -0
  378. package/dist/internal/index.js +4 -0
  379. package/dist/internal/index.js.map +1 -0
  380. package/dist/react-native/crypto.d.ts +2 -0
  381. package/dist/react-native/crypto.d.ts.map +1 -0
  382. package/dist/react-native/crypto.js +12 -0
  383. package/dist/react-native/crypto.js.map +1 -0
  384. package/dist/react-native/index.d.ts +8 -0
  385. package/dist/react-native/index.d.ts.map +1 -0
  386. package/dist/react-native/index.js +12 -0
  387. package/dist/react-native/index.js.map +1 -0
  388. package/dist/react-native/register.d.ts +3 -0
  389. package/dist/react-native/register.d.ts.map +1 -0
  390. package/dist/react-native/register.js +15 -0
  391. package/dist/react-native/register.js.map +1 -0
  392. package/dist/register/index.d.ts +15 -0
  393. package/dist/register/index.d.ts.map +1 -0
  394. package/dist/register/index.js +2 -0
  395. package/dist/register/index.js.map +1 -0
  396. package/dist/remote/Actions.d.ts +34 -0
  397. package/dist/remote/Actions.d.ts.map +1 -0
  398. package/dist/remote/Actions.js +76 -0
  399. package/dist/remote/Actions.js.map +1 -0
  400. package/dist/remote/Events.d.ts +47 -0
  401. package/dist/remote/Events.d.ts.map +1 -0
  402. package/dist/remote/Events.js +132 -0
  403. package/dist/remote/Events.js.map +1 -0
  404. package/dist/remote/Hooks.d.ts +3801 -0
  405. package/dist/remote/Hooks.d.ts.map +1 -0
  406. package/dist/remote/Hooks.js +106 -0
  407. package/dist/remote/Hooks.js.map +1 -0
  408. package/dist/remote/Porto.d.ts +858 -0
  409. package/dist/remote/Porto.d.ts.map +1 -0
  410. package/dist/remote/Porto.js +66 -0
  411. package/dist/remote/Porto.js.map +1 -0
  412. package/dist/remote/index.d.ts +5 -0
  413. package/dist/remote/index.d.ts.map +1 -0
  414. package/dist/remote/index.js +5 -0
  415. package/dist/remote/index.js.map +1 -0
  416. package/dist/remote/internal/methodPolicies.d.ts +97 -0
  417. package/dist/remote/internal/methodPolicies.d.ts.map +1 -0
  418. package/dist/remote/internal/methodPolicies.js +102 -0
  419. package/dist/remote/internal/methodPolicies.js.map +1 -0
  420. package/dist/server/Route.d.ts +88 -0
  421. package/dist/server/Route.d.ts.map +1 -0
  422. package/dist/server/Route.js +189 -0
  423. package/dist/server/Route.js.map +1 -0
  424. package/dist/server/Router.d.ts +24 -0
  425. package/dist/server/Router.d.ts.map +1 -0
  426. package/dist/server/Router.js +29 -0
  427. package/dist/server/Router.js.map +1 -0
  428. package/dist/server/index.d.ts +3 -0
  429. package/dist/server/index.d.ts.map +1 -0
  430. package/dist/server/index.js +3 -0
  431. package/dist/server/index.js.map +1 -0
  432. package/dist/server/internal/merchantSchema.d.ts +65 -0
  433. package/dist/server/internal/merchantSchema.d.ts.map +1 -0
  434. package/dist/server/internal/merchantSchema.js +7 -0
  435. package/dist/server/internal/merchantSchema.js.map +1 -0
  436. package/dist/server/internal/requestListener.d.ts +124 -0
  437. package/dist/server/internal/requestListener.d.ts.map +1 -0
  438. package/dist/server/internal/requestListener.js +172 -0
  439. package/dist/server/internal/requestListener.js.map +1 -0
  440. package/dist/theme/Theme.d.ts +122 -0
  441. package/dist/theme/Theme.d.ts.map +1 -0
  442. package/dist/theme/Theme.js +18 -0
  443. package/dist/theme/Theme.js.map +1 -0
  444. package/dist/theme/index.d.ts +3 -0
  445. package/dist/theme/index.d.ts.map +1 -0
  446. package/dist/theme/index.js +2 -0
  447. package/dist/theme/index.js.map +1 -0
  448. package/dist/trusted-hosts.d.ts +2 -0
  449. package/dist/trusted-hosts.d.ts.map +1 -0
  450. package/dist/trusted-hosts.js +44 -0
  451. package/dist/trusted-hosts.js.map +1 -0
  452. package/dist/tsconfig.tmp.tsbuildinfo +1 -0
  453. package/dist/viem/Account.d.ts +111 -0
  454. package/dist/viem/Account.d.ts.map +1 -0
  455. package/dist/viem/Account.js +132 -0
  456. package/dist/viem/Account.js.map +1 -0
  457. package/dist/viem/AccountActions.d.ts +11 -0
  458. package/dist/viem/AccountActions.d.ts.map +1 -0
  459. package/dist/viem/AccountActions.js +14 -0
  460. package/dist/viem/AccountActions.js.map +1 -0
  461. package/dist/viem/CapabilitiesSchema.d.ts +15 -0
  462. package/dist/viem/CapabilitiesSchema.d.ts.map +1 -0
  463. package/dist/viem/CapabilitiesSchema.js +2 -0
  464. package/dist/viem/CapabilitiesSchema.js.map +1 -0
  465. package/dist/viem/ContractActions.d.ts +209 -0
  466. package/dist/viem/ContractActions.d.ts.map +1 -0
  467. package/dist/viem/ContractActions.js +350 -0
  468. package/dist/viem/ContractActions.js.map +1 -0
  469. package/dist/viem/Key.d.ts +1156 -0
  470. package/dist/viem/Key.d.ts.map +1 -0
  471. package/dist/viem/Key.js +924 -0
  472. package/dist/viem/Key.js.map +1 -0
  473. package/dist/viem/RelayActions.d.ts +436 -0
  474. package/dist/viem/RelayActions.d.ts.map +1 -0
  475. package/dist/viem/RelayActions.js +385 -0
  476. package/dist/viem/RelayActions.js.map +1 -0
  477. package/dist/viem/RelayClient.d.ts +27 -0
  478. package/dist/viem/RelayClient.d.ts.map +1 -0
  479. package/dist/viem/RelayClient.js +44 -0
  480. package/dist/viem/RelayClient.js.map +1 -0
  481. package/dist/viem/RpcSchema.d.ts +23 -0
  482. package/dist/viem/RpcSchema.d.ts.map +1 -0
  483. package/dist/viem/RpcSchema.js +2 -0
  484. package/dist/viem/RpcSchema.js.map +1 -0
  485. package/dist/viem/WalletActions.d.ts +87 -0
  486. package/dist/viem/WalletActions.d.ts.map +1 -0
  487. package/dist/viem/WalletActions.js +220 -0
  488. package/dist/viem/WalletActions.js.map +1 -0
  489. package/dist/viem/WalletClient.d.ts +21 -0
  490. package/dist/viem/WalletClient.d.ts.map +1 -0
  491. package/dist/viem/WalletClient.js +23 -0
  492. package/dist/viem/WalletClient.js.map +1 -0
  493. package/dist/viem/index.d.ts +14 -0
  494. package/dist/viem/index.d.ts.map +1 -0
  495. package/dist/viem/index.js +12 -0
  496. package/dist/viem/index.js.map +1 -0
  497. package/dist/viem/internal/relayActions.d.ts +365 -0
  498. package/dist/viem/internal/relayActions.d.ts.map +1 -0
  499. package/dist/viem/internal/relayActions.js +783 -0
  500. package/dist/viem/internal/relayActions.js.map +1 -0
  501. package/dist/viem/internal/utils.d.ts +16 -0
  502. package/dist/viem/internal/utils.d.ts.map +1 -0
  503. package/dist/viem/internal/utils.js +2 -0
  504. package/dist/viem/internal/utils.js.map +1 -0
  505. package/dist/wagmi/Actions.d.ts +2 -0
  506. package/dist/wagmi/Actions.d.ts.map +1 -0
  507. package/dist/wagmi/Actions.js +2 -0
  508. package/dist/wagmi/Actions.js.map +1 -0
  509. package/dist/wagmi/Connector.d.ts +28 -0
  510. package/dist/wagmi/Connector.d.ts.map +1 -0
  511. package/dist/wagmi/Connector.js +238 -0
  512. package/dist/wagmi/Connector.js.map +1 -0
  513. package/dist/wagmi/Hooks.d.ts +2 -0
  514. package/dist/wagmi/Hooks.d.ts.map +1 -0
  515. package/dist/wagmi/Hooks.js +2 -0
  516. package/dist/wagmi/Hooks.js.map +1 -0
  517. package/dist/wagmi/Hooks.native.d.ts +3 -0
  518. package/dist/wagmi/Hooks.native.d.ts.map +1 -0
  519. package/dist/wagmi/Hooks.native.js +3 -0
  520. package/dist/wagmi/Hooks.native.js.map +1 -0
  521. package/dist/wagmi/Query.d.ts +2 -0
  522. package/dist/wagmi/Query.d.ts.map +1 -0
  523. package/dist/wagmi/Query.js +2 -0
  524. package/dist/wagmi/Query.js.map +1 -0
  525. package/dist/wagmi/index.d.ts +5 -0
  526. package/dist/wagmi/index.d.ts.map +1 -0
  527. package/dist/wagmi/index.js +5 -0
  528. package/dist/wagmi/index.js.map +1 -0
  529. package/dist/wagmi/index.native.d.ts +6 -0
  530. package/dist/wagmi/index.native.d.ts.map +1 -0
  531. package/dist/wagmi/index.native.js +6 -0
  532. package/dist/wagmi/index.native.js.map +1 -0
  533. package/dist/wagmi/internal/core.d.ts +84 -0
  534. package/dist/wagmi/internal/core.d.ts.map +1 -0
  535. package/dist/wagmi/internal/core.js +229 -0
  536. package/dist/wagmi/internal/core.js.map +1 -0
  537. package/dist/wagmi/internal/query.d.ts +33 -0
  538. package/dist/wagmi/internal/query.d.ts.map +1 -0
  539. package/dist/wagmi/internal/query.js +23 -0
  540. package/dist/wagmi/internal/query.js.map +1 -0
  541. package/dist/wagmi/internal/react.d.ts +91 -0
  542. package/dist/wagmi/internal/react.d.ts.map +1 -0
  543. package/dist/wagmi/internal/react.js +256 -0
  544. package/dist/wagmi/internal/react.js.map +1 -0
  545. package/dist/wagmi/internal/types.d.ts +11 -0
  546. package/dist/wagmi/internal/types.d.ts.map +1 -0
  547. package/dist/wagmi/internal/types.js +2 -0
  548. package/dist/wagmi/internal/types.js.map +1 -0
  549. package/dist/wagmi/internal/utils.d.ts +2 -0
  550. package/dist/wagmi/internal/utils.d.ts.map +1 -0
  551. package/dist/wagmi/internal/utils.js +18 -0
  552. package/dist/wagmi/internal/utils.js.map +1 -0
  553. package/package.json +287 -34
  554. package/src/cli/Dialog.ts +75 -0
  555. package/src/cli/Messenger.ts +148 -0
  556. package/src/cli/bin/index.ts +37 -0
  557. package/src/cli/bin/tsconfig.json +8 -0
  558. package/src/cli/index.ts +2 -0
  559. package/src/cli/internal/commands.ts +216 -0
  560. package/src/cli/internal/context.ts +56 -0
  561. package/src/cli/internal/http.ts +28 -0
  562. package/src/cli/internal/utils.ts +28 -0
  563. package/src/cli/tsdown.config.ts +37 -0
  564. package/src/core/Chains.ts +25 -0
  565. package/src/core/Dialog.ts +1059 -0
  566. package/src/core/Messenger.ts +394 -0
  567. package/src/core/Mode.ts +4 -0
  568. package/src/core/Porto.ts +287 -0
  569. package/src/core/RpcSchema.ts +124 -0
  570. package/src/core/Storage.ts +122 -0
  571. package/src/core/Transport.ts +45 -0
  572. package/src/core/internal/_generated/chains.ts +4 -0
  573. package/src/core/internal/_generated/contracts/EIP7702Proxy.ts +25 -0
  574. package/src/core/internal/_generated/contracts/Escrow.ts +330 -0
  575. package/src/core/internal/_generated/contracts/ExperimentERC20.ts +569 -0
  576. package/src/core/internal/_generated/contracts/ExperimentERC721.ts +588 -0
  577. package/src/core/internal/_generated/contracts/GuardedExecutor.ts +623 -0
  578. package/src/core/internal/_generated/contracts/ICallChecker.ts +34 -0
  579. package/src/core/internal/_generated/contracts/ICommon.ts +4 -0
  580. package/src/core/internal/_generated/contracts/IEscrow.ts +114 -0
  581. package/src/core/internal/_generated/contracts/IFunder.ts +80 -0
  582. package/src/core/internal/_generated/contracts/IFunderV4.ts +45 -0
  583. package/src/core/internal/_generated/contracts/IIthacaAccount.ts +107 -0
  584. package/src/core/internal/_generated/contracts/IOAppCore.ts +142 -0
  585. package/src/core/internal/_generated/contracts/IOAppMsgInspector.ts +45 -0
  586. package/src/core/internal/_generated/contracts/IOAppReceiver.ts +161 -0
  587. package/src/core/internal/_generated/contracts/IOrchestrator.ts +95 -0
  588. package/src/core/internal/_generated/contracts/ISettler.ts +52 -0
  589. package/src/core/internal/_generated/contracts/ISigner.ts +34 -0
  590. package/src/core/internal/_generated/contracts/IthacaAccount.ts +1454 -0
  591. package/src/core/internal/_generated/contracts/IthacaAccountNew.ts +1454 -0
  592. package/src/core/internal/_generated/contracts/IthacaAccountOld.ts +1454 -0
  593. package/src/core/internal/_generated/contracts/LayerZeroSettler.ts +811 -0
  594. package/src/core/internal/_generated/contracts/LibNonce.ts +15 -0
  595. package/src/core/internal/_generated/contracts/LibTStack.ts +4 -0
  596. package/src/core/internal/_generated/contracts/MultiSigSigner.ts +203 -0
  597. package/src/core/internal/_generated/contracts/OApp.ts +412 -0
  598. package/src/core/internal/_generated/contracts/OAppCore.ts +229 -0
  599. package/src/core/internal/_generated/contracts/OAppReceiver.ts +396 -0
  600. package/src/core/internal/_generated/contracts/OAppSender.ts +245 -0
  601. package/src/core/internal/_generated/contracts/Orchestrator.ts +390 -0
  602. package/src/core/internal/_generated/contracts/SimpleFunder.ts +534 -0
  603. package/src/core/internal/_generated/contracts/SimpleSettler.ts +360 -0
  604. package/src/core/internal/_generated/contracts/Simulator.ts +170 -0
  605. package/src/core/internal/_generated/contracts/TokenTransferLib.ts +4 -0
  606. package/src/core/internal/_snapshots/provider.browser.test.ts.snap +119 -0
  607. package/src/core/internal/_snapshots/provider.test.ts.snap +1103 -0
  608. package/src/core/internal/call.test.ts +116 -0
  609. package/src/core/internal/call.ts +245 -0
  610. package/src/core/internal/erc8010.test.ts +74 -0
  611. package/src/core/internal/erc8010.ts +44 -0
  612. package/src/core/internal/intersectionObserver.ts +5 -0
  613. package/src/core/internal/logger.ts +42 -0
  614. package/src/core/internal/mode.ts +498 -0
  615. package/src/core/internal/modes/dialog.ts +1051 -0
  616. package/src/core/internal/modes/reactNative.ts +29 -0
  617. package/src/core/internal/modes/relay.ts +893 -0
  618. package/src/core/internal/permissions.ts +43 -0
  619. package/src/core/internal/permissionsRequest.ts +88 -0
  620. package/src/core/internal/porto.ts +16 -0
  621. package/src/core/internal/promise.ts +19 -0
  622. package/src/core/internal/provider.browser.test.ts +311 -0
  623. package/src/core/internal/provider.test.ts +3552 -0
  624. package/src/core/internal/provider.ts +1278 -0
  625. package/src/core/internal/relay/rpcSchema.ts +101 -0
  626. package/src/core/internal/relay/schema/capabilities.test.ts +663 -0
  627. package/src/core/internal/relay/schema/capabilities.ts +156 -0
  628. package/src/core/internal/relay/schema/intent.test.ts +433 -0
  629. package/src/core/internal/relay/schema/intent.ts +174 -0
  630. package/src/core/internal/relay/schema/key.test.ts +424 -0
  631. package/src/core/internal/relay/schema/key.ts +34 -0
  632. package/src/core/internal/relay/schema/permission.test.ts +499 -0
  633. package/src/core/internal/relay/schema/permission.ts +34 -0
  634. package/src/core/internal/relay/schema/preCall.ts +39 -0
  635. package/src/core/internal/relay/schema/quotes.test.ts +901 -0
  636. package/src/core/internal/relay/schema/quotes.ts +98 -0
  637. package/src/core/internal/relay/schema/rpc.ts +822 -0
  638. package/src/core/internal/relay/schema/token.ts +16 -0
  639. package/src/core/internal/requiredFunds.test.ts +141 -0
  640. package/src/core/internal/requiredFunds.ts +45 -0
  641. package/src/core/internal/schema/capabilities.test.ts +1334 -0
  642. package/src/core/internal/schema/capabilities.ts +162 -0
  643. package/src/core/internal/schema/key.test.ts +570 -0
  644. package/src/core/internal/schema/key.ts +98 -0
  645. package/src/core/internal/schema/permissions.test.ts +948 -0
  646. package/src/core/internal/schema/permissions.ts +31 -0
  647. package/src/core/internal/schema/request.bench.ts +35 -0
  648. package/src/core/internal/schema/request.ts +90 -0
  649. package/src/core/internal/schema/rpc.ts +821 -0
  650. package/src/core/internal/schema/token.ts +1 -0
  651. package/src/core/internal/schema/utils.test.ts +572 -0
  652. package/src/core/internal/schema/utils.ts +236 -0
  653. package/src/core/internal/siwe.test.ts +473 -0
  654. package/src/core/internal/siwe.ts +144 -0
  655. package/src/core/internal/store.ts +9 -0
  656. package/src/core/internal/tokens.test.ts +317 -0
  657. package/src/core/internal/tokens.ts +125 -0
  658. package/src/core/internal/types.ts +448 -0
  659. package/src/core/internal/urlString.ts +5 -0
  660. package/src/core/internal/userAgent.ts +35 -0
  661. package/src/core/internal/utils.test.ts +35 -0
  662. package/src/core/internal/utils.ts +67 -0
  663. package/src/core/react-native/Porto.ts +22 -0
  664. package/src/core/react-native/configure.ts +31 -0
  665. package/src/core/react-native/environment.ts +43 -0
  666. package/src/core/react-native/index.ts +4 -0
  667. package/src/core/react-native/utils.ts +18 -0
  668. package/src/index.native.ts +15 -0
  669. package/src/index.ts +17 -0
  670. package/src/internal/index.ts +3 -0
  671. package/src/react-native/crypto.ts +19 -0
  672. package/src/react-native/index.ts +15 -0
  673. package/src/react-native/register.ts +24 -0
  674. package/src/register/index.ts +17 -0
  675. package/src/remote/Actions.ts +115 -0
  676. package/src/remote/Events.ts +193 -0
  677. package/src/remote/Hooks.ts +194 -0
  678. package/src/remote/Porto.ts +144 -0
  679. package/src/remote/index.ts +4 -0
  680. package/src/remote/internal/methodPolicies.ts +124 -0
  681. package/src/server/Route.test.ts +347 -0
  682. package/src/server/Route.ts +259 -0
  683. package/src/server/Router.test.ts +32 -0
  684. package/src/server/Router.ts +59 -0
  685. package/src/server/index.ts +2 -0
  686. package/src/server/internal/merchantSchema.ts +11 -0
  687. package/src/server/internal/requestListener.ts +284 -0
  688. package/src/theme/Theme.ts +163 -0
  689. package/src/theme/index.ts +2 -0
  690. package/src/trusted-hosts.ts +43 -0
  691. package/src/tsconfig.build.tsbuildinfo +1 -0
  692. package/src/tsconfig.json +15 -0
  693. package/src/viem/Account.test.ts +270 -0
  694. package/src/viem/Account.ts +278 -0
  695. package/src/viem/AccountActions.test.ts +3 -0
  696. package/src/viem/AccountActions.ts +30 -0
  697. package/src/viem/CapabilitiesSchema.ts +18 -0
  698. package/src/viem/ContractActions.test.ts +980 -0
  699. package/src/viem/ContractActions.ts +624 -0
  700. package/src/viem/Key.test.ts +1420 -0
  701. package/src/viem/Key.ts +1318 -0
  702. package/src/viem/RelayActions.test.ts +1730 -0
  703. package/src/viem/RelayActions.ts +1082 -0
  704. package/src/viem/RelayClient.test.ts +127 -0
  705. package/src/viem/RelayClient.ts +87 -0
  706. package/src/viem/RpcSchema.ts +27 -0
  707. package/src/viem/WalletActions.test.ts +646 -0
  708. package/src/viem/WalletActions.ts +476 -0
  709. package/src/viem/WalletClient.test.ts +36 -0
  710. package/src/viem/WalletClient.ts +74 -0
  711. package/src/viem/index.ts +13 -0
  712. package/src/viem/internal/relayActions.test.ts +1296 -0
  713. package/src/viem/internal/relayActions.ts +1222 -0
  714. package/src/viem/internal/utils.ts +27 -0
  715. package/src/wagmi/Actions.ts +13 -0
  716. package/src/wagmi/Connector.ts +306 -0
  717. package/src/wagmi/Hooks.native.ts +16 -0
  718. package/src/wagmi/Hooks.ts +14 -0
  719. package/src/wagmi/Query.ts +5 -0
  720. package/src/wagmi/index.native.ts +6 -0
  721. package/src/wagmi/index.ts +4 -0
  722. package/src/wagmi/internal/core.test.ts +12 -0
  723. package/src/wagmi/internal/core.ts +468 -0
  724. package/src/wagmi/internal/query.ts +52 -0
  725. package/src/wagmi/internal/react.test.ts +12 -0
  726. package/src/wagmi/internal/react.ts +705 -0
  727. package/src/wagmi/internal/types.ts +21 -0
  728. package/src/wagmi/internal/utils.ts +25 -0
  729. package/dist/chain.cjs +0 -17
  730. package/dist/chain.d.cts +0 -41
  731. package/dist/chain.d.ts +0 -41
  732. package/dist/chain.js +0 -13
  733. package/dist/config.cjs +0 -19
  734. package/dist/config.d.cts +0 -3
  735. package/dist/config.d.ts +0 -3
  736. package/dist/config.js +0 -16
  737. package/dist/index.cjs +0 -18
  738. package/dist/index.d.cts +0 -2
@@ -0,0 +1,1529 @@
1
+ /**
2
+ * JSON-RPC Schemas.
3
+ *
4
+ * @see https://github.com/ithacaxyz/relay/tree/main/src/types/rpc
5
+ */
6
+ import * as z from 'zod/mini';
7
+ export declare namespace account_getOnrampContactInfo {
8
+ /** Parameters for `account_getOnrampContactInfo` request. */
9
+ const Parameters: z.ZodMiniObject<{
10
+ /** Address to get onramp status for. */
11
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
12
+ secret: z.ZodMiniString<string>;
13
+ }, z.core.$strip>;
14
+ type Parameters = z.infer<typeof Parameters>;
15
+ /** Request for `account_getOnrampContactInfo`. */
16
+ const Request: z.ZodMiniObject<{
17
+ method: z.ZodMiniLiteral<"account_getOnrampContactInfo">;
18
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
19
+ /** Address to get onramp status for. */
20
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
21
+ secret: z.ZodMiniString<string>;
22
+ }, z.core.$strip>], null>>;
23
+ }, z.core.$strip>;
24
+ type Request = z.infer<typeof Request>;
25
+ /** Response for `account_getOnrampContactInfo`. */
26
+ const Response: z.ZodMiniObject<{
27
+ email: z.ZodMiniOptional<z.ZodMiniString<string>>;
28
+ phone: z.ZodMiniOptional<z.ZodMiniString<string>>;
29
+ phoneVerifiedAt: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
30
+ }, z.core.$strip>;
31
+ type Response = z.infer<typeof Response>;
32
+ }
33
+ export declare namespace account_onrampStatus {
34
+ /** Parameters for `account_onrampStatus` request. */
35
+ const Parameters: z.ZodMiniObject<{
36
+ /** Address to get onramp status for. */
37
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
38
+ }, z.core.$strip>;
39
+ type Parameters = z.infer<typeof Parameters>;
40
+ /** Request for `account_onrampStatus`. */
41
+ const Request: z.ZodMiniObject<{
42
+ method: z.ZodMiniLiteral<"account_onrampStatus">;
43
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
44
+ /** Address to get onramp status for. */
45
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
46
+ }, z.core.$strip>], null>>;
47
+ }, z.core.$strip>;
48
+ type Request = z.infer<typeof Request>;
49
+ /** Response for `account_onrampStatus`. */
50
+ const Response: z.ZodMiniObject<{
51
+ email: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
52
+ phone: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
53
+ }, z.core.$strip>;
54
+ type Response = z.infer<typeof Response>;
55
+ }
56
+ export declare namespace account_resendVerifyPhone {
57
+ /** Parameters for `account_resendVerifyPhone` request. */
58
+ const Parameters: z.ZodMiniObject<{
59
+ /** Phone to set for wallet address. */
60
+ phone: z.ZodMiniString<string>;
61
+ /** Address to set phone. */
62
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
63
+ }, z.core.$strip>;
64
+ type Parameters = z.infer<typeof Parameters>;
65
+ /** Request for `account_resendVerifyPhone`. */
66
+ const Request: z.ZodMiniObject<{
67
+ method: z.ZodMiniLiteral<"account_resendVerifyPhone">;
68
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
69
+ /** Phone to set for wallet address. */
70
+ phone: z.ZodMiniString<string>;
71
+ /** Address to set phone. */
72
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
73
+ }, z.core.$strip>], null>>;
74
+ }, z.core.$strip>;
75
+ type Request = z.infer<typeof Request>;
76
+ /** Response for `account_resendVerifyPhone`. */
77
+ const Response: z.ZodMiniNull;
78
+ type Response = z.infer<typeof Response>;
79
+ }
80
+ export declare namespace account_setEmail {
81
+ /** Parameters for `account_setEmail` request. */
82
+ const Parameters: z.ZodMiniObject<{
83
+ /** Email to set for wallet address. */
84
+ email: z.ZodMiniString<string>;
85
+ /** Address to set email. */
86
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
87
+ }, z.core.$strip>;
88
+ type Parameters = z.infer<typeof Parameters>;
89
+ /** Request for `account_setEmail`. */
90
+ const Request: z.ZodMiniObject<{
91
+ method: z.ZodMiniLiteral<"account_setEmail">;
92
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
93
+ /** Email to set for wallet address. */
94
+ email: z.ZodMiniString<string>;
95
+ /** Address to set email. */
96
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
97
+ }, z.core.$strip>], null>>;
98
+ }, z.core.$strip>;
99
+ type Request = z.infer<typeof Request>;
100
+ /** Response for `account_setEmail`. */
101
+ const Response: z.ZodMiniNull;
102
+ type Response = z.infer<typeof Response>;
103
+ }
104
+ export declare namespace account_setPhone {
105
+ /** Parameters for `account_setPhone` request. */
106
+ const Parameters: z.ZodMiniObject<{
107
+ /** Phone to set for wallet address. */
108
+ phone: z.ZodMiniString<string>;
109
+ /** Address to set phone. */
110
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
111
+ }, z.core.$strip>;
112
+ type Parameters = z.infer<typeof Parameters>;
113
+ /** Request for `account_setPhone`. */
114
+ const Request: z.ZodMiniObject<{
115
+ method: z.ZodMiniLiteral<"account_setPhone">;
116
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
117
+ /** Phone to set for wallet address. */
118
+ phone: z.ZodMiniString<string>;
119
+ /** Address to set phone. */
120
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
121
+ }, z.core.$strip>], null>>;
122
+ }, z.core.$strip>;
123
+ type Request = z.infer<typeof Request>;
124
+ /** Response for `account_setPhone`. */
125
+ const Response: z.ZodMiniNull;
126
+ type Response = z.infer<typeof Response>;
127
+ }
128
+ export declare namespace account_verifyEmail {
129
+ /** Parameters for `account_verifyEmail` request. */
130
+ const Parameters: z.ZodMiniObject<{
131
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
132
+ email: z.ZodMiniString<string>;
133
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
134
+ token: z.ZodMiniString<string>;
135
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
136
+ }, z.core.$strip>;
137
+ type Parameters = z.infer<typeof Parameters>;
138
+ /** Request for `account_verifyEmail`. */
139
+ const Request: z.ZodMiniObject<{
140
+ method: z.ZodMiniLiteral<"account_verifyEmail">;
141
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
142
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
143
+ email: z.ZodMiniString<string>;
144
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
145
+ token: z.ZodMiniString<string>;
146
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
147
+ }, z.core.$strip>], null>>;
148
+ }, z.core.$strip>;
149
+ type Request = z.infer<typeof Request>;
150
+ /** Response for `account_verifyEmail`. */
151
+ const Response: z.ZodMiniNull;
152
+ type Response = z.infer<typeof Response>;
153
+ }
154
+ export declare namespace account_verifyPhone {
155
+ /** Parameters for `account_verifyPhone` request. */
156
+ const Parameters: z.ZodMiniObject<{
157
+ code: z.ZodMiniString<string>;
158
+ phone: z.ZodMiniString<string>;
159
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
160
+ }, z.core.$strip>;
161
+ type Parameters = z.infer<typeof Parameters>;
162
+ /** Request for `account_verifyPhone`. */
163
+ const Request: z.ZodMiniObject<{
164
+ method: z.ZodMiniLiteral<"account_verifyPhone">;
165
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
166
+ code: z.ZodMiniString<string>;
167
+ phone: z.ZodMiniString<string>;
168
+ walletAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
169
+ }, z.core.$strip>], null>>;
170
+ }, z.core.$strip>;
171
+ type Request = z.infer<typeof Request>;
172
+ /** Response for `account_verifyPhone`. */
173
+ const Response: z.ZodMiniNull;
174
+ type Response = z.infer<typeof Response>;
175
+ }
176
+ export declare namespace health {
177
+ const Request: z.ZodMiniObject<{
178
+ method: z.ZodMiniLiteral<"health">;
179
+ params: z.ZodMiniUndefined;
180
+ }, z.core.$strip>;
181
+ type Request = z.infer<typeof Request>;
182
+ const Response: z.ZodMiniObject<{
183
+ quoteSigner: z.ZodMiniTemplateLiteral<`0x${string}`>;
184
+ status: z.ZodMiniString<string>;
185
+ version: z.ZodMiniString<string>;
186
+ }, z.core.$strip>;
187
+ type Response = z.infer<typeof Response>;
188
+ }
189
+ export declare namespace wallet_addFaucetFunds {
190
+ const Parameters: z.ZodMiniObject<{
191
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
192
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
193
+ tokenAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
194
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
195
+ }, z.core.$strip>;
196
+ type Parameters = z.infer<typeof Parameters>;
197
+ const Request: z.ZodMiniObject<{
198
+ method: z.ZodMiniLiteral<"wallet_addFaucetFunds">;
199
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
200
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
201
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
202
+ tokenAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
203
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
204
+ }, z.core.$strip>], null>>;
205
+ }, z.core.$strip>;
206
+ type Request = z.infer<typeof Request>;
207
+ const Response: z.ZodMiniObject<{
208
+ message: z.ZodMiniOptional<z.ZodMiniString<string>>;
209
+ transactionHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
210
+ }, z.core.$strip>;
211
+ type Response = z.infer<typeof Response>;
212
+ }
213
+ export declare namespace wallet_getAccounts {
214
+ /** Parameters for `wallet_getAccounts` request. */
215
+ const Parameters: z.ZodMiniObject<{
216
+ /** Target chain ID. */
217
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
218
+ /** Key identifier. */
219
+ id: z.ZodMiniTemplateLiteral<`0x${string}`>;
220
+ }, z.core.$strip>;
221
+ type Parameters = z.infer<typeof Parameters>;
222
+ /** Request for `wallet_getAccounts`. */
223
+ const Request: z.ZodMiniObject<{
224
+ method: z.ZodMiniLiteral<"wallet_getAccounts">;
225
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
226
+ /** Target chain ID. */
227
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
228
+ /** Key identifier. */
229
+ id: z.ZodMiniTemplateLiteral<`0x${string}`>;
230
+ }, z.core.$strip>], null>>;
231
+ }, z.core.$strip>;
232
+ type Request = z.infer<typeof Request>;
233
+ /** Response for `wallet_getAccounts`. */
234
+ const Response: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
235
+ /** Account address. */
236
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
237
+ /** Keys authorized on the account. */
238
+ keys: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
239
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
240
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
241
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
242
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
243
+ type: z.ZodMiniLiteral<"call">;
244
+ }, z.core.$strip>, z.ZodMiniObject<{
245
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
246
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
247
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
248
+ type: z.ZodMiniLiteral<"spend">;
249
+ }, z.core.$strip>]>>>;
250
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
251
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
252
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
253
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
254
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
255
+ }, z.core.$strip>>>;
256
+ }, z.core.$strip>>>;
257
+ type Response = z.infer<typeof Response>;
258
+ }
259
+ export declare namespace wallet_getAuthorization {
260
+ const Parameters: z.ZodMiniObject<{
261
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
262
+ }, z.core.$strip>;
263
+ type Parameters = z.infer<typeof Parameters>;
264
+ const Request: z.ZodMiniObject<{
265
+ method: z.ZodMiniLiteral<"wallet_getAuthorization">;
266
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
267
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
268
+ }, z.core.$strip>], null>>;
269
+ }, z.core.$strip>;
270
+ type Request = z.infer<typeof Request>;
271
+ const Response: z.ZodMiniObject<{
272
+ authorization: z.ZodMiniObject<{
273
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
274
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
275
+ yParity: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
276
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
277
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
278
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
279
+ }, z.core.$strip>;
280
+ data: z.ZodMiniTemplateLiteral<`0x${string}`>;
281
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
282
+ }, z.core.$strip>;
283
+ type Response = z.infer<typeof Response>;
284
+ }
285
+ export declare namespace wallet_getCapabilities {
286
+ /** Request for `wallet_getCapabilities`. */
287
+ const Request: z.ZodMiniObject<{
288
+ method: z.ZodMiniLiteral<"wallet_getCapabilities">;
289
+ params: z.ZodMiniOptional<z.ZodMiniTuple<readonly [z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniNumber<number>>>], null>>;
290
+ }, z.core.$strip>;
291
+ type Request = z.infer<typeof Request>;
292
+ const Response: z.ZodMiniRecord<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
293
+ contracts: z.ZodMiniObject<{
294
+ /** Account implementation address. */
295
+ accountImplementation: z.ZodMiniObject<{
296
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
297
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
298
+ }, z.core.$strip>;
299
+ /** Account proxy address. */
300
+ accountProxy: z.ZodMiniObject<{
301
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
302
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
303
+ }, z.core.$strip>;
304
+ /** Legacy account implementation address. */
305
+ legacyAccountImplementations: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
306
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
307
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
308
+ }, z.core.$strip>>>;
309
+ /** Legacy orchestrator address. */
310
+ legacyOrchestrators: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
311
+ orchestrator: z.ZodMiniObject<{
312
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
313
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
314
+ }, z.core.$strip>;
315
+ simulator: z.ZodMiniObject<{
316
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
317
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
318
+ }, z.core.$strip>;
319
+ }, z.core.$strip>, z.ZodMiniObject<{
320
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
321
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
322
+ }, z.core.$strip>]>>>;
323
+ /** Orchestrator address. */
324
+ orchestrator: z.ZodMiniObject<{
325
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
326
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
327
+ }, z.core.$strip>;
328
+ /** Simulator address. */
329
+ simulator: z.ZodMiniObject<{
330
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
331
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
332
+ }, z.core.$strip>;
333
+ }, z.core.$strip>;
334
+ fees: z.ZodMiniObject<{
335
+ /** Fee recipient address. */
336
+ quoteConfig: z.ZodMiniObject<{
337
+ /** Sets a constant rate for the price oracle. Used for testing. */
338
+ constantRate: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniNull]>>;
339
+ /** Gas estimate configuration. */
340
+ gas: z.ZodMiniOptional<z.ZodMiniObject<{
341
+ /** Extra buffer added to Intent gas estimates. */
342
+ intentBuffer: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
343
+ /** Extra buffer added to transaction gas estimates. */
344
+ txBuffer: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
345
+ }, z.core.$strip>>;
346
+ /** The lifetime of a price rate. */
347
+ rateTtl: z.ZodMiniNumber<number>;
348
+ /** The lifetime of a fee quote. */
349
+ ttl: z.ZodMiniNumber<number>;
350
+ }, z.core.$strip>;
351
+ /** Quote configuration. */
352
+ recipient: z.ZodMiniTemplateLiteral<`0x${string}`>;
353
+ /** Tokens the fees can be paid in. */
354
+ tokens: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
355
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
356
+ decimals: z.ZodMiniNumber<number>;
357
+ feeToken: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
358
+ interop: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
359
+ nativeRate: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
360
+ symbol: z.ZodMiniString<string>;
361
+ uid: z.ZodMiniString<string>;
362
+ }, z.core.$strip>>>;
363
+ }, z.core.$strip>;
364
+ }, z.core.$strip>>;
365
+ type Response = z.infer<typeof Response>;
366
+ }
367
+ export declare namespace wallet_getAssets {
368
+ const Parameters: z.ZodMiniObject<{
369
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
370
+ assetFilter: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
371
+ address: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniLiteral<"native">]>;
372
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"native">, z.ZodMiniLiteral<"erc20">, z.ZodMiniLiteral<"erc721">, z.ZodMiniString<string>]>;
373
+ }, z.core.$strip>>>>>;
374
+ assetTypeFilter: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"native">, z.ZodMiniLiteral<"erc20">, z.ZodMiniLiteral<"erc721">, z.ZodMiniString<string>]>>>>;
375
+ chainFilter: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>>>;
376
+ }, z.core.$strip>;
377
+ type Parameters = z.infer<typeof Parameters>;
378
+ /** Request for `wallet_getAssets`. */
379
+ const Request: z.ZodMiniObject<{
380
+ method: z.ZodMiniLiteral<"wallet_getAssets">;
381
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
382
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
383
+ assetFilter: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
384
+ address: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniLiteral<"native">]>;
385
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"native">, z.ZodMiniLiteral<"erc20">, z.ZodMiniLiteral<"erc721">, z.ZodMiniString<string>]>;
386
+ }, z.core.$strip>>>>>;
387
+ assetTypeFilter: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"native">, z.ZodMiniLiteral<"erc20">, z.ZodMiniLiteral<"erc721">, z.ZodMiniString<string>]>>>>;
388
+ chainFilter: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>>>;
389
+ }, z.core.$strip>], null>>;
390
+ }, z.core.$strip>;
391
+ type Request = z.infer<typeof Request>;
392
+ const Price: z.ZodMiniObject<{
393
+ currency: z.ZodMiniString<string>;
394
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
395
+ }, z.core.$strip>;
396
+ type Price = z.infer<typeof Price>;
397
+ /** Response for `wallet_getAssets`. */
398
+ const Response: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniArray<Omit<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
399
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
400
+ balance: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
401
+ metadata: z.ZodMiniNullable<z.ZodMiniObject<{
402
+ decimals: z.ZodMiniNumber<number>;
403
+ fiat: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
404
+ currency: z.ZodMiniString<string>;
405
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
406
+ }, z.core.$strip>>>;
407
+ name: z.ZodMiniString<string>;
408
+ symbol: z.ZodMiniString<string>;
409
+ }, z.core.$strip>>;
410
+ type: z.ZodMiniLiteral<"erc20">;
411
+ }, z.core.$strip>, z.ZodMiniObject<{
412
+ address: z.ZodMiniNullable<z.ZodMiniLiteral<"native">>;
413
+ balance: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
414
+ metadata: z.ZodMiniNullable<z.ZodMiniObject<{
415
+ decimals: z.ZodMiniNumber<number>;
416
+ fiat: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
417
+ currency: z.ZodMiniString<string>;
418
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
419
+ }, z.core.$strip>>>;
420
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
421
+ symbol: z.ZodMiniOptional<z.ZodMiniString<string>>;
422
+ }, z.core.$strip>>;
423
+ type: z.ZodMiniLiteral<"native">;
424
+ }, z.core.$strip>]>, "_zod"> & {
425
+ _zod: Omit<z.core.$ZodUnionInternals<readonly [z.ZodMiniObject<{
426
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
427
+ balance: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
428
+ metadata: z.ZodMiniNullable<z.ZodMiniObject<{
429
+ decimals: z.ZodMiniNumber<number>;
430
+ fiat: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
431
+ currency: z.ZodMiniString<string>;
432
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
433
+ }, z.core.$strip>>>;
434
+ name: z.ZodMiniString<string>;
435
+ symbol: z.ZodMiniString<string>;
436
+ }, z.core.$strip>>;
437
+ type: z.ZodMiniLiteral<"erc20">;
438
+ }, z.core.$strip>, z.ZodMiniObject<{
439
+ address: z.ZodMiniNullable<z.ZodMiniLiteral<"native">>;
440
+ balance: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
441
+ metadata: z.ZodMiniNullable<z.ZodMiniObject<{
442
+ decimals: z.ZodMiniNumber<number>;
443
+ fiat: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
444
+ currency: z.ZodMiniString<string>;
445
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
446
+ }, z.core.$strip>>>;
447
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
448
+ symbol: z.ZodMiniOptional<z.ZodMiniString<string>>;
449
+ }, z.core.$strip>>;
450
+ type: z.ZodMiniLiteral<"native">;
451
+ }, z.core.$strip>]>, "output"> & {
452
+ output: {
453
+ address: `0x${string}`;
454
+ balance: bigint;
455
+ metadata: {
456
+ decimals: number;
457
+ name: string;
458
+ symbol: string;
459
+ fiat?: {
460
+ currency: string;
461
+ value: number;
462
+ } | null | undefined;
463
+ } | null;
464
+ type: "erc20";
465
+ } | {
466
+ address: "native" | null;
467
+ balance: bigint;
468
+ metadata: {
469
+ decimals: number;
470
+ fiat?: {
471
+ currency: string;
472
+ value: number;
473
+ } | null | undefined;
474
+ name?: string | undefined;
475
+ symbol?: string | undefined;
476
+ } | null;
477
+ type: "native";
478
+ };
479
+ };
480
+ }>>>;
481
+ type Response = z.infer<typeof Response>;
482
+ }
483
+ export declare namespace wallet_getCallsStatus {
484
+ const Request: z.ZodMiniObject<{
485
+ method: z.ZodMiniLiteral<"wallet_getCallsStatus">;
486
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>], null>>;
487
+ }, z.core.$strip>;
488
+ type Request = z.infer<typeof Request>;
489
+ const Response: z.ZodMiniObject<{
490
+ id: z.ZodMiniString<string>;
491
+ receipts: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
492
+ blockHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
493
+ blockNumber: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
494
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
495
+ gasUsed: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
496
+ logs: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
497
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
498
+ data: z.ZodMiniTemplateLiteral<`0x${string}`>;
499
+ topics: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
500
+ }, z.core.$strip>>>;
501
+ status: z.ZodMiniTemplateLiteral<`0x${string}`>;
502
+ transactionHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
503
+ }, z.core.$strip>>>>;
504
+ status: z.ZodMiniNumber<number>;
505
+ }, z.core.$strip>;
506
+ type Response = z.infer<typeof Response>;
507
+ }
508
+ export declare namespace wallet_getKeys {
509
+ /** Parameters for `wallet_getKeys` request. */
510
+ const Parameters: z.ZodMiniObject<{
511
+ /** The address to get the keys for. */
512
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
513
+ /** Target chain IDs. */
514
+ chainIds: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>>>;
515
+ }, z.core.$strip>;
516
+ type Parameters = z.infer<typeof Parameters>;
517
+ /** Request for `wallet_getKeys`. */
518
+ const Request: z.ZodMiniObject<{
519
+ method: z.ZodMiniLiteral<"wallet_getKeys">;
520
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
521
+ /** The address to get the keys for. */
522
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
523
+ /** Target chain IDs. */
524
+ chainIds: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>>>;
525
+ }, z.core.$strip>], null>>;
526
+ }, z.core.$strip>;
527
+ type Request = z.infer<typeof Request>;
528
+ /** Response for `wallet_getKeys`. */
529
+ const Response: z.ZodMiniRecord<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
530
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
531
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
532
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
533
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
534
+ type: z.ZodMiniLiteral<"call">;
535
+ }, z.core.$strip>, z.ZodMiniObject<{
536
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
537
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
538
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
539
+ type: z.ZodMiniLiteral<"spend">;
540
+ }, z.core.$strip>]>>>;
541
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
542
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
543
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
544
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
545
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
546
+ }, z.core.$strip>>>>;
547
+ type Response = z.infer<typeof Response>;
548
+ }
549
+ export declare namespace wallet_prepareCalls {
550
+ /** Capabilities for `wallet_prepareCalls` request. */
551
+ const Capabilities: z.ZodMiniObject<{
552
+ /** Keys to authorize on the account. */
553
+ authorizeKeys: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
554
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
555
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
556
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
557
+ type: z.ZodMiniLiteral<"call">;
558
+ }, z.core.$strip>, z.ZodMiniObject<{
559
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
560
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
561
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
562
+ type: z.ZodMiniLiteral<"spend">;
563
+ }, z.core.$strip>]>>>;
564
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
565
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
566
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
567
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
568
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
569
+ }, z.core.$strip>>>>;
570
+ /** Metadata for the call bundle. */
571
+ meta: z.ZodMiniObject<{
572
+ feePayer: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
573
+ feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
574
+ nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
575
+ }, z.core.$strip>;
576
+ /** Whether the call bundle is to be considered a preCall. */
577
+ preCall: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
578
+ /** Optional preCalls to execute before signature verification. */
579
+ preCalls: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
580
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
581
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
582
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
583
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
584
+ }, z.core.$strip>>>>;
585
+ /** Required funds on the target chain. */
586
+ requiredFunds: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
587
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
588
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
589
+ }, z.core.$strip>>>>;
590
+ /** Keys to revoke on the account. */
591
+ revokeKeys: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
592
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
593
+ }, z.core.$strip>>>>;
594
+ }, z.core.$strip>;
595
+ type Capabilities = z.infer<typeof Capabilities>;
596
+ /** Capabilities for `wallet_prepareCalls` response. */
597
+ const ResponseCapabilities: z.ZodMiniObject<{
598
+ /** Asset diff. */
599
+ assetDiffs: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
600
+ address: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
601
+ decimals: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniNull]>>;
602
+ direction: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"incoming">, z.ZodMiniLiteral<"outgoing">]>;
603
+ fiat: z.ZodMiniOptional<z.ZodMiniObject<{
604
+ currency: z.ZodMiniString<string>;
605
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
606
+ }, z.core.$strip>>;
607
+ name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
608
+ symbol: z.ZodMiniString<string>;
609
+ type: z.ZodMiniLiteral<"erc20">;
610
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
611
+ }, z.core.$strip>, z.ZodMiniObject<{
612
+ address: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
613
+ direction: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"incoming">, z.ZodMiniLiteral<"outgoing">]>;
614
+ fiat: z.ZodMiniOptional<z.ZodMiniObject<{
615
+ currency: z.ZodMiniString<string>;
616
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
617
+ }, z.core.$strip>>;
618
+ name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
619
+ symbol: z.ZodMiniString<string>;
620
+ type: z.ZodMiniLiteral<"erc721">;
621
+ uri: z.ZodMiniString<string>;
622
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
623
+ }, z.core.$strip>, z.ZodMiniObject<{
624
+ address: z.ZodMiniNull;
625
+ decimals: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniNull]>>;
626
+ direction: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"incoming">, z.ZodMiniLiteral<"outgoing">]>;
627
+ fiat: z.ZodMiniOptional<z.ZodMiniObject<{
628
+ currency: z.ZodMiniString<string>;
629
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
630
+ }, z.core.$strip>>;
631
+ symbol: z.ZodMiniString<string>;
632
+ type: z.ZodMiniNull;
633
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
634
+ }, z.core.$strip>]>>>], null>>>>>>;
635
+ /** Keys authorized on the account. */
636
+ authorizeKeys: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
637
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
638
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
639
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
640
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
641
+ type: z.ZodMiniLiteral<"call">;
642
+ }, z.core.$strip>, z.ZodMiniObject<{
643
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
644
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
645
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
646
+ type: z.ZodMiniLiteral<"spend">;
647
+ }, z.core.$strip>]>>>;
648
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
649
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
650
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
651
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
652
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
653
+ }, z.core.$strip>>>>>;
654
+ /** Digest for the fee payer. */
655
+ feePayerDigest: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
656
+ /** Fee signature. */
657
+ feeSignature: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
658
+ /** Fee totals. */
659
+ feeTotals: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
660
+ currency: z.ZodMiniString<string>;
661
+ value: z.ZodMiniString<string>;
662
+ }, z.core.$strip>>>;
663
+ /** Keys revoked on the account. */
664
+ revokeKeys: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
665
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
666
+ }, z.core.$strip>>>>>;
667
+ }, z.core.$strip>;
668
+ type ResponseCapabilities = z.infer<typeof ResponseCapabilities>;
669
+ /** Parameters for `wallet_prepareCalls` request. */
670
+ const Parameters: z.ZodMiniObject<{
671
+ /** Capabilities for the account. */
672
+ calls: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
673
+ data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
674
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
675
+ value: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
676
+ }, z.core.$strip>>>;
677
+ /** The calls to prepare. */
678
+ capabilities: z.ZodMiniObject<{
679
+ /** Keys to authorize on the account. */
680
+ authorizeKeys: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
681
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
682
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
683
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
684
+ type: z.ZodMiniLiteral<"call">;
685
+ }, z.core.$strip>, z.ZodMiniObject<{
686
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
687
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
688
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
689
+ type: z.ZodMiniLiteral<"spend">;
690
+ }, z.core.$strip>]>>>;
691
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
692
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
693
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
694
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
695
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
696
+ }, z.core.$strip>>>>;
697
+ /** Metadata for the call bundle. */
698
+ meta: z.ZodMiniObject<{
699
+ feePayer: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
700
+ feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
701
+ nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
702
+ }, z.core.$strip>;
703
+ /** Whether the call bundle is to be considered a preCall. */
704
+ preCall: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
705
+ /** Optional preCalls to execute before signature verification. */
706
+ preCalls: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
707
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
708
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
709
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
710
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
711
+ }, z.core.$strip>>>>;
712
+ /** Required funds on the target chain. */
713
+ requiredFunds: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
714
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
715
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
716
+ }, z.core.$strip>>>>;
717
+ /** Keys to revoke on the account. */
718
+ revokeKeys: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
719
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
720
+ }, z.core.$strip>>>>;
721
+ }, z.core.$strip>;
722
+ /** The chain ID of the call bundle. */
723
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
724
+ /** The address of the account to prepare the calls for. */
725
+ from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
726
+ /** Key that will be used to sign the call bundle. */
727
+ key: z.ZodMiniOptional<z.ZodMiniObject<{
728
+ prehash: z.ZodMiniBoolean<boolean>;
729
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
730
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
731
+ }, z.core.$strip>>;
732
+ }, z.core.$strip>;
733
+ type Parameters = z.infer<typeof Parameters>;
734
+ /** Request for `wallet_prepareCalls`. */
735
+ const Request: z.ZodMiniObject<{
736
+ method: z.ZodMiniLiteral<"wallet_prepareCalls">;
737
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
738
+ /** Capabilities for the account. */
739
+ calls: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
740
+ data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
741
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
742
+ value: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
743
+ }, z.core.$strip>>>;
744
+ /** The calls to prepare. */
745
+ capabilities: z.ZodMiniObject<{
746
+ /** Keys to authorize on the account. */
747
+ authorizeKeys: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
748
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
749
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
750
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
751
+ type: z.ZodMiniLiteral<"call">;
752
+ }, z.core.$strip>, z.ZodMiniObject<{
753
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
754
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
755
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
756
+ type: z.ZodMiniLiteral<"spend">;
757
+ }, z.core.$strip>]>>>;
758
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
759
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
760
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
761
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
762
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
763
+ }, z.core.$strip>>>>;
764
+ /** Metadata for the call bundle. */
765
+ meta: z.ZodMiniObject<{
766
+ feePayer: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
767
+ feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
768
+ nonce: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
769
+ }, z.core.$strip>;
770
+ /** Whether the call bundle is to be considered a preCall. */
771
+ preCall: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
772
+ /** Optional preCalls to execute before signature verification. */
773
+ preCalls: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
774
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
775
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
776
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
777
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
778
+ }, z.core.$strip>>>>;
779
+ /** Required funds on the target chain. */
780
+ requiredFunds: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
781
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
782
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
783
+ }, z.core.$strip>>>>;
784
+ /** Keys to revoke on the account. */
785
+ revokeKeys: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
786
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
787
+ }, z.core.$strip>>>>;
788
+ }, z.core.$strip>;
789
+ /** The chain ID of the call bundle. */
790
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
791
+ /** The address of the account to prepare the calls for. */
792
+ from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
793
+ /** Key that will be used to sign the call bundle. */
794
+ key: z.ZodMiniOptional<z.ZodMiniObject<{
795
+ prehash: z.ZodMiniBoolean<boolean>;
796
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
797
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
798
+ }, z.core.$strip>>;
799
+ }, z.core.$strip>], null>>;
800
+ }, z.core.$strip>;
801
+ type Request = z.infer<typeof Request>;
802
+ /** Response for `wallet_prepareCalls`. */
803
+ const Response: z.ZodMiniObject<{
804
+ /** Capabilities. */
805
+ capabilities: z.ZodMiniObject<{
806
+ /** Asset diff. */
807
+ assetDiffs: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
808
+ address: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
809
+ decimals: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniNull]>>;
810
+ direction: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"incoming">, z.ZodMiniLiteral<"outgoing">]>;
811
+ fiat: z.ZodMiniOptional<z.ZodMiniObject<{
812
+ currency: z.ZodMiniString<string>;
813
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
814
+ }, z.core.$strip>>;
815
+ name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
816
+ symbol: z.ZodMiniString<string>;
817
+ type: z.ZodMiniLiteral<"erc20">;
818
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
819
+ }, z.core.$strip>, z.ZodMiniObject<{
820
+ address: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
821
+ direction: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"incoming">, z.ZodMiniLiteral<"outgoing">]>;
822
+ fiat: z.ZodMiniOptional<z.ZodMiniObject<{
823
+ currency: z.ZodMiniString<string>;
824
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
825
+ }, z.core.$strip>>;
826
+ name: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>>;
827
+ symbol: z.ZodMiniString<string>;
828
+ type: z.ZodMiniLiteral<"erc721">;
829
+ uri: z.ZodMiniString<string>;
830
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
831
+ }, z.core.$strip>, z.ZodMiniObject<{
832
+ address: z.ZodMiniNull;
833
+ decimals: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniNull]>>;
834
+ direction: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"incoming">, z.ZodMiniLiteral<"outgoing">]>;
835
+ fiat: z.ZodMiniOptional<z.ZodMiniObject<{
836
+ currency: z.ZodMiniString<string>;
837
+ value: z.ZodMiniCodec<z.ZodMiniString<string>, z.ZodMiniNumber<number>>;
838
+ }, z.core.$strip>>;
839
+ symbol: z.ZodMiniString<string>;
840
+ type: z.ZodMiniNull;
841
+ value: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
842
+ }, z.core.$strip>]>>>], null>>>>>>;
843
+ /** Keys authorized on the account. */
844
+ authorizeKeys: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
845
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
846
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
847
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
848
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
849
+ type: z.ZodMiniLiteral<"call">;
850
+ }, z.core.$strip>, z.ZodMiniObject<{
851
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
852
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
853
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
854
+ type: z.ZodMiniLiteral<"spend">;
855
+ }, z.core.$strip>]>>>;
856
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
857
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
858
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
859
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
860
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
861
+ }, z.core.$strip>>>>>;
862
+ /** Digest for the fee payer. */
863
+ feePayerDigest: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
864
+ /** Fee signature. */
865
+ feeSignature: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
866
+ /** Fee totals. */
867
+ feeTotals: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
868
+ currency: z.ZodMiniString<string>;
869
+ value: z.ZodMiniString<string>;
870
+ }, z.core.$strip>>>;
871
+ /** Keys revoked on the account. */
872
+ revokeKeys: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
873
+ hash: z.ZodMiniTemplateLiteral<`0x${string}`>;
874
+ }, z.core.$strip>>>>>;
875
+ }, z.core.$strip>;
876
+ /** Quote for the call bundle. */
877
+ context: z.ZodMiniObject<{
878
+ /** Quote for the call bundle. */
879
+ preCall: z.ZodMiniOptional<z.ZodMiniObject<{
880
+ chainId: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
881
+ eoa: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
882
+ executionData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
883
+ nonce: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
884
+ signature: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
885
+ }, z.core.$strip>>;
886
+ /** The call bundle. */
887
+ quote: z.ZodMiniOptional<z.ZodMiniObject<{
888
+ hash: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
889
+ r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
890
+ s: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
891
+ v: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
892
+ yParity: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
893
+ multiChainRoot: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>>;
894
+ quotes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
895
+ additionalAuthorization: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
896
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
897
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
898
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
899
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
900
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
901
+ yParity: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
902
+ }, z.core.$strip>>>;
903
+ assetDeficits: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
904
+ address: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>;
905
+ decimals: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
906
+ deficit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
907
+ fiat: z.ZodMiniOptional<z.ZodMiniObject<{
908
+ currency: z.ZodMiniString<string>;
909
+ value: z.ZodMiniString<string>;
910
+ }, z.core.$strip>>;
911
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
912
+ required: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
913
+ symbol: z.ZodMiniOptional<z.ZodMiniString<string>>;
914
+ }, z.core.$strip>>>;
915
+ authorizationAddress: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
916
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
917
+ ethPrice: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
918
+ extraPayment: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
919
+ feeTokenDeficit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
920
+ intent: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
921
+ combinedGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
922
+ encodedFundTransfers: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
923
+ encodedPreCalls: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
924
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
925
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
926
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
927
+ funder: z.ZodMiniTemplateLiteral<`0x${string}`>;
928
+ funderSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
929
+ isMultichain: z.ZodMiniBoolean<boolean>;
930
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
931
+ payer: z.ZodMiniTemplateLiteral<`0x${string}`>;
932
+ paymentAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
933
+ paymentMaxAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
934
+ paymentRecipient: z.ZodMiniTemplateLiteral<`0x${string}`>;
935
+ paymentSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
936
+ paymentToken: z.ZodMiniTemplateLiteral<`0x${string}`>;
937
+ settler: z.ZodMiniTemplateLiteral<`0x${string}`>;
938
+ settlerContext: z.ZodMiniTemplateLiteral<`0x${string}`>;
939
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
940
+ supportedAccountImplementation: z.ZodMiniTemplateLiteral<`0x${string}`>;
941
+ }, z.core.$strip>, z.ZodMiniObject<{
942
+ combinedGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
943
+ encodedFundTransfers: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
944
+ encodedPreCalls: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
945
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
946
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
947
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
948
+ funder: z.ZodMiniTemplateLiteral<`0x${string}`>;
949
+ funderSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
950
+ isMultichain: z.ZodMiniBoolean<boolean>;
951
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
952
+ payer: z.ZodMiniTemplateLiteral<`0x${string}`>;
953
+ paymentRecipient: z.ZodMiniTemplateLiteral<`0x${string}`>;
954
+ paymentSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
955
+ paymentToken: z.ZodMiniTemplateLiteral<`0x${string}`>;
956
+ prePaymentAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
957
+ prePaymentMaxAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
958
+ settler: z.ZodMiniTemplateLiteral<`0x${string}`>;
959
+ settlerContext: z.ZodMiniTemplateLiteral<`0x${string}`>;
960
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
961
+ supportedAccountImplementation: z.ZodMiniTemplateLiteral<`0x${string}`>;
962
+ totalPaymentAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
963
+ totalPaymentMaxAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
964
+ }, z.core.$strip>]>;
965
+ nativeFeeEstimate: z.ZodMiniObject<{
966
+ maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
967
+ maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
968
+ }, z.core.$strip>;
969
+ orchestrator: z.ZodMiniTemplateLiteral<`0x${string}`>;
970
+ paymentTokenDecimals: z.ZodMiniNumber<number>;
971
+ txGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
972
+ }, z.core.$strip>>>>;
973
+ ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
974
+ }, z.core.$strip>>;
975
+ }, z.core.$strip>;
976
+ /** Digest to sign over. */
977
+ digest: z.ZodMiniTemplateLiteral<`0x${string}`>;
978
+ /** Key that will be used to sign the call bundle. */
979
+ key: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
980
+ prehash: z.ZodMiniBoolean<boolean>;
981
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
982
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
983
+ }, z.core.$strip>>>;
984
+ /** Signature of the response for verifying the integrity of Relay response. */
985
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
986
+ /** EIP-712 typed data digest. */
987
+ typedData: z.ZodMiniObject<{
988
+ domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
989
+ chainId: z.ZodMiniUnion<readonly [z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>, z.ZodMiniNumber<number>]>;
990
+ name: z.ZodMiniString<string>;
991
+ verifyingContract: z.ZodMiniTemplateLiteral<`0x${string}`>;
992
+ version: z.ZodMiniString<string>;
993
+ }, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>]>;
994
+ message: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
995
+ primaryType: z.ZodMiniString<string>;
996
+ types: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
997
+ }, z.core.$strip>;
998
+ }, z.core.$strip>;
999
+ type Response = z.infer<typeof Response>;
1000
+ }
1001
+ export declare namespace wallet_prepareUpgradeAccount {
1002
+ /** Capabilities for `wallet_prepareUpgradeAccount` request. */
1003
+ const Capabilities: z.ZodMiniObject<{
1004
+ /** Keys to authorize on the account. */
1005
+ authorizeKeys: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1006
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1007
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
1008
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
1009
+ type: z.ZodMiniLiteral<"call">;
1010
+ }, z.core.$strip>, z.ZodMiniObject<{
1011
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1012
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
1013
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
1014
+ type: z.ZodMiniLiteral<"spend">;
1015
+ }, z.core.$strip>]>>>;
1016
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1017
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1018
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
1019
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
1020
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
1021
+ }, z.core.$strip>>>;
1022
+ }, z.core.$strip>;
1023
+ type Capabilities = z.infer<typeof Capabilities>;
1024
+ /** Parameters for `wallet_prepareUpgradeAccount` request. */
1025
+ const Parameters: z.ZodMiniObject<{
1026
+ /** Address of the EOA to upgrade. */
1027
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1028
+ /** Chain ID to initialize the account on. */
1029
+ capabilities: z.ZodMiniObject<{
1030
+ /** Keys to authorize on the account. */
1031
+ authorizeKeys: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1032
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1033
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
1034
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
1035
+ type: z.ZodMiniLiteral<"call">;
1036
+ }, z.core.$strip>, z.ZodMiniObject<{
1037
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1038
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
1039
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
1040
+ type: z.ZodMiniLiteral<"spend">;
1041
+ }, z.core.$strip>]>>>;
1042
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1043
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1044
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
1045
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
1046
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
1047
+ }, z.core.$strip>>>;
1048
+ }, z.core.$strip>;
1049
+ /** Capabilities. */
1050
+ chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1051
+ /** Contract address to delegate to. */
1052
+ delegation: z.ZodMiniTemplateLiteral<`0x${string}`>;
1053
+ }, z.core.$strip>;
1054
+ type Parameters = z.infer<typeof Parameters>;
1055
+ /** Request for `wallet_prepareUpgradeAccount`. */
1056
+ const Request: z.ZodMiniObject<{
1057
+ method: z.ZodMiniLiteral<"wallet_prepareUpgradeAccount">;
1058
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
1059
+ /** Address of the EOA to upgrade. */
1060
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1061
+ /** Chain ID to initialize the account on. */
1062
+ capabilities: z.ZodMiniObject<{
1063
+ /** Keys to authorize on the account. */
1064
+ authorizeKeys: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1065
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1066
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
1067
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
1068
+ type: z.ZodMiniLiteral<"call">;
1069
+ }, z.core.$strip>, z.ZodMiniObject<{
1070
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1071
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
1072
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
1073
+ type: z.ZodMiniLiteral<"spend">;
1074
+ }, z.core.$strip>]>>>;
1075
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1076
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1077
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
1078
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
1079
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
1080
+ }, z.core.$strip>>>;
1081
+ }, z.core.$strip>;
1082
+ /** Capabilities. */
1083
+ chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1084
+ /** Contract address to delegate to. */
1085
+ delegation: z.ZodMiniTemplateLiteral<`0x${string}`>;
1086
+ }, z.core.$strip>], null>>;
1087
+ }, z.core.$strip>;
1088
+ type Request = z.infer<typeof Request>;
1089
+ /** Response for `wallet_prepareUpgradeAccount`. */
1090
+ const Response: z.ZodMiniObject<{
1091
+ /** Capabilities. */
1092
+ capabilities: z.ZodMiniObject<{
1093
+ /** Keys to authorize on the account. */
1094
+ authorizeKeys: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1095
+ permissions: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1096
+ selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
1097
+ to: z.ZodMiniTemplateLiteral<`0x${string}`>;
1098
+ type: z.ZodMiniLiteral<"call">;
1099
+ }, z.core.$strip>, z.ZodMiniObject<{
1100
+ limit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1101
+ period: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"minute">, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>;
1102
+ token: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
1103
+ type: z.ZodMiniLiteral<"spend">;
1104
+ }, z.core.$strip>]>>>;
1105
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1106
+ prehash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1107
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
1108
+ role: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"admin">, z.ZodMiniLiteral<"normal">]>;
1109
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
1110
+ }, z.core.$strip>>>;
1111
+ }, z.core.$strip>;
1112
+ /** Chain ID to initialize the account on. */
1113
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1114
+ /** Context. */
1115
+ context: z.ZodMiniObject<{
1116
+ /** Address of the EOA to upgrade. */
1117
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1118
+ /** Unsigned authorization object to be signed by the EOA root key. */
1119
+ authorization: z.ZodMiniObject<{
1120
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1121
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1122
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1123
+ }, z.core.$strip>;
1124
+ /** Chain ID to initialize the account on. */
1125
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1126
+ /** Unsigned pre-call to be signed by the EOA root key. */
1127
+ preCall: z.ZodMiniObject<{
1128
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
1129
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1130
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
1131
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1132
+ }, z.core.$strip>;
1133
+ }, z.core.$strip>;
1134
+ /** Digests to sign over. */
1135
+ digests: z.ZodMiniObject<{
1136
+ /** Digest of the authorization object. */
1137
+ auth: z.ZodMiniTemplateLiteral<`0x${string}`>;
1138
+ /** Digest of the pre-call. */
1139
+ exec: z.ZodMiniTemplateLiteral<`0x${string}`>;
1140
+ }, z.core.$strip>;
1141
+ /** EIP-712 typed data digest. */
1142
+ typedData: z.ZodMiniObject<{
1143
+ domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1144
+ chainId: z.ZodMiniUnion<readonly [z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>, z.ZodMiniNumber<number>]>;
1145
+ name: z.ZodMiniString<string>;
1146
+ verifyingContract: z.ZodMiniTemplateLiteral<`0x${string}`>;
1147
+ version: z.ZodMiniString<string>;
1148
+ }, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>]>;
1149
+ message: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
1150
+ primaryType: z.ZodMiniString<string>;
1151
+ types: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
1152
+ }, z.core.$strip>;
1153
+ }, z.core.$strip>;
1154
+ type Response = z.infer<typeof Response>;
1155
+ }
1156
+ export declare namespace wallet_feeTokens {
1157
+ /** Request for `wallet_feeTokens`. */
1158
+ const Request: z.ZodMiniObject<{
1159
+ method: z.ZodMiniLiteral<"wallet_feeTokens">;
1160
+ params: z.ZodMiniOptional<z.ZodMiniUndefined>;
1161
+ }, z.core.$strip>;
1162
+ type Request = z.infer<typeof Request>;
1163
+ /** Response for `wallet_feeTokens`. */
1164
+ const Response: z.ZodMiniRecord<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1165
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1166
+ decimals: z.ZodMiniNumber<number>;
1167
+ nativeRate: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>;
1168
+ symbol: z.ZodMiniString<string>;
1169
+ }, z.core.$strip>>>>;
1170
+ type Response = z.infer<typeof Response>;
1171
+ }
1172
+ export declare namespace wallet_sendPreparedCalls {
1173
+ /** Parameters for `wallet_sendPreparedCalls` request. */
1174
+ const Parameters: z.ZodMiniObject<{
1175
+ /** Capabilities. */
1176
+ capabilities: z.ZodMiniOptional<z.ZodMiniObject<{
1177
+ /** Fee signature. */
1178
+ feeSignature: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1179
+ }, z.core.$strip>>;
1180
+ /** Quote for the call bundle. */
1181
+ context: z.ZodMiniObject<{
1182
+ /** The call bundle. */
1183
+ preCall: z.ZodMiniOptional<z.ZodMiniObject<{
1184
+ chainId: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
1185
+ eoa: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1186
+ executionData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1187
+ nonce: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1188
+ signature: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1189
+ }, z.core.$strip>>;
1190
+ /** Quote for the call bundle. */
1191
+ quote: z.ZodMiniOptional<z.ZodMiniObject<{
1192
+ hash: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1193
+ r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1194
+ s: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1195
+ v: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1196
+ yParity: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1197
+ multiChainRoot: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>>;
1198
+ quotes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1199
+ additionalAuthorization: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1200
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1201
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1202
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1203
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
1204
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
1205
+ yParity: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1206
+ }, z.core.$strip>>>;
1207
+ assetDeficits: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1208
+ address: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>;
1209
+ decimals: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1210
+ deficit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1211
+ fiat: z.ZodMiniOptional<z.ZodMiniObject<{
1212
+ currency: z.ZodMiniString<string>;
1213
+ value: z.ZodMiniString<string>;
1214
+ }, z.core.$strip>>;
1215
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
1216
+ required: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1217
+ symbol: z.ZodMiniOptional<z.ZodMiniString<string>>;
1218
+ }, z.core.$strip>>>;
1219
+ authorizationAddress: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
1220
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1221
+ ethPrice: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1222
+ extraPayment: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1223
+ feeTokenDeficit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1224
+ intent: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1225
+ combinedGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1226
+ encodedFundTransfers: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1227
+ encodedPreCalls: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1228
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
1229
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1230
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1231
+ funder: z.ZodMiniTemplateLiteral<`0x${string}`>;
1232
+ funderSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1233
+ isMultichain: z.ZodMiniBoolean<boolean>;
1234
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1235
+ payer: z.ZodMiniTemplateLiteral<`0x${string}`>;
1236
+ paymentAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1237
+ paymentMaxAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1238
+ paymentRecipient: z.ZodMiniTemplateLiteral<`0x${string}`>;
1239
+ paymentSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1240
+ paymentToken: z.ZodMiniTemplateLiteral<`0x${string}`>;
1241
+ settler: z.ZodMiniTemplateLiteral<`0x${string}`>;
1242
+ settlerContext: z.ZodMiniTemplateLiteral<`0x${string}`>;
1243
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1244
+ supportedAccountImplementation: z.ZodMiniTemplateLiteral<`0x${string}`>;
1245
+ }, z.core.$strip>, z.ZodMiniObject<{
1246
+ combinedGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1247
+ encodedFundTransfers: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1248
+ encodedPreCalls: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1249
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
1250
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1251
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1252
+ funder: z.ZodMiniTemplateLiteral<`0x${string}`>;
1253
+ funderSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1254
+ isMultichain: z.ZodMiniBoolean<boolean>;
1255
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1256
+ payer: z.ZodMiniTemplateLiteral<`0x${string}`>;
1257
+ paymentRecipient: z.ZodMiniTemplateLiteral<`0x${string}`>;
1258
+ paymentSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1259
+ paymentToken: z.ZodMiniTemplateLiteral<`0x${string}`>;
1260
+ prePaymentAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1261
+ prePaymentMaxAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1262
+ settler: z.ZodMiniTemplateLiteral<`0x${string}`>;
1263
+ settlerContext: z.ZodMiniTemplateLiteral<`0x${string}`>;
1264
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1265
+ supportedAccountImplementation: z.ZodMiniTemplateLiteral<`0x${string}`>;
1266
+ totalPaymentAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1267
+ totalPaymentMaxAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1268
+ }, z.core.$strip>]>;
1269
+ nativeFeeEstimate: z.ZodMiniObject<{
1270
+ maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1271
+ maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1272
+ }, z.core.$strip>;
1273
+ orchestrator: z.ZodMiniTemplateLiteral<`0x${string}`>;
1274
+ paymentTokenDecimals: z.ZodMiniNumber<number>;
1275
+ txGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1276
+ }, z.core.$strip>>>>;
1277
+ ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1278
+ }, z.core.$strip>>;
1279
+ }, z.core.$strip>;
1280
+ /** Key that was used to sign the call bundle. */
1281
+ key: z.ZodMiniOptional<z.ZodMiniObject<{
1282
+ prehash: z.ZodMiniBoolean<boolean>;
1283
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
1284
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
1285
+ }, z.core.$strip>>;
1286
+ /** Signature. */
1287
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1288
+ }, z.core.$strip>;
1289
+ type Parameters = z.infer<typeof Parameters>;
1290
+ /** Request for `wallet_sendPreparedCalls`. */
1291
+ const Request: z.ZodMiniObject<{
1292
+ method: z.ZodMiniLiteral<"wallet_sendPreparedCalls">;
1293
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
1294
+ /** Capabilities. */
1295
+ capabilities: z.ZodMiniOptional<z.ZodMiniObject<{
1296
+ /** Fee signature. */
1297
+ feeSignature: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1298
+ }, z.core.$strip>>;
1299
+ /** Quote for the call bundle. */
1300
+ context: z.ZodMiniObject<{
1301
+ /** The call bundle. */
1302
+ preCall: z.ZodMiniOptional<z.ZodMiniObject<{
1303
+ chainId: z.ZodMiniOptional<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>>;
1304
+ eoa: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1305
+ executionData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1306
+ nonce: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1307
+ signature: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1308
+ }, z.core.$strip>>;
1309
+ /** Quote for the call bundle. */
1310
+ quote: z.ZodMiniOptional<z.ZodMiniObject<{
1311
+ hash: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1312
+ r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1313
+ s: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1314
+ v: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1315
+ yParity: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1316
+ multiChainRoot: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>>;
1317
+ quotes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1318
+ additionalAuthorization: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1319
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1320
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1321
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1322
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
1323
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
1324
+ yParity: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1325
+ }, z.core.$strip>>>;
1326
+ assetDeficits: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
1327
+ address: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>;
1328
+ decimals: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1329
+ deficit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1330
+ fiat: z.ZodMiniOptional<z.ZodMiniObject<{
1331
+ currency: z.ZodMiniString<string>;
1332
+ value: z.ZodMiniString<string>;
1333
+ }, z.core.$strip>>;
1334
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
1335
+ required: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1336
+ symbol: z.ZodMiniOptional<z.ZodMiniString<string>>;
1337
+ }, z.core.$strip>>>;
1338
+ authorizationAddress: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNull]>>;
1339
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1340
+ ethPrice: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1341
+ extraPayment: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1342
+ feeTokenDeficit: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1343
+ intent: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1344
+ combinedGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1345
+ encodedFundTransfers: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1346
+ encodedPreCalls: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1347
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
1348
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1349
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1350
+ funder: z.ZodMiniTemplateLiteral<`0x${string}`>;
1351
+ funderSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1352
+ isMultichain: z.ZodMiniBoolean<boolean>;
1353
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1354
+ payer: z.ZodMiniTemplateLiteral<`0x${string}`>;
1355
+ paymentAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1356
+ paymentMaxAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1357
+ paymentRecipient: z.ZodMiniTemplateLiteral<`0x${string}`>;
1358
+ paymentSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1359
+ paymentToken: z.ZodMiniTemplateLiteral<`0x${string}`>;
1360
+ settler: z.ZodMiniTemplateLiteral<`0x${string}`>;
1361
+ settlerContext: z.ZodMiniTemplateLiteral<`0x${string}`>;
1362
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1363
+ supportedAccountImplementation: z.ZodMiniTemplateLiteral<`0x${string}`>;
1364
+ }, z.core.$strip>, z.ZodMiniObject<{
1365
+ combinedGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1366
+ encodedFundTransfers: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1367
+ encodedPreCalls: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1368
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
1369
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1370
+ expiry: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1371
+ funder: z.ZodMiniTemplateLiteral<`0x${string}`>;
1372
+ funderSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1373
+ isMultichain: z.ZodMiniBoolean<boolean>;
1374
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1375
+ payer: z.ZodMiniTemplateLiteral<`0x${string}`>;
1376
+ paymentRecipient: z.ZodMiniTemplateLiteral<`0x${string}`>;
1377
+ paymentSignature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1378
+ paymentToken: z.ZodMiniTemplateLiteral<`0x${string}`>;
1379
+ prePaymentAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1380
+ prePaymentMaxAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1381
+ settler: z.ZodMiniTemplateLiteral<`0x${string}`>;
1382
+ settlerContext: z.ZodMiniTemplateLiteral<`0x${string}`>;
1383
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1384
+ supportedAccountImplementation: z.ZodMiniTemplateLiteral<`0x${string}`>;
1385
+ totalPaymentAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1386
+ totalPaymentMaxAmount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1387
+ }, z.core.$strip>]>;
1388
+ nativeFeeEstimate: z.ZodMiniObject<{
1389
+ maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1390
+ maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1391
+ }, z.core.$strip>;
1392
+ orchestrator: z.ZodMiniTemplateLiteral<`0x${string}`>;
1393
+ paymentTokenDecimals: z.ZodMiniNumber<number>;
1394
+ txGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>;
1395
+ }, z.core.$strip>>>>;
1396
+ ttl: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1397
+ }, z.core.$strip>>;
1398
+ }, z.core.$strip>;
1399
+ /** Key that was used to sign the call bundle. */
1400
+ key: z.ZodMiniOptional<z.ZodMiniObject<{
1401
+ prehash: z.ZodMiniBoolean<boolean>;
1402
+ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>;
1403
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>;
1404
+ }, z.core.$strip>>;
1405
+ /** Signature. */
1406
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1407
+ }, z.core.$strip>], null>>;
1408
+ }, z.core.$strip>;
1409
+ type Request = z.infer<typeof Request>;
1410
+ /** Response for `wallet_sendPreparedCalls`. */
1411
+ const Response: z.ZodMiniObject<{
1412
+ /** The ID of the call bundle. */
1413
+ id: z.ZodMiniTemplateLiteral<`0x${string}`>;
1414
+ }, z.core.$strip>;
1415
+ type Response = z.infer<typeof Response>;
1416
+ }
1417
+ export declare namespace wallet_upgradeAccount {
1418
+ const Parameters: z.ZodMiniObject<{
1419
+ /** Context. */
1420
+ context: z.ZodMiniObject<{
1421
+ /** Address of the EOA to upgrade. */
1422
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1423
+ /** Unsigned authorization object to be signed by the EOA root key. */
1424
+ authorization: z.ZodMiniObject<{
1425
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1426
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1427
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1428
+ }, z.core.$strip>;
1429
+ /** Chain ID to initialize the account on. */
1430
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1431
+ /** Unsigned pre-call to be signed by the EOA root key. */
1432
+ preCall: z.ZodMiniObject<{
1433
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
1434
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1435
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
1436
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1437
+ }, z.core.$strip>;
1438
+ }, z.core.$strip>;
1439
+ /** Signatures of the `wallet_prepareUpgradeAccount` digests. */
1440
+ signatures: z.ZodMiniObject<{
1441
+ auth: z.ZodMiniTemplateLiteral<`0x${string}`>;
1442
+ exec: z.ZodMiniTemplateLiteral<`0x${string}`>;
1443
+ }, z.core.$strip>;
1444
+ }, z.core.$strip>;
1445
+ type Parameters = z.infer<typeof Parameters>;
1446
+ /** Request for `wallet_sendPreparedCalls`. */
1447
+ const Request: z.ZodMiniObject<{
1448
+ method: z.ZodMiniLiteral<"wallet_upgradeAccount">;
1449
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
1450
+ /** Context. */
1451
+ context: z.ZodMiniObject<{
1452
+ /** Address of the EOA to upgrade. */
1453
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1454
+ /** Unsigned authorization object to be signed by the EOA root key. */
1455
+ authorization: z.ZodMiniObject<{
1456
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1457
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1458
+ nonce: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1459
+ }, z.core.$strip>;
1460
+ /** Chain ID to initialize the account on. */
1461
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1462
+ /** Unsigned pre-call to be signed by the EOA root key. */
1463
+ preCall: z.ZodMiniObject<{
1464
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
1465
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1466
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
1467
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1468
+ }, z.core.$strip>;
1469
+ }, z.core.$strip>;
1470
+ /** Signatures of the `wallet_prepareUpgradeAccount` digests. */
1471
+ signatures: z.ZodMiniObject<{
1472
+ auth: z.ZodMiniTemplateLiteral<`0x${string}`>;
1473
+ exec: z.ZodMiniTemplateLiteral<`0x${string}`>;
1474
+ }, z.core.$strip>;
1475
+ }, z.core.$strip>], null>>;
1476
+ }, z.core.$strip>;
1477
+ type Request = z.infer<typeof Request>;
1478
+ const Response: z.ZodMiniUndefined;
1479
+ type Response = z.infer<typeof Response>;
1480
+ }
1481
+ export declare namespace wallet_verifySignature {
1482
+ const Parameters: z.ZodMiniObject<{
1483
+ /** Account address. */
1484
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1485
+ /** Chain ID of the account with the given key configured. */
1486
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1487
+ /** Digest of the message to verify. */
1488
+ digest: z.ZodMiniTemplateLiteral<`0x${string}`>;
1489
+ /** Signature to verify. */
1490
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1491
+ }, z.core.$strip>;
1492
+ type Parameters = z.infer<typeof Parameters>;
1493
+ /** Request for `wallet_verifySignature`. */
1494
+ const Request: z.ZodMiniObject<{
1495
+ method: z.ZodMiniLiteral<"wallet_verifySignature">;
1496
+ params: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniObject<{
1497
+ /** Account address. */
1498
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1499
+ /** Chain ID of the account with the given key configured. */
1500
+ chainId: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumber<number>>;
1501
+ /** Digest of the message to verify. */
1502
+ digest: z.ZodMiniTemplateLiteral<`0x${string}`>;
1503
+ /** Signature to verify. */
1504
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1505
+ }, z.core.$strip>], null>>;
1506
+ }, z.core.$strip>;
1507
+ type Request = z.infer<typeof Request>;
1508
+ /** Response for `wallet_verifySignature`. */
1509
+ const Response: z.ZodMiniObject<{
1510
+ /** Proof that can be used to verify the signature. */
1511
+ proof: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1512
+ /** Address of an account (either delegated or stored) that the signature was verified against. */
1513
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
1514
+ /** Initialization precall. Provided, if account is a stored account which has not been delegated. */
1515
+ initPreCall: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
1516
+ eoa: z.ZodMiniTemplateLiteral<`0x${string}`>;
1517
+ executionData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1518
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
1519
+ signature: z.ZodMiniTemplateLiteral<`0x${string}`>;
1520
+ }, z.core.$strip>>>;
1521
+ /** The key hash that signed the digest. */
1522
+ keyHash: z.ZodMiniTemplateLiteral<`0x${string}`>;
1523
+ }, z.core.$strip>>>;
1524
+ /** Whether the signature is valid. */
1525
+ valid: z.ZodMiniBoolean<boolean>;
1526
+ }, z.core.$strip>;
1527
+ type Response = z.infer<typeof Response>;
1528
+ }
1529
+ //# sourceMappingURL=rpc.d.ts.map