@pimlico/alto 0.0.0-main.20240607T104359 → 0.0.0-staging.20240606T093925

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 (238) hide show
  1. package/lib/cli/index.d.ts +0 -1
  2. package/lib/cli/index.js +0 -1
  3. package/lib/cli/index.js.map +1 -1
  4. package/lib/executor/executor.js +0 -6
  5. package/lib/executor/executor.js.map +1 -1
  6. package/lib/executor/executorManager.js +0 -1
  7. package/lib/executor/executorManager.js.map +1 -1
  8. package/lib/executor/utils.js +1 -3
  9. package/lib/executor/utils.js.map +1 -1
  10. package/lib/index.d.ts +5 -1
  11. package/lib/index.js +120 -1
  12. package/lib/index.js.map +1 -1
  13. package/lib/rpc/server.js +1 -2
  14. package/lib/rpc/server.js.map +1 -1
  15. package/lib/types/mempool.d.ts +1 -2
  16. package/package.json +67 -70
  17. package/esm/cli/alto.d.ts +0 -6
  18. package/esm/cli/alto.js +0 -92
  19. package/esm/cli/alto.js.map +0 -1
  20. package/esm/cli/config/bundler.d.ts +0 -391
  21. package/esm/cli/config/bundler.js +0 -132
  22. package/esm/cli/config/bundler.js.map +0 -1
  23. package/esm/cli/config/index.d.ts +0 -3
  24. package/esm/cli/config/index.js +0 -3
  25. package/esm/cli/config/index.js.map +0 -1
  26. package/esm/cli/config/options.d.ts +0 -11
  27. package/esm/cli/config/options.js +0 -336
  28. package/esm/cli/config/options.js.map +0 -1
  29. package/esm/cli/customTransport.d.ts +0 -14
  30. package/esm/cli/customTransport.js +0 -53
  31. package/esm/cli/customTransport.js.map +0 -1
  32. package/esm/cli/handler.d.ts +0 -3
  33. package/esm/cli/handler.js +0 -116
  34. package/esm/cli/handler.js.map +0 -1
  35. package/esm/cli/index.d.ts +0 -4
  36. package/esm/cli/index.js +0 -4
  37. package/esm/cli/index.js.map +0 -1
  38. package/esm/cli/instrumentation.d.ts +0 -2
  39. package/esm/cli/instrumentation.js +0 -39
  40. package/esm/cli/instrumentation.js.map +0 -1
  41. package/esm/cli/setupServer.d.ts +0 -17
  42. package/esm/cli/setupServer.js +0 -155
  43. package/esm/cli/setupServer.js.map +0 -1
  44. package/esm/cli/util.d.ts +0 -22
  45. package/esm/cli/util.js +0 -30
  46. package/esm/cli/util.js.map +0 -1
  47. package/esm/executor/executor.d.ts +0 -54
  48. package/esm/executor/executor.js +0 -643
  49. package/esm/executor/executor.js.map +0 -1
  50. package/esm/executor/executorManager.d.ts +0 -34
  51. package/esm/executor/executorManager.js +0 -402
  52. package/esm/executor/executorManager.js.map +0 -1
  53. package/esm/executor/index.d.ts +0 -5
  54. package/esm/executor/index.js +0 -5
  55. package/esm/executor/index.js.map +0 -1
  56. package/esm/executor/senderManager.d.ts +0 -17
  57. package/esm/executor/senderManager.js +0 -160
  58. package/esm/executor/senderManager.js.map +0 -1
  59. package/esm/executor/test/utils.d.ts +0 -13
  60. package/esm/executor/test/utils.js +0 -75
  61. package/esm/executor/test/utils.js.map +0 -1
  62. package/esm/executor/utils.d.ts +0 -32
  63. package/esm/executor/utils.js +0 -241
  64. package/esm/executor/utils.js.map +0 -1
  65. package/esm/index.d.ts +0 -2
  66. package/esm/index.js +0 -2
  67. package/esm/index.js.map +0 -1
  68. package/esm/mempool/index.d.ts +0 -5
  69. package/esm/mempool/index.js +0 -5
  70. package/esm/mempool/index.js.map +0 -1
  71. package/esm/mempool/mempool.d.ts +0 -64
  72. package/esm/mempool/mempool.js +0 -489
  73. package/esm/mempool/mempool.js.map +0 -1
  74. package/esm/mempool/monitoring.d.ts +0 -10
  75. package/esm/mempool/monitoring.js +0 -34
  76. package/esm/mempool/monitoring.js.map +0 -1
  77. package/esm/mempool/nullMempool.d.ts +0 -15
  78. package/esm/mempool/nullMempool.js +0 -36
  79. package/esm/mempool/nullMempool.js.map +0 -1
  80. package/esm/mempool/reputationManager.d.ts +0 -115
  81. package/esm/mempool/reputationManager.js +0 -397
  82. package/esm/mempool/reputationManager.js.map +0 -1
  83. package/esm/mempool/store.d.ts +0 -22
  84. package/esm/mempool/store.js +0 -123
  85. package/esm/mempool/store.js.map +0 -1
  86. package/esm/rpc/EntryPointSimulationsV07.d.ts +0 -58
  87. package/esm/rpc/EntryPointSimulationsV07.js +0 -407
  88. package/esm/rpc/EntryPointSimulationsV07.js.map +0 -1
  89. package/esm/rpc/ExecuteSimulator.d.ts +0 -37
  90. package/esm/rpc/ExecuteSimulator.js +0 -48
  91. package/esm/rpc/ExecuteSimulator.js.map +0 -1
  92. package/esm/rpc/gasEstimation.d.ts +0 -17
  93. package/esm/rpc/gasEstimation.js +0 -410
  94. package/esm/rpc/gasEstimation.js.map +0 -1
  95. package/esm/rpc/index.d.ts +0 -5
  96. package/esm/rpc/index.js +0 -5
  97. package/esm/rpc/index.js.map +0 -1
  98. package/esm/rpc/nonceQueuer.d.ts +0 -25
  99. package/esm/rpc/nonceQueuer.js +0 -135
  100. package/esm/rpc/nonceQueuer.js.map +0 -1
  101. package/esm/rpc/rpcHandler.d.ts +0 -64
  102. package/esm/rpc/rpcHandler.js +0 -727
  103. package/esm/rpc/rpcHandler.js.map +0 -1
  104. package/esm/rpc/server.d.ts +0 -31
  105. package/esm/rpc/server.js +0 -239
  106. package/esm/rpc/server.js.map +0 -1
  107. package/esm/rpc/validation/BundlerCollectorTracerV06.d.ts +0 -102
  108. package/esm/rpc/validation/BundlerCollectorTracerV06.js +0 -255
  109. package/esm/rpc/validation/BundlerCollectorTracerV06.js.map +0 -1
  110. package/esm/rpc/validation/BundlerCollectorTracerV07.d.ts +0 -102
  111. package/esm/rpc/validation/BundlerCollectorTracerV07.js +0 -254
  112. package/esm/rpc/validation/BundlerCollectorTracerV07.js.map +0 -1
  113. package/esm/rpc/validation/SafeValidator.d.ts +0 -35
  114. package/esm/rpc/validation/SafeValidator.js +0 -487
  115. package/esm/rpc/validation/SafeValidator.js.map +0 -1
  116. package/esm/rpc/validation/TracerResultParserV06.d.ts +0 -13
  117. package/esm/rpc/validation/TracerResultParserV06.js +0 -578
  118. package/esm/rpc/validation/TracerResultParserV06.js.map +0 -1
  119. package/esm/rpc/validation/TracerResultParserV07.d.ts +0 -33
  120. package/esm/rpc/validation/TracerResultParserV07.js +0 -557
  121. package/esm/rpc/validation/TracerResultParserV07.js.map +0 -1
  122. package/esm/rpc/validation/UnsafeValidator.d.ts +0 -63
  123. package/esm/rpc/validation/UnsafeValidator.js +0 -257
  124. package/esm/rpc/validation/UnsafeValidator.js.map +0 -1
  125. package/esm/rpc/validation/index.d.ts +0 -3
  126. package/esm/rpc/validation/index.js +0 -3
  127. package/esm/rpc/validation/index.js.map +0 -1
  128. package/esm/rpc/validation/tracer.d.ts +0 -122
  129. package/esm/rpc/validation/tracer.js +0 -82
  130. package/esm/rpc/validation/tracer.js.map +0 -1
  131. package/esm/types/contracts/BundleBulker.d.ts +0 -120
  132. package/esm/types/contracts/BundleBulker.js +0 -157
  133. package/esm/types/contracts/BundleBulker.js.map +0 -1
  134. package/esm/types/contracts/CallEngine.d.ts +0 -28
  135. package/esm/types/contracts/CallEngine.js +0 -37
  136. package/esm/types/contracts/CallEngine.js.map +0 -1
  137. package/esm/types/contracts/CodeHashGetter.d.ts +0 -37
  138. package/esm/types/contracts/CodeHashGetter.js +0 -45
  139. package/esm/types/contracts/CodeHashGetter.js.map +0 -1
  140. package/esm/types/contracts/EntryPoint.d.ts +0 -1789
  141. package/esm/types/contracts/EntryPoint.js +0 -2304
  142. package/esm/types/contracts/EntryPoint.js.map +0 -1
  143. package/esm/types/contracts/EntryPointSimulations.d.ts +0 -153
  144. package/esm/types/contracts/EntryPointSimulations.js +0 -15
  145. package/esm/types/contracts/EntryPointSimulations.js.map +0 -1
  146. package/esm/types/contracts/IOpInflator.d.ts +0 -61
  147. package/esm/types/contracts/IOpInflator.js +0 -80
  148. package/esm/types/contracts/IOpInflator.js.map +0 -1
  149. package/esm/types/contracts/IPaymaster.d.ts +0 -3
  150. package/esm/types/contracts/IPaymaster.js +0 -117
  151. package/esm/types/contracts/IPaymaster.js.map +0 -1
  152. package/esm/types/contracts/Inflator.d.ts +0 -65
  153. package/esm/types/contracts/Inflator.js +0 -84
  154. package/esm/types/contracts/Inflator.js.map +0 -1
  155. package/esm/types/contracts/PerOpInflator.d.ts +0 -176
  156. package/esm/types/contracts/PerOpInflator.js +0 -229
  157. package/esm/types/contracts/PerOpInflator.js.map +0 -1
  158. package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +0 -23
  159. package/esm/types/contracts/PimlicoEntryPointSimulations.js +0 -33
  160. package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +0 -1
  161. package/esm/types/contracts/SenderCreator.d.ts +0 -4
  162. package/esm/types/contracts/SenderCreator.js +0 -23
  163. package/esm/types/contracts/SenderCreator.js.map +0 -1
  164. package/esm/types/contracts/SimpleAccountFactory.d.ts +0 -57
  165. package/esm/types/contracts/SimpleAccountFactory.js +0 -76
  166. package/esm/types/contracts/SimpleAccountFactory.js.map +0 -1
  167. package/esm/types/contracts/TestOpcodesAccount.d.ts +0 -4
  168. package/esm/types/contracts/TestOpcodesAccount.js +0 -281
  169. package/esm/types/contracts/TestOpcodesAccount.js.map +0 -1
  170. package/esm/types/contracts/TestOpcodesAccountFactory.d.ts +0 -4
  171. package/esm/types/contracts/TestOpcodesAccountFactory.js +0 -23
  172. package/esm/types/contracts/TestOpcodesAccountFactory.js.map +0 -1
  173. package/esm/types/contracts/TestStorageAccount.d.ts +0 -4
  174. package/esm/types/contracts/TestStorageAccount.js +0 -313
  175. package/esm/types/contracts/TestStorageAccount.js.map +0 -1
  176. package/esm/types/contracts/index.d.ts +0 -17
  177. package/esm/types/contracts/index.js +0 -17
  178. package/esm/types/contracts/index.js.map +0 -1
  179. package/esm/types/gasPrice.d.ts +0 -110
  180. package/esm/types/gasPrice.js +0 -52
  181. package/esm/types/gasPrice.js.map +0 -1
  182. package/esm/types/index.d.ts +0 -11
  183. package/esm/types/index.js +0 -11
  184. package/esm/types/index.js.map +0 -1
  185. package/esm/types/interfaces.d.ts +0 -26
  186. package/esm/types/interfaces.js +0 -2
  187. package/esm/types/interfaces.js.map +0 -1
  188. package/esm/types/mempool.d.ts +0 -79
  189. package/esm/types/mempool.js +0 -16
  190. package/esm/types/mempool.js.map +0 -1
  191. package/esm/types/schemas.d.ts +0 -4791
  192. package/esm/types/schemas.js +0 -497
  193. package/esm/types/schemas.js.map +0 -1
  194. package/esm/types/test/validationTestErrors.d.ts +0 -3
  195. package/esm/types/test/validationTestErrors.js +0 -229
  196. package/esm/types/test/validationTestErrors.js.map +0 -1
  197. package/esm/types/utils.d.ts +0 -24
  198. package/esm/types/utils.js +0 -30
  199. package/esm/types/utils.js.map +0 -1
  200. package/esm/types/validation.d.ts +0 -14327
  201. package/esm/types/validation.js +0 -304
  202. package/esm/types/validation.js.map +0 -1
  203. package/esm/utils/bigInt.d.ts +0 -3
  204. package/esm/utils/bigInt.js +0 -9
  205. package/esm/utils/bigInt.js.map +0 -1
  206. package/esm/utils/compressionHandler.d.ts +0 -11
  207. package/esm/utils/compressionHandler.js +0 -39
  208. package/esm/utils/compressionHandler.js.map +0 -1
  209. package/esm/utils/gasPriceManager.d.ts +0 -34
  210. package/esm/utils/gasPriceManager.js +0 -338
  211. package/esm/utils/gasPriceManager.js.map +0 -1
  212. package/esm/utils/helpers.d.ts +0 -4
  213. package/esm/utils/helpers.js +0 -13
  214. package/esm/utils/helpers.js.map +0 -1
  215. package/esm/utils/index.d.ts +0 -11
  216. package/esm/utils/index.js +0 -10
  217. package/esm/utils/index.js.map +0 -1
  218. package/esm/utils/logger.d.ts +0 -6
  219. package/esm/utils/logger.js +0 -76
  220. package/esm/utils/logger.js.map +0 -1
  221. package/esm/utils/metrics.d.ts +0 -22
  222. package/esm/utils/metrics.js +0 -150
  223. package/esm/utils/metrics.js.map +0 -1
  224. package/esm/utils/rpc-reply.d.ts +0 -17
  225. package/esm/utils/rpc-reply.js +0 -41
  226. package/esm/utils/rpc-reply.js.map +0 -1
  227. package/esm/utils/test.d.ts +0 -17
  228. package/esm/utils/test.js +0 -130
  229. package/esm/utils/test.js.map +0 -1
  230. package/esm/utils/userop.d.ts +0 -49
  231. package/esm/utils/userop.js +0 -408
  232. package/esm/utils/userop.js.map +0 -1
  233. package/esm/utils/validation.d.ts +0 -65
  234. package/esm/utils/validation.js +0 -461
  235. package/esm/utils/validation.js.map +0 -1
  236. package/lib/cli/alto.d.ts +0 -6
  237. package/lib/cli/alto.js +0 -123
  238. package/lib/cli/alto.js.map +0 -1
@@ -1,4791 +0,0 @@
1
- import { type Hex } from "viem";
2
- import { z } from "zod";
3
- import type { MempoolUserOperation } from "./mempool.js";
4
- export declare const hexData32Pattern: RegExp;
5
- export declare const commaSeperatedAddressPattern: RegExp;
6
- declare const addressSchema: z.ZodEffects<z.ZodString, `0x${string}`, string>;
7
- export declare const hexNumberSchema: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
8
- declare const hexDataSchema: z.ZodEffects<z.ZodString, `0x${string}`, string>;
9
- declare const hexData32Schema: z.ZodEffects<z.ZodString, `0x${string}`, string>;
10
- export type Address = z.infer<typeof addressSchema>;
11
- export type HexNumber = z.infer<typeof hexNumberSchema>;
12
- export type HexData = z.infer<typeof hexDataSchema>;
13
- export type HexData32 = z.infer<typeof hexData32Schema>;
14
- declare const userOperationV06Schema: z.ZodEffects<z.ZodObject<{
15
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
16
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
17
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
18
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
19
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
20
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
21
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
22
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
23
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
24
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
25
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
26
- }, "strict", z.ZodTypeAny, {
27
- sender: `0x${string}`;
28
- nonce: bigint;
29
- initCode: `0x${string}`;
30
- callData: `0x${string}`;
31
- callGasLimit: bigint;
32
- verificationGasLimit: bigint;
33
- preVerificationGas: bigint;
34
- maxFeePerGas: bigint;
35
- maxPriorityFeePerGas: bigint;
36
- paymasterAndData: `0x${string}`;
37
- signature: `0x${string}`;
38
- }, {
39
- sender: string;
40
- nonce: string | number | bigint;
41
- initCode: string;
42
- callData: string;
43
- callGasLimit: string | number | bigint;
44
- verificationGasLimit: string | number | bigint;
45
- preVerificationGas: string | number | bigint;
46
- maxFeePerGas: string | number | bigint;
47
- maxPriorityFeePerGas: string | number | bigint;
48
- paymasterAndData: string;
49
- signature: string;
50
- }>, {
51
- sender: `0x${string}`;
52
- nonce: bigint;
53
- initCode: `0x${string}`;
54
- callData: `0x${string}`;
55
- callGasLimit: bigint;
56
- verificationGasLimit: bigint;
57
- preVerificationGas: bigint;
58
- maxFeePerGas: bigint;
59
- maxPriorityFeePerGas: bigint;
60
- paymasterAndData: `0x${string}`;
61
- signature: `0x${string}`;
62
- }, {
63
- sender: string;
64
- nonce: string | number | bigint;
65
- initCode: string;
66
- callData: string;
67
- callGasLimit: string | number | bigint;
68
- verificationGasLimit: string | number | bigint;
69
- preVerificationGas: string | number | bigint;
70
- maxFeePerGas: string | number | bigint;
71
- maxPriorityFeePerGas: string | number | bigint;
72
- paymasterAndData: string;
73
- signature: string;
74
- }>;
75
- declare const userOperationV07Schema: z.ZodEffects<z.ZodObject<{
76
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
77
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
78
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
79
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
80
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
81
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
82
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
83
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
84
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
85
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
86
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
87
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
88
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
89
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
90
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
91
- }, "strict", z.ZodTypeAny, {
92
- sender: `0x${string}`;
93
- nonce: bigint;
94
- callData: `0x${string}`;
95
- callGasLimit: bigint;
96
- verificationGasLimit: bigint;
97
- preVerificationGas: bigint;
98
- maxFeePerGas: bigint;
99
- maxPriorityFeePerGas: bigint;
100
- signature: `0x${string}`;
101
- factory: `0x${string}` | null;
102
- paymaster: `0x${string}` | null;
103
- paymasterVerificationGasLimit: bigint | null;
104
- paymasterPostOpGasLimit: bigint | null;
105
- factoryData: `0x${string}` | null;
106
- paymasterData: `0x${string}` | null;
107
- }, {
108
- sender: string;
109
- nonce: string | number | bigint;
110
- callData: string;
111
- callGasLimit: string | number | bigint;
112
- verificationGasLimit: string | number | bigint;
113
- preVerificationGas: string | number | bigint;
114
- maxFeePerGas: string | number | bigint;
115
- maxPriorityFeePerGas: string | number | bigint;
116
- signature: string;
117
- factory?: string | null | undefined;
118
- factoryData?: string | null | undefined;
119
- paymaster?: string | null | undefined;
120
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
121
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
122
- paymasterData?: string | null | undefined;
123
- }>, {
124
- sender: `0x${string}`;
125
- nonce: bigint;
126
- callData: `0x${string}`;
127
- callGasLimit: bigint;
128
- verificationGasLimit: bigint;
129
- preVerificationGas: bigint;
130
- maxFeePerGas: bigint;
131
- maxPriorityFeePerGas: bigint;
132
- signature: `0x${string}`;
133
- factory: `0x${string}` | null;
134
- paymaster: `0x${string}` | null;
135
- paymasterVerificationGasLimit: bigint | null;
136
- paymasterPostOpGasLimit: bigint | null;
137
- factoryData: `0x${string}` | null;
138
- paymasterData: `0x${string}` | null;
139
- }, {
140
- sender: string;
141
- nonce: string | number | bigint;
142
- callData: string;
143
- callGasLimit: string | number | bigint;
144
- verificationGasLimit: string | number | bigint;
145
- preVerificationGas: string | number | bigint;
146
- maxFeePerGas: string | number | bigint;
147
- maxPriorityFeePerGas: string | number | bigint;
148
- signature: string;
149
- factory?: string | null | undefined;
150
- factoryData?: string | null | undefined;
151
- paymaster?: string | null | undefined;
152
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
153
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
154
- paymasterData?: string | null | undefined;
155
- }>;
156
- declare const packerUserOperationSchema: z.ZodEffects<z.ZodObject<{
157
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
158
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
159
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
160
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
161
- accountGasLimits: z.ZodEffects<z.ZodString, `0x${string}`, string>;
162
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
163
- gasFees: z.ZodEffects<z.ZodString, `0x${string}`, string>;
164
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
165
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
166
- }, "strict", z.ZodTypeAny, {
167
- sender: `0x${string}`;
168
- nonce: bigint;
169
- initCode: `0x${string}`;
170
- callData: `0x${string}`;
171
- preVerificationGas: bigint;
172
- paymasterAndData: `0x${string}`;
173
- signature: `0x${string}`;
174
- accountGasLimits: `0x${string}`;
175
- gasFees: `0x${string}`;
176
- }, {
177
- sender: string;
178
- nonce: string | number | bigint;
179
- initCode: string;
180
- callData: string;
181
- preVerificationGas: string | number | bigint;
182
- paymasterAndData: string;
183
- signature: string;
184
- accountGasLimits: string;
185
- gasFees: string;
186
- }>, {
187
- sender: `0x${string}`;
188
- nonce: bigint;
189
- initCode: `0x${string}`;
190
- callData: `0x${string}`;
191
- preVerificationGas: bigint;
192
- paymasterAndData: `0x${string}`;
193
- signature: `0x${string}`;
194
- accountGasLimits: `0x${string}`;
195
- gasFees: `0x${string}`;
196
- }, {
197
- sender: string;
198
- nonce: string | number | bigint;
199
- initCode: string;
200
- callData: string;
201
- preVerificationGas: string | number | bigint;
202
- paymasterAndData: string;
203
- signature: string;
204
- accountGasLimits: string;
205
- gasFees: string;
206
- }>;
207
- declare const userOperationSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
208
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
209
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
210
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
211
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
212
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
213
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
214
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
215
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
216
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
217
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
218
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
219
- }, "strict", z.ZodTypeAny, {
220
- sender: `0x${string}`;
221
- nonce: bigint;
222
- initCode: `0x${string}`;
223
- callData: `0x${string}`;
224
- callGasLimit: bigint;
225
- verificationGasLimit: bigint;
226
- preVerificationGas: bigint;
227
- maxFeePerGas: bigint;
228
- maxPriorityFeePerGas: bigint;
229
- paymasterAndData: `0x${string}`;
230
- signature: `0x${string}`;
231
- }, {
232
- sender: string;
233
- nonce: string | number | bigint;
234
- initCode: string;
235
- callData: string;
236
- callGasLimit: string | number | bigint;
237
- verificationGasLimit: string | number | bigint;
238
- preVerificationGas: string | number | bigint;
239
- maxFeePerGas: string | number | bigint;
240
- maxPriorityFeePerGas: string | number | bigint;
241
- paymasterAndData: string;
242
- signature: string;
243
- }>, {
244
- sender: `0x${string}`;
245
- nonce: bigint;
246
- initCode: `0x${string}`;
247
- callData: `0x${string}`;
248
- callGasLimit: bigint;
249
- verificationGasLimit: bigint;
250
- preVerificationGas: bigint;
251
- maxFeePerGas: bigint;
252
- maxPriorityFeePerGas: bigint;
253
- paymasterAndData: `0x${string}`;
254
- signature: `0x${string}`;
255
- }, {
256
- sender: string;
257
- nonce: string | number | bigint;
258
- initCode: string;
259
- callData: string;
260
- callGasLimit: string | number | bigint;
261
- verificationGasLimit: string | number | bigint;
262
- preVerificationGas: string | number | bigint;
263
- maxFeePerGas: string | number | bigint;
264
- maxPriorityFeePerGas: string | number | bigint;
265
- paymasterAndData: string;
266
- signature: string;
267
- }>, z.ZodEffects<z.ZodObject<{
268
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
269
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
270
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
271
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
272
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
273
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
274
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
275
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
276
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
277
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
278
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
279
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
280
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
281
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
282
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
283
- }, "strict", z.ZodTypeAny, {
284
- sender: `0x${string}`;
285
- nonce: bigint;
286
- callData: `0x${string}`;
287
- callGasLimit: bigint;
288
- verificationGasLimit: bigint;
289
- preVerificationGas: bigint;
290
- maxFeePerGas: bigint;
291
- maxPriorityFeePerGas: bigint;
292
- signature: `0x${string}`;
293
- factory: `0x${string}` | null;
294
- paymaster: `0x${string}` | null;
295
- paymasterVerificationGasLimit: bigint | null;
296
- paymasterPostOpGasLimit: bigint | null;
297
- factoryData: `0x${string}` | null;
298
- paymasterData: `0x${string}` | null;
299
- }, {
300
- sender: string;
301
- nonce: string | number | bigint;
302
- callData: string;
303
- callGasLimit: string | number | bigint;
304
- verificationGasLimit: string | number | bigint;
305
- preVerificationGas: string | number | bigint;
306
- maxFeePerGas: string | number | bigint;
307
- maxPriorityFeePerGas: string | number | bigint;
308
- signature: string;
309
- factory?: string | null | undefined;
310
- factoryData?: string | null | undefined;
311
- paymaster?: string | null | undefined;
312
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
313
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
314
- paymasterData?: string | null | undefined;
315
- }>, {
316
- sender: `0x${string}`;
317
- nonce: bigint;
318
- callData: `0x${string}`;
319
- callGasLimit: bigint;
320
- verificationGasLimit: bigint;
321
- preVerificationGas: bigint;
322
- maxFeePerGas: bigint;
323
- maxPriorityFeePerGas: bigint;
324
- signature: `0x${string}`;
325
- factory: `0x${string}` | null;
326
- paymaster: `0x${string}` | null;
327
- paymasterVerificationGasLimit: bigint | null;
328
- paymasterPostOpGasLimit: bigint | null;
329
- factoryData: `0x${string}` | null;
330
- paymasterData: `0x${string}` | null;
331
- }, {
332
- sender: string;
333
- nonce: string | number | bigint;
334
- callData: string;
335
- callGasLimit: string | number | bigint;
336
- verificationGasLimit: string | number | bigint;
337
- preVerificationGas: string | number | bigint;
338
- maxFeePerGas: string | number | bigint;
339
- maxPriorityFeePerGas: string | number | bigint;
340
- signature: string;
341
- factory?: string | null | undefined;
342
- factoryData?: string | null | undefined;
343
- paymaster?: string | null | undefined;
344
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
345
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
346
- paymasterData?: string | null | undefined;
347
- }>]>;
348
- export type UserOperationV06 = z.infer<typeof userOperationV06Schema>;
349
- export type UserOperationV07 = z.infer<typeof userOperationV07Schema>;
350
- export type PackedUserOperation = z.infer<typeof packerUserOperationSchema>;
351
- export type UserOperation = z.infer<typeof userOperationSchema>;
352
- export type CompressedUserOperation = {
353
- compressedCalldata: Hex;
354
- inflatedOp: UserOperation;
355
- inflatorAddress: Address;
356
- inflatorId: number;
357
- };
358
- export type UserOperationRequest = {
359
- userOperation: UserOperation;
360
- entryPoint: Address;
361
- };
362
- export type UserOperationWithHash = {
363
- mempoolUserOperation: MempoolUserOperation;
364
- userOperationHash: HexData32;
365
- };
366
- declare const jsonRpcSchema: z.ZodObject<{
367
- jsonrpc: z.ZodLiteral<"2.0">;
368
- id: z.ZodNumber;
369
- method: z.ZodString;
370
- params: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>, unknown[], unknown[] | undefined>;
371
- }, "strict", z.ZodTypeAny, {
372
- params: unknown[];
373
- jsonrpc: "2.0";
374
- id: number;
375
- method: string;
376
- }, {
377
- jsonrpc: "2.0";
378
- id: number;
379
- method: string;
380
- params?: unknown[] | undefined;
381
- }>;
382
- declare const jsonRpcResultSchema: z.ZodObject<{
383
- jsonrpc: z.ZodLiteral<"2.0">;
384
- id: z.ZodNumber;
385
- result: z.ZodUnknown;
386
- }, "strict", z.ZodTypeAny, {
387
- jsonrpc: "2.0";
388
- id: number;
389
- result?: unknown;
390
- }, {
391
- jsonrpc: "2.0";
392
- id: number;
393
- result?: unknown;
394
- }>;
395
- declare const chainIdRequestSchema: z.ZodObject<{
396
- method: z.ZodLiteral<"eth_chainId">;
397
- params: z.ZodTuple<[], null>;
398
- }, "strip", z.ZodTypeAny, {
399
- params: [];
400
- method: "eth_chainId";
401
- }, {
402
- params: [];
403
- method: "eth_chainId";
404
- }>;
405
- declare const supportedEntryPointsRequestSchema: z.ZodObject<{
406
- method: z.ZodLiteral<"eth_supportedEntryPoints">;
407
- params: z.ZodTuple<[], null>;
408
- }, "strip", z.ZodTypeAny, {
409
- params: [];
410
- method: "eth_supportedEntryPoints";
411
- }, {
412
- params: [];
413
- method: "eth_supportedEntryPoints";
414
- }>;
415
- declare const stateOverridesSchema: z.ZodRecord<z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodObject<{
416
- balance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
417
- nonce: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
418
- code: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
419
- state: z.ZodOptional<z.ZodUnknown>;
420
- stateDiff: z.ZodOptional<z.ZodUnknown>;
421
- }, "strip", z.ZodTypeAny, {
422
- balance?: bigint | undefined;
423
- nonce?: bigint | undefined;
424
- code?: `0x${string}` | undefined;
425
- state?: unknown;
426
- stateDiff?: unknown;
427
- }, {
428
- balance?: string | number | bigint | undefined;
429
- nonce?: string | number | bigint | undefined;
430
- code?: string | undefined;
431
- state?: unknown;
432
- stateDiff?: unknown;
433
- }>>;
434
- export type StateOverrides = z.infer<typeof stateOverridesSchema>;
435
- declare const estimateUserOperationGasRequestSchema: z.ZodObject<{
436
- method: z.ZodLiteral<"eth_estimateUserOperationGas">;
437
- params: z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
438
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
439
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
440
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
441
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
442
- callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
443
- verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
444
- preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
445
- maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
446
- maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
447
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
448
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
449
- }, "strict", z.ZodTypeAny, {
450
- sender: `0x${string}`;
451
- nonce: bigint;
452
- initCode: `0x${string}`;
453
- callData: `0x${string}`;
454
- callGasLimit: bigint;
455
- verificationGasLimit: bigint;
456
- preVerificationGas: bigint;
457
- maxFeePerGas: bigint;
458
- maxPriorityFeePerGas: bigint;
459
- paymasterAndData: `0x${string}`;
460
- signature: `0x${string}`;
461
- }, {
462
- sender: string;
463
- nonce: string | number | bigint;
464
- initCode: string;
465
- callData: string;
466
- paymasterAndData: string;
467
- signature: string;
468
- callGasLimit?: string | number | bigint | undefined;
469
- verificationGasLimit?: string | number | bigint | undefined;
470
- preVerificationGas?: string | number | bigint | undefined;
471
- maxPriorityFeePerGas?: string | number | bigint | undefined;
472
- maxFeePerGas?: string | number | bigint | undefined;
473
- }>, {
474
- sender: `0x${string}`;
475
- nonce: bigint;
476
- initCode: `0x${string}`;
477
- callData: `0x${string}`;
478
- callGasLimit: bigint;
479
- verificationGasLimit: bigint;
480
- preVerificationGas: bigint;
481
- maxFeePerGas: bigint;
482
- maxPriorityFeePerGas: bigint;
483
- paymasterAndData: `0x${string}`;
484
- signature: `0x${string}`;
485
- }, {
486
- sender: string;
487
- nonce: string | number | bigint;
488
- initCode: string;
489
- callData: string;
490
- paymasterAndData: string;
491
- signature: string;
492
- callGasLimit?: string | number | bigint | undefined;
493
- verificationGasLimit?: string | number | bigint | undefined;
494
- preVerificationGas?: string | number | bigint | undefined;
495
- maxPriorityFeePerGas?: string | number | bigint | undefined;
496
- maxFeePerGas?: string | number | bigint | undefined;
497
- }>, z.ZodEffects<z.ZodObject<{
498
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
499
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
500
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
501
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
502
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
503
- callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
504
- verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
505
- preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
506
- maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
507
- maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
508
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
509
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
510
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
511
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
512
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
513
- }, "strict", z.ZodTypeAny, {
514
- sender: `0x${string}`;
515
- nonce: bigint;
516
- callData: `0x${string}`;
517
- callGasLimit: bigint;
518
- verificationGasLimit: bigint;
519
- preVerificationGas: bigint;
520
- maxFeePerGas: bigint;
521
- maxPriorityFeePerGas: bigint;
522
- signature: `0x${string}`;
523
- factory: `0x${string}` | null;
524
- paymaster: `0x${string}` | null;
525
- paymasterVerificationGasLimit: bigint | null;
526
- paymasterPostOpGasLimit: bigint | null;
527
- factoryData: `0x${string}` | null;
528
- paymasterData: `0x${string}` | null;
529
- }, {
530
- sender: string;
531
- nonce: string | number | bigint;
532
- callData: string;
533
- signature: string;
534
- factory?: string | null | undefined;
535
- factoryData?: string | null | undefined;
536
- callGasLimit?: string | number | bigint | undefined;
537
- verificationGasLimit?: string | number | bigint | undefined;
538
- preVerificationGas?: string | number | bigint | undefined;
539
- maxFeePerGas?: string | number | bigint | undefined;
540
- maxPriorityFeePerGas?: string | number | bigint | undefined;
541
- paymaster?: string | null | undefined;
542
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
543
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
544
- paymasterData?: string | null | undefined;
545
- }>, {
546
- sender: `0x${string}`;
547
- nonce: bigint;
548
- callData: `0x${string}`;
549
- callGasLimit: bigint;
550
- verificationGasLimit: bigint;
551
- preVerificationGas: bigint;
552
- maxFeePerGas: bigint;
553
- maxPriorityFeePerGas: bigint;
554
- signature: `0x${string}`;
555
- factory: `0x${string}` | null;
556
- paymaster: `0x${string}` | null;
557
- paymasterVerificationGasLimit: bigint | null;
558
- paymasterPostOpGasLimit: bigint | null;
559
- factoryData: `0x${string}` | null;
560
- paymasterData: `0x${string}` | null;
561
- }, {
562
- sender: string;
563
- nonce: string | number | bigint;
564
- callData: string;
565
- signature: string;
566
- factory?: string | null | undefined;
567
- factoryData?: string | null | undefined;
568
- callGasLimit?: string | number | bigint | undefined;
569
- verificationGasLimit?: string | number | bigint | undefined;
570
- preVerificationGas?: string | number | bigint | undefined;
571
- maxFeePerGas?: string | number | bigint | undefined;
572
- maxPriorityFeePerGas?: string | number | bigint | undefined;
573
- paymaster?: string | null | undefined;
574
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
575
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
576
- paymasterData?: string | null | undefined;
577
- }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
578
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
579
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
580
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
581
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
582
- callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
583
- verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
584
- preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
585
- maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
586
- maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
587
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
588
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
589
- }, "strict", z.ZodTypeAny, {
590
- sender: `0x${string}`;
591
- nonce: bigint;
592
- initCode: `0x${string}`;
593
- callData: `0x${string}`;
594
- callGasLimit: bigint;
595
- verificationGasLimit: bigint;
596
- preVerificationGas: bigint;
597
- maxFeePerGas: bigint;
598
- maxPriorityFeePerGas: bigint;
599
- paymasterAndData: `0x${string}`;
600
- signature: `0x${string}`;
601
- }, {
602
- sender: string;
603
- nonce: string | number | bigint;
604
- initCode: string;
605
- callData: string;
606
- paymasterAndData: string;
607
- signature: string;
608
- callGasLimit?: string | number | bigint | undefined;
609
- verificationGasLimit?: string | number | bigint | undefined;
610
- preVerificationGas?: string | number | bigint | undefined;
611
- maxPriorityFeePerGas?: string | number | bigint | undefined;
612
- maxFeePerGas?: string | number | bigint | undefined;
613
- }>, {
614
- sender: `0x${string}`;
615
- nonce: bigint;
616
- initCode: `0x${string}`;
617
- callData: `0x${string}`;
618
- callGasLimit: bigint;
619
- verificationGasLimit: bigint;
620
- preVerificationGas: bigint;
621
- maxFeePerGas: bigint;
622
- maxPriorityFeePerGas: bigint;
623
- paymasterAndData: `0x${string}`;
624
- signature: `0x${string}`;
625
- }, {
626
- sender: string;
627
- nonce: string | number | bigint;
628
- initCode: string;
629
- callData: string;
630
- paymasterAndData: string;
631
- signature: string;
632
- callGasLimit?: string | number | bigint | undefined;
633
- verificationGasLimit?: string | number | bigint | undefined;
634
- preVerificationGas?: string | number | bigint | undefined;
635
- maxPriorityFeePerGas?: string | number | bigint | undefined;
636
- maxFeePerGas?: string | number | bigint | undefined;
637
- }>, z.ZodEffects<z.ZodObject<{
638
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
639
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
640
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
641
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
642
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
643
- callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
644
- verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
645
- preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
646
- maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
647
- maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
648
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
649
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
650
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
651
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
652
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
653
- }, "strict", z.ZodTypeAny, {
654
- sender: `0x${string}`;
655
- nonce: bigint;
656
- callData: `0x${string}`;
657
- callGasLimit: bigint;
658
- verificationGasLimit: bigint;
659
- preVerificationGas: bigint;
660
- maxFeePerGas: bigint;
661
- maxPriorityFeePerGas: bigint;
662
- signature: `0x${string}`;
663
- factory: `0x${string}` | null;
664
- paymaster: `0x${string}` | null;
665
- paymasterVerificationGasLimit: bigint | null;
666
- paymasterPostOpGasLimit: bigint | null;
667
- factoryData: `0x${string}` | null;
668
- paymasterData: `0x${string}` | null;
669
- }, {
670
- sender: string;
671
- nonce: string | number | bigint;
672
- callData: string;
673
- signature: string;
674
- factory?: string | null | undefined;
675
- factoryData?: string | null | undefined;
676
- callGasLimit?: string | number | bigint | undefined;
677
- verificationGasLimit?: string | number | bigint | undefined;
678
- preVerificationGas?: string | number | bigint | undefined;
679
- maxFeePerGas?: string | number | bigint | undefined;
680
- maxPriorityFeePerGas?: string | number | bigint | undefined;
681
- paymaster?: string | null | undefined;
682
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
683
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
684
- paymasterData?: string | null | undefined;
685
- }>, {
686
- sender: `0x${string}`;
687
- nonce: bigint;
688
- callData: `0x${string}`;
689
- callGasLimit: bigint;
690
- verificationGasLimit: bigint;
691
- preVerificationGas: bigint;
692
- maxFeePerGas: bigint;
693
- maxPriorityFeePerGas: bigint;
694
- signature: `0x${string}`;
695
- factory: `0x${string}` | null;
696
- paymaster: `0x${string}` | null;
697
- paymasterVerificationGasLimit: bigint | null;
698
- paymasterPostOpGasLimit: bigint | null;
699
- factoryData: `0x${string}` | null;
700
- paymasterData: `0x${string}` | null;
701
- }, {
702
- sender: string;
703
- nonce: string | number | bigint;
704
- callData: string;
705
- signature: string;
706
- factory?: string | null | undefined;
707
- factoryData?: string | null | undefined;
708
- callGasLimit?: string | number | bigint | undefined;
709
- verificationGasLimit?: string | number | bigint | undefined;
710
- preVerificationGas?: string | number | bigint | undefined;
711
- maxFeePerGas?: string | number | bigint | undefined;
712
- maxPriorityFeePerGas?: string | number | bigint | undefined;
713
- paymaster?: string | null | undefined;
714
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
715
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
716
- paymasterData?: string | null | undefined;
717
- }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodRecord<z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodObject<{
718
- balance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
719
- nonce: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
720
- code: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
721
- state: z.ZodOptional<z.ZodUnknown>;
722
- stateDiff: z.ZodOptional<z.ZodUnknown>;
723
- }, "strip", z.ZodTypeAny, {
724
- balance?: bigint | undefined;
725
- nonce?: bigint | undefined;
726
- code?: `0x${string}` | undefined;
727
- state?: unknown;
728
- stateDiff?: unknown;
729
- }, {
730
- balance?: string | number | bigint | undefined;
731
- nonce?: string | number | bigint | undefined;
732
- code?: string | undefined;
733
- state?: unknown;
734
- stateDiff?: unknown;
735
- }>>], null>]>;
736
- }, "strip", z.ZodTypeAny, {
737
- params: [{
738
- sender: `0x${string}`;
739
- nonce: bigint;
740
- initCode: `0x${string}`;
741
- callData: `0x${string}`;
742
- callGasLimit: bigint;
743
- verificationGasLimit: bigint;
744
- preVerificationGas: bigint;
745
- maxFeePerGas: bigint;
746
- maxPriorityFeePerGas: bigint;
747
- paymasterAndData: `0x${string}`;
748
- signature: `0x${string}`;
749
- } | {
750
- sender: `0x${string}`;
751
- nonce: bigint;
752
- callData: `0x${string}`;
753
- callGasLimit: bigint;
754
- verificationGasLimit: bigint;
755
- preVerificationGas: bigint;
756
- maxFeePerGas: bigint;
757
- maxPriorityFeePerGas: bigint;
758
- signature: `0x${string}`;
759
- factory: `0x${string}` | null;
760
- paymaster: `0x${string}` | null;
761
- paymasterVerificationGasLimit: bigint | null;
762
- paymasterPostOpGasLimit: bigint | null;
763
- factoryData: `0x${string}` | null;
764
- paymasterData: `0x${string}` | null;
765
- }, `0x${string}`] | [{
766
- sender: `0x${string}`;
767
- nonce: bigint;
768
- initCode: `0x${string}`;
769
- callData: `0x${string}`;
770
- callGasLimit: bigint;
771
- verificationGasLimit: bigint;
772
- preVerificationGas: bigint;
773
- maxFeePerGas: bigint;
774
- maxPriorityFeePerGas: bigint;
775
- paymasterAndData: `0x${string}`;
776
- signature: `0x${string}`;
777
- } | {
778
- sender: `0x${string}`;
779
- nonce: bigint;
780
- callData: `0x${string}`;
781
- callGasLimit: bigint;
782
- verificationGasLimit: bigint;
783
- preVerificationGas: bigint;
784
- maxFeePerGas: bigint;
785
- maxPriorityFeePerGas: bigint;
786
- signature: `0x${string}`;
787
- factory: `0x${string}` | null;
788
- paymaster: `0x${string}` | null;
789
- paymasterVerificationGasLimit: bigint | null;
790
- paymasterPostOpGasLimit: bigint | null;
791
- factoryData: `0x${string}` | null;
792
- paymasterData: `0x${string}` | null;
793
- }, `0x${string}`, Partial<Record<`0x${string}`, {
794
- balance?: bigint | undefined;
795
- nonce?: bigint | undefined;
796
- code?: `0x${string}` | undefined;
797
- state?: unknown;
798
- stateDiff?: unknown;
799
- }>>];
800
- method: "eth_estimateUserOperationGas";
801
- }, {
802
- params: [{
803
- sender: string;
804
- nonce: string | number | bigint;
805
- initCode: string;
806
- callData: string;
807
- paymasterAndData: string;
808
- signature: string;
809
- callGasLimit?: string | number | bigint | undefined;
810
- verificationGasLimit?: string | number | bigint | undefined;
811
- preVerificationGas?: string | number | bigint | undefined;
812
- maxPriorityFeePerGas?: string | number | bigint | undefined;
813
- maxFeePerGas?: string | number | bigint | undefined;
814
- } | {
815
- sender: string;
816
- nonce: string | number | bigint;
817
- callData: string;
818
- signature: string;
819
- factory?: string | null | undefined;
820
- factoryData?: string | null | undefined;
821
- callGasLimit?: string | number | bigint | undefined;
822
- verificationGasLimit?: string | number | bigint | undefined;
823
- preVerificationGas?: string | number | bigint | undefined;
824
- maxFeePerGas?: string | number | bigint | undefined;
825
- maxPriorityFeePerGas?: string | number | bigint | undefined;
826
- paymaster?: string | null | undefined;
827
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
828
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
829
- paymasterData?: string | null | undefined;
830
- }, string] | [{
831
- sender: string;
832
- nonce: string | number | bigint;
833
- initCode: string;
834
- callData: string;
835
- paymasterAndData: string;
836
- signature: string;
837
- callGasLimit?: string | number | bigint | undefined;
838
- verificationGasLimit?: string | number | bigint | undefined;
839
- preVerificationGas?: string | number | bigint | undefined;
840
- maxPriorityFeePerGas?: string | number | bigint | undefined;
841
- maxFeePerGas?: string | number | bigint | undefined;
842
- } | {
843
- sender: string;
844
- nonce: string | number | bigint;
845
- callData: string;
846
- signature: string;
847
- factory?: string | null | undefined;
848
- factoryData?: string | null | undefined;
849
- callGasLimit?: string | number | bigint | undefined;
850
- verificationGasLimit?: string | number | bigint | undefined;
851
- preVerificationGas?: string | number | bigint | undefined;
852
- maxFeePerGas?: string | number | bigint | undefined;
853
- maxPriorityFeePerGas?: string | number | bigint | undefined;
854
- paymaster?: string | null | undefined;
855
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
856
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
857
- paymasterData?: string | null | undefined;
858
- }, string, Record<string, {
859
- balance?: string | number | bigint | undefined;
860
- nonce?: string | number | bigint | undefined;
861
- code?: string | undefined;
862
- state?: unknown;
863
- stateDiff?: unknown;
864
- }>];
865
- method: "eth_estimateUserOperationGas";
866
- }>;
867
- declare const sendUserOperationRequestSchema: z.ZodObject<{
868
- method: z.ZodLiteral<"eth_sendUserOperation">;
869
- params: z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
870
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
871
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
872
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
873
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
874
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
875
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
876
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
877
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
878
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
879
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
880
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
881
- }, "strict", z.ZodTypeAny, {
882
- sender: `0x${string}`;
883
- nonce: bigint;
884
- initCode: `0x${string}`;
885
- callData: `0x${string}`;
886
- callGasLimit: bigint;
887
- verificationGasLimit: bigint;
888
- preVerificationGas: bigint;
889
- maxFeePerGas: bigint;
890
- maxPriorityFeePerGas: bigint;
891
- paymasterAndData: `0x${string}`;
892
- signature: `0x${string}`;
893
- }, {
894
- sender: string;
895
- nonce: string | number | bigint;
896
- initCode: string;
897
- callData: string;
898
- callGasLimit: string | number | bigint;
899
- verificationGasLimit: string | number | bigint;
900
- preVerificationGas: string | number | bigint;
901
- maxFeePerGas: string | number | bigint;
902
- maxPriorityFeePerGas: string | number | bigint;
903
- paymasterAndData: string;
904
- signature: string;
905
- }>, {
906
- sender: `0x${string}`;
907
- nonce: bigint;
908
- initCode: `0x${string}`;
909
- callData: `0x${string}`;
910
- callGasLimit: bigint;
911
- verificationGasLimit: bigint;
912
- preVerificationGas: bigint;
913
- maxFeePerGas: bigint;
914
- maxPriorityFeePerGas: bigint;
915
- paymasterAndData: `0x${string}`;
916
- signature: `0x${string}`;
917
- }, {
918
- sender: string;
919
- nonce: string | number | bigint;
920
- initCode: string;
921
- callData: string;
922
- callGasLimit: string | number | bigint;
923
- verificationGasLimit: string | number | bigint;
924
- preVerificationGas: string | number | bigint;
925
- maxFeePerGas: string | number | bigint;
926
- maxPriorityFeePerGas: string | number | bigint;
927
- paymasterAndData: string;
928
- signature: string;
929
- }>, z.ZodEffects<z.ZodObject<{
930
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
931
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
932
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
933
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
934
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
935
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
936
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
937
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
938
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
939
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
940
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
941
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
942
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
943
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
944
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
945
- }, "strict", z.ZodTypeAny, {
946
- sender: `0x${string}`;
947
- nonce: bigint;
948
- callData: `0x${string}`;
949
- callGasLimit: bigint;
950
- verificationGasLimit: bigint;
951
- preVerificationGas: bigint;
952
- maxFeePerGas: bigint;
953
- maxPriorityFeePerGas: bigint;
954
- signature: `0x${string}`;
955
- factory: `0x${string}` | null;
956
- paymaster: `0x${string}` | null;
957
- paymasterVerificationGasLimit: bigint | null;
958
- paymasterPostOpGasLimit: bigint | null;
959
- factoryData: `0x${string}` | null;
960
- paymasterData: `0x${string}` | null;
961
- }, {
962
- sender: string;
963
- nonce: string | number | bigint;
964
- callData: string;
965
- callGasLimit: string | number | bigint;
966
- verificationGasLimit: string | number | bigint;
967
- preVerificationGas: string | number | bigint;
968
- maxFeePerGas: string | number | bigint;
969
- maxPriorityFeePerGas: string | number | bigint;
970
- signature: string;
971
- factory?: string | null | undefined;
972
- factoryData?: string | null | undefined;
973
- paymaster?: string | null | undefined;
974
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
975
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
976
- paymasterData?: string | null | undefined;
977
- }>, {
978
- sender: `0x${string}`;
979
- nonce: bigint;
980
- callData: `0x${string}`;
981
- callGasLimit: bigint;
982
- verificationGasLimit: bigint;
983
- preVerificationGas: bigint;
984
- maxFeePerGas: bigint;
985
- maxPriorityFeePerGas: bigint;
986
- signature: `0x${string}`;
987
- factory: `0x${string}` | null;
988
- paymaster: `0x${string}` | null;
989
- paymasterVerificationGasLimit: bigint | null;
990
- paymasterPostOpGasLimit: bigint | null;
991
- factoryData: `0x${string}` | null;
992
- paymasterData: `0x${string}` | null;
993
- }, {
994
- sender: string;
995
- nonce: string | number | bigint;
996
- callData: string;
997
- callGasLimit: string | number | bigint;
998
- verificationGasLimit: string | number | bigint;
999
- preVerificationGas: string | number | bigint;
1000
- maxFeePerGas: string | number | bigint;
1001
- maxPriorityFeePerGas: string | number | bigint;
1002
- signature: string;
1003
- factory?: string | null | undefined;
1004
- factoryData?: string | null | undefined;
1005
- paymaster?: string | null | undefined;
1006
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1007
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1008
- paymasterData?: string | null | undefined;
1009
- }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1010
- }, "strip", z.ZodTypeAny, {
1011
- params: [{
1012
- sender: `0x${string}`;
1013
- nonce: bigint;
1014
- initCode: `0x${string}`;
1015
- callData: `0x${string}`;
1016
- callGasLimit: bigint;
1017
- verificationGasLimit: bigint;
1018
- preVerificationGas: bigint;
1019
- maxFeePerGas: bigint;
1020
- maxPriorityFeePerGas: bigint;
1021
- paymasterAndData: `0x${string}`;
1022
- signature: `0x${string}`;
1023
- } | {
1024
- sender: `0x${string}`;
1025
- nonce: bigint;
1026
- callData: `0x${string}`;
1027
- callGasLimit: bigint;
1028
- verificationGasLimit: bigint;
1029
- preVerificationGas: bigint;
1030
- maxFeePerGas: bigint;
1031
- maxPriorityFeePerGas: bigint;
1032
- signature: `0x${string}`;
1033
- factory: `0x${string}` | null;
1034
- paymaster: `0x${string}` | null;
1035
- paymasterVerificationGasLimit: bigint | null;
1036
- paymasterPostOpGasLimit: bigint | null;
1037
- factoryData: `0x${string}` | null;
1038
- paymasterData: `0x${string}` | null;
1039
- }, `0x${string}`];
1040
- method: "eth_sendUserOperation";
1041
- }, {
1042
- params: [{
1043
- sender: string;
1044
- nonce: string | number | bigint;
1045
- initCode: string;
1046
- callData: string;
1047
- callGasLimit: string | number | bigint;
1048
- verificationGasLimit: string | number | bigint;
1049
- preVerificationGas: string | number | bigint;
1050
- maxFeePerGas: string | number | bigint;
1051
- maxPriorityFeePerGas: string | number | bigint;
1052
- paymasterAndData: string;
1053
- signature: string;
1054
- } | {
1055
- sender: string;
1056
- nonce: string | number | bigint;
1057
- callData: string;
1058
- callGasLimit: string | number | bigint;
1059
- verificationGasLimit: string | number | bigint;
1060
- preVerificationGas: string | number | bigint;
1061
- maxFeePerGas: string | number | bigint;
1062
- maxPriorityFeePerGas: string | number | bigint;
1063
- signature: string;
1064
- factory?: string | null | undefined;
1065
- factoryData?: string | null | undefined;
1066
- paymaster?: string | null | undefined;
1067
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1068
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1069
- paymasterData?: string | null | undefined;
1070
- }, string];
1071
- method: "eth_sendUserOperation";
1072
- }>;
1073
- declare const getUserOperationByHashRequestSchema: z.ZodObject<{
1074
- method: z.ZodLiteral<"eth_getUserOperationByHash">;
1075
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1076
- }, "strip", z.ZodTypeAny, {
1077
- params: [`0x${string}`];
1078
- method: "eth_getUserOperationByHash";
1079
- }, {
1080
- params: [string];
1081
- method: "eth_getUserOperationByHash";
1082
- }>;
1083
- declare const getUserOperationReceiptRequestSchema: z.ZodObject<{
1084
- method: z.ZodLiteral<"eth_getUserOperationReceipt">;
1085
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1086
- }, "strip", z.ZodTypeAny, {
1087
- params: [`0x${string}`];
1088
- method: "eth_getUserOperationReceipt";
1089
- }, {
1090
- params: [string];
1091
- method: "eth_getUserOperationReceipt";
1092
- }>;
1093
- declare const bundlerClearStateRequestSchema: z.ZodObject<{
1094
- method: z.ZodLiteral<"debug_bundler_clearState">;
1095
- params: z.ZodTuple<[], null>;
1096
- }, "strip", z.ZodTypeAny, {
1097
- params: [];
1098
- method: "debug_bundler_clearState";
1099
- }, {
1100
- params: [];
1101
- method: "debug_bundler_clearState";
1102
- }>;
1103
- declare const bundlerClearMempoolRequestSchema: z.ZodObject<{
1104
- method: z.ZodLiteral<"debug_bundler_clearMempool">;
1105
- params: z.ZodTuple<[], null>;
1106
- }, "strip", z.ZodTypeAny, {
1107
- params: [];
1108
- method: "debug_bundler_clearMempool";
1109
- }, {
1110
- params: [];
1111
- method: "debug_bundler_clearMempool";
1112
- }>;
1113
- declare const bundlerDumpMempoolRequestSchema: z.ZodObject<{
1114
- method: z.ZodLiteral<"debug_bundler_dumpMempool">;
1115
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1116
- }, "strip", z.ZodTypeAny, {
1117
- params: [`0x${string}`];
1118
- method: "debug_bundler_dumpMempool";
1119
- }, {
1120
- params: [string];
1121
- method: "debug_bundler_dumpMempool";
1122
- }>;
1123
- declare const bundlerSendBundleNowRequestSchema: z.ZodObject<{
1124
- method: z.ZodLiteral<"debug_bundler_sendBundleNow">;
1125
- params: z.ZodTuple<[], null>;
1126
- }, "strip", z.ZodTypeAny, {
1127
- params: [];
1128
- method: "debug_bundler_sendBundleNow";
1129
- }, {
1130
- params: [];
1131
- method: "debug_bundler_sendBundleNow";
1132
- }>;
1133
- declare const bundlerSetBundlingModeRequestSchema: z.ZodObject<{
1134
- method: z.ZodLiteral<"debug_bundler_setBundlingMode">;
1135
- params: z.ZodTuple<[z.ZodEnum<["manual", "auto"]>], null>;
1136
- }, "strip", z.ZodTypeAny, {
1137
- params: ["manual" | "auto"];
1138
- method: "debug_bundler_setBundlingMode";
1139
- }, {
1140
- params: ["manual" | "auto"];
1141
- method: "debug_bundler_setBundlingMode";
1142
- }>;
1143
- declare const bundlerSetReputationsRequestSchema: z.ZodObject<{
1144
- method: z.ZodLiteral<"debug_bundler_setReputation">;
1145
- params: z.ZodTuple<[z.ZodArray<z.ZodObject<{
1146
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1147
- opsSeen: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1148
- opsIncluded: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1149
- }, "strip", z.ZodTypeAny, {
1150
- address: `0x${string}`;
1151
- opsSeen: bigint;
1152
- opsIncluded: bigint;
1153
- }, {
1154
- address: string;
1155
- opsSeen: string | number | bigint;
1156
- opsIncluded: string | number | bigint;
1157
- }>, "many">, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1158
- }, "strip", z.ZodTypeAny, {
1159
- params: [{
1160
- address: `0x${string}`;
1161
- opsSeen: bigint;
1162
- opsIncluded: bigint;
1163
- }[], `0x${string}`];
1164
- method: "debug_bundler_setReputation";
1165
- }, {
1166
- params: [{
1167
- address: string;
1168
- opsSeen: string | number | bigint;
1169
- opsIncluded: string | number | bigint;
1170
- }[], string];
1171
- method: "debug_bundler_setReputation";
1172
- }>;
1173
- declare const bundlerDumpReputationsRequestSchema: z.ZodObject<{
1174
- method: z.ZodLiteral<"debug_bundler_dumpReputation">;
1175
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1176
- }, "strip", z.ZodTypeAny, {
1177
- params: [`0x${string}`];
1178
- method: "debug_bundler_dumpReputation";
1179
- }, {
1180
- params: [string];
1181
- method: "debug_bundler_dumpReputation";
1182
- }>;
1183
- declare const pimlicoGetStakeStatusRequestSchema: z.ZodObject<{
1184
- method: z.ZodLiteral<"debug_bundler_getStakeStatus">;
1185
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1186
- }, "strip", z.ZodTypeAny, {
1187
- params: [`0x${string}`, `0x${string}`];
1188
- method: "debug_bundler_getStakeStatus";
1189
- }, {
1190
- params: [string, string];
1191
- method: "debug_bundler_getStakeStatus";
1192
- }>;
1193
- declare const pimlicoGetUserOperationStatusRequestSchema: z.ZodObject<{
1194
- method: z.ZodLiteral<"pimlico_getUserOperationStatus">;
1195
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1196
- }, "strip", z.ZodTypeAny, {
1197
- params: [`0x${string}`];
1198
- method: "pimlico_getUserOperationStatus";
1199
- }, {
1200
- params: [string];
1201
- method: "pimlico_getUserOperationStatus";
1202
- }>;
1203
- declare const pimlicoGetUserOperationGasPriceRequestSchema: z.ZodObject<{
1204
- method: z.ZodLiteral<"pimlico_getUserOperationGasPrice">;
1205
- params: z.ZodTuple<[], null>;
1206
- }, "strip", z.ZodTypeAny, {
1207
- params: [];
1208
- method: "pimlico_getUserOperationGasPrice";
1209
- }, {
1210
- params: [];
1211
- method: "pimlico_getUserOperationGasPrice";
1212
- }>;
1213
- export declare const altoVersions: z.ZodEnum<["v1", "v2"]>;
1214
- export type AltoVersions = z.infer<typeof altoVersions>;
1215
- declare const bundlerRequestSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
1216
- method: z.ZodLiteral<"eth_chainId">;
1217
- params: z.ZodTuple<[], null>;
1218
- }, "strip", z.ZodTypeAny, {
1219
- params: [];
1220
- method: "eth_chainId";
1221
- }, {
1222
- params: [];
1223
- method: "eth_chainId";
1224
- }>, z.ZodObject<{
1225
- method: z.ZodLiteral<"eth_supportedEntryPoints">;
1226
- params: z.ZodTuple<[], null>;
1227
- }, "strip", z.ZodTypeAny, {
1228
- params: [];
1229
- method: "eth_supportedEntryPoints";
1230
- }, {
1231
- params: [];
1232
- method: "eth_supportedEntryPoints";
1233
- }>, z.ZodObject<{
1234
- method: z.ZodLiteral<"eth_estimateUserOperationGas">;
1235
- params: z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1236
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1237
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1238
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1239
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1240
- callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1241
- verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1242
- preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1243
- maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1244
- maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1245
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1246
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1247
- }, "strict", z.ZodTypeAny, {
1248
- sender: `0x${string}`;
1249
- nonce: bigint;
1250
- initCode: `0x${string}`;
1251
- callData: `0x${string}`;
1252
- callGasLimit: bigint;
1253
- verificationGasLimit: bigint;
1254
- preVerificationGas: bigint;
1255
- maxFeePerGas: bigint;
1256
- maxPriorityFeePerGas: bigint;
1257
- paymasterAndData: `0x${string}`;
1258
- signature: `0x${string}`;
1259
- }, {
1260
- sender: string;
1261
- nonce: string | number | bigint;
1262
- initCode: string;
1263
- callData: string;
1264
- paymasterAndData: string;
1265
- signature: string;
1266
- callGasLimit?: string | number | bigint | undefined;
1267
- verificationGasLimit?: string | number | bigint | undefined;
1268
- preVerificationGas?: string | number | bigint | undefined;
1269
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1270
- maxFeePerGas?: string | number | bigint | undefined;
1271
- }>, {
1272
- sender: `0x${string}`;
1273
- nonce: bigint;
1274
- initCode: `0x${string}`;
1275
- callData: `0x${string}`;
1276
- callGasLimit: bigint;
1277
- verificationGasLimit: bigint;
1278
- preVerificationGas: bigint;
1279
- maxFeePerGas: bigint;
1280
- maxPriorityFeePerGas: bigint;
1281
- paymasterAndData: `0x${string}`;
1282
- signature: `0x${string}`;
1283
- }, {
1284
- sender: string;
1285
- nonce: string | number | bigint;
1286
- initCode: string;
1287
- callData: string;
1288
- paymasterAndData: string;
1289
- signature: string;
1290
- callGasLimit?: string | number | bigint | undefined;
1291
- verificationGasLimit?: string | number | bigint | undefined;
1292
- preVerificationGas?: string | number | bigint | undefined;
1293
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1294
- maxFeePerGas?: string | number | bigint | undefined;
1295
- }>, z.ZodEffects<z.ZodObject<{
1296
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1297
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1298
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1299
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1300
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1301
- callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1302
- verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1303
- preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1304
- maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1305
- maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1306
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1307
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
1308
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
1309
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1310
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1311
- }, "strict", z.ZodTypeAny, {
1312
- sender: `0x${string}`;
1313
- nonce: bigint;
1314
- callData: `0x${string}`;
1315
- callGasLimit: bigint;
1316
- verificationGasLimit: bigint;
1317
- preVerificationGas: bigint;
1318
- maxFeePerGas: bigint;
1319
- maxPriorityFeePerGas: bigint;
1320
- signature: `0x${string}`;
1321
- factory: `0x${string}` | null;
1322
- paymaster: `0x${string}` | null;
1323
- paymasterVerificationGasLimit: bigint | null;
1324
- paymasterPostOpGasLimit: bigint | null;
1325
- factoryData: `0x${string}` | null;
1326
- paymasterData: `0x${string}` | null;
1327
- }, {
1328
- sender: string;
1329
- nonce: string | number | bigint;
1330
- callData: string;
1331
- signature: string;
1332
- factory?: string | null | undefined;
1333
- factoryData?: string | null | undefined;
1334
- callGasLimit?: string | number | bigint | undefined;
1335
- verificationGasLimit?: string | number | bigint | undefined;
1336
- preVerificationGas?: string | number | bigint | undefined;
1337
- maxFeePerGas?: string | number | bigint | undefined;
1338
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1339
- paymaster?: string | null | undefined;
1340
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1341
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1342
- paymasterData?: string | null | undefined;
1343
- }>, {
1344
- sender: `0x${string}`;
1345
- nonce: bigint;
1346
- callData: `0x${string}`;
1347
- callGasLimit: bigint;
1348
- verificationGasLimit: bigint;
1349
- preVerificationGas: bigint;
1350
- maxFeePerGas: bigint;
1351
- maxPriorityFeePerGas: bigint;
1352
- signature: `0x${string}`;
1353
- factory: `0x${string}` | null;
1354
- paymaster: `0x${string}` | null;
1355
- paymasterVerificationGasLimit: bigint | null;
1356
- paymasterPostOpGasLimit: bigint | null;
1357
- factoryData: `0x${string}` | null;
1358
- paymasterData: `0x${string}` | null;
1359
- }, {
1360
- sender: string;
1361
- nonce: string | number | bigint;
1362
- callData: string;
1363
- signature: string;
1364
- factory?: string | null | undefined;
1365
- factoryData?: string | null | undefined;
1366
- callGasLimit?: string | number | bigint | undefined;
1367
- verificationGasLimit?: string | number | bigint | undefined;
1368
- preVerificationGas?: string | number | bigint | undefined;
1369
- maxFeePerGas?: string | number | bigint | undefined;
1370
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1371
- paymaster?: string | null | undefined;
1372
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1373
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1374
- paymasterData?: string | null | undefined;
1375
- }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1376
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1377
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1378
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1379
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1380
- callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1381
- verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1382
- preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1383
- maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1384
- maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1385
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1386
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1387
- }, "strict", z.ZodTypeAny, {
1388
- sender: `0x${string}`;
1389
- nonce: bigint;
1390
- initCode: `0x${string}`;
1391
- callData: `0x${string}`;
1392
- callGasLimit: bigint;
1393
- verificationGasLimit: bigint;
1394
- preVerificationGas: bigint;
1395
- maxFeePerGas: bigint;
1396
- maxPriorityFeePerGas: bigint;
1397
- paymasterAndData: `0x${string}`;
1398
- signature: `0x${string}`;
1399
- }, {
1400
- sender: string;
1401
- nonce: string | number | bigint;
1402
- initCode: string;
1403
- callData: string;
1404
- paymasterAndData: string;
1405
- signature: string;
1406
- callGasLimit?: string | number | bigint | undefined;
1407
- verificationGasLimit?: string | number | bigint | undefined;
1408
- preVerificationGas?: string | number | bigint | undefined;
1409
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1410
- maxFeePerGas?: string | number | bigint | undefined;
1411
- }>, {
1412
- sender: `0x${string}`;
1413
- nonce: bigint;
1414
- initCode: `0x${string}`;
1415
- callData: `0x${string}`;
1416
- callGasLimit: bigint;
1417
- verificationGasLimit: bigint;
1418
- preVerificationGas: bigint;
1419
- maxFeePerGas: bigint;
1420
- maxPriorityFeePerGas: bigint;
1421
- paymasterAndData: `0x${string}`;
1422
- signature: `0x${string}`;
1423
- }, {
1424
- sender: string;
1425
- nonce: string | number | bigint;
1426
- initCode: string;
1427
- callData: string;
1428
- paymasterAndData: string;
1429
- signature: string;
1430
- callGasLimit?: string | number | bigint | undefined;
1431
- verificationGasLimit?: string | number | bigint | undefined;
1432
- preVerificationGas?: string | number | bigint | undefined;
1433
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1434
- maxFeePerGas?: string | number | bigint | undefined;
1435
- }>, z.ZodEffects<z.ZodObject<{
1436
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1437
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1438
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1439
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1440
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1441
- callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1442
- verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1443
- preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1444
- maxFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1445
- maxPriorityFeePerGas: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1446
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1447
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
1448
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
1449
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1450
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1451
- }, "strict", z.ZodTypeAny, {
1452
- sender: `0x${string}`;
1453
- nonce: bigint;
1454
- callData: `0x${string}`;
1455
- callGasLimit: bigint;
1456
- verificationGasLimit: bigint;
1457
- preVerificationGas: bigint;
1458
- maxFeePerGas: bigint;
1459
- maxPriorityFeePerGas: bigint;
1460
- signature: `0x${string}`;
1461
- factory: `0x${string}` | null;
1462
- paymaster: `0x${string}` | null;
1463
- paymasterVerificationGasLimit: bigint | null;
1464
- paymasterPostOpGasLimit: bigint | null;
1465
- factoryData: `0x${string}` | null;
1466
- paymasterData: `0x${string}` | null;
1467
- }, {
1468
- sender: string;
1469
- nonce: string | number | bigint;
1470
- callData: string;
1471
- signature: string;
1472
- factory?: string | null | undefined;
1473
- factoryData?: string | null | undefined;
1474
- callGasLimit?: string | number | bigint | undefined;
1475
- verificationGasLimit?: string | number | bigint | undefined;
1476
- preVerificationGas?: string | number | bigint | undefined;
1477
- maxFeePerGas?: string | number | bigint | undefined;
1478
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1479
- paymaster?: string | null | undefined;
1480
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1481
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1482
- paymasterData?: string | null | undefined;
1483
- }>, {
1484
- sender: `0x${string}`;
1485
- nonce: bigint;
1486
- callData: `0x${string}`;
1487
- callGasLimit: bigint;
1488
- verificationGasLimit: bigint;
1489
- preVerificationGas: bigint;
1490
- maxFeePerGas: bigint;
1491
- maxPriorityFeePerGas: bigint;
1492
- signature: `0x${string}`;
1493
- factory: `0x${string}` | null;
1494
- paymaster: `0x${string}` | null;
1495
- paymasterVerificationGasLimit: bigint | null;
1496
- paymasterPostOpGasLimit: bigint | null;
1497
- factoryData: `0x${string}` | null;
1498
- paymasterData: `0x${string}` | null;
1499
- }, {
1500
- sender: string;
1501
- nonce: string | number | bigint;
1502
- callData: string;
1503
- signature: string;
1504
- factory?: string | null | undefined;
1505
- factoryData?: string | null | undefined;
1506
- callGasLimit?: string | number | bigint | undefined;
1507
- verificationGasLimit?: string | number | bigint | undefined;
1508
- preVerificationGas?: string | number | bigint | undefined;
1509
- maxFeePerGas?: string | number | bigint | undefined;
1510
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1511
- paymaster?: string | null | undefined;
1512
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1513
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1514
- paymasterData?: string | null | undefined;
1515
- }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodRecord<z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodObject<{
1516
- balance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1517
- nonce: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
1518
- code: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
1519
- state: z.ZodOptional<z.ZodUnknown>;
1520
- stateDiff: z.ZodOptional<z.ZodUnknown>;
1521
- }, "strip", z.ZodTypeAny, {
1522
- balance?: bigint | undefined;
1523
- nonce?: bigint | undefined;
1524
- code?: `0x${string}` | undefined;
1525
- state?: unknown;
1526
- stateDiff?: unknown;
1527
- }, {
1528
- balance?: string | number | bigint | undefined;
1529
- nonce?: string | number | bigint | undefined;
1530
- code?: string | undefined;
1531
- state?: unknown;
1532
- stateDiff?: unknown;
1533
- }>>], null>]>;
1534
- }, "strip", z.ZodTypeAny, {
1535
- params: [{
1536
- sender: `0x${string}`;
1537
- nonce: bigint;
1538
- initCode: `0x${string}`;
1539
- callData: `0x${string}`;
1540
- callGasLimit: bigint;
1541
- verificationGasLimit: bigint;
1542
- preVerificationGas: bigint;
1543
- maxFeePerGas: bigint;
1544
- maxPriorityFeePerGas: bigint;
1545
- paymasterAndData: `0x${string}`;
1546
- signature: `0x${string}`;
1547
- } | {
1548
- sender: `0x${string}`;
1549
- nonce: bigint;
1550
- callData: `0x${string}`;
1551
- callGasLimit: bigint;
1552
- verificationGasLimit: bigint;
1553
- preVerificationGas: bigint;
1554
- maxFeePerGas: bigint;
1555
- maxPriorityFeePerGas: bigint;
1556
- signature: `0x${string}`;
1557
- factory: `0x${string}` | null;
1558
- paymaster: `0x${string}` | null;
1559
- paymasterVerificationGasLimit: bigint | null;
1560
- paymasterPostOpGasLimit: bigint | null;
1561
- factoryData: `0x${string}` | null;
1562
- paymasterData: `0x${string}` | null;
1563
- }, `0x${string}`] | [{
1564
- sender: `0x${string}`;
1565
- nonce: bigint;
1566
- initCode: `0x${string}`;
1567
- callData: `0x${string}`;
1568
- callGasLimit: bigint;
1569
- verificationGasLimit: bigint;
1570
- preVerificationGas: bigint;
1571
- maxFeePerGas: bigint;
1572
- maxPriorityFeePerGas: bigint;
1573
- paymasterAndData: `0x${string}`;
1574
- signature: `0x${string}`;
1575
- } | {
1576
- sender: `0x${string}`;
1577
- nonce: bigint;
1578
- callData: `0x${string}`;
1579
- callGasLimit: bigint;
1580
- verificationGasLimit: bigint;
1581
- preVerificationGas: bigint;
1582
- maxFeePerGas: bigint;
1583
- maxPriorityFeePerGas: bigint;
1584
- signature: `0x${string}`;
1585
- factory: `0x${string}` | null;
1586
- paymaster: `0x${string}` | null;
1587
- paymasterVerificationGasLimit: bigint | null;
1588
- paymasterPostOpGasLimit: bigint | null;
1589
- factoryData: `0x${string}` | null;
1590
- paymasterData: `0x${string}` | null;
1591
- }, `0x${string}`, Partial<Record<`0x${string}`, {
1592
- balance?: bigint | undefined;
1593
- nonce?: bigint | undefined;
1594
- code?: `0x${string}` | undefined;
1595
- state?: unknown;
1596
- stateDiff?: unknown;
1597
- }>>];
1598
- method: "eth_estimateUserOperationGas";
1599
- }, {
1600
- params: [{
1601
- sender: string;
1602
- nonce: string | number | bigint;
1603
- initCode: string;
1604
- callData: string;
1605
- paymasterAndData: string;
1606
- signature: string;
1607
- callGasLimit?: string | number | bigint | undefined;
1608
- verificationGasLimit?: string | number | bigint | undefined;
1609
- preVerificationGas?: string | number | bigint | undefined;
1610
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1611
- maxFeePerGas?: string | number | bigint | undefined;
1612
- } | {
1613
- sender: string;
1614
- nonce: string | number | bigint;
1615
- callData: string;
1616
- signature: string;
1617
- factory?: string | null | undefined;
1618
- factoryData?: string | null | undefined;
1619
- callGasLimit?: string | number | bigint | undefined;
1620
- verificationGasLimit?: string | number | bigint | undefined;
1621
- preVerificationGas?: string | number | bigint | undefined;
1622
- maxFeePerGas?: string | number | bigint | undefined;
1623
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1624
- paymaster?: string | null | undefined;
1625
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1626
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1627
- paymasterData?: string | null | undefined;
1628
- }, string] | [{
1629
- sender: string;
1630
- nonce: string | number | bigint;
1631
- initCode: string;
1632
- callData: string;
1633
- paymasterAndData: string;
1634
- signature: string;
1635
- callGasLimit?: string | number | bigint | undefined;
1636
- verificationGasLimit?: string | number | bigint | undefined;
1637
- preVerificationGas?: string | number | bigint | undefined;
1638
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1639
- maxFeePerGas?: string | number | bigint | undefined;
1640
- } | {
1641
- sender: string;
1642
- nonce: string | number | bigint;
1643
- callData: string;
1644
- signature: string;
1645
- factory?: string | null | undefined;
1646
- factoryData?: string | null | undefined;
1647
- callGasLimit?: string | number | bigint | undefined;
1648
- verificationGasLimit?: string | number | bigint | undefined;
1649
- preVerificationGas?: string | number | bigint | undefined;
1650
- maxFeePerGas?: string | number | bigint | undefined;
1651
- maxPriorityFeePerGas?: string | number | bigint | undefined;
1652
- paymaster?: string | null | undefined;
1653
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1654
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1655
- paymasterData?: string | null | undefined;
1656
- }, string, Record<string, {
1657
- balance?: string | number | bigint | undefined;
1658
- nonce?: string | number | bigint | undefined;
1659
- code?: string | undefined;
1660
- state?: unknown;
1661
- stateDiff?: unknown;
1662
- }>];
1663
- method: "eth_estimateUserOperationGas";
1664
- }>, z.ZodObject<{
1665
- method: z.ZodLiteral<"eth_sendUserOperation">;
1666
- params: z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1667
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1668
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1669
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1670
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1671
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1672
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1673
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1674
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1675
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1676
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1677
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1678
- }, "strict", z.ZodTypeAny, {
1679
- sender: `0x${string}`;
1680
- nonce: bigint;
1681
- initCode: `0x${string}`;
1682
- callData: `0x${string}`;
1683
- callGasLimit: bigint;
1684
- verificationGasLimit: bigint;
1685
- preVerificationGas: bigint;
1686
- maxFeePerGas: bigint;
1687
- maxPriorityFeePerGas: bigint;
1688
- paymasterAndData: `0x${string}`;
1689
- signature: `0x${string}`;
1690
- }, {
1691
- sender: string;
1692
- nonce: string | number | bigint;
1693
- initCode: string;
1694
- callData: string;
1695
- callGasLimit: string | number | bigint;
1696
- verificationGasLimit: string | number | bigint;
1697
- preVerificationGas: string | number | bigint;
1698
- maxFeePerGas: string | number | bigint;
1699
- maxPriorityFeePerGas: string | number | bigint;
1700
- paymasterAndData: string;
1701
- signature: string;
1702
- }>, {
1703
- sender: `0x${string}`;
1704
- nonce: bigint;
1705
- initCode: `0x${string}`;
1706
- callData: `0x${string}`;
1707
- callGasLimit: bigint;
1708
- verificationGasLimit: bigint;
1709
- preVerificationGas: bigint;
1710
- maxFeePerGas: bigint;
1711
- maxPriorityFeePerGas: bigint;
1712
- paymasterAndData: `0x${string}`;
1713
- signature: `0x${string}`;
1714
- }, {
1715
- sender: string;
1716
- nonce: string | number | bigint;
1717
- initCode: string;
1718
- callData: string;
1719
- callGasLimit: string | number | bigint;
1720
- verificationGasLimit: string | number | bigint;
1721
- preVerificationGas: string | number | bigint;
1722
- maxFeePerGas: string | number | bigint;
1723
- maxPriorityFeePerGas: string | number | bigint;
1724
- paymasterAndData: string;
1725
- signature: string;
1726
- }>, z.ZodEffects<z.ZodObject<{
1727
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1728
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1729
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1730
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1731
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1732
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1733
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1734
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1735
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1736
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1737
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1738
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
1739
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
1740
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
1741
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1742
- }, "strict", z.ZodTypeAny, {
1743
- sender: `0x${string}`;
1744
- nonce: bigint;
1745
- callData: `0x${string}`;
1746
- callGasLimit: bigint;
1747
- verificationGasLimit: bigint;
1748
- preVerificationGas: bigint;
1749
- maxFeePerGas: bigint;
1750
- maxPriorityFeePerGas: bigint;
1751
- signature: `0x${string}`;
1752
- factory: `0x${string}` | null;
1753
- paymaster: `0x${string}` | null;
1754
- paymasterVerificationGasLimit: bigint | null;
1755
- paymasterPostOpGasLimit: bigint | null;
1756
- factoryData: `0x${string}` | null;
1757
- paymasterData: `0x${string}` | null;
1758
- }, {
1759
- sender: string;
1760
- nonce: string | number | bigint;
1761
- callData: string;
1762
- callGasLimit: string | number | bigint;
1763
- verificationGasLimit: string | number | bigint;
1764
- preVerificationGas: string | number | bigint;
1765
- maxFeePerGas: string | number | bigint;
1766
- maxPriorityFeePerGas: string | number | bigint;
1767
- signature: string;
1768
- factory?: string | null | undefined;
1769
- factoryData?: string | null | undefined;
1770
- paymaster?: string | null | undefined;
1771
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1772
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1773
- paymasterData?: string | null | undefined;
1774
- }>, {
1775
- sender: `0x${string}`;
1776
- nonce: bigint;
1777
- callData: `0x${string}`;
1778
- callGasLimit: bigint;
1779
- verificationGasLimit: bigint;
1780
- preVerificationGas: bigint;
1781
- maxFeePerGas: bigint;
1782
- maxPriorityFeePerGas: bigint;
1783
- signature: `0x${string}`;
1784
- factory: `0x${string}` | null;
1785
- paymaster: `0x${string}` | null;
1786
- paymasterVerificationGasLimit: bigint | null;
1787
- paymasterPostOpGasLimit: bigint | null;
1788
- factoryData: `0x${string}` | null;
1789
- paymasterData: `0x${string}` | null;
1790
- }, {
1791
- sender: string;
1792
- nonce: string | number | bigint;
1793
- callData: string;
1794
- callGasLimit: string | number | bigint;
1795
- verificationGasLimit: string | number | bigint;
1796
- preVerificationGas: string | number | bigint;
1797
- maxFeePerGas: string | number | bigint;
1798
- maxPriorityFeePerGas: string | number | bigint;
1799
- signature: string;
1800
- factory?: string | null | undefined;
1801
- factoryData?: string | null | undefined;
1802
- paymaster?: string | null | undefined;
1803
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1804
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1805
- paymasterData?: string | null | undefined;
1806
- }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1807
- }, "strip", z.ZodTypeAny, {
1808
- params: [{
1809
- sender: `0x${string}`;
1810
- nonce: bigint;
1811
- initCode: `0x${string}`;
1812
- callData: `0x${string}`;
1813
- callGasLimit: bigint;
1814
- verificationGasLimit: bigint;
1815
- preVerificationGas: bigint;
1816
- maxFeePerGas: bigint;
1817
- maxPriorityFeePerGas: bigint;
1818
- paymasterAndData: `0x${string}`;
1819
- signature: `0x${string}`;
1820
- } | {
1821
- sender: `0x${string}`;
1822
- nonce: bigint;
1823
- callData: `0x${string}`;
1824
- callGasLimit: bigint;
1825
- verificationGasLimit: bigint;
1826
- preVerificationGas: bigint;
1827
- maxFeePerGas: bigint;
1828
- maxPriorityFeePerGas: bigint;
1829
- signature: `0x${string}`;
1830
- factory: `0x${string}` | null;
1831
- paymaster: `0x${string}` | null;
1832
- paymasterVerificationGasLimit: bigint | null;
1833
- paymasterPostOpGasLimit: bigint | null;
1834
- factoryData: `0x${string}` | null;
1835
- paymasterData: `0x${string}` | null;
1836
- }, `0x${string}`];
1837
- method: "eth_sendUserOperation";
1838
- }, {
1839
- params: [{
1840
- sender: string;
1841
- nonce: string | number | bigint;
1842
- initCode: string;
1843
- callData: string;
1844
- callGasLimit: string | number | bigint;
1845
- verificationGasLimit: string | number | bigint;
1846
- preVerificationGas: string | number | bigint;
1847
- maxFeePerGas: string | number | bigint;
1848
- maxPriorityFeePerGas: string | number | bigint;
1849
- paymasterAndData: string;
1850
- signature: string;
1851
- } | {
1852
- sender: string;
1853
- nonce: string | number | bigint;
1854
- callData: string;
1855
- callGasLimit: string | number | bigint;
1856
- verificationGasLimit: string | number | bigint;
1857
- preVerificationGas: string | number | bigint;
1858
- maxFeePerGas: string | number | bigint;
1859
- maxPriorityFeePerGas: string | number | bigint;
1860
- signature: string;
1861
- factory?: string | null | undefined;
1862
- factoryData?: string | null | undefined;
1863
- paymaster?: string | null | undefined;
1864
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1865
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1866
- paymasterData?: string | null | undefined;
1867
- }, string];
1868
- method: "eth_sendUserOperation";
1869
- }>, z.ZodObject<{
1870
- method: z.ZodLiteral<"eth_getUserOperationByHash">;
1871
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1872
- }, "strip", z.ZodTypeAny, {
1873
- params: [`0x${string}`];
1874
- method: "eth_getUserOperationByHash";
1875
- }, {
1876
- params: [string];
1877
- method: "eth_getUserOperationByHash";
1878
- }>, z.ZodObject<{
1879
- method: z.ZodLiteral<"eth_getUserOperationReceipt">;
1880
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1881
- }, "strip", z.ZodTypeAny, {
1882
- params: [`0x${string}`];
1883
- method: "eth_getUserOperationReceipt";
1884
- }, {
1885
- params: [string];
1886
- method: "eth_getUserOperationReceipt";
1887
- }>, z.ZodObject<{
1888
- method: z.ZodLiteral<"debug_bundler_clearState">;
1889
- params: z.ZodTuple<[], null>;
1890
- }, "strip", z.ZodTypeAny, {
1891
- params: [];
1892
- method: "debug_bundler_clearState";
1893
- }, {
1894
- params: [];
1895
- method: "debug_bundler_clearState";
1896
- }>, z.ZodObject<{
1897
- method: z.ZodLiteral<"debug_bundler_clearMempool">;
1898
- params: z.ZodTuple<[], null>;
1899
- }, "strip", z.ZodTypeAny, {
1900
- params: [];
1901
- method: "debug_bundler_clearMempool";
1902
- }, {
1903
- params: [];
1904
- method: "debug_bundler_clearMempool";
1905
- }>, z.ZodObject<{
1906
- method: z.ZodLiteral<"debug_bundler_dumpMempool">;
1907
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1908
- }, "strip", z.ZodTypeAny, {
1909
- params: [`0x${string}`];
1910
- method: "debug_bundler_dumpMempool";
1911
- }, {
1912
- params: [string];
1913
- method: "debug_bundler_dumpMempool";
1914
- }>, z.ZodObject<{
1915
- method: z.ZodLiteral<"debug_bundler_sendBundleNow">;
1916
- params: z.ZodTuple<[], null>;
1917
- }, "strip", z.ZodTypeAny, {
1918
- params: [];
1919
- method: "debug_bundler_sendBundleNow";
1920
- }, {
1921
- params: [];
1922
- method: "debug_bundler_sendBundleNow";
1923
- }>, z.ZodObject<{
1924
- method: z.ZodLiteral<"debug_bundler_setBundlingMode">;
1925
- params: z.ZodTuple<[z.ZodEnum<["manual", "auto"]>], null>;
1926
- }, "strip", z.ZodTypeAny, {
1927
- params: ["manual" | "auto"];
1928
- method: "debug_bundler_setBundlingMode";
1929
- }, {
1930
- params: ["manual" | "auto"];
1931
- method: "debug_bundler_setBundlingMode";
1932
- }>, z.ZodObject<{
1933
- method: z.ZodLiteral<"debug_bundler_setReputation">;
1934
- params: z.ZodTuple<[z.ZodArray<z.ZodObject<{
1935
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
1936
- opsSeen: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1937
- opsIncluded: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
1938
- }, "strip", z.ZodTypeAny, {
1939
- address: `0x${string}`;
1940
- opsSeen: bigint;
1941
- opsIncluded: bigint;
1942
- }, {
1943
- address: string;
1944
- opsSeen: string | number | bigint;
1945
- opsIncluded: string | number | bigint;
1946
- }>, "many">, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1947
- }, "strip", z.ZodTypeAny, {
1948
- params: [{
1949
- address: `0x${string}`;
1950
- opsSeen: bigint;
1951
- opsIncluded: bigint;
1952
- }[], `0x${string}`];
1953
- method: "debug_bundler_setReputation";
1954
- }, {
1955
- params: [{
1956
- address: string;
1957
- opsSeen: string | number | bigint;
1958
- opsIncluded: string | number | bigint;
1959
- }[], string];
1960
- method: "debug_bundler_setReputation";
1961
- }>, z.ZodObject<{
1962
- method: z.ZodLiteral<"debug_bundler_dumpReputation">;
1963
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1964
- }, "strip", z.ZodTypeAny, {
1965
- params: [`0x${string}`];
1966
- method: "debug_bundler_dumpReputation";
1967
- }, {
1968
- params: [string];
1969
- method: "debug_bundler_dumpReputation";
1970
- }>, z.ZodObject<{
1971
- method: z.ZodLiteral<"debug_bundler_getStakeStatus">;
1972
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1973
- }, "strip", z.ZodTypeAny, {
1974
- params: [`0x${string}`, `0x${string}`];
1975
- method: "debug_bundler_getStakeStatus";
1976
- }, {
1977
- params: [string, string];
1978
- method: "debug_bundler_getStakeStatus";
1979
- }>, z.ZodObject<{
1980
- method: z.ZodLiteral<"pimlico_getUserOperationStatus">;
1981
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
1982
- }, "strip", z.ZodTypeAny, {
1983
- params: [`0x${string}`];
1984
- method: "pimlico_getUserOperationStatus";
1985
- }, {
1986
- params: [string];
1987
- method: "pimlico_getUserOperationStatus";
1988
- }>, z.ZodObject<{
1989
- method: z.ZodLiteral<"pimlico_getUserOperationGasPrice">;
1990
- params: z.ZodTuple<[], null>;
1991
- }, "strip", z.ZodTypeAny, {
1992
- params: [];
1993
- method: "pimlico_getUserOperationGasPrice";
1994
- }, {
1995
- params: [];
1996
- method: "pimlico_getUserOperationGasPrice";
1997
- }>, z.ZodObject<{
1998
- method: z.ZodLiteral<"pimlico_sendCompressedUserOperation">;
1999
- params: z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
2000
- }, "strip", z.ZodTypeAny, {
2001
- params: [`0x${string}`, `0x${string}`, `0x${string}`];
2002
- method: "pimlico_sendCompressedUserOperation";
2003
- }, {
2004
- params: [string, string, string];
2005
- method: "pimlico_sendCompressedUserOperation";
2006
- }>]>;
2007
- declare const chainIdResponseSchema: z.ZodObject<{
2008
- method: z.ZodLiteral<"eth_chainId">;
2009
- result: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2010
- }, "strip", z.ZodTypeAny, {
2011
- method: "eth_chainId";
2012
- result: bigint;
2013
- }, {
2014
- method: "eth_chainId";
2015
- result: string | number | bigint;
2016
- }>;
2017
- declare const supportedEntryPointsResponseSchema: z.ZodObject<{
2018
- method: z.ZodLiteral<"eth_supportedEntryPoints">;
2019
- result: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2020
- }, "strip", z.ZodTypeAny, {
2021
- method: "eth_supportedEntryPoints";
2022
- result: `0x${string}`[];
2023
- }, {
2024
- method: "eth_supportedEntryPoints";
2025
- result: string[];
2026
- }>;
2027
- declare const estimateUserOperationGasResponseSchema: z.ZodObject<{
2028
- method: z.ZodLiteral<"eth_estimateUserOperationGas">;
2029
- result: z.ZodUnion<[z.ZodObject<{
2030
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2031
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2032
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2033
- verificationGas: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
2034
- }, "strip", z.ZodTypeAny, {
2035
- callGasLimit: bigint;
2036
- verificationGasLimit: bigint;
2037
- preVerificationGas: bigint;
2038
- verificationGas?: bigint | undefined;
2039
- }, {
2040
- callGasLimit: string | number | bigint;
2041
- verificationGasLimit: string | number | bigint;
2042
- preVerificationGas: string | number | bigint;
2043
- verificationGas?: string | number | bigint | undefined;
2044
- }>, z.ZodObject<{
2045
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2046
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2047
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2048
- paymasterVerificationGasLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
2049
- paymasterPostOpGasLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
2050
- }, "strip", z.ZodTypeAny, {
2051
- callGasLimit: bigint;
2052
- verificationGasLimit: bigint;
2053
- preVerificationGas: bigint;
2054
- paymasterVerificationGasLimit?: bigint | undefined;
2055
- paymasterPostOpGasLimit?: bigint | undefined;
2056
- }, {
2057
- callGasLimit: string | number | bigint;
2058
- verificationGasLimit: string | number | bigint;
2059
- preVerificationGas: string | number | bigint;
2060
- paymasterVerificationGasLimit?: string | number | bigint | undefined;
2061
- paymasterPostOpGasLimit?: string | number | bigint | undefined;
2062
- }>]>;
2063
- }, "strip", z.ZodTypeAny, {
2064
- method: "eth_estimateUserOperationGas";
2065
- result: ({
2066
- callGasLimit: bigint;
2067
- verificationGasLimit: bigint;
2068
- preVerificationGas: bigint;
2069
- verificationGas?: bigint | undefined;
2070
- } | {
2071
- callGasLimit: bigint;
2072
- verificationGasLimit: bigint;
2073
- preVerificationGas: bigint;
2074
- paymasterVerificationGasLimit?: bigint | undefined;
2075
- paymasterPostOpGasLimit?: bigint | undefined;
2076
- }) & ({
2077
- callGasLimit: bigint;
2078
- verificationGasLimit: bigint;
2079
- preVerificationGas: bigint;
2080
- verificationGas?: bigint | undefined;
2081
- } | {
2082
- callGasLimit: bigint;
2083
- verificationGasLimit: bigint;
2084
- preVerificationGas: bigint;
2085
- paymasterVerificationGasLimit?: bigint | undefined;
2086
- paymasterPostOpGasLimit?: bigint | undefined;
2087
- } | undefined);
2088
- }, {
2089
- method: "eth_estimateUserOperationGas";
2090
- result: ({
2091
- callGasLimit: string | number | bigint;
2092
- verificationGasLimit: string | number | bigint;
2093
- preVerificationGas: string | number | bigint;
2094
- verificationGas?: string | number | bigint | undefined;
2095
- } | {
2096
- callGasLimit: string | number | bigint;
2097
- verificationGasLimit: string | number | bigint;
2098
- preVerificationGas: string | number | bigint;
2099
- paymasterVerificationGasLimit?: string | number | bigint | undefined;
2100
- paymasterPostOpGasLimit?: string | number | bigint | undefined;
2101
- }) & ({
2102
- callGasLimit: string | number | bigint;
2103
- verificationGasLimit: string | number | bigint;
2104
- preVerificationGas: string | number | bigint;
2105
- verificationGas?: string | number | bigint | undefined;
2106
- } | {
2107
- callGasLimit: string | number | bigint;
2108
- verificationGasLimit: string | number | bigint;
2109
- preVerificationGas: string | number | bigint;
2110
- paymasterVerificationGasLimit?: string | number | bigint | undefined;
2111
- paymasterPostOpGasLimit?: string | number | bigint | undefined;
2112
- } | undefined);
2113
- }>;
2114
- declare const sendUserOperationResponseSchema: z.ZodObject<{
2115
- method: z.ZodLiteral<"eth_sendUserOperation">;
2116
- result: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2117
- }, "strip", z.ZodTypeAny, {
2118
- method: "eth_sendUserOperation";
2119
- result: `0x${string}`;
2120
- }, {
2121
- method: "eth_sendUserOperation";
2122
- result: string;
2123
- }>;
2124
- declare const getUserOperationByHashResponseSchema: z.ZodObject<{
2125
- method: z.ZodLiteral<"eth_getUserOperationByHash">;
2126
- result: z.ZodUnion<[z.ZodObject<{
2127
- userOperation: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2128
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2129
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2130
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2131
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2132
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2133
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2134
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2135
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2136
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2137
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2138
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2139
- }, "strict", z.ZodTypeAny, {
2140
- sender: `0x${string}`;
2141
- nonce: bigint;
2142
- initCode: `0x${string}`;
2143
- callData: `0x${string}`;
2144
- callGasLimit: bigint;
2145
- verificationGasLimit: bigint;
2146
- preVerificationGas: bigint;
2147
- maxFeePerGas: bigint;
2148
- maxPriorityFeePerGas: bigint;
2149
- paymasterAndData: `0x${string}`;
2150
- signature: `0x${string}`;
2151
- }, {
2152
- sender: string;
2153
- nonce: string | number | bigint;
2154
- initCode: string;
2155
- callData: string;
2156
- callGasLimit: string | number | bigint;
2157
- verificationGasLimit: string | number | bigint;
2158
- preVerificationGas: string | number | bigint;
2159
- maxFeePerGas: string | number | bigint;
2160
- maxPriorityFeePerGas: string | number | bigint;
2161
- paymasterAndData: string;
2162
- signature: string;
2163
- }>, {
2164
- sender: `0x${string}`;
2165
- nonce: bigint;
2166
- initCode: `0x${string}`;
2167
- callData: `0x${string}`;
2168
- callGasLimit: bigint;
2169
- verificationGasLimit: bigint;
2170
- preVerificationGas: bigint;
2171
- maxFeePerGas: bigint;
2172
- maxPriorityFeePerGas: bigint;
2173
- paymasterAndData: `0x${string}`;
2174
- signature: `0x${string}`;
2175
- }, {
2176
- sender: string;
2177
- nonce: string | number | bigint;
2178
- initCode: string;
2179
- callData: string;
2180
- callGasLimit: string | number | bigint;
2181
- verificationGasLimit: string | number | bigint;
2182
- preVerificationGas: string | number | bigint;
2183
- maxFeePerGas: string | number | bigint;
2184
- maxPriorityFeePerGas: string | number | bigint;
2185
- paymasterAndData: string;
2186
- signature: string;
2187
- }>, z.ZodEffects<z.ZodObject<{
2188
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2189
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2190
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
2191
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
2192
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2193
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2194
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2195
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2196
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2197
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2198
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
2199
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
2200
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
2201
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
2202
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2203
- }, "strict", z.ZodTypeAny, {
2204
- sender: `0x${string}`;
2205
- nonce: bigint;
2206
- callData: `0x${string}`;
2207
- callGasLimit: bigint;
2208
- verificationGasLimit: bigint;
2209
- preVerificationGas: bigint;
2210
- maxFeePerGas: bigint;
2211
- maxPriorityFeePerGas: bigint;
2212
- signature: `0x${string}`;
2213
- factory: `0x${string}` | null;
2214
- paymaster: `0x${string}` | null;
2215
- paymasterVerificationGasLimit: bigint | null;
2216
- paymasterPostOpGasLimit: bigint | null;
2217
- factoryData: `0x${string}` | null;
2218
- paymasterData: `0x${string}` | null;
2219
- }, {
2220
- sender: string;
2221
- nonce: string | number | bigint;
2222
- callData: string;
2223
- callGasLimit: string | number | bigint;
2224
- verificationGasLimit: string | number | bigint;
2225
- preVerificationGas: string | number | bigint;
2226
- maxFeePerGas: string | number | bigint;
2227
- maxPriorityFeePerGas: string | number | bigint;
2228
- signature: string;
2229
- factory?: string | null | undefined;
2230
- factoryData?: string | null | undefined;
2231
- paymaster?: string | null | undefined;
2232
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
2233
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
2234
- paymasterData?: string | null | undefined;
2235
- }>, {
2236
- sender: `0x${string}`;
2237
- nonce: bigint;
2238
- callData: `0x${string}`;
2239
- callGasLimit: bigint;
2240
- verificationGasLimit: bigint;
2241
- preVerificationGas: bigint;
2242
- maxFeePerGas: bigint;
2243
- maxPriorityFeePerGas: bigint;
2244
- signature: `0x${string}`;
2245
- factory: `0x${string}` | null;
2246
- paymaster: `0x${string}` | null;
2247
- paymasterVerificationGasLimit: bigint | null;
2248
- paymasterPostOpGasLimit: bigint | null;
2249
- factoryData: `0x${string}` | null;
2250
- paymasterData: `0x${string}` | null;
2251
- }, {
2252
- sender: string;
2253
- nonce: string | number | bigint;
2254
- callData: string;
2255
- callGasLimit: string | number | bigint;
2256
- verificationGasLimit: string | number | bigint;
2257
- preVerificationGas: string | number | bigint;
2258
- maxFeePerGas: string | number | bigint;
2259
- maxPriorityFeePerGas: string | number | bigint;
2260
- signature: string;
2261
- factory?: string | null | undefined;
2262
- factoryData?: string | null | undefined;
2263
- paymaster?: string | null | undefined;
2264
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
2265
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
2266
- paymasterData?: string | null | undefined;
2267
- }>]>;
2268
- entryPoint: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2269
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2270
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2271
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2272
- }, "strip", z.ZodTypeAny, {
2273
- entryPoint: `0x${string}`;
2274
- userOperation: ({
2275
- sender: `0x${string}`;
2276
- nonce: bigint;
2277
- initCode: `0x${string}`;
2278
- callData: `0x${string}`;
2279
- callGasLimit: bigint;
2280
- verificationGasLimit: bigint;
2281
- preVerificationGas: bigint;
2282
- maxFeePerGas: bigint;
2283
- maxPriorityFeePerGas: bigint;
2284
- paymasterAndData: `0x${string}`;
2285
- signature: `0x${string}`;
2286
- } | {
2287
- sender: `0x${string}`;
2288
- nonce: bigint;
2289
- callData: `0x${string}`;
2290
- callGasLimit: bigint;
2291
- verificationGasLimit: bigint;
2292
- preVerificationGas: bigint;
2293
- maxFeePerGas: bigint;
2294
- maxPriorityFeePerGas: bigint;
2295
- signature: `0x${string}`;
2296
- factory: `0x${string}` | null;
2297
- paymaster: `0x${string}` | null;
2298
- paymasterVerificationGasLimit: bigint | null;
2299
- paymasterPostOpGasLimit: bigint | null;
2300
- factoryData: `0x${string}` | null;
2301
- paymasterData: `0x${string}` | null;
2302
- }) & ({
2303
- sender: `0x${string}`;
2304
- nonce: bigint;
2305
- initCode: `0x${string}`;
2306
- callData: `0x${string}`;
2307
- callGasLimit: bigint;
2308
- verificationGasLimit: bigint;
2309
- preVerificationGas: bigint;
2310
- maxFeePerGas: bigint;
2311
- maxPriorityFeePerGas: bigint;
2312
- paymasterAndData: `0x${string}`;
2313
- signature: `0x${string}`;
2314
- } | {
2315
- sender: `0x${string}`;
2316
- nonce: bigint;
2317
- callData: `0x${string}`;
2318
- callGasLimit: bigint;
2319
- verificationGasLimit: bigint;
2320
- preVerificationGas: bigint;
2321
- maxFeePerGas: bigint;
2322
- maxPriorityFeePerGas: bigint;
2323
- signature: `0x${string}`;
2324
- factory: `0x${string}` | null;
2325
- paymaster: `0x${string}` | null;
2326
- paymasterVerificationGasLimit: bigint | null;
2327
- paymasterPostOpGasLimit: bigint | null;
2328
- factoryData: `0x${string}` | null;
2329
- paymasterData: `0x${string}` | null;
2330
- } | undefined);
2331
- blockNumber: bigint;
2332
- blockHash: `0x${string}`;
2333
- transactionHash: `0x${string}`;
2334
- }, {
2335
- entryPoint: string;
2336
- userOperation: ({
2337
- sender: string;
2338
- nonce: string | number | bigint;
2339
- initCode: string;
2340
- callData: string;
2341
- callGasLimit: string | number | bigint;
2342
- verificationGasLimit: string | number | bigint;
2343
- preVerificationGas: string | number | bigint;
2344
- maxFeePerGas: string | number | bigint;
2345
- maxPriorityFeePerGas: string | number | bigint;
2346
- paymasterAndData: string;
2347
- signature: string;
2348
- } | {
2349
- sender: string;
2350
- nonce: string | number | bigint;
2351
- callData: string;
2352
- callGasLimit: string | number | bigint;
2353
- verificationGasLimit: string | number | bigint;
2354
- preVerificationGas: string | number | bigint;
2355
- maxFeePerGas: string | number | bigint;
2356
- maxPriorityFeePerGas: string | number | bigint;
2357
- signature: string;
2358
- factory?: string | null | undefined;
2359
- factoryData?: string | null | undefined;
2360
- paymaster?: string | null | undefined;
2361
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
2362
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
2363
- paymasterData?: string | null | undefined;
2364
- }) & ({
2365
- sender: string;
2366
- nonce: string | number | bigint;
2367
- initCode: string;
2368
- callData: string;
2369
- callGasLimit: string | number | bigint;
2370
- verificationGasLimit: string | number | bigint;
2371
- preVerificationGas: string | number | bigint;
2372
- maxFeePerGas: string | number | bigint;
2373
- maxPriorityFeePerGas: string | number | bigint;
2374
- paymasterAndData: string;
2375
- signature: string;
2376
- } | {
2377
- sender: string;
2378
- nonce: string | number | bigint;
2379
- callData: string;
2380
- callGasLimit: string | number | bigint;
2381
- verificationGasLimit: string | number | bigint;
2382
- preVerificationGas: string | number | bigint;
2383
- maxFeePerGas: string | number | bigint;
2384
- maxPriorityFeePerGas: string | number | bigint;
2385
- signature: string;
2386
- factory?: string | null | undefined;
2387
- factoryData?: string | null | undefined;
2388
- paymaster?: string | null | undefined;
2389
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
2390
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
2391
- paymasterData?: string | null | undefined;
2392
- } | undefined);
2393
- blockNumber: string | number | bigint;
2394
- blockHash: string;
2395
- transactionHash: string;
2396
- }>, z.ZodNull]>;
2397
- }, "strip", z.ZodTypeAny, {
2398
- method: "eth_getUserOperationByHash";
2399
- result: {
2400
- entryPoint: `0x${string}`;
2401
- userOperation: ({
2402
- sender: `0x${string}`;
2403
- nonce: bigint;
2404
- initCode: `0x${string}`;
2405
- callData: `0x${string}`;
2406
- callGasLimit: bigint;
2407
- verificationGasLimit: bigint;
2408
- preVerificationGas: bigint;
2409
- maxFeePerGas: bigint;
2410
- maxPriorityFeePerGas: bigint;
2411
- paymasterAndData: `0x${string}`;
2412
- signature: `0x${string}`;
2413
- } | {
2414
- sender: `0x${string}`;
2415
- nonce: bigint;
2416
- callData: `0x${string}`;
2417
- callGasLimit: bigint;
2418
- verificationGasLimit: bigint;
2419
- preVerificationGas: bigint;
2420
- maxFeePerGas: bigint;
2421
- maxPriorityFeePerGas: bigint;
2422
- signature: `0x${string}`;
2423
- factory: `0x${string}` | null;
2424
- paymaster: `0x${string}` | null;
2425
- paymasterVerificationGasLimit: bigint | null;
2426
- paymasterPostOpGasLimit: bigint | null;
2427
- factoryData: `0x${string}` | null;
2428
- paymasterData: `0x${string}` | null;
2429
- }) & ({
2430
- sender: `0x${string}`;
2431
- nonce: bigint;
2432
- initCode: `0x${string}`;
2433
- callData: `0x${string}`;
2434
- callGasLimit: bigint;
2435
- verificationGasLimit: bigint;
2436
- preVerificationGas: bigint;
2437
- maxFeePerGas: bigint;
2438
- maxPriorityFeePerGas: bigint;
2439
- paymasterAndData: `0x${string}`;
2440
- signature: `0x${string}`;
2441
- } | {
2442
- sender: `0x${string}`;
2443
- nonce: bigint;
2444
- callData: `0x${string}`;
2445
- callGasLimit: bigint;
2446
- verificationGasLimit: bigint;
2447
- preVerificationGas: bigint;
2448
- maxFeePerGas: bigint;
2449
- maxPriorityFeePerGas: bigint;
2450
- signature: `0x${string}`;
2451
- factory: `0x${string}` | null;
2452
- paymaster: `0x${string}` | null;
2453
- paymasterVerificationGasLimit: bigint | null;
2454
- paymasterPostOpGasLimit: bigint | null;
2455
- factoryData: `0x${string}` | null;
2456
- paymasterData: `0x${string}` | null;
2457
- } | undefined);
2458
- blockNumber: bigint;
2459
- blockHash: `0x${string}`;
2460
- transactionHash: `0x${string}`;
2461
- } | null;
2462
- }, {
2463
- method: "eth_getUserOperationByHash";
2464
- result: {
2465
- entryPoint: string;
2466
- userOperation: ({
2467
- sender: string;
2468
- nonce: string | number | bigint;
2469
- initCode: string;
2470
- callData: string;
2471
- callGasLimit: string | number | bigint;
2472
- verificationGasLimit: string | number | bigint;
2473
- preVerificationGas: string | number | bigint;
2474
- maxFeePerGas: string | number | bigint;
2475
- maxPriorityFeePerGas: string | number | bigint;
2476
- paymasterAndData: string;
2477
- signature: string;
2478
- } | {
2479
- sender: string;
2480
- nonce: string | number | bigint;
2481
- callData: string;
2482
- callGasLimit: string | number | bigint;
2483
- verificationGasLimit: string | number | bigint;
2484
- preVerificationGas: string | number | bigint;
2485
- maxFeePerGas: string | number | bigint;
2486
- maxPriorityFeePerGas: string | number | bigint;
2487
- signature: string;
2488
- factory?: string | null | undefined;
2489
- factoryData?: string | null | undefined;
2490
- paymaster?: string | null | undefined;
2491
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
2492
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
2493
- paymasterData?: string | null | undefined;
2494
- }) & ({
2495
- sender: string;
2496
- nonce: string | number | bigint;
2497
- initCode: string;
2498
- callData: string;
2499
- callGasLimit: string | number | bigint;
2500
- verificationGasLimit: string | number | bigint;
2501
- preVerificationGas: string | number | bigint;
2502
- maxFeePerGas: string | number | bigint;
2503
- maxPriorityFeePerGas: string | number | bigint;
2504
- paymasterAndData: string;
2505
- signature: string;
2506
- } | {
2507
- sender: string;
2508
- nonce: string | number | bigint;
2509
- callData: string;
2510
- callGasLimit: string | number | bigint;
2511
- verificationGasLimit: string | number | bigint;
2512
- preVerificationGas: string | number | bigint;
2513
- maxFeePerGas: string | number | bigint;
2514
- maxPriorityFeePerGas: string | number | bigint;
2515
- signature: string;
2516
- factory?: string | null | undefined;
2517
- factoryData?: string | null | undefined;
2518
- paymaster?: string | null | undefined;
2519
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
2520
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
2521
- paymasterData?: string | null | undefined;
2522
- } | undefined);
2523
- blockNumber: string | number | bigint;
2524
- blockHash: string;
2525
- transactionHash: string;
2526
- } | null;
2527
- }>;
2528
- declare const logSchema: z.ZodObject<{
2529
- logIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2530
- transactionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2531
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2532
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2533
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2534
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2535
- data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2536
- topics: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2537
- }, "strip", z.ZodTypeAny, {
2538
- address: `0x${string}`;
2539
- data: `0x${string}`;
2540
- blockNumber: bigint;
2541
- blockHash: `0x${string}`;
2542
- transactionHash: `0x${string}`;
2543
- logIndex: bigint;
2544
- transactionIndex: bigint;
2545
- topics: `0x${string}`[];
2546
- }, {
2547
- address: string;
2548
- data: string;
2549
- blockNumber: string | number | bigint;
2550
- blockHash: string;
2551
- transactionHash: string;
2552
- logIndex: string | number | bigint;
2553
- transactionIndex: string | number | bigint;
2554
- topics: string[];
2555
- }>;
2556
- declare const receiptSchema: z.ZodObject<{
2557
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2558
- transactionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2559
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2560
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2561
- from: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2562
- to: z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNull]>;
2563
- cumulativeGasUsed: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2564
- gasUsed: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2565
- contractAddress: z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNull]>;
2566
- logs: z.ZodArray<z.ZodObject<{
2567
- logIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2568
- transactionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2569
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2570
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2571
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2572
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2573
- data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2574
- topics: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2575
- }, "strip", z.ZodTypeAny, {
2576
- address: `0x${string}`;
2577
- data: `0x${string}`;
2578
- blockNumber: bigint;
2579
- blockHash: `0x${string}`;
2580
- transactionHash: `0x${string}`;
2581
- logIndex: bigint;
2582
- transactionIndex: bigint;
2583
- topics: `0x${string}`[];
2584
- }, {
2585
- address: string;
2586
- data: string;
2587
- blockNumber: string | number | bigint;
2588
- blockHash: string;
2589
- transactionHash: string;
2590
- logIndex: string | number | bigint;
2591
- transactionIndex: string | number | bigint;
2592
- topics: string[];
2593
- }>, "many">;
2594
- logsBloom: z.ZodString;
2595
- status: z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, z.ZodNull]>;
2596
- effectiveGasPrice: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2597
- }, "strip", z.ZodTypeAny, {
2598
- to: `0x${string}` | null;
2599
- gasUsed: bigint;
2600
- status: bigint | null;
2601
- blockNumber: bigint;
2602
- blockHash: `0x${string}`;
2603
- transactionHash: `0x${string}`;
2604
- transactionIndex: bigint;
2605
- from: `0x${string}`;
2606
- cumulativeGasUsed: bigint;
2607
- contractAddress: `0x${string}` | null;
2608
- logs: {
2609
- address: `0x${string}`;
2610
- data: `0x${string}`;
2611
- blockNumber: bigint;
2612
- blockHash: `0x${string}`;
2613
- transactionHash: `0x${string}`;
2614
- logIndex: bigint;
2615
- transactionIndex: bigint;
2616
- topics: `0x${string}`[];
2617
- }[];
2618
- logsBloom: string;
2619
- effectiveGasPrice: bigint;
2620
- }, {
2621
- to: string | null;
2622
- gasUsed: string | number | bigint;
2623
- status: string | number | bigint | null;
2624
- blockNumber: string | number | bigint;
2625
- blockHash: string;
2626
- transactionHash: string;
2627
- transactionIndex: string | number | bigint;
2628
- from: string;
2629
- cumulativeGasUsed: string | number | bigint;
2630
- contractAddress: string | null;
2631
- logs: {
2632
- address: string;
2633
- data: string;
2634
- blockNumber: string | number | bigint;
2635
- blockHash: string;
2636
- transactionHash: string;
2637
- logIndex: string | number | bigint;
2638
- transactionIndex: string | number | bigint;
2639
- topics: string[];
2640
- }[];
2641
- logsBloom: string;
2642
- effectiveGasPrice: string | number | bigint;
2643
- }>;
2644
- declare const getUserOperationReceiptResponseSchema: z.ZodObject<{
2645
- method: z.ZodLiteral<"eth_getUserOperationReceipt">;
2646
- result: z.ZodUnion<[z.ZodObject<{
2647
- userOpHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2648
- entryPoint: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2649
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2650
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2651
- paymaster: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
2652
- actualGasCost: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2653
- actualGasUsed: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2654
- success: z.ZodBoolean;
2655
- reason: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
2656
- logs: z.ZodArray<z.ZodObject<{
2657
- logIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2658
- transactionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2659
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2660
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2661
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2662
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2663
- data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2664
- topics: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2665
- }, "strip", z.ZodTypeAny, {
2666
- address: `0x${string}`;
2667
- data: `0x${string}`;
2668
- blockNumber: bigint;
2669
- blockHash: `0x${string}`;
2670
- transactionHash: `0x${string}`;
2671
- logIndex: bigint;
2672
- transactionIndex: bigint;
2673
- topics: `0x${string}`[];
2674
- }, {
2675
- address: string;
2676
- data: string;
2677
- blockNumber: string | number | bigint;
2678
- blockHash: string;
2679
- transactionHash: string;
2680
- logIndex: string | number | bigint;
2681
- transactionIndex: string | number | bigint;
2682
- topics: string[];
2683
- }>, "many">;
2684
- receipt: z.ZodObject<{
2685
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2686
- transactionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2687
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2688
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2689
- from: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2690
- to: z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNull]>;
2691
- cumulativeGasUsed: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2692
- gasUsed: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2693
- contractAddress: z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNull]>;
2694
- logs: z.ZodArray<z.ZodObject<{
2695
- logIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2696
- transactionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2697
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2698
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2699
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2700
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2701
- data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2702
- topics: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
2703
- }, "strip", z.ZodTypeAny, {
2704
- address: `0x${string}`;
2705
- data: `0x${string}`;
2706
- blockNumber: bigint;
2707
- blockHash: `0x${string}`;
2708
- transactionHash: `0x${string}`;
2709
- logIndex: bigint;
2710
- transactionIndex: bigint;
2711
- topics: `0x${string}`[];
2712
- }, {
2713
- address: string;
2714
- data: string;
2715
- blockNumber: string | number | bigint;
2716
- blockHash: string;
2717
- transactionHash: string;
2718
- logIndex: string | number | bigint;
2719
- transactionIndex: string | number | bigint;
2720
- topics: string[];
2721
- }>, "many">;
2722
- logsBloom: z.ZodString;
2723
- status: z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, z.ZodNull]>;
2724
- effectiveGasPrice: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2725
- }, "strip", z.ZodTypeAny, {
2726
- to: `0x${string}` | null;
2727
- gasUsed: bigint;
2728
- status: bigint | null;
2729
- blockNumber: bigint;
2730
- blockHash: `0x${string}`;
2731
- transactionHash: `0x${string}`;
2732
- transactionIndex: bigint;
2733
- from: `0x${string}`;
2734
- cumulativeGasUsed: bigint;
2735
- contractAddress: `0x${string}` | null;
2736
- logs: {
2737
- address: `0x${string}`;
2738
- data: `0x${string}`;
2739
- blockNumber: bigint;
2740
- blockHash: `0x${string}`;
2741
- transactionHash: `0x${string}`;
2742
- logIndex: bigint;
2743
- transactionIndex: bigint;
2744
- topics: `0x${string}`[];
2745
- }[];
2746
- logsBloom: string;
2747
- effectiveGasPrice: bigint;
2748
- }, {
2749
- to: string | null;
2750
- gasUsed: string | number | bigint;
2751
- status: string | number | bigint | null;
2752
- blockNumber: string | number | bigint;
2753
- blockHash: string;
2754
- transactionHash: string;
2755
- transactionIndex: string | number | bigint;
2756
- from: string;
2757
- cumulativeGasUsed: string | number | bigint;
2758
- contractAddress: string | null;
2759
- logs: {
2760
- address: string;
2761
- data: string;
2762
- blockNumber: string | number | bigint;
2763
- blockHash: string;
2764
- transactionHash: string;
2765
- logIndex: string | number | bigint;
2766
- transactionIndex: string | number | bigint;
2767
- topics: string[];
2768
- }[];
2769
- logsBloom: string;
2770
- effectiveGasPrice: string | number | bigint;
2771
- }>;
2772
- }, "strip", z.ZodTypeAny, {
2773
- sender: `0x${string}`;
2774
- nonce: bigint;
2775
- userOpHash: `0x${string}`;
2776
- success: boolean;
2777
- actualGasCost: bigint;
2778
- actualGasUsed: bigint;
2779
- entryPoint: `0x${string}`;
2780
- logs: {
2781
- address: `0x${string}`;
2782
- data: `0x${string}`;
2783
- blockNumber: bigint;
2784
- blockHash: `0x${string}`;
2785
- transactionHash: `0x${string}`;
2786
- logIndex: bigint;
2787
- transactionIndex: bigint;
2788
- topics: `0x${string}`[];
2789
- }[];
2790
- receipt: {
2791
- to: `0x${string}` | null;
2792
- gasUsed: bigint;
2793
- status: bigint | null;
2794
- blockNumber: bigint;
2795
- blockHash: `0x${string}`;
2796
- transactionHash: `0x${string}`;
2797
- transactionIndex: bigint;
2798
- from: `0x${string}`;
2799
- cumulativeGasUsed: bigint;
2800
- contractAddress: `0x${string}` | null;
2801
- logs: {
2802
- address: `0x${string}`;
2803
- data: `0x${string}`;
2804
- blockNumber: bigint;
2805
- blockHash: `0x${string}`;
2806
- transactionHash: `0x${string}`;
2807
- logIndex: bigint;
2808
- transactionIndex: bigint;
2809
- topics: `0x${string}`[];
2810
- }[];
2811
- logsBloom: string;
2812
- effectiveGasPrice: bigint;
2813
- };
2814
- paymaster?: `0x${string}` | undefined;
2815
- reason?: `0x${string}` | undefined;
2816
- }, {
2817
- sender: string;
2818
- nonce: string | number | bigint;
2819
- userOpHash: string;
2820
- success: boolean;
2821
- actualGasCost: string | number | bigint;
2822
- actualGasUsed: string | number | bigint;
2823
- entryPoint: string;
2824
- logs: {
2825
- address: string;
2826
- data: string;
2827
- blockNumber: string | number | bigint;
2828
- blockHash: string;
2829
- transactionHash: string;
2830
- logIndex: string | number | bigint;
2831
- transactionIndex: string | number | bigint;
2832
- topics: string[];
2833
- }[];
2834
- receipt: {
2835
- to: string | null;
2836
- gasUsed: string | number | bigint;
2837
- status: string | number | bigint | null;
2838
- blockNumber: string | number | bigint;
2839
- blockHash: string;
2840
- transactionHash: string;
2841
- transactionIndex: string | number | bigint;
2842
- from: string;
2843
- cumulativeGasUsed: string | number | bigint;
2844
- contractAddress: string | null;
2845
- logs: {
2846
- address: string;
2847
- data: string;
2848
- blockNumber: string | number | bigint;
2849
- blockHash: string;
2850
- transactionHash: string;
2851
- logIndex: string | number | bigint;
2852
- transactionIndex: string | number | bigint;
2853
- topics: string[];
2854
- }[];
2855
- logsBloom: string;
2856
- effectiveGasPrice: string | number | bigint;
2857
- };
2858
- paymaster?: string | undefined;
2859
- reason?: string | undefined;
2860
- }>, z.ZodNull]>;
2861
- }, "strip", z.ZodTypeAny, {
2862
- method: "eth_getUserOperationReceipt";
2863
- result: {
2864
- sender: `0x${string}`;
2865
- nonce: bigint;
2866
- userOpHash: `0x${string}`;
2867
- success: boolean;
2868
- actualGasCost: bigint;
2869
- actualGasUsed: bigint;
2870
- entryPoint: `0x${string}`;
2871
- logs: {
2872
- address: `0x${string}`;
2873
- data: `0x${string}`;
2874
- blockNumber: bigint;
2875
- blockHash: `0x${string}`;
2876
- transactionHash: `0x${string}`;
2877
- logIndex: bigint;
2878
- transactionIndex: bigint;
2879
- topics: `0x${string}`[];
2880
- }[];
2881
- receipt: {
2882
- to: `0x${string}` | null;
2883
- gasUsed: bigint;
2884
- status: bigint | null;
2885
- blockNumber: bigint;
2886
- blockHash: `0x${string}`;
2887
- transactionHash: `0x${string}`;
2888
- transactionIndex: bigint;
2889
- from: `0x${string}`;
2890
- cumulativeGasUsed: bigint;
2891
- contractAddress: `0x${string}` | null;
2892
- logs: {
2893
- address: `0x${string}`;
2894
- data: `0x${string}`;
2895
- blockNumber: bigint;
2896
- blockHash: `0x${string}`;
2897
- transactionHash: `0x${string}`;
2898
- logIndex: bigint;
2899
- transactionIndex: bigint;
2900
- topics: `0x${string}`[];
2901
- }[];
2902
- logsBloom: string;
2903
- effectiveGasPrice: bigint;
2904
- };
2905
- paymaster?: `0x${string}` | undefined;
2906
- reason?: `0x${string}` | undefined;
2907
- } | null;
2908
- }, {
2909
- method: "eth_getUserOperationReceipt";
2910
- result: {
2911
- sender: string;
2912
- nonce: string | number | bigint;
2913
- userOpHash: string;
2914
- success: boolean;
2915
- actualGasCost: string | number | bigint;
2916
- actualGasUsed: string | number | bigint;
2917
- entryPoint: string;
2918
- logs: {
2919
- address: string;
2920
- data: string;
2921
- blockNumber: string | number | bigint;
2922
- blockHash: string;
2923
- transactionHash: string;
2924
- logIndex: string | number | bigint;
2925
- transactionIndex: string | number | bigint;
2926
- topics: string[];
2927
- }[];
2928
- receipt: {
2929
- to: string | null;
2930
- gasUsed: string | number | bigint;
2931
- status: string | number | bigint | null;
2932
- blockNumber: string | number | bigint;
2933
- blockHash: string;
2934
- transactionHash: string;
2935
- transactionIndex: string | number | bigint;
2936
- from: string;
2937
- cumulativeGasUsed: string | number | bigint;
2938
- contractAddress: string | null;
2939
- logs: {
2940
- address: string;
2941
- data: string;
2942
- blockNumber: string | number | bigint;
2943
- blockHash: string;
2944
- transactionHash: string;
2945
- logIndex: string | number | bigint;
2946
- transactionIndex: string | number | bigint;
2947
- topics: string[];
2948
- }[];
2949
- logsBloom: string;
2950
- effectiveGasPrice: string | number | bigint;
2951
- };
2952
- paymaster?: string | undefined;
2953
- reason?: string | undefined;
2954
- } | null;
2955
- }>;
2956
- declare const bundlerClearStateResponseSchema: z.ZodObject<{
2957
- method: z.ZodLiteral<"debug_bundler_clearState">;
2958
- result: z.ZodLiteral<"ok">;
2959
- }, "strip", z.ZodTypeAny, {
2960
- method: "debug_bundler_clearState";
2961
- result: "ok";
2962
- }, {
2963
- method: "debug_bundler_clearState";
2964
- result: "ok";
2965
- }>;
2966
- declare const bundlerClearMempoolResponseSchema: z.ZodObject<{
2967
- method: z.ZodLiteral<"debug_bundler_clearMempool">;
2968
- result: z.ZodLiteral<"ok">;
2969
- }, "strip", z.ZodTypeAny, {
2970
- method: "debug_bundler_clearMempool";
2971
- result: "ok";
2972
- }, {
2973
- method: "debug_bundler_clearMempool";
2974
- result: "ok";
2975
- }>;
2976
- declare const bundlerDumpMempoolResponseSchema: z.ZodObject<{
2977
- method: z.ZodLiteral<"debug_bundler_dumpMempool">;
2978
- result: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2979
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2980
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2981
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2982
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2983
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2984
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2985
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2986
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2987
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
2988
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2989
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
2990
- }, "strict", z.ZodTypeAny, {
2991
- sender: `0x${string}`;
2992
- nonce: bigint;
2993
- initCode: `0x${string}`;
2994
- callData: `0x${string}`;
2995
- callGasLimit: bigint;
2996
- verificationGasLimit: bigint;
2997
- preVerificationGas: bigint;
2998
- maxFeePerGas: bigint;
2999
- maxPriorityFeePerGas: bigint;
3000
- paymasterAndData: `0x${string}`;
3001
- signature: `0x${string}`;
3002
- }, {
3003
- sender: string;
3004
- nonce: string | number | bigint;
3005
- initCode: string;
3006
- callData: string;
3007
- callGasLimit: string | number | bigint;
3008
- verificationGasLimit: string | number | bigint;
3009
- preVerificationGas: string | number | bigint;
3010
- maxFeePerGas: string | number | bigint;
3011
- maxPriorityFeePerGas: string | number | bigint;
3012
- paymasterAndData: string;
3013
- signature: string;
3014
- }>, {
3015
- sender: `0x${string}`;
3016
- nonce: bigint;
3017
- initCode: `0x${string}`;
3018
- callData: `0x${string}`;
3019
- callGasLimit: bigint;
3020
- verificationGasLimit: bigint;
3021
- preVerificationGas: bigint;
3022
- maxFeePerGas: bigint;
3023
- maxPriorityFeePerGas: bigint;
3024
- paymasterAndData: `0x${string}`;
3025
- signature: `0x${string}`;
3026
- }, {
3027
- sender: string;
3028
- nonce: string | number | bigint;
3029
- initCode: string;
3030
- callData: string;
3031
- callGasLimit: string | number | bigint;
3032
- verificationGasLimit: string | number | bigint;
3033
- preVerificationGas: string | number | bigint;
3034
- maxFeePerGas: string | number | bigint;
3035
- maxPriorityFeePerGas: string | number | bigint;
3036
- paymasterAndData: string;
3037
- signature: string;
3038
- }>, z.ZodEffects<z.ZodObject<{
3039
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3040
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3041
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
3042
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
3043
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3044
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3045
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3046
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3047
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3048
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3049
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
3050
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
3051
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
3052
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
3053
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3054
- }, "strict", z.ZodTypeAny, {
3055
- sender: `0x${string}`;
3056
- nonce: bigint;
3057
- callData: `0x${string}`;
3058
- callGasLimit: bigint;
3059
- verificationGasLimit: bigint;
3060
- preVerificationGas: bigint;
3061
- maxFeePerGas: bigint;
3062
- maxPriorityFeePerGas: bigint;
3063
- signature: `0x${string}`;
3064
- factory: `0x${string}` | null;
3065
- paymaster: `0x${string}` | null;
3066
- paymasterVerificationGasLimit: bigint | null;
3067
- paymasterPostOpGasLimit: bigint | null;
3068
- factoryData: `0x${string}` | null;
3069
- paymasterData: `0x${string}` | null;
3070
- }, {
3071
- sender: string;
3072
- nonce: string | number | bigint;
3073
- callData: string;
3074
- callGasLimit: string | number | bigint;
3075
- verificationGasLimit: string | number | bigint;
3076
- preVerificationGas: string | number | bigint;
3077
- maxFeePerGas: string | number | bigint;
3078
- maxPriorityFeePerGas: string | number | bigint;
3079
- signature: string;
3080
- factory?: string | null | undefined;
3081
- factoryData?: string | null | undefined;
3082
- paymaster?: string | null | undefined;
3083
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
3084
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
3085
- paymasterData?: string | null | undefined;
3086
- }>, {
3087
- sender: `0x${string}`;
3088
- nonce: bigint;
3089
- callData: `0x${string}`;
3090
- callGasLimit: bigint;
3091
- verificationGasLimit: bigint;
3092
- preVerificationGas: bigint;
3093
- maxFeePerGas: bigint;
3094
- maxPriorityFeePerGas: bigint;
3095
- signature: `0x${string}`;
3096
- factory: `0x${string}` | null;
3097
- paymaster: `0x${string}` | null;
3098
- paymasterVerificationGasLimit: bigint | null;
3099
- paymasterPostOpGasLimit: bigint | null;
3100
- factoryData: `0x${string}` | null;
3101
- paymasterData: `0x${string}` | null;
3102
- }, {
3103
- sender: string;
3104
- nonce: string | number | bigint;
3105
- callData: string;
3106
- callGasLimit: string | number | bigint;
3107
- verificationGasLimit: string | number | bigint;
3108
- preVerificationGas: string | number | bigint;
3109
- maxFeePerGas: string | number | bigint;
3110
- maxPriorityFeePerGas: string | number | bigint;
3111
- signature: string;
3112
- factory?: string | null | undefined;
3113
- factoryData?: string | null | undefined;
3114
- paymaster?: string | null | undefined;
3115
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
3116
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
3117
- paymasterData?: string | null | undefined;
3118
- }>]>, "many">;
3119
- }, "strip", z.ZodTypeAny, {
3120
- method: "debug_bundler_dumpMempool";
3121
- result: ({
3122
- sender: `0x${string}`;
3123
- nonce: bigint;
3124
- initCode: `0x${string}`;
3125
- callData: `0x${string}`;
3126
- callGasLimit: bigint;
3127
- verificationGasLimit: bigint;
3128
- preVerificationGas: bigint;
3129
- maxFeePerGas: bigint;
3130
- maxPriorityFeePerGas: bigint;
3131
- paymasterAndData: `0x${string}`;
3132
- signature: `0x${string}`;
3133
- } | {
3134
- sender: `0x${string}`;
3135
- nonce: bigint;
3136
- callData: `0x${string}`;
3137
- callGasLimit: bigint;
3138
- verificationGasLimit: bigint;
3139
- preVerificationGas: bigint;
3140
- maxFeePerGas: bigint;
3141
- maxPriorityFeePerGas: bigint;
3142
- signature: `0x${string}`;
3143
- factory: `0x${string}` | null;
3144
- paymaster: `0x${string}` | null;
3145
- paymasterVerificationGasLimit: bigint | null;
3146
- paymasterPostOpGasLimit: bigint | null;
3147
- factoryData: `0x${string}` | null;
3148
- paymasterData: `0x${string}` | null;
3149
- })[];
3150
- }, {
3151
- method: "debug_bundler_dumpMempool";
3152
- result: ({
3153
- sender: string;
3154
- nonce: string | number | bigint;
3155
- initCode: string;
3156
- callData: string;
3157
- callGasLimit: string | number | bigint;
3158
- verificationGasLimit: string | number | bigint;
3159
- preVerificationGas: string | number | bigint;
3160
- maxFeePerGas: string | number | bigint;
3161
- maxPriorityFeePerGas: string | number | bigint;
3162
- paymasterAndData: string;
3163
- signature: string;
3164
- } | {
3165
- sender: string;
3166
- nonce: string | number | bigint;
3167
- callData: string;
3168
- callGasLimit: string | number | bigint;
3169
- verificationGasLimit: string | number | bigint;
3170
- preVerificationGas: string | number | bigint;
3171
- maxFeePerGas: string | number | bigint;
3172
- maxPriorityFeePerGas: string | number | bigint;
3173
- signature: string;
3174
- factory?: string | null | undefined;
3175
- factoryData?: string | null | undefined;
3176
- paymaster?: string | null | undefined;
3177
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
3178
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
3179
- paymasterData?: string | null | undefined;
3180
- })[];
3181
- }>;
3182
- declare const bundlerGetStakeStatusResponseSchema: z.ZodObject<{
3183
- method: z.ZodLiteral<"debug_bundler_getStakeStatus">;
3184
- result: z.ZodObject<{
3185
- stakeInfo: z.ZodObject<{
3186
- addr: z.ZodString;
3187
- stake: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string, string | number | bigint>;
3188
- unstakeDelaySec: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string, string | number | bigint>;
3189
- }, "strip", z.ZodTypeAny, {
3190
- stake: string;
3191
- unstakeDelaySec: string;
3192
- addr: string;
3193
- }, {
3194
- stake: string | number | bigint;
3195
- unstakeDelaySec: string | number | bigint;
3196
- addr: string;
3197
- }>;
3198
- isStaked: z.ZodBoolean;
3199
- }, "strip", z.ZodTypeAny, {
3200
- stakeInfo: {
3201
- stake: string;
3202
- unstakeDelaySec: string;
3203
- addr: string;
3204
- };
3205
- isStaked: boolean;
3206
- }, {
3207
- stakeInfo: {
3208
- stake: string | number | bigint;
3209
- unstakeDelaySec: string | number | bigint;
3210
- addr: string;
3211
- };
3212
- isStaked: boolean;
3213
- }>;
3214
- }, "strip", z.ZodTypeAny, {
3215
- method: "debug_bundler_getStakeStatus";
3216
- result: {
3217
- stakeInfo: {
3218
- stake: string;
3219
- unstakeDelaySec: string;
3220
- addr: string;
3221
- };
3222
- isStaked: boolean;
3223
- };
3224
- }, {
3225
- method: "debug_bundler_getStakeStatus";
3226
- result: {
3227
- stakeInfo: {
3228
- stake: string | number | bigint;
3229
- unstakeDelaySec: string | number | bigint;
3230
- addr: string;
3231
- };
3232
- isStaked: boolean;
3233
- };
3234
- }>;
3235
- declare const bundlerSendBundleNowResponseSchema: z.ZodObject<{
3236
- method: z.ZodLiteral<"debug_bundler_sendBundleNow">;
3237
- result: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3238
- }, "strip", z.ZodTypeAny, {
3239
- method: "debug_bundler_sendBundleNow";
3240
- result: `0x${string}`;
3241
- }, {
3242
- method: "debug_bundler_sendBundleNow";
3243
- result: string;
3244
- }>;
3245
- declare const bundlerSetBundlingModeResponseSchema: z.ZodObject<{
3246
- method: z.ZodLiteral<"debug_bundler_setBundlingMode">;
3247
- result: z.ZodLiteral<"ok">;
3248
- }, "strip", z.ZodTypeAny, {
3249
- method: "debug_bundler_setBundlingMode";
3250
- result: "ok";
3251
- }, {
3252
- method: "debug_bundler_setBundlingMode";
3253
- result: "ok";
3254
- }>;
3255
- declare const bundlerSetReputationsResponseSchema: z.ZodObject<{
3256
- method: z.ZodLiteral<"debug_bundler_setReputation">;
3257
- result: z.ZodLiteral<"ok">;
3258
- }, "strip", z.ZodTypeAny, {
3259
- method: "debug_bundler_setReputation";
3260
- result: "ok";
3261
- }, {
3262
- method: "debug_bundler_setReputation";
3263
- result: "ok";
3264
- }>;
3265
- declare const bundlerDumpReputationsResponseSchema: z.ZodObject<{
3266
- method: z.ZodLiteral<"debug_bundler_dumpReputation">;
3267
- result: z.ZodArray<z.ZodObject<{
3268
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3269
- opsSeen: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3270
- opsIncluded: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3271
- status: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
3272
- }, "strip", z.ZodTypeAny, {
3273
- address: `0x${string}`;
3274
- opsSeen: bigint;
3275
- opsIncluded: bigint;
3276
- status?: bigint | undefined;
3277
- }, {
3278
- address: string;
3279
- opsSeen: string | number | bigint;
3280
- opsIncluded: string | number | bigint;
3281
- status?: string | number | bigint | undefined;
3282
- }>, "many">;
3283
- }, "strip", z.ZodTypeAny, {
3284
- method: "debug_bundler_dumpReputation";
3285
- result: {
3286
- address: `0x${string}`;
3287
- opsSeen: bigint;
3288
- opsIncluded: bigint;
3289
- status?: bigint | undefined;
3290
- }[];
3291
- }, {
3292
- method: "debug_bundler_dumpReputation";
3293
- result: {
3294
- address: string;
3295
- opsSeen: string | number | bigint;
3296
- opsIncluded: string | number | bigint;
3297
- status?: string | number | bigint | undefined;
3298
- }[];
3299
- }>;
3300
- declare const userOperationStatus: z.ZodObject<{
3301
- status: z.ZodEnum<["not_found", "not_submitted", "submitted", "rejected", "reverted", "included", "failed"]>;
3302
- transactionHash: z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNull]>;
3303
- }, "strip", z.ZodTypeAny, {
3304
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
3305
- transactionHash: `0x${string}` | null;
3306
- }, {
3307
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
3308
- transactionHash: string | null;
3309
- }>;
3310
- export type UserOperationStatus = z.infer<typeof userOperationStatus>;
3311
- declare const pimlicoGetUserOperationStatusResponseSchema: z.ZodObject<{
3312
- method: z.ZodLiteral<"pimlico_getUserOperationStatus">;
3313
- result: z.ZodObject<{
3314
- status: z.ZodEnum<["not_found", "not_submitted", "submitted", "rejected", "reverted", "included", "failed"]>;
3315
- transactionHash: z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNull]>;
3316
- }, "strip", z.ZodTypeAny, {
3317
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
3318
- transactionHash: `0x${string}` | null;
3319
- }, {
3320
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
3321
- transactionHash: string | null;
3322
- }>;
3323
- }, "strip", z.ZodTypeAny, {
3324
- method: "pimlico_getUserOperationStatus";
3325
- result: {
3326
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
3327
- transactionHash: `0x${string}` | null;
3328
- };
3329
- }, {
3330
- method: "pimlico_getUserOperationStatus";
3331
- result: {
3332
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
3333
- transactionHash: string | null;
3334
- };
3335
- }>;
3336
- declare const pimlicoGetUserOperationGasPriceResponseSchema: z.ZodObject<{
3337
- method: z.ZodLiteral<"pimlico_getUserOperationGasPrice">;
3338
- result: z.ZodObject<{
3339
- slow: z.ZodObject<{
3340
- maxFeePerGas: z.ZodBigInt;
3341
- maxPriorityFeePerGas: z.ZodBigInt;
3342
- }, "strip", z.ZodTypeAny, {
3343
- maxFeePerGas: bigint;
3344
- maxPriorityFeePerGas: bigint;
3345
- }, {
3346
- maxFeePerGas: bigint;
3347
- maxPriorityFeePerGas: bigint;
3348
- }>;
3349
- standard: z.ZodObject<{
3350
- maxFeePerGas: z.ZodBigInt;
3351
- maxPriorityFeePerGas: z.ZodBigInt;
3352
- }, "strip", z.ZodTypeAny, {
3353
- maxFeePerGas: bigint;
3354
- maxPriorityFeePerGas: bigint;
3355
- }, {
3356
- maxFeePerGas: bigint;
3357
- maxPriorityFeePerGas: bigint;
3358
- }>;
3359
- fast: z.ZodObject<{
3360
- maxFeePerGas: z.ZodBigInt;
3361
- maxPriorityFeePerGas: z.ZodBigInt;
3362
- }, "strip", z.ZodTypeAny, {
3363
- maxFeePerGas: bigint;
3364
- maxPriorityFeePerGas: bigint;
3365
- }, {
3366
- maxFeePerGas: bigint;
3367
- maxPriorityFeePerGas: bigint;
3368
- }>;
3369
- }, "strip", z.ZodTypeAny, {
3370
- standard: {
3371
- maxFeePerGas: bigint;
3372
- maxPriorityFeePerGas: bigint;
3373
- };
3374
- fast: {
3375
- maxFeePerGas: bigint;
3376
- maxPriorityFeePerGas: bigint;
3377
- };
3378
- slow: {
3379
- maxFeePerGas: bigint;
3380
- maxPriorityFeePerGas: bigint;
3381
- };
3382
- }, {
3383
- standard: {
3384
- maxFeePerGas: bigint;
3385
- maxPriorityFeePerGas: bigint;
3386
- };
3387
- fast: {
3388
- maxFeePerGas: bigint;
3389
- maxPriorityFeePerGas: bigint;
3390
- };
3391
- slow: {
3392
- maxFeePerGas: bigint;
3393
- maxPriorityFeePerGas: bigint;
3394
- };
3395
- }>;
3396
- }, "strip", z.ZodTypeAny, {
3397
- method: "pimlico_getUserOperationGasPrice";
3398
- result: {
3399
- standard: {
3400
- maxFeePerGas: bigint;
3401
- maxPriorityFeePerGas: bigint;
3402
- };
3403
- fast: {
3404
- maxFeePerGas: bigint;
3405
- maxPriorityFeePerGas: bigint;
3406
- };
3407
- slow: {
3408
- maxFeePerGas: bigint;
3409
- maxPriorityFeePerGas: bigint;
3410
- };
3411
- };
3412
- }, {
3413
- method: "pimlico_getUserOperationGasPrice";
3414
- result: {
3415
- standard: {
3416
- maxFeePerGas: bigint;
3417
- maxPriorityFeePerGas: bigint;
3418
- };
3419
- fast: {
3420
- maxFeePerGas: bigint;
3421
- maxPriorityFeePerGas: bigint;
3422
- };
3423
- slow: {
3424
- maxFeePerGas: bigint;
3425
- maxPriorityFeePerGas: bigint;
3426
- };
3427
- };
3428
- }>;
3429
- declare const bundlerResponseSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
3430
- method: z.ZodLiteral<"eth_chainId">;
3431
- result: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3432
- }, "strip", z.ZodTypeAny, {
3433
- method: "eth_chainId";
3434
- result: bigint;
3435
- }, {
3436
- method: "eth_chainId";
3437
- result: string | number | bigint;
3438
- }>, z.ZodObject<{
3439
- method: z.ZodLiteral<"eth_supportedEntryPoints">;
3440
- result: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
3441
- }, "strip", z.ZodTypeAny, {
3442
- method: "eth_supportedEntryPoints";
3443
- result: `0x${string}`[];
3444
- }, {
3445
- method: "eth_supportedEntryPoints";
3446
- result: string[];
3447
- }>, z.ZodObject<{
3448
- method: z.ZodLiteral<"eth_estimateUserOperationGas">;
3449
- result: z.ZodUnion<[z.ZodObject<{
3450
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3451
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3452
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3453
- verificationGas: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
3454
- }, "strip", z.ZodTypeAny, {
3455
- callGasLimit: bigint;
3456
- verificationGasLimit: bigint;
3457
- preVerificationGas: bigint;
3458
- verificationGas?: bigint | undefined;
3459
- }, {
3460
- callGasLimit: string | number | bigint;
3461
- verificationGasLimit: string | number | bigint;
3462
- preVerificationGas: string | number | bigint;
3463
- verificationGas?: string | number | bigint | undefined;
3464
- }>, z.ZodObject<{
3465
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3466
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3467
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3468
- paymasterVerificationGasLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
3469
- paymasterPostOpGasLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
3470
- }, "strip", z.ZodTypeAny, {
3471
- callGasLimit: bigint;
3472
- verificationGasLimit: bigint;
3473
- preVerificationGas: bigint;
3474
- paymasterVerificationGasLimit?: bigint | undefined;
3475
- paymasterPostOpGasLimit?: bigint | undefined;
3476
- }, {
3477
- callGasLimit: string | number | bigint;
3478
- verificationGasLimit: string | number | bigint;
3479
- preVerificationGas: string | number | bigint;
3480
- paymasterVerificationGasLimit?: string | number | bigint | undefined;
3481
- paymasterPostOpGasLimit?: string | number | bigint | undefined;
3482
- }>]>;
3483
- }, "strip", z.ZodTypeAny, {
3484
- method: "eth_estimateUserOperationGas";
3485
- result: ({
3486
- callGasLimit: bigint;
3487
- verificationGasLimit: bigint;
3488
- preVerificationGas: bigint;
3489
- verificationGas?: bigint | undefined;
3490
- } | {
3491
- callGasLimit: bigint;
3492
- verificationGasLimit: bigint;
3493
- preVerificationGas: bigint;
3494
- paymasterVerificationGasLimit?: bigint | undefined;
3495
- paymasterPostOpGasLimit?: bigint | undefined;
3496
- }) & ({
3497
- callGasLimit: bigint;
3498
- verificationGasLimit: bigint;
3499
- preVerificationGas: bigint;
3500
- verificationGas?: bigint | undefined;
3501
- } | {
3502
- callGasLimit: bigint;
3503
- verificationGasLimit: bigint;
3504
- preVerificationGas: bigint;
3505
- paymasterVerificationGasLimit?: bigint | undefined;
3506
- paymasterPostOpGasLimit?: bigint | undefined;
3507
- } | undefined);
3508
- }, {
3509
- method: "eth_estimateUserOperationGas";
3510
- result: ({
3511
- callGasLimit: string | number | bigint;
3512
- verificationGasLimit: string | number | bigint;
3513
- preVerificationGas: string | number | bigint;
3514
- verificationGas?: string | number | bigint | undefined;
3515
- } | {
3516
- callGasLimit: string | number | bigint;
3517
- verificationGasLimit: string | number | bigint;
3518
- preVerificationGas: string | number | bigint;
3519
- paymasterVerificationGasLimit?: string | number | bigint | undefined;
3520
- paymasterPostOpGasLimit?: string | number | bigint | undefined;
3521
- }) & ({
3522
- callGasLimit: string | number | bigint;
3523
- verificationGasLimit: string | number | bigint;
3524
- preVerificationGas: string | number | bigint;
3525
- verificationGas?: string | number | bigint | undefined;
3526
- } | {
3527
- callGasLimit: string | number | bigint;
3528
- verificationGasLimit: string | number | bigint;
3529
- preVerificationGas: string | number | bigint;
3530
- paymasterVerificationGasLimit?: string | number | bigint | undefined;
3531
- paymasterPostOpGasLimit?: string | number | bigint | undefined;
3532
- } | undefined);
3533
- }>, z.ZodObject<{
3534
- method: z.ZodLiteral<"eth_sendUserOperation">;
3535
- result: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3536
- }, "strip", z.ZodTypeAny, {
3537
- method: "eth_sendUserOperation";
3538
- result: `0x${string}`;
3539
- }, {
3540
- method: "eth_sendUserOperation";
3541
- result: string;
3542
- }>, z.ZodObject<{
3543
- method: z.ZodLiteral<"eth_getUserOperationByHash">;
3544
- result: z.ZodUnion<[z.ZodObject<{
3545
- userOperation: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
3546
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3547
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3548
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3549
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3550
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3551
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3552
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3553
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3554
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3555
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3556
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3557
- }, "strict", z.ZodTypeAny, {
3558
- sender: `0x${string}`;
3559
- nonce: bigint;
3560
- initCode: `0x${string}`;
3561
- callData: `0x${string}`;
3562
- callGasLimit: bigint;
3563
- verificationGasLimit: bigint;
3564
- preVerificationGas: bigint;
3565
- maxFeePerGas: bigint;
3566
- maxPriorityFeePerGas: bigint;
3567
- paymasterAndData: `0x${string}`;
3568
- signature: `0x${string}`;
3569
- }, {
3570
- sender: string;
3571
- nonce: string | number | bigint;
3572
- initCode: string;
3573
- callData: string;
3574
- callGasLimit: string | number | bigint;
3575
- verificationGasLimit: string | number | bigint;
3576
- preVerificationGas: string | number | bigint;
3577
- maxFeePerGas: string | number | bigint;
3578
- maxPriorityFeePerGas: string | number | bigint;
3579
- paymasterAndData: string;
3580
- signature: string;
3581
- }>, {
3582
- sender: `0x${string}`;
3583
- nonce: bigint;
3584
- initCode: `0x${string}`;
3585
- callData: `0x${string}`;
3586
- callGasLimit: bigint;
3587
- verificationGasLimit: bigint;
3588
- preVerificationGas: bigint;
3589
- maxFeePerGas: bigint;
3590
- maxPriorityFeePerGas: bigint;
3591
- paymasterAndData: `0x${string}`;
3592
- signature: `0x${string}`;
3593
- }, {
3594
- sender: string;
3595
- nonce: string | number | bigint;
3596
- initCode: string;
3597
- callData: string;
3598
- callGasLimit: string | number | bigint;
3599
- verificationGasLimit: string | number | bigint;
3600
- preVerificationGas: string | number | bigint;
3601
- maxFeePerGas: string | number | bigint;
3602
- maxPriorityFeePerGas: string | number | bigint;
3603
- paymasterAndData: string;
3604
- signature: string;
3605
- }>, z.ZodEffects<z.ZodObject<{
3606
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3607
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3608
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
3609
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
3610
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3611
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3612
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3613
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3614
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3615
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3616
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
3617
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
3618
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
3619
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
3620
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3621
- }, "strict", z.ZodTypeAny, {
3622
- sender: `0x${string}`;
3623
- nonce: bigint;
3624
- callData: `0x${string}`;
3625
- callGasLimit: bigint;
3626
- verificationGasLimit: bigint;
3627
- preVerificationGas: bigint;
3628
- maxFeePerGas: bigint;
3629
- maxPriorityFeePerGas: bigint;
3630
- signature: `0x${string}`;
3631
- factory: `0x${string}` | null;
3632
- paymaster: `0x${string}` | null;
3633
- paymasterVerificationGasLimit: bigint | null;
3634
- paymasterPostOpGasLimit: bigint | null;
3635
- factoryData: `0x${string}` | null;
3636
- paymasterData: `0x${string}` | null;
3637
- }, {
3638
- sender: string;
3639
- nonce: string | number | bigint;
3640
- callData: string;
3641
- callGasLimit: string | number | bigint;
3642
- verificationGasLimit: string | number | bigint;
3643
- preVerificationGas: string | number | bigint;
3644
- maxFeePerGas: string | number | bigint;
3645
- maxPriorityFeePerGas: string | number | bigint;
3646
- signature: string;
3647
- factory?: string | null | undefined;
3648
- factoryData?: string | null | undefined;
3649
- paymaster?: string | null | undefined;
3650
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
3651
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
3652
- paymasterData?: string | null | undefined;
3653
- }>, {
3654
- sender: `0x${string}`;
3655
- nonce: bigint;
3656
- callData: `0x${string}`;
3657
- callGasLimit: bigint;
3658
- verificationGasLimit: bigint;
3659
- preVerificationGas: bigint;
3660
- maxFeePerGas: bigint;
3661
- maxPriorityFeePerGas: bigint;
3662
- signature: `0x${string}`;
3663
- factory: `0x${string}` | null;
3664
- paymaster: `0x${string}` | null;
3665
- paymasterVerificationGasLimit: bigint | null;
3666
- paymasterPostOpGasLimit: bigint | null;
3667
- factoryData: `0x${string}` | null;
3668
- paymasterData: `0x${string}` | null;
3669
- }, {
3670
- sender: string;
3671
- nonce: string | number | bigint;
3672
- callData: string;
3673
- callGasLimit: string | number | bigint;
3674
- verificationGasLimit: string | number | bigint;
3675
- preVerificationGas: string | number | bigint;
3676
- maxFeePerGas: string | number | bigint;
3677
- maxPriorityFeePerGas: string | number | bigint;
3678
- signature: string;
3679
- factory?: string | null | undefined;
3680
- factoryData?: string | null | undefined;
3681
- paymaster?: string | null | undefined;
3682
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
3683
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
3684
- paymasterData?: string | null | undefined;
3685
- }>]>;
3686
- entryPoint: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3687
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3688
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3689
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3690
- }, "strip", z.ZodTypeAny, {
3691
- entryPoint: `0x${string}`;
3692
- userOperation: ({
3693
- sender: `0x${string}`;
3694
- nonce: bigint;
3695
- initCode: `0x${string}`;
3696
- callData: `0x${string}`;
3697
- callGasLimit: bigint;
3698
- verificationGasLimit: bigint;
3699
- preVerificationGas: bigint;
3700
- maxFeePerGas: bigint;
3701
- maxPriorityFeePerGas: bigint;
3702
- paymasterAndData: `0x${string}`;
3703
- signature: `0x${string}`;
3704
- } | {
3705
- sender: `0x${string}`;
3706
- nonce: bigint;
3707
- callData: `0x${string}`;
3708
- callGasLimit: bigint;
3709
- verificationGasLimit: bigint;
3710
- preVerificationGas: bigint;
3711
- maxFeePerGas: bigint;
3712
- maxPriorityFeePerGas: bigint;
3713
- signature: `0x${string}`;
3714
- factory: `0x${string}` | null;
3715
- paymaster: `0x${string}` | null;
3716
- paymasterVerificationGasLimit: bigint | null;
3717
- paymasterPostOpGasLimit: bigint | null;
3718
- factoryData: `0x${string}` | null;
3719
- paymasterData: `0x${string}` | null;
3720
- }) & ({
3721
- sender: `0x${string}`;
3722
- nonce: bigint;
3723
- initCode: `0x${string}`;
3724
- callData: `0x${string}`;
3725
- callGasLimit: bigint;
3726
- verificationGasLimit: bigint;
3727
- preVerificationGas: bigint;
3728
- maxFeePerGas: bigint;
3729
- maxPriorityFeePerGas: bigint;
3730
- paymasterAndData: `0x${string}`;
3731
- signature: `0x${string}`;
3732
- } | {
3733
- sender: `0x${string}`;
3734
- nonce: bigint;
3735
- callData: `0x${string}`;
3736
- callGasLimit: bigint;
3737
- verificationGasLimit: bigint;
3738
- preVerificationGas: bigint;
3739
- maxFeePerGas: bigint;
3740
- maxPriorityFeePerGas: bigint;
3741
- signature: `0x${string}`;
3742
- factory: `0x${string}` | null;
3743
- paymaster: `0x${string}` | null;
3744
- paymasterVerificationGasLimit: bigint | null;
3745
- paymasterPostOpGasLimit: bigint | null;
3746
- factoryData: `0x${string}` | null;
3747
- paymasterData: `0x${string}` | null;
3748
- } | undefined);
3749
- blockNumber: bigint;
3750
- blockHash: `0x${string}`;
3751
- transactionHash: `0x${string}`;
3752
- }, {
3753
- entryPoint: string;
3754
- userOperation: ({
3755
- sender: string;
3756
- nonce: string | number | bigint;
3757
- initCode: string;
3758
- callData: string;
3759
- callGasLimit: string | number | bigint;
3760
- verificationGasLimit: string | number | bigint;
3761
- preVerificationGas: string | number | bigint;
3762
- maxFeePerGas: string | number | bigint;
3763
- maxPriorityFeePerGas: string | number | bigint;
3764
- paymasterAndData: string;
3765
- signature: string;
3766
- } | {
3767
- sender: string;
3768
- nonce: string | number | bigint;
3769
- callData: string;
3770
- callGasLimit: string | number | bigint;
3771
- verificationGasLimit: string | number | bigint;
3772
- preVerificationGas: string | number | bigint;
3773
- maxFeePerGas: string | number | bigint;
3774
- maxPriorityFeePerGas: string | number | bigint;
3775
- signature: string;
3776
- factory?: string | null | undefined;
3777
- factoryData?: string | null | undefined;
3778
- paymaster?: string | null | undefined;
3779
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
3780
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
3781
- paymasterData?: string | null | undefined;
3782
- }) & ({
3783
- sender: string;
3784
- nonce: string | number | bigint;
3785
- initCode: string;
3786
- callData: string;
3787
- callGasLimit: string | number | bigint;
3788
- verificationGasLimit: string | number | bigint;
3789
- preVerificationGas: string | number | bigint;
3790
- maxFeePerGas: string | number | bigint;
3791
- maxPriorityFeePerGas: string | number | bigint;
3792
- paymasterAndData: string;
3793
- signature: string;
3794
- } | {
3795
- sender: string;
3796
- nonce: string | number | bigint;
3797
- callData: string;
3798
- callGasLimit: string | number | bigint;
3799
- verificationGasLimit: string | number | bigint;
3800
- preVerificationGas: string | number | bigint;
3801
- maxFeePerGas: string | number | bigint;
3802
- maxPriorityFeePerGas: string | number | bigint;
3803
- signature: string;
3804
- factory?: string | null | undefined;
3805
- factoryData?: string | null | undefined;
3806
- paymaster?: string | null | undefined;
3807
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
3808
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
3809
- paymasterData?: string | null | undefined;
3810
- } | undefined);
3811
- blockNumber: string | number | bigint;
3812
- blockHash: string;
3813
- transactionHash: string;
3814
- }>, z.ZodNull]>;
3815
- }, "strip", z.ZodTypeAny, {
3816
- method: "eth_getUserOperationByHash";
3817
- result: {
3818
- entryPoint: `0x${string}`;
3819
- userOperation: ({
3820
- sender: `0x${string}`;
3821
- nonce: bigint;
3822
- initCode: `0x${string}`;
3823
- callData: `0x${string}`;
3824
- callGasLimit: bigint;
3825
- verificationGasLimit: bigint;
3826
- preVerificationGas: bigint;
3827
- maxFeePerGas: bigint;
3828
- maxPriorityFeePerGas: bigint;
3829
- paymasterAndData: `0x${string}`;
3830
- signature: `0x${string}`;
3831
- } | {
3832
- sender: `0x${string}`;
3833
- nonce: bigint;
3834
- callData: `0x${string}`;
3835
- callGasLimit: bigint;
3836
- verificationGasLimit: bigint;
3837
- preVerificationGas: bigint;
3838
- maxFeePerGas: bigint;
3839
- maxPriorityFeePerGas: bigint;
3840
- signature: `0x${string}`;
3841
- factory: `0x${string}` | null;
3842
- paymaster: `0x${string}` | null;
3843
- paymasterVerificationGasLimit: bigint | null;
3844
- paymasterPostOpGasLimit: bigint | null;
3845
- factoryData: `0x${string}` | null;
3846
- paymasterData: `0x${string}` | null;
3847
- }) & ({
3848
- sender: `0x${string}`;
3849
- nonce: bigint;
3850
- initCode: `0x${string}`;
3851
- callData: `0x${string}`;
3852
- callGasLimit: bigint;
3853
- verificationGasLimit: bigint;
3854
- preVerificationGas: bigint;
3855
- maxFeePerGas: bigint;
3856
- maxPriorityFeePerGas: bigint;
3857
- paymasterAndData: `0x${string}`;
3858
- signature: `0x${string}`;
3859
- } | {
3860
- sender: `0x${string}`;
3861
- nonce: bigint;
3862
- callData: `0x${string}`;
3863
- callGasLimit: bigint;
3864
- verificationGasLimit: bigint;
3865
- preVerificationGas: bigint;
3866
- maxFeePerGas: bigint;
3867
- maxPriorityFeePerGas: bigint;
3868
- signature: `0x${string}`;
3869
- factory: `0x${string}` | null;
3870
- paymaster: `0x${string}` | null;
3871
- paymasterVerificationGasLimit: bigint | null;
3872
- paymasterPostOpGasLimit: bigint | null;
3873
- factoryData: `0x${string}` | null;
3874
- paymasterData: `0x${string}` | null;
3875
- } | undefined);
3876
- blockNumber: bigint;
3877
- blockHash: `0x${string}`;
3878
- transactionHash: `0x${string}`;
3879
- } | null;
3880
- }, {
3881
- method: "eth_getUserOperationByHash";
3882
- result: {
3883
- entryPoint: string;
3884
- userOperation: ({
3885
- sender: string;
3886
- nonce: string | number | bigint;
3887
- initCode: string;
3888
- callData: string;
3889
- callGasLimit: string | number | bigint;
3890
- verificationGasLimit: string | number | bigint;
3891
- preVerificationGas: string | number | bigint;
3892
- maxFeePerGas: string | number | bigint;
3893
- maxPriorityFeePerGas: string | number | bigint;
3894
- paymasterAndData: string;
3895
- signature: string;
3896
- } | {
3897
- sender: string;
3898
- nonce: string | number | bigint;
3899
- callData: string;
3900
- callGasLimit: string | number | bigint;
3901
- verificationGasLimit: string | number | bigint;
3902
- preVerificationGas: string | number | bigint;
3903
- maxFeePerGas: string | number | bigint;
3904
- maxPriorityFeePerGas: string | number | bigint;
3905
- signature: string;
3906
- factory?: string | null | undefined;
3907
- factoryData?: string | null | undefined;
3908
- paymaster?: string | null | undefined;
3909
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
3910
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
3911
- paymasterData?: string | null | undefined;
3912
- }) & ({
3913
- sender: string;
3914
- nonce: string | number | bigint;
3915
- initCode: string;
3916
- callData: string;
3917
- callGasLimit: string | number | bigint;
3918
- verificationGasLimit: string | number | bigint;
3919
- preVerificationGas: string | number | bigint;
3920
- maxFeePerGas: string | number | bigint;
3921
- maxPriorityFeePerGas: string | number | bigint;
3922
- paymasterAndData: string;
3923
- signature: string;
3924
- } | {
3925
- sender: string;
3926
- nonce: string | number | bigint;
3927
- callData: string;
3928
- callGasLimit: string | number | bigint;
3929
- verificationGasLimit: string | number | bigint;
3930
- preVerificationGas: string | number | bigint;
3931
- maxFeePerGas: string | number | bigint;
3932
- maxPriorityFeePerGas: string | number | bigint;
3933
- signature: string;
3934
- factory?: string | null | undefined;
3935
- factoryData?: string | null | undefined;
3936
- paymaster?: string | null | undefined;
3937
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
3938
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
3939
- paymasterData?: string | null | undefined;
3940
- } | undefined);
3941
- blockNumber: string | number | bigint;
3942
- blockHash: string;
3943
- transactionHash: string;
3944
- } | null;
3945
- }>, z.ZodObject<{
3946
- method: z.ZodLiteral<"eth_getUserOperationReceipt">;
3947
- result: z.ZodUnion<[z.ZodObject<{
3948
- userOpHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3949
- entryPoint: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3950
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3951
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3952
- paymaster: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
3953
- actualGasCost: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3954
- actualGasUsed: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3955
- success: z.ZodBoolean;
3956
- reason: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
3957
- logs: z.ZodArray<z.ZodObject<{
3958
- logIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3959
- transactionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3960
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3961
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3962
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3963
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3964
- data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3965
- topics: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
3966
- }, "strip", z.ZodTypeAny, {
3967
- address: `0x${string}`;
3968
- data: `0x${string}`;
3969
- blockNumber: bigint;
3970
- blockHash: `0x${string}`;
3971
- transactionHash: `0x${string}`;
3972
- logIndex: bigint;
3973
- transactionIndex: bigint;
3974
- topics: `0x${string}`[];
3975
- }, {
3976
- address: string;
3977
- data: string;
3978
- blockNumber: string | number | bigint;
3979
- blockHash: string;
3980
- transactionHash: string;
3981
- logIndex: string | number | bigint;
3982
- transactionIndex: string | number | bigint;
3983
- topics: string[];
3984
- }>, "many">;
3985
- receipt: z.ZodObject<{
3986
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3987
- transactionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3988
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3989
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3990
- from: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3991
- to: z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNull]>;
3992
- cumulativeGasUsed: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3993
- gasUsed: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3994
- contractAddress: z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNull]>;
3995
- logs: z.ZodArray<z.ZodObject<{
3996
- logIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3997
- transactionIndex: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
3998
- transactionHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
3999
- blockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4000
- blockNumber: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4001
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4002
- data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4003
- topics: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
4004
- }, "strip", z.ZodTypeAny, {
4005
- address: `0x${string}`;
4006
- data: `0x${string}`;
4007
- blockNumber: bigint;
4008
- blockHash: `0x${string}`;
4009
- transactionHash: `0x${string}`;
4010
- logIndex: bigint;
4011
- transactionIndex: bigint;
4012
- topics: `0x${string}`[];
4013
- }, {
4014
- address: string;
4015
- data: string;
4016
- blockNumber: string | number | bigint;
4017
- blockHash: string;
4018
- transactionHash: string;
4019
- logIndex: string | number | bigint;
4020
- transactionIndex: string | number | bigint;
4021
- topics: string[];
4022
- }>, "many">;
4023
- logsBloom: z.ZodString;
4024
- status: z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>, z.ZodNull]>;
4025
- effectiveGasPrice: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4026
- }, "strip", z.ZodTypeAny, {
4027
- to: `0x${string}` | null;
4028
- gasUsed: bigint;
4029
- status: bigint | null;
4030
- blockNumber: bigint;
4031
- blockHash: `0x${string}`;
4032
- transactionHash: `0x${string}`;
4033
- transactionIndex: bigint;
4034
- from: `0x${string}`;
4035
- cumulativeGasUsed: bigint;
4036
- contractAddress: `0x${string}` | null;
4037
- logs: {
4038
- address: `0x${string}`;
4039
- data: `0x${string}`;
4040
- blockNumber: bigint;
4041
- blockHash: `0x${string}`;
4042
- transactionHash: `0x${string}`;
4043
- logIndex: bigint;
4044
- transactionIndex: bigint;
4045
- topics: `0x${string}`[];
4046
- }[];
4047
- logsBloom: string;
4048
- effectiveGasPrice: bigint;
4049
- }, {
4050
- to: string | null;
4051
- gasUsed: string | number | bigint;
4052
- status: string | number | bigint | null;
4053
- blockNumber: string | number | bigint;
4054
- blockHash: string;
4055
- transactionHash: string;
4056
- transactionIndex: string | number | bigint;
4057
- from: string;
4058
- cumulativeGasUsed: string | number | bigint;
4059
- contractAddress: string | null;
4060
- logs: {
4061
- address: string;
4062
- data: string;
4063
- blockNumber: string | number | bigint;
4064
- blockHash: string;
4065
- transactionHash: string;
4066
- logIndex: string | number | bigint;
4067
- transactionIndex: string | number | bigint;
4068
- topics: string[];
4069
- }[];
4070
- logsBloom: string;
4071
- effectiveGasPrice: string | number | bigint;
4072
- }>;
4073
- }, "strip", z.ZodTypeAny, {
4074
- sender: `0x${string}`;
4075
- nonce: bigint;
4076
- userOpHash: `0x${string}`;
4077
- success: boolean;
4078
- actualGasCost: bigint;
4079
- actualGasUsed: bigint;
4080
- entryPoint: `0x${string}`;
4081
- logs: {
4082
- address: `0x${string}`;
4083
- data: `0x${string}`;
4084
- blockNumber: bigint;
4085
- blockHash: `0x${string}`;
4086
- transactionHash: `0x${string}`;
4087
- logIndex: bigint;
4088
- transactionIndex: bigint;
4089
- topics: `0x${string}`[];
4090
- }[];
4091
- receipt: {
4092
- to: `0x${string}` | null;
4093
- gasUsed: bigint;
4094
- status: bigint | null;
4095
- blockNumber: bigint;
4096
- blockHash: `0x${string}`;
4097
- transactionHash: `0x${string}`;
4098
- transactionIndex: bigint;
4099
- from: `0x${string}`;
4100
- cumulativeGasUsed: bigint;
4101
- contractAddress: `0x${string}` | null;
4102
- logs: {
4103
- address: `0x${string}`;
4104
- data: `0x${string}`;
4105
- blockNumber: bigint;
4106
- blockHash: `0x${string}`;
4107
- transactionHash: `0x${string}`;
4108
- logIndex: bigint;
4109
- transactionIndex: bigint;
4110
- topics: `0x${string}`[];
4111
- }[];
4112
- logsBloom: string;
4113
- effectiveGasPrice: bigint;
4114
- };
4115
- paymaster?: `0x${string}` | undefined;
4116
- reason?: `0x${string}` | undefined;
4117
- }, {
4118
- sender: string;
4119
- nonce: string | number | bigint;
4120
- userOpHash: string;
4121
- success: boolean;
4122
- actualGasCost: string | number | bigint;
4123
- actualGasUsed: string | number | bigint;
4124
- entryPoint: string;
4125
- logs: {
4126
- address: string;
4127
- data: string;
4128
- blockNumber: string | number | bigint;
4129
- blockHash: string;
4130
- transactionHash: string;
4131
- logIndex: string | number | bigint;
4132
- transactionIndex: string | number | bigint;
4133
- topics: string[];
4134
- }[];
4135
- receipt: {
4136
- to: string | null;
4137
- gasUsed: string | number | bigint;
4138
- status: string | number | bigint | null;
4139
- blockNumber: string | number | bigint;
4140
- blockHash: string;
4141
- transactionHash: string;
4142
- transactionIndex: string | number | bigint;
4143
- from: string;
4144
- cumulativeGasUsed: string | number | bigint;
4145
- contractAddress: string | null;
4146
- logs: {
4147
- address: string;
4148
- data: string;
4149
- blockNumber: string | number | bigint;
4150
- blockHash: string;
4151
- transactionHash: string;
4152
- logIndex: string | number | bigint;
4153
- transactionIndex: string | number | bigint;
4154
- topics: string[];
4155
- }[];
4156
- logsBloom: string;
4157
- effectiveGasPrice: string | number | bigint;
4158
- };
4159
- paymaster?: string | undefined;
4160
- reason?: string | undefined;
4161
- }>, z.ZodNull]>;
4162
- }, "strip", z.ZodTypeAny, {
4163
- method: "eth_getUserOperationReceipt";
4164
- result: {
4165
- sender: `0x${string}`;
4166
- nonce: bigint;
4167
- userOpHash: `0x${string}`;
4168
- success: boolean;
4169
- actualGasCost: bigint;
4170
- actualGasUsed: bigint;
4171
- entryPoint: `0x${string}`;
4172
- logs: {
4173
- address: `0x${string}`;
4174
- data: `0x${string}`;
4175
- blockNumber: bigint;
4176
- blockHash: `0x${string}`;
4177
- transactionHash: `0x${string}`;
4178
- logIndex: bigint;
4179
- transactionIndex: bigint;
4180
- topics: `0x${string}`[];
4181
- }[];
4182
- receipt: {
4183
- to: `0x${string}` | null;
4184
- gasUsed: bigint;
4185
- status: bigint | null;
4186
- blockNumber: bigint;
4187
- blockHash: `0x${string}`;
4188
- transactionHash: `0x${string}`;
4189
- transactionIndex: bigint;
4190
- from: `0x${string}`;
4191
- cumulativeGasUsed: bigint;
4192
- contractAddress: `0x${string}` | null;
4193
- logs: {
4194
- address: `0x${string}`;
4195
- data: `0x${string}`;
4196
- blockNumber: bigint;
4197
- blockHash: `0x${string}`;
4198
- transactionHash: `0x${string}`;
4199
- logIndex: bigint;
4200
- transactionIndex: bigint;
4201
- topics: `0x${string}`[];
4202
- }[];
4203
- logsBloom: string;
4204
- effectiveGasPrice: bigint;
4205
- };
4206
- paymaster?: `0x${string}` | undefined;
4207
- reason?: `0x${string}` | undefined;
4208
- } | null;
4209
- }, {
4210
- method: "eth_getUserOperationReceipt";
4211
- result: {
4212
- sender: string;
4213
- nonce: string | number | bigint;
4214
- userOpHash: string;
4215
- success: boolean;
4216
- actualGasCost: string | number | bigint;
4217
- actualGasUsed: string | number | bigint;
4218
- entryPoint: string;
4219
- logs: {
4220
- address: string;
4221
- data: string;
4222
- blockNumber: string | number | bigint;
4223
- blockHash: string;
4224
- transactionHash: string;
4225
- logIndex: string | number | bigint;
4226
- transactionIndex: string | number | bigint;
4227
- topics: string[];
4228
- }[];
4229
- receipt: {
4230
- to: string | null;
4231
- gasUsed: string | number | bigint;
4232
- status: string | number | bigint | null;
4233
- blockNumber: string | number | bigint;
4234
- blockHash: string;
4235
- transactionHash: string;
4236
- transactionIndex: string | number | bigint;
4237
- from: string;
4238
- cumulativeGasUsed: string | number | bigint;
4239
- contractAddress: string | null;
4240
- logs: {
4241
- address: string;
4242
- data: string;
4243
- blockNumber: string | number | bigint;
4244
- blockHash: string;
4245
- transactionHash: string;
4246
- logIndex: string | number | bigint;
4247
- transactionIndex: string | number | bigint;
4248
- topics: string[];
4249
- }[];
4250
- logsBloom: string;
4251
- effectiveGasPrice: string | number | bigint;
4252
- };
4253
- paymaster?: string | undefined;
4254
- reason?: string | undefined;
4255
- } | null;
4256
- }>, z.ZodObject<{
4257
- method: z.ZodLiteral<"debug_bundler_clearState">;
4258
- result: z.ZodLiteral<"ok">;
4259
- }, "strip", z.ZodTypeAny, {
4260
- method: "debug_bundler_clearState";
4261
- result: "ok";
4262
- }, {
4263
- method: "debug_bundler_clearState";
4264
- result: "ok";
4265
- }>, z.ZodObject<{
4266
- method: z.ZodLiteral<"debug_bundler_clearMempool">;
4267
- result: z.ZodLiteral<"ok">;
4268
- }, "strip", z.ZodTypeAny, {
4269
- method: "debug_bundler_clearMempool";
4270
- result: "ok";
4271
- }, {
4272
- method: "debug_bundler_clearMempool";
4273
- result: "ok";
4274
- }>, z.ZodObject<{
4275
- method: z.ZodLiteral<"debug_bundler_dumpMempool">;
4276
- result: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4277
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4278
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4279
- initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4280
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4281
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4282
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4283
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4284
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4285
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4286
- paymasterAndData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4287
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4288
- }, "strict", z.ZodTypeAny, {
4289
- sender: `0x${string}`;
4290
- nonce: bigint;
4291
- initCode: `0x${string}`;
4292
- callData: `0x${string}`;
4293
- callGasLimit: bigint;
4294
- verificationGasLimit: bigint;
4295
- preVerificationGas: bigint;
4296
- maxFeePerGas: bigint;
4297
- maxPriorityFeePerGas: bigint;
4298
- paymasterAndData: `0x${string}`;
4299
- signature: `0x${string}`;
4300
- }, {
4301
- sender: string;
4302
- nonce: string | number | bigint;
4303
- initCode: string;
4304
- callData: string;
4305
- callGasLimit: string | number | bigint;
4306
- verificationGasLimit: string | number | bigint;
4307
- preVerificationGas: string | number | bigint;
4308
- maxFeePerGas: string | number | bigint;
4309
- maxPriorityFeePerGas: string | number | bigint;
4310
- paymasterAndData: string;
4311
- signature: string;
4312
- }>, {
4313
- sender: `0x${string}`;
4314
- nonce: bigint;
4315
- initCode: `0x${string}`;
4316
- callData: `0x${string}`;
4317
- callGasLimit: bigint;
4318
- verificationGasLimit: bigint;
4319
- preVerificationGas: bigint;
4320
- maxFeePerGas: bigint;
4321
- maxPriorityFeePerGas: bigint;
4322
- paymasterAndData: `0x${string}`;
4323
- signature: `0x${string}`;
4324
- }, {
4325
- sender: string;
4326
- nonce: string | number | bigint;
4327
- initCode: string;
4328
- callData: string;
4329
- callGasLimit: string | number | bigint;
4330
- verificationGasLimit: string | number | bigint;
4331
- preVerificationGas: string | number | bigint;
4332
- maxFeePerGas: string | number | bigint;
4333
- maxPriorityFeePerGas: string | number | bigint;
4334
- paymasterAndData: string;
4335
- signature: string;
4336
- }>, z.ZodEffects<z.ZodObject<{
4337
- sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4338
- nonce: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4339
- factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
4340
- factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
4341
- callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4342
- callGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4343
- verificationGasLimit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4344
- preVerificationGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4345
- maxFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4346
- maxPriorityFeePerGas: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4347
- paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
4348
- paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
4349
- paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
4350
- paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
4351
- signature: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4352
- }, "strict", z.ZodTypeAny, {
4353
- sender: `0x${string}`;
4354
- nonce: bigint;
4355
- callData: `0x${string}`;
4356
- callGasLimit: bigint;
4357
- verificationGasLimit: bigint;
4358
- preVerificationGas: bigint;
4359
- maxFeePerGas: bigint;
4360
- maxPriorityFeePerGas: bigint;
4361
- signature: `0x${string}`;
4362
- factory: `0x${string}` | null;
4363
- paymaster: `0x${string}` | null;
4364
- paymasterVerificationGasLimit: bigint | null;
4365
- paymasterPostOpGasLimit: bigint | null;
4366
- factoryData: `0x${string}` | null;
4367
- paymasterData: `0x${string}` | null;
4368
- }, {
4369
- sender: string;
4370
- nonce: string | number | bigint;
4371
- callData: string;
4372
- callGasLimit: string | number | bigint;
4373
- verificationGasLimit: string | number | bigint;
4374
- preVerificationGas: string | number | bigint;
4375
- maxFeePerGas: string | number | bigint;
4376
- maxPriorityFeePerGas: string | number | bigint;
4377
- signature: string;
4378
- factory?: string | null | undefined;
4379
- factoryData?: string | null | undefined;
4380
- paymaster?: string | null | undefined;
4381
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
4382
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
4383
- paymasterData?: string | null | undefined;
4384
- }>, {
4385
- sender: `0x${string}`;
4386
- nonce: bigint;
4387
- callData: `0x${string}`;
4388
- callGasLimit: bigint;
4389
- verificationGasLimit: bigint;
4390
- preVerificationGas: bigint;
4391
- maxFeePerGas: bigint;
4392
- maxPriorityFeePerGas: bigint;
4393
- signature: `0x${string}`;
4394
- factory: `0x${string}` | null;
4395
- paymaster: `0x${string}` | null;
4396
- paymasterVerificationGasLimit: bigint | null;
4397
- paymasterPostOpGasLimit: bigint | null;
4398
- factoryData: `0x${string}` | null;
4399
- paymasterData: `0x${string}` | null;
4400
- }, {
4401
- sender: string;
4402
- nonce: string | number | bigint;
4403
- callData: string;
4404
- callGasLimit: string | number | bigint;
4405
- verificationGasLimit: string | number | bigint;
4406
- preVerificationGas: string | number | bigint;
4407
- maxFeePerGas: string | number | bigint;
4408
- maxPriorityFeePerGas: string | number | bigint;
4409
- signature: string;
4410
- factory?: string | null | undefined;
4411
- factoryData?: string | null | undefined;
4412
- paymaster?: string | null | undefined;
4413
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
4414
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
4415
- paymasterData?: string | null | undefined;
4416
- }>]>, "many">;
4417
- }, "strip", z.ZodTypeAny, {
4418
- method: "debug_bundler_dumpMempool";
4419
- result: ({
4420
- sender: `0x${string}`;
4421
- nonce: bigint;
4422
- initCode: `0x${string}`;
4423
- callData: `0x${string}`;
4424
- callGasLimit: bigint;
4425
- verificationGasLimit: bigint;
4426
- preVerificationGas: bigint;
4427
- maxFeePerGas: bigint;
4428
- maxPriorityFeePerGas: bigint;
4429
- paymasterAndData: `0x${string}`;
4430
- signature: `0x${string}`;
4431
- } | {
4432
- sender: `0x${string}`;
4433
- nonce: bigint;
4434
- callData: `0x${string}`;
4435
- callGasLimit: bigint;
4436
- verificationGasLimit: bigint;
4437
- preVerificationGas: bigint;
4438
- maxFeePerGas: bigint;
4439
- maxPriorityFeePerGas: bigint;
4440
- signature: `0x${string}`;
4441
- factory: `0x${string}` | null;
4442
- paymaster: `0x${string}` | null;
4443
- paymasterVerificationGasLimit: bigint | null;
4444
- paymasterPostOpGasLimit: bigint | null;
4445
- factoryData: `0x${string}` | null;
4446
- paymasterData: `0x${string}` | null;
4447
- })[];
4448
- }, {
4449
- method: "debug_bundler_dumpMempool";
4450
- result: ({
4451
- sender: string;
4452
- nonce: string | number | bigint;
4453
- initCode: string;
4454
- callData: string;
4455
- callGasLimit: string | number | bigint;
4456
- verificationGasLimit: string | number | bigint;
4457
- preVerificationGas: string | number | bigint;
4458
- maxFeePerGas: string | number | bigint;
4459
- maxPriorityFeePerGas: string | number | bigint;
4460
- paymasterAndData: string;
4461
- signature: string;
4462
- } | {
4463
- sender: string;
4464
- nonce: string | number | bigint;
4465
- callData: string;
4466
- callGasLimit: string | number | bigint;
4467
- verificationGasLimit: string | number | bigint;
4468
- preVerificationGas: string | number | bigint;
4469
- maxFeePerGas: string | number | bigint;
4470
- maxPriorityFeePerGas: string | number | bigint;
4471
- signature: string;
4472
- factory?: string | null | undefined;
4473
- factoryData?: string | null | undefined;
4474
- paymaster?: string | null | undefined;
4475
- paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
4476
- paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
4477
- paymasterData?: string | null | undefined;
4478
- })[];
4479
- }>, z.ZodObject<{
4480
- method: z.ZodLiteral<"debug_bundler_getStakeStatus">;
4481
- result: z.ZodObject<{
4482
- stakeInfo: z.ZodObject<{
4483
- addr: z.ZodString;
4484
- stake: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string, string | number | bigint>;
4485
- unstakeDelaySec: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string, string | number | bigint>;
4486
- }, "strip", z.ZodTypeAny, {
4487
- stake: string;
4488
- unstakeDelaySec: string;
4489
- addr: string;
4490
- }, {
4491
- stake: string | number | bigint;
4492
- unstakeDelaySec: string | number | bigint;
4493
- addr: string;
4494
- }>;
4495
- isStaked: z.ZodBoolean;
4496
- }, "strip", z.ZodTypeAny, {
4497
- stakeInfo: {
4498
- stake: string;
4499
- unstakeDelaySec: string;
4500
- addr: string;
4501
- };
4502
- isStaked: boolean;
4503
- }, {
4504
- stakeInfo: {
4505
- stake: string | number | bigint;
4506
- unstakeDelaySec: string | number | bigint;
4507
- addr: string;
4508
- };
4509
- isStaked: boolean;
4510
- }>;
4511
- }, "strip", z.ZodTypeAny, {
4512
- method: "debug_bundler_getStakeStatus";
4513
- result: {
4514
- stakeInfo: {
4515
- stake: string;
4516
- unstakeDelaySec: string;
4517
- addr: string;
4518
- };
4519
- isStaked: boolean;
4520
- };
4521
- }, {
4522
- method: "debug_bundler_getStakeStatus";
4523
- result: {
4524
- stakeInfo: {
4525
- stake: string | number | bigint;
4526
- unstakeDelaySec: string | number | bigint;
4527
- addr: string;
4528
- };
4529
- isStaked: boolean;
4530
- };
4531
- }>, z.ZodObject<{
4532
- method: z.ZodLiteral<"debug_bundler_sendBundleNow">;
4533
- result: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4534
- }, "strip", z.ZodTypeAny, {
4535
- method: "debug_bundler_sendBundleNow";
4536
- result: `0x${string}`;
4537
- }, {
4538
- method: "debug_bundler_sendBundleNow";
4539
- result: string;
4540
- }>, z.ZodObject<{
4541
- method: z.ZodLiteral<"debug_bundler_setBundlingMode">;
4542
- result: z.ZodLiteral<"ok">;
4543
- }, "strip", z.ZodTypeAny, {
4544
- method: "debug_bundler_setBundlingMode";
4545
- result: "ok";
4546
- }, {
4547
- method: "debug_bundler_setBundlingMode";
4548
- result: "ok";
4549
- }>, z.ZodObject<{
4550
- method: z.ZodLiteral<"debug_bundler_setReputation">;
4551
- result: z.ZodLiteral<"ok">;
4552
- }, "strip", z.ZodTypeAny, {
4553
- method: "debug_bundler_setReputation";
4554
- result: "ok";
4555
- }, {
4556
- method: "debug_bundler_setReputation";
4557
- result: "ok";
4558
- }>, z.ZodObject<{
4559
- method: z.ZodLiteral<"debug_bundler_dumpReputation">;
4560
- result: z.ZodArray<z.ZodObject<{
4561
- address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4562
- opsSeen: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4563
- opsIncluded: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>;
4564
- status: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, bigint, string | number | bigint>>;
4565
- }, "strip", z.ZodTypeAny, {
4566
- address: `0x${string}`;
4567
- opsSeen: bigint;
4568
- opsIncluded: bigint;
4569
- status?: bigint | undefined;
4570
- }, {
4571
- address: string;
4572
- opsSeen: string | number | bigint;
4573
- opsIncluded: string | number | bigint;
4574
- status?: string | number | bigint | undefined;
4575
- }>, "many">;
4576
- }, "strip", z.ZodTypeAny, {
4577
- method: "debug_bundler_dumpReputation";
4578
- result: {
4579
- address: `0x${string}`;
4580
- opsSeen: bigint;
4581
- opsIncluded: bigint;
4582
- status?: bigint | undefined;
4583
- }[];
4584
- }, {
4585
- method: "debug_bundler_dumpReputation";
4586
- result: {
4587
- address: string;
4588
- opsSeen: string | number | bigint;
4589
- opsIncluded: string | number | bigint;
4590
- status?: string | number | bigint | undefined;
4591
- }[];
4592
- }>, z.ZodObject<{
4593
- method: z.ZodLiteral<"pimlico_getUserOperationStatus">;
4594
- result: z.ZodObject<{
4595
- status: z.ZodEnum<["not_found", "not_submitted", "submitted", "rejected", "reverted", "included", "failed"]>;
4596
- transactionHash: z.ZodUnion<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNull]>;
4597
- }, "strip", z.ZodTypeAny, {
4598
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
4599
- transactionHash: `0x${string}` | null;
4600
- }, {
4601
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
4602
- transactionHash: string | null;
4603
- }>;
4604
- }, "strip", z.ZodTypeAny, {
4605
- method: "pimlico_getUserOperationStatus";
4606
- result: {
4607
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
4608
- transactionHash: `0x${string}` | null;
4609
- };
4610
- }, {
4611
- method: "pimlico_getUserOperationStatus";
4612
- result: {
4613
- status: "not_submitted" | "rejected" | "submitted" | "included" | "not_found" | "reverted" | "failed";
4614
- transactionHash: string | null;
4615
- };
4616
- }>, z.ZodObject<{
4617
- method: z.ZodLiteral<"pimlico_getUserOperationGasPrice">;
4618
- result: z.ZodObject<{
4619
- slow: z.ZodObject<{
4620
- maxFeePerGas: z.ZodBigInt;
4621
- maxPriorityFeePerGas: z.ZodBigInt;
4622
- }, "strip", z.ZodTypeAny, {
4623
- maxFeePerGas: bigint;
4624
- maxPriorityFeePerGas: bigint;
4625
- }, {
4626
- maxFeePerGas: bigint;
4627
- maxPriorityFeePerGas: bigint;
4628
- }>;
4629
- standard: z.ZodObject<{
4630
- maxFeePerGas: z.ZodBigInt;
4631
- maxPriorityFeePerGas: z.ZodBigInt;
4632
- }, "strip", z.ZodTypeAny, {
4633
- maxFeePerGas: bigint;
4634
- maxPriorityFeePerGas: bigint;
4635
- }, {
4636
- maxFeePerGas: bigint;
4637
- maxPriorityFeePerGas: bigint;
4638
- }>;
4639
- fast: z.ZodObject<{
4640
- maxFeePerGas: z.ZodBigInt;
4641
- maxPriorityFeePerGas: z.ZodBigInt;
4642
- }, "strip", z.ZodTypeAny, {
4643
- maxFeePerGas: bigint;
4644
- maxPriorityFeePerGas: bigint;
4645
- }, {
4646
- maxFeePerGas: bigint;
4647
- maxPriorityFeePerGas: bigint;
4648
- }>;
4649
- }, "strip", z.ZodTypeAny, {
4650
- standard: {
4651
- maxFeePerGas: bigint;
4652
- maxPriorityFeePerGas: bigint;
4653
- };
4654
- fast: {
4655
- maxFeePerGas: bigint;
4656
- maxPriorityFeePerGas: bigint;
4657
- };
4658
- slow: {
4659
- maxFeePerGas: bigint;
4660
- maxPriorityFeePerGas: bigint;
4661
- };
4662
- }, {
4663
- standard: {
4664
- maxFeePerGas: bigint;
4665
- maxPriorityFeePerGas: bigint;
4666
- };
4667
- fast: {
4668
- maxFeePerGas: bigint;
4669
- maxPriorityFeePerGas: bigint;
4670
- };
4671
- slow: {
4672
- maxFeePerGas: bigint;
4673
- maxPriorityFeePerGas: bigint;
4674
- };
4675
- }>;
4676
- }, "strip", z.ZodTypeAny, {
4677
- method: "pimlico_getUserOperationGasPrice";
4678
- result: {
4679
- standard: {
4680
- maxFeePerGas: bigint;
4681
- maxPriorityFeePerGas: bigint;
4682
- };
4683
- fast: {
4684
- maxFeePerGas: bigint;
4685
- maxPriorityFeePerGas: bigint;
4686
- };
4687
- slow: {
4688
- maxFeePerGas: bigint;
4689
- maxPriorityFeePerGas: bigint;
4690
- };
4691
- };
4692
- }, {
4693
- method: "pimlico_getUserOperationGasPrice";
4694
- result: {
4695
- standard: {
4696
- maxFeePerGas: bigint;
4697
- maxPriorityFeePerGas: bigint;
4698
- };
4699
- fast: {
4700
- maxFeePerGas: bigint;
4701
- maxPriorityFeePerGas: bigint;
4702
- };
4703
- slow: {
4704
- maxFeePerGas: bigint;
4705
- maxPriorityFeePerGas: bigint;
4706
- };
4707
- };
4708
- }>, z.ZodObject<{
4709
- method: z.ZodLiteral<"pimlico_sendCompressedUserOperation">;
4710
- result: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4711
- }, "strip", z.ZodTypeAny, {
4712
- method: "pimlico_sendCompressedUserOperation";
4713
- result: `0x${string}`;
4714
- }, {
4715
- method: "pimlico_sendCompressedUserOperation";
4716
- result: string;
4717
- }>]>;
4718
- export type BundlingMode = z.infer<typeof bundlerSetBundlingModeRequestSchema>["params"][0];
4719
- export type Reputations = z.infer<typeof bundlerSetReputationsRequestSchema>["params"][0];
4720
- export type ChainIdResponse = z.infer<typeof chainIdResponseSchema>;
4721
- export type SupportedEntryPointsResponse = z.infer<typeof supportedEntryPointsResponseSchema>;
4722
- export type EstimateUserOperationGasResponse = z.infer<typeof estimateUserOperationGasResponseSchema>;
4723
- export type SendUserOperationResponse = z.infer<typeof sendUserOperationResponseSchema>;
4724
- export type GetUserOperationByHashResponse = z.infer<typeof getUserOperationByHashResponseSchema>;
4725
- export type GetUserOperationReceiptResponse = z.infer<typeof getUserOperationReceiptResponseSchema>;
4726
- export type BundlerClearStateResponse = z.infer<typeof bundlerClearStateResponseSchema>;
4727
- export type BundlerClearMempoolResponse = z.infer<typeof bundlerClearMempoolResponseSchema>;
4728
- export type BundlerDumpMempoolResponse = z.infer<typeof bundlerDumpMempoolResponseSchema>;
4729
- export type BundlerGetStakeStatusResponse = z.infer<typeof bundlerGetStakeStatusResponseSchema>;
4730
- export type BundlerSendBundleNowResponse = z.infer<typeof bundlerSendBundleNowResponseSchema>;
4731
- export type BundlerSetBundlingModeResponse = z.infer<typeof bundlerSetBundlingModeResponseSchema>;
4732
- export type BundlerSetReputationsResponse = z.infer<typeof bundlerSetReputationsResponseSchema>;
4733
- export type BundlerDumpReputationsResponse = z.infer<typeof bundlerDumpReputationsResponseSchema>;
4734
- export type PimlicoGetUserOperationStatusResponse = z.infer<typeof pimlicoGetUserOperationStatusResponseSchema>;
4735
- export type PimlicoGetUserOperationGasPriceResponse = z.infer<typeof pimlicoGetUserOperationGasPriceResponseSchema>;
4736
- export type ChainIdResponseResult = z.infer<typeof chainIdResponseSchema>["result"];
4737
- export type SupportedEntryPointsResponseResult = z.infer<typeof supportedEntryPointsResponseSchema>["result"];
4738
- export type EstimateUserOperationGasResponseResult = z.infer<typeof estimateUserOperationGasResponseSchema>["result"];
4739
- export type SendUserOperationResponseResult = z.infer<typeof sendUserOperationResponseSchema>["result"];
4740
- export type GetUserOperationByHashResponseResult = z.infer<typeof getUserOperationByHashResponseSchema>["result"];
4741
- export type GetUserOperationReceiptResponseResult = z.infer<typeof getUserOperationReceiptResponseSchema>["result"];
4742
- export type BundlerClearStateResponseResult = z.infer<typeof bundlerClearStateResponseSchema>["result"];
4743
- export type BundlerClearMempoolResponseResult = z.infer<typeof bundlerClearMempoolResponseSchema>["result"];
4744
- export type BundlerDumpMempoolResponseResult = z.infer<typeof bundlerDumpMempoolResponseSchema>["result"];
4745
- export type BundlerGetStakeStatusResponseResult = z.infer<typeof bundlerGetStakeStatusResponseSchema>["result"];
4746
- export type BundlerSendBundleNowResponseResult = z.infer<typeof bundlerSendBundleNowResponseSchema>["result"];
4747
- export type BundlerSetBundlingModeResponseResult = z.infer<typeof bundlerSetBundlingModeResponseSchema>["result"];
4748
- export type BundlerSetReputationsResponseResult = z.infer<typeof bundlerSetReputationsResponseSchema>["result"];
4749
- export type BundlerDumpReputationsResponseResult = z.infer<typeof bundlerDumpReputationsResponseSchema>["result"];
4750
- export type PimlicoGetUserOperationStatusResponseResult = z.infer<typeof pimlicoGetUserOperationStatusResponseSchema>["result"];
4751
- export type PimlicoGetUserOperationGasPriceResponseResult = z.infer<typeof pimlicoGetUserOperationGasPriceResponseSchema>["result"];
4752
- export type BundlerResponse = z.infer<typeof bundlerResponseSchema>;
4753
- export type ChainIdRequest = z.infer<typeof chainIdRequestSchema>;
4754
- export type SupportedEntryPointsRequest = z.infer<typeof supportedEntryPointsRequestSchema>;
4755
- export type EstimateUserOperationGasRequest = z.infer<typeof estimateUserOperationGasRequestSchema>;
4756
- export type SendUserOperationRequest = z.infer<typeof sendUserOperationRequestSchema>;
4757
- export type GetUserOperationByHashRequest = z.infer<typeof getUserOperationByHashRequestSchema>;
4758
- export type GetUserOperationReceiptRequest = z.infer<typeof getUserOperationReceiptRequestSchema>;
4759
- export type BundlerClearStateRequest = z.infer<typeof bundlerClearStateRequestSchema>;
4760
- export type BundlerClearMempoolRequest = z.infer<typeof bundlerClearMempoolRequestSchema>;
4761
- export type BundlerDumpMempoolRequest = z.infer<typeof bundlerDumpMempoolRequestSchema>;
4762
- export type BundlerSendBundleNowRequest = z.infer<typeof bundlerSendBundleNowRequestSchema>;
4763
- export type BundlerSetBundlingModeRequest = z.infer<typeof bundlerSetBundlingModeRequestSchema>;
4764
- export type BundlerSetReputationsRequest = z.infer<typeof bundlerSetReputationsRequestSchema>;
4765
- export type BundlerDumpReputationsRequest = z.infer<typeof bundlerDumpReputationsRequestSchema>;
4766
- export type BundlerGetStakeStatusRequest = z.infer<typeof pimlicoGetStakeStatusRequestSchema>;
4767
- export type PimlicoGetUserOperationStatusRequest = z.infer<typeof pimlicoGetUserOperationStatusRequestSchema>;
4768
- export type PimlicoGetUserOperationGasPriceRequest = z.infer<typeof pimlicoGetUserOperationGasPriceRequestSchema>;
4769
- export type ChainIdRequestParams = z.infer<typeof chainIdRequestSchema>["params"];
4770
- export type SupportedEntryPointsRequestParams = z.infer<typeof supportedEntryPointsRequestSchema>["params"];
4771
- export type EstimateUserOperationGasRequestParams = z.infer<typeof estimateUserOperationGasRequestSchema>["params"];
4772
- export type SendUserOperationRequestParams = z.infer<typeof sendUserOperationRequestSchema>["params"];
4773
- export type GetUserOperationByHashRequestParams = z.infer<typeof getUserOperationByHashRequestSchema>["params"];
4774
- export type GetUserOperationReceiptRequestParams = z.infer<typeof getUserOperationReceiptRequestSchema>["params"];
4775
- export type BundlerClearStateRequestParams = z.infer<typeof bundlerClearStateRequestSchema>["params"];
4776
- export type BundlerClearMempoolRequestParams = z.infer<typeof bundlerClearMempoolRequestSchema>["params"];
4777
- export type BundlerDumpMempoolRequestParams = z.infer<typeof bundlerDumpMempoolRequestSchema>["params"];
4778
- export type BundlerSendBundleNowRequestParams = z.infer<typeof bundlerSendBundleNowRequestSchema>["params"];
4779
- export type BundlerSetBundlingModeRequestParams = z.infer<typeof bundlerSetBundlingModeRequestSchema>["params"];
4780
- export type BundlerSetReputationsRequestParams = z.infer<typeof bundlerSetReputationsRequestSchema>["params"];
4781
- export type BundlerDumpReputationsRequestParams = z.infer<typeof bundlerDumpReputationsRequestSchema>["params"];
4782
- export type BundlerGetStakeStatusRequestParams = z.infer<typeof pimlicoGetStakeStatusRequestSchema>["params"];
4783
- export type PimlicoGetUserOperationStatusRequestParams = z.infer<typeof pimlicoGetUserOperationStatusRequestSchema>["params"];
4784
- export type PimlicoGetUserOperationGasPriceRequestParams = z.infer<typeof pimlicoGetUserOperationGasPriceRequestSchema>["params"];
4785
- export type BundlerRequest = z.infer<typeof bundlerRequestSchema>;
4786
- export type JSONRPCRequest = z.infer<typeof jsonRpcSchema>;
4787
- export type JSONRPCResponse = z.infer<typeof jsonRpcResultSchema>;
4788
- export { bundlerClearStateRequestSchema, bundlerClearMempoolRequestSchema, bundlerDumpMempoolRequestSchema, bundlerSendBundleNowRequestSchema, bundlerSetBundlingModeRequestSchema, bundlerSetReputationsRequestSchema, bundlerDumpReputationsRequestSchema, pimlicoGetStakeStatusRequestSchema, pimlicoGetUserOperationStatusRequestSchema, pimlicoGetUserOperationGasPriceRequestSchema, bundlerRequestSchema, jsonRpcSchema, jsonRpcResultSchema, userOperationSchema };
4789
- export { bundlerClearStateResponseSchema, bundlerClearMempoolResponseSchema, bundlerDumpMempoolResponseSchema, bundlerGetStakeStatusResponseSchema, bundlerSendBundleNowResponseSchema, bundlerSetBundlingModeResponseSchema, bundlerSetReputationsResponseSchema, bundlerDumpReputationsResponseSchema, pimlicoGetUserOperationStatusResponseSchema, pimlicoGetUserOperationGasPriceResponseSchema, bundlerResponseSchema };
4790
- export { addressSchema, hexData32Schema, hexDataSchema, logSchema, receiptSchema };
4791
- //# sourceMappingURL=schemas.d.ts.map