tapimo 0.0.0 → 0.0.2

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 (422) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +119 -0
  3. package/dist/ApiKey.d.ts +65 -0
  4. package/dist/ApiKey.d.ts.map +1 -0
  5. package/dist/ApiKey.js +105 -0
  6. package/dist/ApiKey.js.map +1 -0
  7. package/dist/ApiKeySource.d.ts +166 -0
  8. package/dist/ApiKeySource.d.ts.map +1 -0
  9. package/dist/ApiKeySource.js +234 -0
  10. package/dist/ApiKeySource.js.map +1 -0
  11. package/dist/App.d.ts +19317 -0
  12. package/dist/App.d.ts.map +1 -0
  13. package/dist/App.js +612 -0
  14. package/dist/App.js.map +1 -0
  15. package/dist/Assets.d.ts +44 -0
  16. package/dist/Assets.d.ts.map +1 -0
  17. package/dist/Assets.js +23 -0
  18. package/dist/Assets.js.map +1 -0
  19. package/dist/Auth.d.ts +2 -0
  20. package/dist/Auth.d.ts.map +1 -0
  21. package/dist/Auth.js +2 -0
  22. package/dist/Auth.js.map +1 -0
  23. package/dist/Cli.d.ts +21 -0
  24. package/dist/Cli.d.ts.map +1 -0
  25. package/dist/Cli.js +13 -0
  26. package/dist/Cli.js.map +1 -0
  27. package/dist/Client.d.ts +20 -0
  28. package/dist/Client.d.ts.map +1 -0
  29. package/dist/Client.js +24 -0
  30. package/dist/Client.js.map +1 -0
  31. package/dist/Metrics.d.ts +70 -0
  32. package/dist/Metrics.d.ts.map +1 -0
  33. package/dist/Metrics.js +91 -0
  34. package/dist/Metrics.js.map +1 -0
  35. package/dist/Scope.d.ts +35 -0
  36. package/dist/Scope.d.ts.map +1 -0
  37. package/dist/Scope.js +38 -0
  38. package/dist/Scope.js.map +1 -0
  39. package/dist/Webhooks.d.ts +79 -0
  40. package/dist/Webhooks.d.ts.map +1 -0
  41. package/dist/Webhooks.js +107 -0
  42. package/dist/Webhooks.js.map +1 -0
  43. package/dist/admin/Access.d.ts +41 -0
  44. package/dist/admin/Access.d.ts.map +1 -0
  45. package/dist/admin/Access.js +75 -0
  46. package/dist/admin/Access.js.map +1 -0
  47. package/dist/admin/App.d.ts +1221 -0
  48. package/dist/admin/App.d.ts.map +1 -0
  49. package/dist/admin/App.js +113 -0
  50. package/dist/admin/App.js.map +1 -0
  51. package/dist/admin/apps/api-keys.d.ts +209 -0
  52. package/dist/admin/apps/api-keys.d.ts.map +1 -0
  53. package/dist/admin/apps/api-keys.js +129 -0
  54. package/dist/admin/apps/api-keys.js.map +1 -0
  55. package/dist/admin/apps/scopes.d.ts +46 -0
  56. package/dist/admin/apps/scopes.d.ts.map +1 -0
  57. package/dist/admin/apps/scopes.js +41 -0
  58. package/dist/admin/apps/scopes.js.map +1 -0
  59. package/dist/admin/apps/verified-tokens.d.ts +1206 -0
  60. package/dist/admin/apps/verified-tokens.d.ts.map +1 -0
  61. package/dist/admin/apps/verified-tokens.js +485 -0
  62. package/dist/admin/apps/verified-tokens.js.map +1 -0
  63. package/dist/admin/index.d.ts +3 -0
  64. package/dist/admin/index.d.ts.map +1 -0
  65. package/dist/admin/index.js +3 -0
  66. package/dist/admin/index.js.map +1 -0
  67. package/dist/admin/ui.generated.d.ts +11 -0
  68. package/dist/admin/ui.generated.d.ts.map +1 -0
  69. package/dist/admin/ui.generated.js +43 -0
  70. package/dist/admin/ui.generated.js.map +1 -0
  71. package/dist/apps/activities.d.ts +18725 -0
  72. package/dist/apps/activities.d.ts.map +1 -0
  73. package/dist/apps/activities.js +3138 -0
  74. package/dist/apps/activities.js.map +1 -0
  75. package/dist/apps/addresses.d.ts +3662 -0
  76. package/dist/apps/addresses.d.ts.map +1 -0
  77. package/dist/apps/addresses.js +22 -0
  78. package/dist/apps/addresses.js.map +1 -0
  79. package/dist/apps/balances.d.ts +342 -0
  80. package/dist/apps/balances.d.ts.map +1 -0
  81. package/dist/apps/balances.js +393 -0
  82. package/dist/apps/balances.js.map +1 -0
  83. package/dist/apps/blocks.d.ts +931 -0
  84. package/dist/apps/blocks.d.ts.map +1 -0
  85. package/dist/apps/blocks.js +689 -0
  86. package/dist/apps/blocks.js.map +1 -0
  87. package/dist/apps/coingecko.d.ts +1053 -0
  88. package/dist/apps/coingecko.d.ts.map +1 -0
  89. package/dist/apps/coingecko.js +1015 -0
  90. package/dist/apps/coingecko.js.map +1 -0
  91. package/dist/apps/exchanges.d.ts +3000 -0
  92. package/dist/apps/exchanges.d.ts.map +1 -0
  93. package/dist/apps/exchanges.js +3570 -0
  94. package/dist/apps/exchanges.js.map +1 -0
  95. package/dist/apps/fee-amm.d.ts +640 -0
  96. package/dist/apps/fee-amm.d.ts.map +1 -0
  97. package/dist/apps/fee-amm.js +815 -0
  98. package/dist/apps/fee-amm.js.map +1 -0
  99. package/dist/apps/indexer.d.ts +116 -0
  100. package/dist/apps/indexer.d.ts.map +1 -0
  101. package/dist/apps/indexer.js +270 -0
  102. package/dist/apps/indexer.js.map +1 -0
  103. package/dist/apps/receipts.d.ts +1438 -0
  104. package/dist/apps/receipts.d.ts.map +1 -0
  105. package/dist/apps/receipts.js +874 -0
  106. package/dist/apps/receipts.js.map +1 -0
  107. package/dist/apps/rpc.d.ts +173 -0
  108. package/dist/apps/rpc.d.ts.map +1 -0
  109. package/dist/apps/rpc.js +191 -0
  110. package/dist/apps/rpc.js.map +1 -0
  111. package/dist/apps/tokenlist.d.ts +192 -0
  112. package/dist/apps/tokenlist.d.ts.map +1 -0
  113. package/dist/apps/tokenlist.js +153 -0
  114. package/dist/apps/tokenlist.js.map +1 -0
  115. package/dist/apps/tokens.d.ts +2246 -0
  116. package/dist/apps/tokens.d.ts.map +1 -0
  117. package/dist/apps/tokens.js +1789 -0
  118. package/dist/apps/tokens.js.map +1 -0
  119. package/dist/apps/transactions.d.ts +2327 -0
  120. package/dist/apps/transactions.d.ts.map +1 -0
  121. package/dist/apps/transactions.js +975 -0
  122. package/dist/apps/transactions.js.map +1 -0
  123. package/dist/apps/transfers.d.ts +589 -0
  124. package/dist/apps/transfers.d.ts.map +1 -0
  125. package/dist/apps/transfers.js +769 -0
  126. package/dist/apps/transfers.js.map +1 -0
  127. package/dist/apps/verified-tokens.d.ts +544 -0
  128. package/dist/apps/verified-tokens.d.ts.map +1 -0
  129. package/dist/apps/verified-tokens.js +234 -0
  130. package/dist/apps/verified-tokens.js.map +1 -0
  131. package/dist/apps/webhooks.d.ts +7684 -0
  132. package/dist/apps/webhooks.d.ts.map +1 -0
  133. package/dist/apps/webhooks.js +2112 -0
  134. package/dist/apps/webhooks.js.map +1 -0
  135. package/dist/cloudflare.d.ts +32 -0
  136. package/dist/cloudflare.d.ts.map +1 -0
  137. package/dist/cloudflare.js +45 -0
  138. package/dist/cloudflare.js.map +1 -0
  139. package/dist/index.d.ts +16 -0
  140. package/dist/index.d.ts.map +1 -0
  141. package/dist/index.js +16 -0
  142. package/dist/index.js.map +1 -0
  143. package/dist/internal/Auth.d.ts +298 -0
  144. package/dist/internal/Auth.d.ts.map +1 -0
  145. package/dist/internal/Auth.js +618 -0
  146. package/dist/internal/Auth.js.map +1 -0
  147. package/dist/internal/Cache.d.ts +74 -0
  148. package/dist/internal/Cache.d.ts.map +1 -0
  149. package/dist/internal/Cache.js +215 -0
  150. package/dist/internal/Cache.js.map +1 -0
  151. package/dist/internal/Cursor.d.ts +79 -0
  152. package/dist/internal/Cursor.d.ts.map +1 -0
  153. package/dist/internal/Cursor.js +116 -0
  154. package/dist/internal/Cursor.js.map +1 -0
  155. package/dist/internal/EdgeCache.d.ts +59 -0
  156. package/dist/internal/EdgeCache.d.ts.map +1 -0
  157. package/dist/internal/EdgeCache.js +174 -0
  158. package/dist/internal/EdgeCache.js.map +1 -0
  159. package/dist/internal/Log.d.ts +104 -0
  160. package/dist/internal/Log.d.ts.map +1 -0
  161. package/dist/internal/Log.js +118 -0
  162. package/dist/internal/Log.js.map +1 -0
  163. package/dist/internal/MetricSink.d.ts +65 -0
  164. package/dist/internal/MetricSink.d.ts.map +1 -0
  165. package/dist/internal/MetricSink.js +146 -0
  166. package/dist/internal/MetricSink.js.map +1 -0
  167. package/dist/internal/Mpp.d.ts +71 -0
  168. package/dist/internal/Mpp.d.ts.map +1 -0
  169. package/dist/internal/Mpp.js +105 -0
  170. package/dist/internal/Mpp.js.map +1 -0
  171. package/dist/internal/OpenApi.d.ts +313 -0
  172. package/dist/internal/OpenApi.d.ts.map +1 -0
  173. package/dist/internal/OpenApi.fonts.d.ts +2 -0
  174. package/dist/internal/OpenApi.fonts.d.ts.map +1 -0
  175. package/dist/internal/OpenApi.fonts.js +39 -0
  176. package/dist/internal/OpenApi.fonts.js.map +1 -0
  177. package/dist/internal/OpenApi.js +335 -0
  178. package/dist/internal/OpenApi.js.map +1 -0
  179. package/dist/internal/OpenApi.logo.d.ts +6 -0
  180. package/dist/internal/OpenApi.logo.d.ts.map +1 -0
  181. package/dist/internal/OpenApi.logo.js +19 -0
  182. package/dist/internal/OpenApi.logo.js.map +1 -0
  183. package/dist/internal/Path.d.ts +5 -0
  184. package/dist/internal/Path.d.ts.map +1 -0
  185. package/dist/internal/Path.js +16 -0
  186. package/dist/internal/Path.js.map +1 -0
  187. package/dist/internal/RateLimit.d.ts +60 -0
  188. package/dist/internal/RateLimit.d.ts.map +1 -0
  189. package/dist/internal/RateLimit.js +48 -0
  190. package/dist/internal/RateLimit.js.map +1 -0
  191. package/dist/internal/Response.d.ts +132 -0
  192. package/dist/internal/Response.d.ts.map +1 -0
  193. package/dist/internal/Response.js +72 -0
  194. package/dist/internal/Response.js.map +1 -0
  195. package/dist/internal/Schema.d.ts +257 -0
  196. package/dist/internal/Schema.d.ts.map +1 -0
  197. package/dist/internal/Schema.js +360 -0
  198. package/dist/internal/Schema.js.map +1 -0
  199. package/dist/internal/Store.d.ts +204 -0
  200. package/dist/internal/Store.d.ts.map +1 -0
  201. package/dist/internal/Store.js +291 -0
  202. package/dist/internal/Store.js.map +1 -0
  203. package/dist/internal/Tidx.d.ts +120 -0
  204. package/dist/internal/Tidx.d.ts.map +1 -0
  205. package/dist/internal/Tidx.js +156 -0
  206. package/dist/internal/Tidx.js.map +1 -0
  207. package/dist/internal/Timing.d.ts +22 -0
  208. package/dist/internal/Timing.d.ts.map +1 -0
  209. package/dist/internal/Timing.js +32 -0
  210. package/dist/internal/Timing.js.map +1 -0
  211. package/dist/internal/Ttl.d.ts +25 -0
  212. package/dist/internal/Ttl.d.ts.map +1 -0
  213. package/dist/internal/Ttl.js +49 -0
  214. package/dist/internal/Ttl.js.map +1 -0
  215. package/dist/internal/Value.d.ts +47 -0
  216. package/dist/internal/Value.d.ts.map +1 -0
  217. package/dist/internal/Value.js +122 -0
  218. package/dist/internal/Value.js.map +1 -0
  219. package/dist/internal/VerifiedTokens.d.ts +228 -0
  220. package/dist/internal/VerifiedTokens.d.ts.map +1 -0
  221. package/dist/internal/VerifiedTokens.js +450 -0
  222. package/dist/internal/VerifiedTokens.js.map +1 -0
  223. package/dist/internal/Viem.d.ts +2082 -0
  224. package/dist/internal/Viem.d.ts.map +1 -0
  225. package/dist/internal/Viem.js +63 -0
  226. package/dist/internal/Viem.js.map +1 -0
  227. package/dist/internal/WebhookDestination.d.ts +198 -0
  228. package/dist/internal/WebhookDestination.d.ts.map +1 -0
  229. package/dist/internal/WebhookDestination.js +170 -0
  230. package/dist/internal/WebhookDestination.js.map +1 -0
  231. package/dist/internal/Webhooks.d.ts +433 -0
  232. package/dist/internal/Webhooks.d.ts.map +1 -0
  233. package/dist/internal/Webhooks.js +489 -0
  234. package/dist/internal/Webhooks.js.map +1 -0
  235. package/dist/internal/webhookDestinations/betterStack.d.ts +26 -0
  236. package/dist/internal/webhookDestinations/betterStack.d.ts.map +1 -0
  237. package/dist/internal/webhookDestinations/betterStack.js +76 -0
  238. package/dist/internal/webhookDestinations/betterStack.js.map +1 -0
  239. package/dist/internal/webhookDestinations/slack.d.ts +59 -0
  240. package/dist/internal/webhookDestinations/slack.d.ts.map +1 -0
  241. package/dist/internal/webhookDestinations/slack.js +422 -0
  242. package/dist/internal/webhookDestinations/slack.js.map +1 -0
  243. package/dist/internal/webhookDestinations/url.d.ts +17 -0
  244. package/dist/internal/webhookDestinations/url.d.ts.map +1 -0
  245. package/dist/internal/webhookDestinations/url.js +130 -0
  246. package/dist/internal/webhookDestinations/url.js.map +1 -0
  247. package/dist/openrpc.json +5302 -0
  248. package/package.json +46 -4
  249. package/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +1 -0
  250. package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
  251. package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
  252. package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
  253. package/seeds/31318/verified-tokens.json +30 -0
  254. package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
  255. package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +1 -0
  256. package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +1 -0
  257. package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +4 -0
  258. package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +30 -0
  259. package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +1 -0
  260. package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +1 -0
  261. package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +1 -0
  262. package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +11 -0
  263. package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +1 -0
  264. package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +1 -0
  265. package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
  266. package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +1 -0
  267. package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
  268. package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +1 -0
  269. package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +5 -0
  270. package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +1 -0
  271. package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +1 -0
  272. package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +1 -0
  273. package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +1 -0
  274. package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +1 -0
  275. package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +1 -0
  276. package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +1 -0
  277. package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +1 -0
  278. package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
  279. package/seeds/4217/verified-tokens.json +177 -0
  280. package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
  281. package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
  282. package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
  283. package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
  284. package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +1 -0
  285. package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +1 -0
  286. package/seeds/42431/verified-tokens.json +44 -0
  287. package/seeds/openrpc/README.md +27 -0
  288. package/seeds/openrpc/execution-apis.json +8989 -0
  289. package/src/ApiKey.test.ts +91 -0
  290. package/src/ApiKey.ts +122 -0
  291. package/src/ApiKeySource.test-d.ts +11 -0
  292. package/src/ApiKeySource.test.ts +295 -0
  293. package/src/ApiKeySource.ts +303 -0
  294. package/src/App.test-d.ts +38 -0
  295. package/src/App.test.ts +65927 -0
  296. package/src/App.ts +855 -0
  297. package/src/Assets.ts +58 -0
  298. package/src/Auth.ts +1 -0
  299. package/src/Cli.test.ts +81 -0
  300. package/src/Cli.ts +38 -0
  301. package/src/Client.test-d.ts +1438 -0
  302. package/src/Client.test.ts +134 -0
  303. package/src/Client.ts +45 -0
  304. package/src/Metrics.ts +154 -0
  305. package/src/Scope.ts +50 -0
  306. package/src/Webhooks.test.ts +49 -0
  307. package/src/Webhooks.ts +172 -0
  308. package/src/admin/Access.test.ts +130 -0
  309. package/src/admin/Access.ts +87 -0
  310. package/src/admin/App.test.ts +225 -0
  311. package/src/admin/App.ts +216 -0
  312. package/src/admin/apps/api-keys.test.ts +156 -0
  313. package/src/admin/apps/api-keys.ts +157 -0
  314. package/src/admin/apps/scopes.test.ts +52 -0
  315. package/src/admin/apps/scopes.ts +47 -0
  316. package/src/admin/apps/verified-tokens.test.ts +415 -0
  317. package/src/admin/apps/verified-tokens.ts +566 -0
  318. package/src/admin/index.ts +2 -0
  319. package/src/admin/ui/plugin.ts +135 -0
  320. package/src/admin/ui/src/components/Checkbox.tsx +22 -0
  321. package/src/admin/ui/src/components/Dialog.tsx +32 -0
  322. package/src/admin/ui/src/components/MobileProfile.tsx +31 -0
  323. package/src/admin/ui/src/components/Page.tsx +53 -0
  324. package/src/admin/ui/src/components/TempoLogo.tsx +37 -0
  325. package/src/admin/ui/src/fonts/Pilat-Demi.woff2 +0 -0
  326. package/src/admin/ui/src/fonts/Pilat-Regular.woff2 +0 -0
  327. package/src/admin/ui/src/lib/api-keys.ts +63 -0
  328. package/src/admin/ui/src/lib/client.ts +15 -0
  329. package/src/admin/ui/src/lib/config.ts +57 -0
  330. package/src/admin/ui/src/lib/query-client.ts +26 -0
  331. package/src/admin/ui/src/lib/scopes.ts +25 -0
  332. package/src/admin/ui/src/lib/verified-tokens.ts +89 -0
  333. package/src/admin/ui/src/lib/wagmi.ts +18 -0
  334. package/src/admin/ui/src/routeTree.gen.ts +104 -0
  335. package/src/admin/ui/src/router.tsx +25 -0
  336. package/src/admin/ui/src/routes/__root.tsx +219 -0
  337. package/src/admin/ui/src/routes/api-keys.tsx +329 -0
  338. package/src/admin/ui/src/routes/index.tsx +7 -0
  339. package/src/admin/ui/src/routes/verified-tokens.tsx +331 -0
  340. package/src/admin/ui/src/styles.css +20 -0
  341. package/src/admin/ui/tsconfig.json +16 -0
  342. package/src/admin/ui/vite.config.ts +29 -0
  343. package/src/admin/ui.generated.ts +60 -0
  344. package/src/apps/activities.test.ts +1020 -0
  345. package/src/apps/activities.ts +3934 -0
  346. package/src/apps/addresses.ts +24 -0
  347. package/src/apps/balances.test.ts +274 -0
  348. package/src/apps/balances.ts +533 -0
  349. package/src/apps/blocks.test.ts +385 -0
  350. package/src/apps/blocks.ts +896 -0
  351. package/src/apps/coingecko.test.ts +218 -0
  352. package/src/apps/coingecko.ts +1383 -0
  353. package/src/apps/exchanges.test.ts +958 -0
  354. package/src/apps/exchanges.ts +4773 -0
  355. package/src/apps/fee-amm.test.ts +321 -0
  356. package/src/apps/fee-amm.ts +1121 -0
  357. package/src/apps/indexer.test.ts +153 -0
  358. package/src/apps/indexer.ts +330 -0
  359. package/src/apps/receipts.test.ts +285 -0
  360. package/src/apps/receipts.ts +1193 -0
  361. package/src/apps/rpc.test.ts +302 -0
  362. package/src/apps/rpc.ts +222 -0
  363. package/src/apps/tokenlist.test.ts +80 -0
  364. package/src/apps/tokenlist.ts +207 -0
  365. package/src/apps/tokens.test.ts +1062 -0
  366. package/src/apps/tokens.ts +2292 -0
  367. package/src/apps/transactions.test.ts +408 -0
  368. package/src/apps/transactions.ts +1363 -0
  369. package/src/apps/transfers.test.ts +371 -0
  370. package/src/apps/transfers.ts +1116 -0
  371. package/src/apps/verified-tokens.test.ts +114 -0
  372. package/src/apps/verified-tokens.ts +295 -0
  373. package/src/apps/webhooks.test.ts +1937 -0
  374. package/src/apps/webhooks.ts +2926 -0
  375. package/src/cloudflare.ts +55 -0
  376. package/src/index.ts +15 -0
  377. package/src/internal/Auth.test.ts +980 -0
  378. package/src/internal/Auth.ts +1012 -0
  379. package/src/internal/Cache.test.ts +240 -0
  380. package/src/internal/Cache.ts +262 -0
  381. package/src/internal/Cursor.test.ts +100 -0
  382. package/src/internal/Cursor.ts +149 -0
  383. package/src/internal/EdgeCache.test.ts +234 -0
  384. package/src/internal/EdgeCache.ts +224 -0
  385. package/src/internal/Errors.ts +14 -0
  386. package/src/internal/Log.test.ts +244 -0
  387. package/src/internal/Log.ts +216 -0
  388. package/src/internal/MetricSink.ts +220 -0
  389. package/src/internal/Mpp.test.ts +64 -0
  390. package/src/internal/Mpp.ts +141 -0
  391. package/src/internal/OpenApi.fonts.ts +38 -0
  392. package/src/internal/OpenApi.logo.ts +18 -0
  393. package/src/internal/OpenApi.ts +488 -0
  394. package/src/internal/Path.test.ts +14 -0
  395. package/src/internal/Path.ts +15 -0
  396. package/src/internal/RateLimit.test.ts +93 -0
  397. package/src/internal/RateLimit.ts +93 -0
  398. package/src/internal/Response.ts +131 -0
  399. package/src/internal/Schema.test.ts +34 -0
  400. package/src/internal/Schema.ts +523 -0
  401. package/src/internal/Store.test.ts +545 -0
  402. package/src/internal/Store.ts +526 -0
  403. package/src/internal/Tidx.local.test.ts +33 -0
  404. package/src/internal/Tidx.test.ts +294 -0
  405. package/src/internal/Tidx.ts +238 -0
  406. package/src/internal/Timing.test.ts +22 -0
  407. package/src/internal/Timing.ts +62 -0
  408. package/src/internal/Ttl.test.ts +18 -0
  409. package/src/internal/Ttl.ts +59 -0
  410. package/src/internal/Value.ts +114 -0
  411. package/src/internal/VerifiedTokens.test.ts +333 -0
  412. package/src/internal/VerifiedTokens.ts +645 -0
  413. package/src/internal/Viem.test.ts +115 -0
  414. package/src/internal/Viem.ts +165 -0
  415. package/src/internal/WebhookDestination.test.ts +648 -0
  416. package/src/internal/WebhookDestination.ts +331 -0
  417. package/src/internal/Webhooks.test.ts +668 -0
  418. package/src/internal/Webhooks.ts +940 -0
  419. package/src/internal/webhookDestinations/betterStack.ts +91 -0
  420. package/src/internal/webhookDestinations/slack.ts +496 -0
  421. package/src/internal/webhookDestinations/url.ts +128 -0
  422. package/src/openrpc.json +5302 -0
@@ -0,0 +1,2327 @@
1
+ import { type Context } from 'hono';
2
+ import { Hex } from 'ox';
3
+ import * as z from 'zod/mini';
4
+ import type * as App from '../App.js';
5
+ import * as Response from '../internal/Response.js';
6
+ import * as Schema from '../internal/Schema.js';
7
+ import type * as Tidx from '../internal/Tidx.js';
8
+ /** A decoded transaction type name. */
9
+ type TransactionType = 'legacy' | 'eip2930' | 'eip1559' | 'eip4844' | 'eip7702' | 'tempo' | 'unknown';
10
+ /** Decodes a transaction `type` (hex string or number) into its name. */
11
+ export declare function decodeTransactionType(value: unknown): TransactionType;
12
+ /** Zod schemas owned by the transaction handlers. */
13
+ export declare namespace schema {
14
+ /** One EIP-2930 access list entry (RPC format). */
15
+ const AccessListItem: z.ZodMiniObject<{
16
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
17
+ storageKeys: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
18
+ }, z.core.$loose>;
19
+ /** One call within a Tempo account-abstraction transaction (RPC format). */
20
+ const Call: z.ZodMiniObject<{
21
+ data: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
22
+ input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
23
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
24
+ value: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
25
+ }, z.core.$loose>;
26
+ /**
27
+ * A signature envelope (RPC format), passed through verbatim. Every field is
28
+ * optional because the envelope is a union (secp256k1 / p256 / webAuthn /
29
+ * keychain) whose shape — including whether a `type` discriminator is present —
30
+ * varies; the loose object preserves whatever the RPC returns.
31
+ */
32
+ const SignatureEnvelope: z.ZodMiniObject<{
33
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
34
+ }, z.core.$loose>;
35
+ /** The verbatim JSON-RPC payloads, surfaced under each resource's `rpc` field. */
36
+ namespace Rpc {
37
+ /** A JSON-RPC transaction, passed through verbatim. */
38
+ const Transaction: z.ZodMiniObject<{
39
+ aaAuthorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
40
+ accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
41
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
42
+ storageKeys: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
43
+ }, z.core.$loose>>>;
44
+ authorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
45
+ blobVersionedHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
46
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
47
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
48
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
49
+ calls: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniObject<{
50
+ data: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
51
+ input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
52
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
53
+ value: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
54
+ }, z.core.$loose>>, z.ZodMiniNull]>>;
55
+ chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
56
+ feePayerSignature: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
57
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
58
+ }, z.core.$loose>>>;
59
+ feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
60
+ from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
61
+ gas: z.ZodMiniTemplateLiteral<`0x${string}`>;
62
+ gasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
63
+ hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
64
+ input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
65
+ keyAuthorization: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{}, z.core.$loose>>>;
66
+ maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
67
+ maxFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
68
+ maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
69
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
70
+ nonceKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
71
+ r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
72
+ s: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
73
+ signature: z.ZodMiniOptional<z.ZodMiniObject<{
74
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
75
+ }, z.core.$loose>>;
76
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
77
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
78
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
79
+ v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
80
+ validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
81
+ validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
82
+ value: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
83
+ yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
84
+ }, z.core.$loose>;
85
+ }
86
+ /**
87
+ * Metadata for a transaction: the verbatim JSON-RPC transaction (always
88
+ * present) plus resources embedded on demand via `include`.
89
+ *
90
+ * The `feeToken` and `receipt` schemas are wrapped in `z.lazy` because
91
+ * `tokens.ts`/`receipts.ts` and `transactions.ts` mutually reference each
92
+ * other's schemas; deferring these lookups avoids the import-cycle crash
93
+ * during module init.
94
+ */
95
+ const TransactionMeta: z.ZodMiniObject<{
96
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
97
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
98
+ admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
99
+ currency: z.ZodMiniString<string>;
100
+ createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
101
+ decimals: z.ZodMiniNumber<number>;
102
+ holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
103
+ id: z.ZodMiniString<string>;
104
+ logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
105
+ name: z.ZodMiniString<string>;
106
+ quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
107
+ symbol: z.ZodMiniString<string>;
108
+ totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
109
+ transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
110
+ count: z.ZodMiniNumber<number>;
111
+ firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
112
+ lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
113
+ }, z.core.$strip>>;
114
+ verified: z.ZodMiniBoolean<boolean>;
115
+ }, z.core.$strip>>>;
116
+ receipt: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
117
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
118
+ blockNumber: z.ZodMiniNumber<number>;
119
+ contractAddress: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
120
+ cumulativeGasUsed: z.ZodMiniNumber<number>;
121
+ effectiveGasPrice: z.ZodMiniString<string>;
122
+ feeAmount: z.ZodMiniString<string>;
123
+ feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
124
+ feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
125
+ gasUsed: z.ZodMiniNumber<number>;
126
+ id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
127
+ logs: z.ZodMiniArray<z.ZodMiniObject<{
128
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
129
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
130
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
131
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
132
+ data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
133
+ logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
134
+ removed: z.ZodMiniBoolean<boolean>;
135
+ topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
136
+ transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
137
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
138
+ }, z.core.$loose>>;
139
+ meta: z.ZodMiniObject<{
140
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
141
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
142
+ admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
143
+ currency: z.ZodMiniString<string>;
144
+ createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
145
+ decimals: z.ZodMiniNumber<number>;
146
+ holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
147
+ id: z.ZodMiniString<string>;
148
+ logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
149
+ name: z.ZodMiniString<string>;
150
+ quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
151
+ symbol: z.ZodMiniString<string>;
152
+ totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
153
+ transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
154
+ count: z.ZodMiniNumber<number>;
155
+ firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
156
+ lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
157
+ }, z.core.$strip>>;
158
+ verified: z.ZodMiniBoolean<boolean>;
159
+ }, z.core.$strip>>>;
160
+ rpc: z.ZodMiniObject<{
161
+ blobGasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
162
+ blobGasUsed: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
163
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
164
+ blockNumber: z.ZodMiniTemplateLiteral<`0x${string}`>;
165
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
166
+ contractAddress: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
167
+ cumulativeGasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
168
+ effectiveGasPrice: z.ZodMiniTemplateLiteral<`0x${string}`>;
169
+ feePayer: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
170
+ feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
171
+ from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
172
+ gasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
173
+ logs: z.ZodMiniArray<z.ZodMiniObject<{
174
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
175
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
176
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
177
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
178
+ data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
179
+ logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
180
+ removed: z.ZodMiniBoolean<boolean>;
181
+ topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
182
+ transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
183
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
184
+ }, z.core.$loose>>;
185
+ logsBloom: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
186
+ root: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
187
+ status: z.ZodMiniTemplateLiteral<`0x${string}`>;
188
+ to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
189
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
190
+ transactionIndex: z.ZodMiniTemplateLiteral<`0x${string}`>;
191
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
192
+ }, z.core.$loose>;
193
+ }, z.core.$strip>;
194
+ recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
195
+ sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
196
+ status: z.ZodMiniEnum<{
197
+ reverted: "reverted";
198
+ success: "success";
199
+ }>;
200
+ timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
201
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
202
+ transactionIndex: z.ZodMiniNumber<number>;
203
+ type: z.ZodMiniLazy<z.ZodMiniEnum<{
204
+ eip1559: "eip1559";
205
+ eip2930: "eip2930";
206
+ eip4844: "eip4844";
207
+ eip7702: "eip7702";
208
+ legacy: "legacy";
209
+ tempo: "tempo";
210
+ unknown: "unknown";
211
+ }>>;
212
+ }, z.core.$strip>>>;
213
+ rpc: z.ZodMiniObject<{
214
+ aaAuthorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
215
+ accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
216
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
217
+ storageKeys: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
218
+ }, z.core.$loose>>>;
219
+ authorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
220
+ blobVersionedHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
221
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
222
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
223
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
224
+ calls: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniObject<{
225
+ data: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
226
+ input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
227
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
228
+ value: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
229
+ }, z.core.$loose>>, z.ZodMiniNull]>>;
230
+ chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
231
+ feePayerSignature: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
232
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
233
+ }, z.core.$loose>>>;
234
+ feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
235
+ from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
236
+ gas: z.ZodMiniTemplateLiteral<`0x${string}`>;
237
+ gasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
238
+ hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
239
+ input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
240
+ keyAuthorization: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{}, z.core.$loose>>>;
241
+ maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
242
+ maxFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
243
+ maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
244
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
245
+ nonceKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
246
+ r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
247
+ s: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
248
+ signature: z.ZodMiniOptional<z.ZodMiniObject<{
249
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
250
+ }, z.core.$loose>>;
251
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
252
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
253
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
254
+ v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
255
+ validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
256
+ validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
257
+ value: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
258
+ yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
259
+ }, z.core.$loose>;
260
+ }, z.core.$strip>;
261
+ /** Decoded transaction `type`; the raw `0x…` byte stays under `rpc.type`. */
262
+ const TransactionType: z.ZodMiniEnum<{
263
+ eip1559: "eip1559";
264
+ eip2930: "eip2930";
265
+ eip4844: "eip4844";
266
+ eip7702: "eip7702";
267
+ legacy: "legacy";
268
+ tempo: "tempo";
269
+ unknown: "unknown";
270
+ }>;
271
+ /** One humanized call within a Tempo account-abstraction transaction. */
272
+ const HumanCall: z.ZodMiniObject<{
273
+ data: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
274
+ to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
275
+ }, z.core.$strip>;
276
+ /**
277
+ * A humanized transaction: decoded `type`, decimal-string amounts, ISO 8601
278
+ * timestamps, and plain-number block fields. The verbatim JSON-RPC transaction
279
+ * is always available under `meta.rpc`.
280
+ */
281
+ const Transaction: z.ZodMiniObject<{
282
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
283
+ blockNumber: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
284
+ calls: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
285
+ data: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
286
+ to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
287
+ }, z.core.$strip>>>;
288
+ chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
289
+ feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
290
+ gas: z.ZodMiniNumber<number>;
291
+ gasPrice: z.ZodMiniOptional<z.ZodMiniString<string>>;
292
+ hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
293
+ id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
294
+ input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
295
+ maxFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
296
+ maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
297
+ meta: z.ZodMiniObject<{
298
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
299
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
300
+ admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
301
+ currency: z.ZodMiniString<string>;
302
+ createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
303
+ decimals: z.ZodMiniNumber<number>;
304
+ holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
305
+ id: z.ZodMiniString<string>;
306
+ logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
307
+ name: z.ZodMiniString<string>;
308
+ quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
309
+ symbol: z.ZodMiniString<string>;
310
+ totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
311
+ transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
312
+ count: z.ZodMiniNumber<number>;
313
+ firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
314
+ lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
315
+ }, z.core.$strip>>;
316
+ verified: z.ZodMiniBoolean<boolean>;
317
+ }, z.core.$strip>>>;
318
+ receipt: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
319
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
320
+ blockNumber: z.ZodMiniNumber<number>;
321
+ contractAddress: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
322
+ cumulativeGasUsed: z.ZodMiniNumber<number>;
323
+ effectiveGasPrice: z.ZodMiniString<string>;
324
+ feeAmount: z.ZodMiniString<string>;
325
+ feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
326
+ feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
327
+ gasUsed: z.ZodMiniNumber<number>;
328
+ id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
329
+ logs: z.ZodMiniArray<z.ZodMiniObject<{
330
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
331
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
332
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
333
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
334
+ data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
335
+ logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
336
+ removed: z.ZodMiniBoolean<boolean>;
337
+ topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
338
+ transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
339
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
340
+ }, z.core.$loose>>;
341
+ meta: z.ZodMiniObject<{
342
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
343
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
344
+ admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
345
+ currency: z.ZodMiniString<string>;
346
+ createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
347
+ decimals: z.ZodMiniNumber<number>;
348
+ holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
349
+ id: z.ZodMiniString<string>;
350
+ logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
351
+ name: z.ZodMiniString<string>;
352
+ quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
353
+ symbol: z.ZodMiniString<string>;
354
+ totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
355
+ transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
356
+ count: z.ZodMiniNumber<number>;
357
+ firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
358
+ lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
359
+ }, z.core.$strip>>;
360
+ verified: z.ZodMiniBoolean<boolean>;
361
+ }, z.core.$strip>>>;
362
+ rpc: z.ZodMiniObject<{
363
+ blobGasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
364
+ blobGasUsed: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
365
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
366
+ blockNumber: z.ZodMiniTemplateLiteral<`0x${string}`>;
367
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
368
+ contractAddress: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
369
+ cumulativeGasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
370
+ effectiveGasPrice: z.ZodMiniTemplateLiteral<`0x${string}`>;
371
+ feePayer: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
372
+ feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
373
+ from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
374
+ gasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
375
+ logs: z.ZodMiniArray<z.ZodMiniObject<{
376
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
377
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
378
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
379
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
380
+ data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
381
+ logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
382
+ removed: z.ZodMiniBoolean<boolean>;
383
+ topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
384
+ transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
385
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
386
+ }, z.core.$loose>>;
387
+ logsBloom: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
388
+ root: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
389
+ status: z.ZodMiniTemplateLiteral<`0x${string}`>;
390
+ to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
391
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
392
+ transactionIndex: z.ZodMiniTemplateLiteral<`0x${string}`>;
393
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
394
+ }, z.core.$loose>;
395
+ }, z.core.$strip>;
396
+ recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
397
+ sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
398
+ status: z.ZodMiniEnum<{
399
+ reverted: "reverted";
400
+ success: "success";
401
+ }>;
402
+ timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
403
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
404
+ transactionIndex: z.ZodMiniNumber<number>;
405
+ type: z.ZodMiniLazy<z.ZodMiniEnum<{
406
+ eip1559: "eip1559";
407
+ eip2930: "eip2930";
408
+ eip4844: "eip4844";
409
+ eip7702: "eip7702";
410
+ legacy: "legacy";
411
+ tempo: "tempo";
412
+ unknown: "unknown";
413
+ }>>;
414
+ }, z.core.$strip>>>;
415
+ rpc: z.ZodMiniObject<{
416
+ aaAuthorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
417
+ accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
418
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
419
+ storageKeys: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
420
+ }, z.core.$loose>>>;
421
+ authorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
422
+ blobVersionedHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
423
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
424
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
425
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
426
+ calls: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniObject<{
427
+ data: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
428
+ input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
429
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
430
+ value: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
431
+ }, z.core.$loose>>, z.ZodMiniNull]>>;
432
+ chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
433
+ feePayerSignature: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
434
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
435
+ }, z.core.$loose>>>;
436
+ feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
437
+ from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
438
+ gas: z.ZodMiniTemplateLiteral<`0x${string}`>;
439
+ gasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
440
+ hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
441
+ input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
442
+ keyAuthorization: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{}, z.core.$loose>>>;
443
+ maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
444
+ maxFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
445
+ maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
446
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
447
+ nonceKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
448
+ r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
449
+ s: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
450
+ signature: z.ZodMiniOptional<z.ZodMiniObject<{
451
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
452
+ }, z.core.$loose>>;
453
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
454
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
455
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
456
+ v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
457
+ validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
458
+ validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
459
+ value: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
460
+ yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
461
+ }, z.core.$loose>;
462
+ }, z.core.$strip>;
463
+ nonce: z.ZodMiniNumber<number>;
464
+ nonceKey: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
465
+ recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
466
+ sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
467
+ timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
468
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
469
+ type: z.ZodMiniEnum<{
470
+ eip1559: "eip1559";
471
+ eip2930: "eip2930";
472
+ eip4844: "eip4844";
473
+ eip7702: "eip7702";
474
+ legacy: "legacy";
475
+ tempo: "tempo";
476
+ unknown: "unknown";
477
+ }>;
478
+ validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
479
+ validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
480
+ value: z.ZodMiniString<string>;
481
+ }, z.core.$strip>;
482
+ /** Schemas for the getTransaction operation. */
483
+ namespace getTransaction {
484
+ /** Path parameters for transaction requests. */
485
+ const Params: z.ZodMiniObject<{
486
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
487
+ }, z.core.$strip>;
488
+ /** Optional related resource that callers opt into via `include`. */
489
+ const Include: z.ZodMiniEnum<{
490
+ feeToken: "feeToken";
491
+ receipt: "receipt";
492
+ }>;
493
+ /**
494
+ * Parses a comma-separated `include` query value into a list of optional
495
+ * resources to embed. Extra lookups (e.g. fee-token metadata, the receipt)
496
+ * only run when explicitly requested, keeping the base transaction response
497
+ * fast.
498
+ */
499
+ const includeQuery: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
500
+ feeToken: "feeToken";
501
+ receipt: "receipt";
502
+ }>>>;
503
+ /** Query parameters for transaction requests. */
504
+ const Query: z.ZodMiniObject<{
505
+ chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
506
+ mainnet: "mainnet";
507
+ testnet: "testnet";
508
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
509
+ include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
510
+ feeToken: "feeToken";
511
+ receipt: "receipt";
512
+ }>>>;
513
+ }, z.core.$strict>;
514
+ /** A humanized transaction, with the verbatim JSON-RPC payload under `rpc`. */
515
+ const Response: z.ZodMiniObject<{
516
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
517
+ blockNumber: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
518
+ calls: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
519
+ data: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
520
+ to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
521
+ }, z.core.$strip>>>;
522
+ chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
523
+ feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
524
+ gas: z.ZodMiniNumber<number>;
525
+ gasPrice: z.ZodMiniOptional<z.ZodMiniString<string>>;
526
+ hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
527
+ id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
528
+ input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
529
+ maxFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
530
+ maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
531
+ meta: z.ZodMiniObject<{
532
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
533
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
534
+ admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
535
+ currency: z.ZodMiniString<string>;
536
+ createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
537
+ decimals: z.ZodMiniNumber<number>;
538
+ holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
539
+ id: z.ZodMiniString<string>;
540
+ logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
541
+ name: z.ZodMiniString<string>;
542
+ quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
543
+ symbol: z.ZodMiniString<string>;
544
+ totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
545
+ transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
546
+ count: z.ZodMiniNumber<number>;
547
+ firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
548
+ lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
549
+ }, z.core.$strip>>;
550
+ verified: z.ZodMiniBoolean<boolean>;
551
+ }, z.core.$strip>>>;
552
+ receipt: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
553
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
554
+ blockNumber: z.ZodMiniNumber<number>;
555
+ contractAddress: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
556
+ cumulativeGasUsed: z.ZodMiniNumber<number>;
557
+ effectiveGasPrice: z.ZodMiniString<string>;
558
+ feeAmount: z.ZodMiniString<string>;
559
+ feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
560
+ feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
561
+ gasUsed: z.ZodMiniNumber<number>;
562
+ id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
563
+ logs: z.ZodMiniArray<z.ZodMiniObject<{
564
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
565
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
566
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
567
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
568
+ data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
569
+ logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
570
+ removed: z.ZodMiniBoolean<boolean>;
571
+ topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
572
+ transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
573
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
574
+ }, z.core.$loose>>;
575
+ meta: z.ZodMiniObject<{
576
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
577
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
578
+ admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
579
+ currency: z.ZodMiniString<string>;
580
+ createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
581
+ decimals: z.ZodMiniNumber<number>;
582
+ holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
583
+ id: z.ZodMiniString<string>;
584
+ logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
585
+ name: z.ZodMiniString<string>;
586
+ quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
587
+ symbol: z.ZodMiniString<string>;
588
+ totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
589
+ transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
590
+ count: z.ZodMiniNumber<number>;
591
+ firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
592
+ lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
593
+ }, z.core.$strip>>;
594
+ verified: z.ZodMiniBoolean<boolean>;
595
+ }, z.core.$strip>>>;
596
+ rpc: z.ZodMiniObject<{
597
+ blobGasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
598
+ blobGasUsed: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
599
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
600
+ blockNumber: z.ZodMiniTemplateLiteral<`0x${string}`>;
601
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
602
+ contractAddress: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
603
+ cumulativeGasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
604
+ effectiveGasPrice: z.ZodMiniTemplateLiteral<`0x${string}`>;
605
+ feePayer: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
606
+ feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
607
+ from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
608
+ gasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
609
+ logs: z.ZodMiniArray<z.ZodMiniObject<{
610
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
611
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
612
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
613
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
614
+ data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
615
+ logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
616
+ removed: z.ZodMiniBoolean<boolean>;
617
+ topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
618
+ transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
619
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
620
+ }, z.core.$loose>>;
621
+ logsBloom: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
622
+ root: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
623
+ status: z.ZodMiniTemplateLiteral<`0x${string}`>;
624
+ to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
625
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
626
+ transactionIndex: z.ZodMiniTemplateLiteral<`0x${string}`>;
627
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
628
+ }, z.core.$loose>;
629
+ }, z.core.$strip>;
630
+ recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
631
+ sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
632
+ status: z.ZodMiniEnum<{
633
+ reverted: "reverted";
634
+ success: "success";
635
+ }>;
636
+ timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
637
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
638
+ transactionIndex: z.ZodMiniNumber<number>;
639
+ type: z.ZodMiniLazy<z.ZodMiniEnum<{
640
+ eip1559: "eip1559";
641
+ eip2930: "eip2930";
642
+ eip4844: "eip4844";
643
+ eip7702: "eip7702";
644
+ legacy: "legacy";
645
+ tempo: "tempo";
646
+ unknown: "unknown";
647
+ }>>;
648
+ }, z.core.$strip>>>;
649
+ rpc: z.ZodMiniObject<{
650
+ aaAuthorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
651
+ accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
652
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
653
+ storageKeys: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
654
+ }, z.core.$loose>>>;
655
+ authorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
656
+ blobVersionedHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
657
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
658
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
659
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
660
+ calls: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniObject<{
661
+ data: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
662
+ input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
663
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
664
+ value: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
665
+ }, z.core.$loose>>, z.ZodMiniNull]>>;
666
+ chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
667
+ feePayerSignature: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
668
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
669
+ }, z.core.$loose>>>;
670
+ feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
671
+ from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
672
+ gas: z.ZodMiniTemplateLiteral<`0x${string}`>;
673
+ gasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
674
+ hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
675
+ input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
676
+ keyAuthorization: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{}, z.core.$loose>>>;
677
+ maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
678
+ maxFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
679
+ maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
680
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
681
+ nonceKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
682
+ r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
683
+ s: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
684
+ signature: z.ZodMiniOptional<z.ZodMiniObject<{
685
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
686
+ }, z.core.$loose>>;
687
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
688
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
689
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
690
+ v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
691
+ validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
692
+ validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
693
+ value: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
694
+ yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
695
+ }, z.core.$loose>;
696
+ }, z.core.$strip>;
697
+ nonce: z.ZodMiniNumber<number>;
698
+ nonceKey: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
699
+ recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
700
+ sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
701
+ timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
702
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
703
+ type: z.ZodMiniEnum<{
704
+ eip1559: "eip1559";
705
+ eip2930: "eip2930";
706
+ eip4844: "eip4844";
707
+ eip7702: "eip7702";
708
+ legacy: "legacy";
709
+ tempo: "tempo";
710
+ unknown: "unknown";
711
+ }>;
712
+ validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
713
+ validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
714
+ value: z.ZodMiniString<string>;
715
+ }, z.core.$strip>;
716
+ }
717
+ /** Schemas for the getTransactions (list) operation. */
718
+ namespace getTransactions {
719
+ /**
720
+ * Optional resources for the transaction list: the per-row `feeToken` /
721
+ * `receipt` embeds plus the response-wide capped `totalCount`. The detail
722
+ * route keeps its own {@link getTransaction.Include}.
723
+ */
724
+ const Include: z.ZodMiniEnum<{
725
+ feeToken: "feeToken";
726
+ receipt: "receipt";
727
+ totalCount: "totalCount";
728
+ }>;
729
+ /** Parses the comma-separated `include` value for the transaction list. */
730
+ const includeQuery: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
731
+ feeToken: "feeToken";
732
+ receipt: "receipt";
733
+ totalCount: "totalCount";
734
+ }>>>;
735
+ /** Query parameters for transaction list requests. */
736
+ const Query: z.ZodMiniObject<{
737
+ address: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
738
+ 'blockNumber.from': z.ZodMiniOptional<z.ZodMiniNumber<unknown>>;
739
+ 'blockNumber.to': z.ZodMiniOptional<z.ZodMiniNumber<unknown>>;
740
+ chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
741
+ mainnet: "mainnet";
742
+ testnet: "testnet";
743
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
744
+ cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
745
+ feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
746
+ feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
747
+ include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
748
+ feeToken: "feeToken";
749
+ receipt: "receipt";
750
+ totalCount: "totalCount";
751
+ }>>>;
752
+ limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
753
+ order: z.ZodMiniDefault<z.ZodMiniEnum<{
754
+ asc: "asc";
755
+ desc: "desc";
756
+ }>>;
757
+ page: z.ZodMiniOptional<z.ZodMiniNumber<unknown>>;
758
+ recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
759
+ sender: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
760
+ status: z.ZodMiniOptional<z.ZodMiniEnum<{
761
+ reverted: "reverted";
762
+ success: "success";
763
+ }>>;
764
+ 'timestamp.from': z.ZodMiniOptional<z.ZodMiniISODateTime>;
765
+ 'timestamp.to': z.ZodMiniOptional<z.ZodMiniISODateTime>;
766
+ }, z.core.$strict>;
767
+ /**
768
+ * Page of transactions. Each item reuses the humanized transaction returned
769
+ * by `GET /transactions/:transactionHash`, so the list and detail endpoints
770
+ * expose one identical shape. Indexed list rows omit fields the indexer does
771
+ * not store (signatures, access list), reflected in their `rpc` payload.
772
+ */
773
+ const Response: z.ZodMiniObject<{
774
+ data: z.ZodMiniArray<z.ZodMiniObject<{
775
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
776
+ blockNumber: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
777
+ calls: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
778
+ data: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
779
+ to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
780
+ }, z.core.$strip>>>;
781
+ chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
782
+ feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
783
+ gas: z.ZodMiniNumber<number>;
784
+ gasPrice: z.ZodMiniOptional<z.ZodMiniString<string>>;
785
+ hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
786
+ id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
787
+ input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
788
+ maxFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
789
+ maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
790
+ meta: z.ZodMiniObject<{
791
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
792
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
793
+ admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
794
+ currency: z.ZodMiniString<string>;
795
+ createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
796
+ decimals: z.ZodMiniNumber<number>;
797
+ holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
798
+ id: z.ZodMiniString<string>;
799
+ logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
800
+ name: z.ZodMiniString<string>;
801
+ quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
802
+ symbol: z.ZodMiniString<string>;
803
+ totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
804
+ transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
805
+ count: z.ZodMiniNumber<number>;
806
+ firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
807
+ lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
808
+ }, z.core.$strip>>;
809
+ verified: z.ZodMiniBoolean<boolean>;
810
+ }, z.core.$strip>>>;
811
+ receipt: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
812
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
813
+ blockNumber: z.ZodMiniNumber<number>;
814
+ contractAddress: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
815
+ cumulativeGasUsed: z.ZodMiniNumber<number>;
816
+ effectiveGasPrice: z.ZodMiniString<string>;
817
+ feeAmount: z.ZodMiniString<string>;
818
+ feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
819
+ feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
820
+ gasUsed: z.ZodMiniNumber<number>;
821
+ id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
822
+ logs: z.ZodMiniArray<z.ZodMiniObject<{
823
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
824
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
825
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
826
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
827
+ data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
828
+ logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
829
+ removed: z.ZodMiniBoolean<boolean>;
830
+ topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
831
+ transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
832
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
833
+ }, z.core.$loose>>;
834
+ meta: z.ZodMiniObject<{
835
+ feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
836
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
837
+ admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
838
+ currency: z.ZodMiniString<string>;
839
+ createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
840
+ decimals: z.ZodMiniNumber<number>;
841
+ holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
842
+ id: z.ZodMiniString<string>;
843
+ logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
844
+ name: z.ZodMiniString<string>;
845
+ quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
846
+ symbol: z.ZodMiniString<string>;
847
+ totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
848
+ transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
849
+ count: z.ZodMiniNumber<number>;
850
+ firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
851
+ lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
852
+ }, z.core.$strip>>;
853
+ verified: z.ZodMiniBoolean<boolean>;
854
+ }, z.core.$strip>>>;
855
+ rpc: z.ZodMiniObject<{
856
+ blobGasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
857
+ blobGasUsed: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
858
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
859
+ blockNumber: z.ZodMiniTemplateLiteral<`0x${string}`>;
860
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
861
+ contractAddress: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
862
+ cumulativeGasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
863
+ effectiveGasPrice: z.ZodMiniTemplateLiteral<`0x${string}`>;
864
+ feePayer: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
865
+ feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
866
+ from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
867
+ gasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
868
+ logs: z.ZodMiniArray<z.ZodMiniObject<{
869
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
870
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
871
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
872
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
873
+ data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
874
+ logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
875
+ removed: z.ZodMiniBoolean<boolean>;
876
+ topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
877
+ transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
878
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
879
+ }, z.core.$loose>>;
880
+ logsBloom: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
881
+ root: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
882
+ status: z.ZodMiniTemplateLiteral<`0x${string}`>;
883
+ to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
884
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
885
+ transactionIndex: z.ZodMiniTemplateLiteral<`0x${string}`>;
886
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
887
+ }, z.core.$loose>;
888
+ }, z.core.$strip>;
889
+ recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
890
+ sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
891
+ status: z.ZodMiniEnum<{
892
+ reverted: "reverted";
893
+ success: "success";
894
+ }>;
895
+ timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
896
+ transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
897
+ transactionIndex: z.ZodMiniNumber<number>;
898
+ type: z.ZodMiniLazy<z.ZodMiniEnum<{
899
+ eip1559: "eip1559";
900
+ eip2930: "eip2930";
901
+ eip4844: "eip4844";
902
+ eip7702: "eip7702";
903
+ legacy: "legacy";
904
+ tempo: "tempo";
905
+ unknown: "unknown";
906
+ }>>;
907
+ }, z.core.$strip>>>;
908
+ rpc: z.ZodMiniObject<{
909
+ aaAuthorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
910
+ accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
911
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
912
+ storageKeys: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
913
+ }, z.core.$loose>>>;
914
+ authorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
915
+ blobVersionedHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
916
+ blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
917
+ blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
918
+ blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
919
+ calls: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniObject<{
920
+ data: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
921
+ input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>>;
922
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
923
+ value: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
924
+ }, z.core.$loose>>, z.ZodMiniNull]>>;
925
+ chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
926
+ feePayerSignature: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
927
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
928
+ }, z.core.$loose>>>;
929
+ feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
930
+ from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
931
+ gas: z.ZodMiniTemplateLiteral<`0x${string}`>;
932
+ gasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
933
+ hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
934
+ input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
935
+ keyAuthorization: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{}, z.core.$loose>>>;
936
+ maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
937
+ maxFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
938
+ maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
939
+ nonce: z.ZodMiniTemplateLiteral<`0x${string}`>;
940
+ nonceKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
941
+ r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
942
+ s: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
943
+ signature: z.ZodMiniOptional<z.ZodMiniObject<{
944
+ type: z.ZodMiniOptional<z.ZodMiniString<string>>;
945
+ }, z.core.$loose>>;
946
+ to: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
947
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
948
+ type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
949
+ v: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
950
+ validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
951
+ validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
952
+ value: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
953
+ yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
954
+ }, z.core.$loose>;
955
+ }, z.core.$strip>;
956
+ nonce: z.ZodMiniNumber<number>;
957
+ nonceKey: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
958
+ recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
959
+ sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
960
+ timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
961
+ transactionIndex: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
962
+ type: z.ZodMiniEnum<{
963
+ eip1559: "eip1559";
964
+ eip2930: "eip2930";
965
+ eip4844: "eip4844";
966
+ eip7702: "eip7702";
967
+ legacy: "legacy";
968
+ tempo: "tempo";
969
+ unknown: "unknown";
970
+ }>;
971
+ validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
972
+ validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
973
+ value: z.ZodMiniString<string>;
974
+ }, z.core.$strip>>;
975
+ meta: z.ZodMiniOptional<z.ZodMiniObject<{
976
+ totalCountCapped: z.ZodMiniBoolean<boolean>;
977
+ totalCount: z.ZodMiniNumber<number>;
978
+ }, z.core.$strip>>;
979
+ nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
980
+ }, z.core.$strip>;
981
+ }
982
+ }
983
+ /** Creates transaction handlers. */
984
+ export declare function transactions(): import("hono/hono-base").HonoBase<App.Environment, {
985
+ "/": {
986
+ $get: {
987
+ output: null;
988
+ outputFormat: "body";
989
+ status: 402;
990
+ input: {
991
+ query?: {
992
+ address?: string | string[];
993
+ 'blockNumber.from'?: string | string[];
994
+ 'blockNumber.to'?: string | string[];
995
+ chainId?: string | string[];
996
+ cursor?: string | string[];
997
+ feePayer?: string | string[];
998
+ feeToken?: string | string[];
999
+ include?: string | string[];
1000
+ limit?: string | string[];
1001
+ order?: string | string[];
1002
+ page?: string | string[];
1003
+ recipient?: string | string[];
1004
+ sender?: string | string[];
1005
+ status?: string | string[];
1006
+ 'timestamp.from'?: string | string[];
1007
+ 'timestamp.to'?: string | string[];
1008
+ } | undefined;
1009
+ };
1010
+ } | {
1011
+ output: {
1012
+ error: {
1013
+ code: "api_key_malformed";
1014
+ details?: readonly Response.error.Detail[] | undefined;
1015
+ message: string;
1016
+ };
1017
+ requestId: string;
1018
+ };
1019
+ outputFormat: "json";
1020
+ status: 400;
1021
+ input: {
1022
+ query?: {
1023
+ address?: string | string[];
1024
+ 'blockNumber.from'?: string | string[];
1025
+ 'blockNumber.to'?: string | string[];
1026
+ chainId?: string | string[];
1027
+ cursor?: string | string[];
1028
+ feePayer?: string | string[];
1029
+ feeToken?: string | string[];
1030
+ include?: string | string[];
1031
+ limit?: string | string[];
1032
+ order?: string | string[];
1033
+ page?: string | string[];
1034
+ recipient?: string | string[];
1035
+ sender?: string | string[];
1036
+ status?: string | string[];
1037
+ 'timestamp.from'?: string | string[];
1038
+ 'timestamp.to'?: string | string[];
1039
+ } | undefined;
1040
+ };
1041
+ } | {
1042
+ output: {
1043
+ error: {
1044
+ code: "api_key_invalid" | "api_key_missing";
1045
+ details?: readonly Response.error.Detail[] | undefined;
1046
+ message: string;
1047
+ };
1048
+ requestId: string;
1049
+ };
1050
+ outputFormat: "json";
1051
+ status: 401;
1052
+ input: {
1053
+ query?: {
1054
+ address?: string | string[];
1055
+ 'blockNumber.from'?: string | string[];
1056
+ 'blockNumber.to'?: string | string[];
1057
+ chainId?: string | string[];
1058
+ cursor?: string | string[];
1059
+ feePayer?: string | string[];
1060
+ feeToken?: string | string[];
1061
+ include?: string | string[];
1062
+ limit?: string | string[];
1063
+ order?: string | string[];
1064
+ page?: string | string[];
1065
+ recipient?: string | string[];
1066
+ sender?: string | string[];
1067
+ status?: string | string[];
1068
+ 'timestamp.from'?: string | string[];
1069
+ 'timestamp.to'?: string | string[];
1070
+ } | undefined;
1071
+ };
1072
+ } | {
1073
+ output: {
1074
+ error: {
1075
+ code: "api_key_forbidden";
1076
+ details?: readonly Response.error.Detail[] | undefined;
1077
+ message: string;
1078
+ };
1079
+ requestId: string;
1080
+ };
1081
+ outputFormat: "json";
1082
+ status: 403;
1083
+ input: {
1084
+ query?: {
1085
+ address?: string | string[];
1086
+ 'blockNumber.from'?: string | string[];
1087
+ 'blockNumber.to'?: string | string[];
1088
+ chainId?: string | string[];
1089
+ cursor?: string | string[];
1090
+ feePayer?: string | string[];
1091
+ feeToken?: string | string[];
1092
+ include?: string | string[];
1093
+ limit?: string | string[];
1094
+ order?: string | string[];
1095
+ page?: string | string[];
1096
+ recipient?: string | string[];
1097
+ sender?: string | string[];
1098
+ status?: string | string[];
1099
+ 'timestamp.from'?: string | string[];
1100
+ 'timestamp.to'?: string | string[];
1101
+ } | undefined;
1102
+ };
1103
+ } | {
1104
+ output: {
1105
+ error: {
1106
+ code: "payment_required" | "rate_limit_exceeded";
1107
+ details?: readonly Response.error.Detail[] | undefined;
1108
+ message: string;
1109
+ };
1110
+ requestId: string;
1111
+ };
1112
+ outputFormat: "json";
1113
+ status: 429;
1114
+ input: {
1115
+ query?: {
1116
+ address?: string | string[];
1117
+ 'blockNumber.from'?: string | string[];
1118
+ 'blockNumber.to'?: string | string[];
1119
+ chainId?: string | string[];
1120
+ cursor?: string | string[];
1121
+ feePayer?: string | string[];
1122
+ feeToken?: string | string[];
1123
+ include?: string | string[];
1124
+ limit?: string | string[];
1125
+ order?: string | string[];
1126
+ page?: string | string[];
1127
+ recipient?: string | string[];
1128
+ sender?: string | string[];
1129
+ status?: string | string[];
1130
+ 'timestamp.from'?: string | string[];
1131
+ 'timestamp.to'?: string | string[];
1132
+ } | undefined;
1133
+ };
1134
+ } | {
1135
+ output: {
1136
+ error: {
1137
+ code: "query_invalid";
1138
+ details?: readonly Response.error.Detail[] | undefined;
1139
+ message: string;
1140
+ };
1141
+ requestId: string;
1142
+ };
1143
+ outputFormat: "json";
1144
+ status: 400;
1145
+ input: {
1146
+ query?: {
1147
+ address?: string | string[];
1148
+ 'blockNumber.from'?: string | string[];
1149
+ 'blockNumber.to'?: string | string[];
1150
+ chainId?: string | string[];
1151
+ cursor?: string | string[];
1152
+ feePayer?: string | string[];
1153
+ feeToken?: string | string[];
1154
+ include?: string | string[];
1155
+ limit?: string | string[];
1156
+ order?: string | string[];
1157
+ page?: string | string[];
1158
+ recipient?: string | string[];
1159
+ sender?: string | string[];
1160
+ status?: string | string[];
1161
+ 'timestamp.from'?: string | string[];
1162
+ 'timestamp.to'?: string | string[];
1163
+ } | undefined;
1164
+ };
1165
+ } | {
1166
+ output: {
1167
+ data: {
1168
+ blockHash: `0x${string}` | null;
1169
+ blockNumber: number | null;
1170
+ calls?: {
1171
+ data?: `0x${string}` | undefined;
1172
+ to: `0x${string}` | null;
1173
+ }[] | undefined;
1174
+ chainId?: number | undefined;
1175
+ feeToken?: `0x${string}` | undefined;
1176
+ gas: number;
1177
+ gasPrice?: string | undefined;
1178
+ hash: `0x${string}`;
1179
+ id: `0x${string}`;
1180
+ input?: `0x${string}` | undefined;
1181
+ maxFeePerGas?: string | undefined;
1182
+ maxPriorityFeePerGas?: string | undefined;
1183
+ meta: {
1184
+ feeToken?: {
1185
+ address: `0x${string}`;
1186
+ admin?: `0x${string}` | undefined;
1187
+ currency: string;
1188
+ createdAt?: string | undefined;
1189
+ decimals: number;
1190
+ holderCount?: number | undefined;
1191
+ id: string;
1192
+ logoUri?: string | undefined;
1193
+ name: string;
1194
+ quoteToken?: `0x${string}` | undefined;
1195
+ symbol: string;
1196
+ totalSupply?: string | undefined;
1197
+ transferStats?: {
1198
+ count: number;
1199
+ firstAt: string | null;
1200
+ lastAt: string | null;
1201
+ } | undefined;
1202
+ verified: boolean;
1203
+ } | undefined;
1204
+ receipt?: {
1205
+ blockHash: `0x${string}` | null;
1206
+ blockNumber: number;
1207
+ contractAddress: `0x${string}` | null;
1208
+ cumulativeGasUsed: number;
1209
+ effectiveGasPrice: string;
1210
+ feeAmount: string;
1211
+ feePayer?: `0x${string}` | undefined;
1212
+ feeToken?: `0x${string}` | undefined;
1213
+ gasUsed: number;
1214
+ id: `0x${string}`;
1215
+ logs: {
1216
+ [x: string]: import("hono/utils/types").JSONValue;
1217
+ address: `0x${string}`;
1218
+ blockHash: `0x${string}` | null;
1219
+ blockNumber: `0x${string}` | null;
1220
+ blockTimestamp?: `0x${string}` | null | undefined;
1221
+ data: `0x${string}`;
1222
+ logIndex: `0x${string}` | null;
1223
+ removed: boolean;
1224
+ topics: `0x${string}`[];
1225
+ transactionHash: `0x${string}` | null;
1226
+ transactionIndex: `0x${string}` | null;
1227
+ }[];
1228
+ meta: {
1229
+ feeToken?: {
1230
+ address: `0x${string}`;
1231
+ admin?: `0x${string}` | undefined;
1232
+ currency: string;
1233
+ createdAt?: string | undefined;
1234
+ decimals: number;
1235
+ holderCount?: number | undefined;
1236
+ id: string;
1237
+ logoUri?: string | undefined;
1238
+ name: string;
1239
+ quoteToken?: `0x${string}` | undefined;
1240
+ symbol: string;
1241
+ totalSupply?: string | undefined;
1242
+ transferStats?: {
1243
+ count: number;
1244
+ firstAt: string | null;
1245
+ lastAt: string | null;
1246
+ } | undefined;
1247
+ verified: boolean;
1248
+ } | undefined;
1249
+ rpc: {
1250
+ [x: string]: import("hono/utils/types").JSONValue;
1251
+ blobGasPrice?: `0x${string}` | undefined;
1252
+ blobGasUsed?: `0x${string}` | undefined;
1253
+ blockHash: `0x${string}` | null;
1254
+ blockNumber: `0x${string}`;
1255
+ blockTimestamp?: `0x${string}` | null | undefined;
1256
+ contractAddress?: `0x${string}` | null | undefined;
1257
+ cumulativeGasUsed: `0x${string}`;
1258
+ effectiveGasPrice: `0x${string}`;
1259
+ feePayer?: `0x${string}` | null | undefined;
1260
+ feeToken?: `0x${string}` | null | undefined;
1261
+ from: `0x${string}`;
1262
+ gasUsed: `0x${string}`;
1263
+ logs: {
1264
+ [x: string]: import("hono/utils/types").JSONValue;
1265
+ address: `0x${string}`;
1266
+ blockHash: `0x${string}` | null;
1267
+ blockNumber: `0x${string}` | null;
1268
+ blockTimestamp?: `0x${string}` | null | undefined;
1269
+ data: `0x${string}`;
1270
+ logIndex: `0x${string}` | null;
1271
+ removed: boolean;
1272
+ topics: `0x${string}`[];
1273
+ transactionHash: `0x${string}` | null;
1274
+ transactionIndex: `0x${string}` | null;
1275
+ }[];
1276
+ logsBloom?: `0x${string}` | undefined;
1277
+ root?: `0x${string}` | undefined;
1278
+ status: `0x${string}`;
1279
+ to: `0x${string}` | null;
1280
+ transactionHash: `0x${string}`;
1281
+ transactionIndex: `0x${string}`;
1282
+ type: `0x${string}`;
1283
+ };
1284
+ };
1285
+ recipient: `0x${string}` | null;
1286
+ sender: `0x${string}`;
1287
+ status: "reverted" | "success";
1288
+ timestamp: string | null;
1289
+ transactionHash: `0x${string}`;
1290
+ transactionIndex: number;
1291
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
1292
+ } | undefined;
1293
+ rpc: {
1294
+ [x: string]: import("hono/utils/types").JSONValue;
1295
+ aaAuthorizationList?: {
1296
+ [x: string]: import("hono/utils/types").JSONValue;
1297
+ }[] | undefined;
1298
+ accessList?: {
1299
+ [x: string]: import("hono/utils/types").JSONValue;
1300
+ address: `0x${string}`;
1301
+ storageKeys: `0x${string}`[];
1302
+ }[] | undefined;
1303
+ authorizationList?: {
1304
+ [x: string]: import("hono/utils/types").JSONValue;
1305
+ }[] | undefined;
1306
+ blobVersionedHashes?: `0x${string}`[] | undefined;
1307
+ blockHash: `0x${string}` | null;
1308
+ blockNumber: `0x${string}` | null;
1309
+ blockTimestamp?: `0x${string}` | null | undefined;
1310
+ calls?: {
1311
+ [x: string]: import("hono/utils/types").JSONValue;
1312
+ data?: `0x${string}` | null | undefined;
1313
+ input?: `0x${string}` | null | undefined;
1314
+ to?: `0x${string}` | null | undefined;
1315
+ value?: `0x${string}` | null | undefined;
1316
+ }[] | null | undefined;
1317
+ chainId?: `0x${string}` | undefined;
1318
+ feePayerSignature?: {
1319
+ [x: string]: import("hono/utils/types").JSONValue;
1320
+ type?: string | undefined;
1321
+ } | null | undefined;
1322
+ feeToken?: `0x${string}` | null | undefined;
1323
+ from: `0x${string}`;
1324
+ gas: `0x${string}`;
1325
+ gasPrice?: `0x${string}` | undefined;
1326
+ hash: `0x${string}`;
1327
+ input?: `0x${string}` | undefined;
1328
+ keyAuthorization?: {
1329
+ [x: string]: import("hono/utils/types").JSONValue;
1330
+ } | null | undefined;
1331
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1332
+ maxFeePerGas?: `0x${string}` | undefined;
1333
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1334
+ nonce: `0x${string}`;
1335
+ nonceKey?: `0x${string}` | undefined;
1336
+ r?: `0x${string}` | undefined;
1337
+ s?: `0x${string}` | undefined;
1338
+ signature?: {
1339
+ [x: string]: import("hono/utils/types").JSONValue;
1340
+ type?: string | undefined;
1341
+ } | undefined;
1342
+ to?: `0x${string}` | null | undefined;
1343
+ transactionIndex: `0x${string}` | null;
1344
+ type: `0x${string}`;
1345
+ v?: `0x${string}` | undefined;
1346
+ validAfter?: `0x${string}` | null | undefined;
1347
+ validBefore?: `0x${string}` | null | undefined;
1348
+ value?: `0x${string}` | undefined;
1349
+ yParity?: `0x${string}` | undefined;
1350
+ };
1351
+ };
1352
+ nonce: number;
1353
+ nonceKey?: `0x${string}` | undefined;
1354
+ recipient: `0x${string}` | null;
1355
+ sender: `0x${string}`;
1356
+ timestamp: string | null;
1357
+ transactionIndex: number | null;
1358
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
1359
+ validAfter?: string | null | undefined;
1360
+ validBefore?: string | null | undefined;
1361
+ value: string;
1362
+ }[];
1363
+ meta?: {
1364
+ totalCountCapped: boolean;
1365
+ totalCount: number;
1366
+ } | undefined;
1367
+ nextCursor: string | null;
1368
+ };
1369
+ outputFormat: "json";
1370
+ status: 200;
1371
+ input: {
1372
+ query?: {
1373
+ address?: string | string[];
1374
+ 'blockNumber.from'?: string | string[];
1375
+ 'blockNumber.to'?: string | string[];
1376
+ chainId?: string | string[];
1377
+ cursor?: string | string[];
1378
+ feePayer?: string | string[];
1379
+ feeToken?: string | string[];
1380
+ include?: string | string[];
1381
+ limit?: string | string[];
1382
+ order?: string | string[];
1383
+ page?: string | string[];
1384
+ recipient?: string | string[];
1385
+ sender?: string | string[];
1386
+ status?: string | string[];
1387
+ 'timestamp.from'?: string | string[];
1388
+ 'timestamp.to'?: string | string[];
1389
+ } | undefined;
1390
+ };
1391
+ } | {
1392
+ output: {
1393
+ error: {
1394
+ code: "upstream_error";
1395
+ details?: readonly Response.error.Detail[] | undefined;
1396
+ message: string;
1397
+ };
1398
+ requestId: string;
1399
+ };
1400
+ outputFormat: "json";
1401
+ status: 502;
1402
+ input: {
1403
+ query?: {
1404
+ address?: string | string[];
1405
+ 'blockNumber.from'?: string | string[];
1406
+ 'blockNumber.to'?: string | string[];
1407
+ chainId?: string | string[];
1408
+ cursor?: string | string[];
1409
+ feePayer?: string | string[];
1410
+ feeToken?: string | string[];
1411
+ include?: string | string[];
1412
+ limit?: string | string[];
1413
+ order?: string | string[];
1414
+ page?: string | string[];
1415
+ recipient?: string | string[];
1416
+ sender?: string | string[];
1417
+ status?: string | string[];
1418
+ 'timestamp.from'?: string | string[];
1419
+ 'timestamp.to'?: string | string[];
1420
+ } | undefined;
1421
+ };
1422
+ };
1423
+ };
1424
+ } & {
1425
+ "/:transactionHash": {
1426
+ $get: {
1427
+ output: null;
1428
+ outputFormat: "body";
1429
+ status: 402;
1430
+ input: {
1431
+ param: {
1432
+ transactionHash: `0x${string}`;
1433
+ };
1434
+ } & {
1435
+ query?: {
1436
+ chainId?: string | string[];
1437
+ include?: string | string[];
1438
+ } | undefined;
1439
+ };
1440
+ } | {
1441
+ output: {
1442
+ error: {
1443
+ code: "api_key_malformed";
1444
+ details?: readonly Response.error.Detail[] | undefined;
1445
+ message: string;
1446
+ };
1447
+ requestId: string;
1448
+ };
1449
+ outputFormat: "json";
1450
+ status: 400;
1451
+ input: {
1452
+ param: {
1453
+ transactionHash: `0x${string}`;
1454
+ };
1455
+ } & {
1456
+ query?: {
1457
+ chainId?: string | string[];
1458
+ include?: string | string[];
1459
+ } | undefined;
1460
+ };
1461
+ } | {
1462
+ output: {
1463
+ error: {
1464
+ code: "api_key_invalid" | "api_key_missing";
1465
+ details?: readonly Response.error.Detail[] | undefined;
1466
+ message: string;
1467
+ };
1468
+ requestId: string;
1469
+ };
1470
+ outputFormat: "json";
1471
+ status: 401;
1472
+ input: {
1473
+ param: {
1474
+ transactionHash: `0x${string}`;
1475
+ };
1476
+ } & {
1477
+ query?: {
1478
+ chainId?: string | string[];
1479
+ include?: string | string[];
1480
+ } | undefined;
1481
+ };
1482
+ } | {
1483
+ output: {
1484
+ error: {
1485
+ code: "api_key_forbidden";
1486
+ details?: readonly Response.error.Detail[] | undefined;
1487
+ message: string;
1488
+ };
1489
+ requestId: string;
1490
+ };
1491
+ outputFormat: "json";
1492
+ status: 403;
1493
+ input: {
1494
+ param: {
1495
+ transactionHash: `0x${string}`;
1496
+ };
1497
+ } & {
1498
+ query?: {
1499
+ chainId?: string | string[];
1500
+ include?: string | string[];
1501
+ } | undefined;
1502
+ };
1503
+ } | {
1504
+ output: {
1505
+ error: {
1506
+ code: "payment_required" | "rate_limit_exceeded";
1507
+ details?: readonly Response.error.Detail[] | undefined;
1508
+ message: string;
1509
+ };
1510
+ requestId: string;
1511
+ };
1512
+ outputFormat: "json";
1513
+ status: 429;
1514
+ input: {
1515
+ param: {
1516
+ transactionHash: `0x${string}`;
1517
+ };
1518
+ } & {
1519
+ query?: {
1520
+ chainId?: string | string[];
1521
+ include?: string | string[];
1522
+ } | undefined;
1523
+ };
1524
+ } | {
1525
+ output: {
1526
+ error: {
1527
+ code: "query_invalid";
1528
+ details?: readonly Response.error.Detail[] | undefined;
1529
+ message: string;
1530
+ };
1531
+ requestId: string;
1532
+ };
1533
+ outputFormat: "json";
1534
+ status: 400;
1535
+ input: {
1536
+ param: {
1537
+ transactionHash: `0x${string}`;
1538
+ };
1539
+ } & {
1540
+ query?: {
1541
+ chainId?: string | string[];
1542
+ include?: string | string[];
1543
+ } | undefined;
1544
+ };
1545
+ } | {
1546
+ output: {
1547
+ error: {
1548
+ code: "upstream_error";
1549
+ details?: readonly Response.error.Detail[] | undefined;
1550
+ message: string;
1551
+ };
1552
+ requestId: string;
1553
+ };
1554
+ outputFormat: "json";
1555
+ status: 502;
1556
+ input: {
1557
+ param: {
1558
+ transactionHash: `0x${string}`;
1559
+ };
1560
+ } & {
1561
+ query?: {
1562
+ chainId?: string | string[];
1563
+ include?: string | string[];
1564
+ } | undefined;
1565
+ };
1566
+ } | {
1567
+ output: {
1568
+ error: {
1569
+ code: "transaction_invalid";
1570
+ details?: readonly Response.error.Detail[] | undefined;
1571
+ message: string;
1572
+ };
1573
+ requestId: string;
1574
+ };
1575
+ outputFormat: "json";
1576
+ status: 400;
1577
+ input: {
1578
+ param: {
1579
+ transactionHash: `0x${string}`;
1580
+ };
1581
+ } & {
1582
+ query?: {
1583
+ chainId?: string | string[];
1584
+ include?: string | string[];
1585
+ } | undefined;
1586
+ };
1587
+ } | {
1588
+ output: {
1589
+ error: {
1590
+ code: "transaction_not_found";
1591
+ details?: readonly Response.error.Detail[] | undefined;
1592
+ message: string;
1593
+ };
1594
+ requestId: string;
1595
+ };
1596
+ outputFormat: "json";
1597
+ status: 404;
1598
+ input: {
1599
+ param: {
1600
+ transactionHash: `0x${string}`;
1601
+ };
1602
+ } & {
1603
+ query?: {
1604
+ chainId?: string | string[];
1605
+ include?: string | string[];
1606
+ } | undefined;
1607
+ };
1608
+ } | {
1609
+ output: {
1610
+ blockHash: `0x${string}` | null;
1611
+ blockNumber: number | null;
1612
+ calls?: {
1613
+ data?: `0x${string}` | undefined;
1614
+ to: `0x${string}` | null;
1615
+ }[] | undefined;
1616
+ chainId?: number | undefined;
1617
+ feeToken?: `0x${string}` | undefined;
1618
+ gas: number;
1619
+ gasPrice?: string | undefined;
1620
+ hash: `0x${string}`;
1621
+ id: `0x${string}`;
1622
+ input?: `0x${string}` | undefined;
1623
+ maxFeePerGas?: string | undefined;
1624
+ maxPriorityFeePerGas?: string | undefined;
1625
+ meta: {
1626
+ feeToken?: {
1627
+ address: `0x${string}`;
1628
+ admin?: `0x${string}` | undefined;
1629
+ currency: string;
1630
+ createdAt?: string | undefined;
1631
+ decimals: number;
1632
+ holderCount?: number | undefined;
1633
+ id: string;
1634
+ logoUri?: string | undefined;
1635
+ name: string;
1636
+ quoteToken?: `0x${string}` | undefined;
1637
+ symbol: string;
1638
+ totalSupply?: string | undefined;
1639
+ transferStats?: {
1640
+ count: number;
1641
+ firstAt: string | null;
1642
+ lastAt: string | null;
1643
+ } | undefined;
1644
+ verified: boolean;
1645
+ } | undefined;
1646
+ receipt?: {
1647
+ blockHash: `0x${string}` | null;
1648
+ blockNumber: number;
1649
+ contractAddress: `0x${string}` | null;
1650
+ cumulativeGasUsed: number;
1651
+ effectiveGasPrice: string;
1652
+ feeAmount: string;
1653
+ feePayer?: `0x${string}` | undefined;
1654
+ feeToken?: `0x${string}` | undefined;
1655
+ gasUsed: number;
1656
+ id: `0x${string}`;
1657
+ logs: {
1658
+ [x: string]: import("hono/utils/types").JSONValue;
1659
+ address: `0x${string}`;
1660
+ blockHash: `0x${string}` | null;
1661
+ blockNumber: `0x${string}` | null;
1662
+ blockTimestamp?: `0x${string}` | null | undefined;
1663
+ data: `0x${string}`;
1664
+ logIndex: `0x${string}` | null;
1665
+ removed: boolean;
1666
+ topics: `0x${string}`[];
1667
+ transactionHash: `0x${string}` | null;
1668
+ transactionIndex: `0x${string}` | null;
1669
+ }[];
1670
+ meta: {
1671
+ feeToken?: {
1672
+ address: `0x${string}`;
1673
+ admin?: `0x${string}` | undefined;
1674
+ currency: string;
1675
+ createdAt?: string | undefined;
1676
+ decimals: number;
1677
+ holderCount?: number | undefined;
1678
+ id: string;
1679
+ logoUri?: string | undefined;
1680
+ name: string;
1681
+ quoteToken?: `0x${string}` | undefined;
1682
+ symbol: string;
1683
+ totalSupply?: string | undefined;
1684
+ transferStats?: {
1685
+ count: number;
1686
+ firstAt: string | null;
1687
+ lastAt: string | null;
1688
+ } | undefined;
1689
+ verified: boolean;
1690
+ } | undefined;
1691
+ rpc: {
1692
+ [x: string]: import("hono/utils/types").JSONValue;
1693
+ blobGasPrice?: `0x${string}` | undefined;
1694
+ blobGasUsed?: `0x${string}` | undefined;
1695
+ blockHash: `0x${string}` | null;
1696
+ blockNumber: `0x${string}`;
1697
+ blockTimestamp?: `0x${string}` | null | undefined;
1698
+ contractAddress?: `0x${string}` | null | undefined;
1699
+ cumulativeGasUsed: `0x${string}`;
1700
+ effectiveGasPrice: `0x${string}`;
1701
+ feePayer?: `0x${string}` | null | undefined;
1702
+ feeToken?: `0x${string}` | null | undefined;
1703
+ from: `0x${string}`;
1704
+ gasUsed: `0x${string}`;
1705
+ logs: {
1706
+ [x: string]: import("hono/utils/types").JSONValue;
1707
+ address: `0x${string}`;
1708
+ blockHash: `0x${string}` | null;
1709
+ blockNumber: `0x${string}` | null;
1710
+ blockTimestamp?: `0x${string}` | null | undefined;
1711
+ data: `0x${string}`;
1712
+ logIndex: `0x${string}` | null;
1713
+ removed: boolean;
1714
+ topics: `0x${string}`[];
1715
+ transactionHash: `0x${string}` | null;
1716
+ transactionIndex: `0x${string}` | null;
1717
+ }[];
1718
+ logsBloom?: `0x${string}` | undefined;
1719
+ root?: `0x${string}` | undefined;
1720
+ status: `0x${string}`;
1721
+ to: `0x${string}` | null;
1722
+ transactionHash: `0x${string}`;
1723
+ transactionIndex: `0x${string}`;
1724
+ type: `0x${string}`;
1725
+ };
1726
+ };
1727
+ recipient: `0x${string}` | null;
1728
+ sender: `0x${string}`;
1729
+ status: "reverted" | "success";
1730
+ timestamp: string | null;
1731
+ transactionHash: `0x${string}`;
1732
+ transactionIndex: number;
1733
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
1734
+ } | undefined;
1735
+ rpc: {
1736
+ [x: string]: import("hono/utils/types").JSONValue;
1737
+ aaAuthorizationList?: {
1738
+ [x: string]: import("hono/utils/types").JSONValue;
1739
+ }[] | undefined;
1740
+ accessList?: {
1741
+ [x: string]: import("hono/utils/types").JSONValue;
1742
+ address: `0x${string}`;
1743
+ storageKeys: `0x${string}`[];
1744
+ }[] | undefined;
1745
+ authorizationList?: {
1746
+ [x: string]: import("hono/utils/types").JSONValue;
1747
+ }[] | undefined;
1748
+ blobVersionedHashes?: `0x${string}`[] | undefined;
1749
+ blockHash: `0x${string}` | null;
1750
+ blockNumber: `0x${string}` | null;
1751
+ blockTimestamp?: `0x${string}` | null | undefined;
1752
+ calls?: {
1753
+ [x: string]: import("hono/utils/types").JSONValue;
1754
+ data?: `0x${string}` | null | undefined;
1755
+ input?: `0x${string}` | null | undefined;
1756
+ to?: `0x${string}` | null | undefined;
1757
+ value?: `0x${string}` | null | undefined;
1758
+ }[] | null | undefined;
1759
+ chainId?: `0x${string}` | undefined;
1760
+ feePayerSignature?: {
1761
+ [x: string]: import("hono/utils/types").JSONValue;
1762
+ type?: string | undefined;
1763
+ } | null | undefined;
1764
+ feeToken?: `0x${string}` | null | undefined;
1765
+ from: `0x${string}`;
1766
+ gas: `0x${string}`;
1767
+ gasPrice?: `0x${string}` | undefined;
1768
+ hash: `0x${string}`;
1769
+ input?: `0x${string}` | undefined;
1770
+ keyAuthorization?: {
1771
+ [x: string]: import("hono/utils/types").JSONValue;
1772
+ } | null | undefined;
1773
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1774
+ maxFeePerGas?: `0x${string}` | undefined;
1775
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1776
+ nonce: `0x${string}`;
1777
+ nonceKey?: `0x${string}` | undefined;
1778
+ r?: `0x${string}` | undefined;
1779
+ s?: `0x${string}` | undefined;
1780
+ signature?: {
1781
+ [x: string]: import("hono/utils/types").JSONValue;
1782
+ type?: string | undefined;
1783
+ } | undefined;
1784
+ to?: `0x${string}` | null | undefined;
1785
+ transactionIndex: `0x${string}` | null;
1786
+ type: `0x${string}`;
1787
+ v?: `0x${string}` | undefined;
1788
+ validAfter?: `0x${string}` | null | undefined;
1789
+ validBefore?: `0x${string}` | null | undefined;
1790
+ value?: `0x${string}` | undefined;
1791
+ yParity?: `0x${string}` | undefined;
1792
+ };
1793
+ };
1794
+ nonce: number;
1795
+ nonceKey?: `0x${string}` | undefined;
1796
+ recipient: `0x${string}` | null;
1797
+ sender: `0x${string}`;
1798
+ timestamp: string | null;
1799
+ transactionIndex: number | null;
1800
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
1801
+ validAfter?: string | null | undefined;
1802
+ validBefore?: string | null | undefined;
1803
+ value: string;
1804
+ };
1805
+ outputFormat: "json";
1806
+ status: 200;
1807
+ input: {
1808
+ param: {
1809
+ transactionHash: `0x${string}`;
1810
+ };
1811
+ } & {
1812
+ query?: {
1813
+ chainId?: string | string[];
1814
+ include?: string | string[];
1815
+ } | undefined;
1816
+ };
1817
+ };
1818
+ };
1819
+ }, "/", "/:transactionHash">;
1820
+ /**
1821
+ * Lists humanized transactions and embeds opt-in `include` resources
1822
+ * (`feeToken`, `receipt`). A `status` filter routes the page through the
1823
+ * receipts list instead of the `txs` scan, since execution status lives on
1824
+ * receipts.
1825
+ */
1826
+ export declare function listTransactions(c: Context<App.Environment>, options: listTransactions.Options): Promise<{
1827
+ nextCursor: string | null;
1828
+ data: {
1829
+ blockHash: `0x${string}` | null;
1830
+ blockNumber: number | null;
1831
+ calls?: {
1832
+ data?: `0x${string}` | undefined;
1833
+ to: `0x${string}` | null;
1834
+ }[] | undefined;
1835
+ chainId?: number | undefined;
1836
+ feeToken?: `0x${string}` | undefined;
1837
+ gas: number;
1838
+ gasPrice?: string | undefined;
1839
+ hash: `0x${string}`;
1840
+ id: `0x${string}`;
1841
+ input?: `0x${string}` | undefined;
1842
+ maxFeePerGas?: string | undefined;
1843
+ maxPriorityFeePerGas?: string | undefined;
1844
+ meta: {
1845
+ feeToken?: {
1846
+ address: `0x${string}`;
1847
+ admin?: `0x${string}` | undefined;
1848
+ currency: string;
1849
+ createdAt?: string | undefined;
1850
+ decimals: number;
1851
+ holderCount?: number | undefined;
1852
+ id: string;
1853
+ logoUri?: string | undefined;
1854
+ name: string;
1855
+ quoteToken?: `0x${string}` | undefined;
1856
+ symbol: string;
1857
+ totalSupply?: string | undefined;
1858
+ transferStats?: {
1859
+ count: number;
1860
+ firstAt: string | null;
1861
+ lastAt: string | null;
1862
+ } | undefined;
1863
+ verified: boolean;
1864
+ } | undefined;
1865
+ receipt?: {
1866
+ blockHash: `0x${string}` | null;
1867
+ blockNumber: number;
1868
+ contractAddress: `0x${string}` | null;
1869
+ cumulativeGasUsed: number;
1870
+ effectiveGasPrice: string;
1871
+ feeAmount: string;
1872
+ feePayer?: `0x${string}` | undefined;
1873
+ feeToken?: `0x${string}` | undefined;
1874
+ gasUsed: number;
1875
+ id: `0x${string}`;
1876
+ logs: {
1877
+ [x: string]: unknown;
1878
+ address: `0x${string}`;
1879
+ blockHash: `0x${string}` | null;
1880
+ blockNumber: `0x${string}` | null;
1881
+ blockTimestamp?: `0x${string}` | null | undefined;
1882
+ data: `0x${string}`;
1883
+ logIndex: `0x${string}` | null;
1884
+ removed: boolean;
1885
+ topics: `0x${string}`[];
1886
+ transactionHash: `0x${string}` | null;
1887
+ transactionIndex: `0x${string}` | null;
1888
+ }[];
1889
+ meta: {
1890
+ feeToken?: {
1891
+ address: `0x${string}`;
1892
+ admin?: `0x${string}` | undefined;
1893
+ currency: string;
1894
+ createdAt?: string | undefined;
1895
+ decimals: number;
1896
+ holderCount?: number | undefined;
1897
+ id: string;
1898
+ logoUri?: string | undefined;
1899
+ name: string;
1900
+ quoteToken?: `0x${string}` | undefined;
1901
+ symbol: string;
1902
+ totalSupply?: string | undefined;
1903
+ transferStats?: {
1904
+ count: number;
1905
+ firstAt: string | null;
1906
+ lastAt: string | null;
1907
+ } | undefined;
1908
+ verified: boolean;
1909
+ } | undefined;
1910
+ rpc: {
1911
+ [x: string]: unknown;
1912
+ blobGasPrice?: `0x${string}` | undefined;
1913
+ blobGasUsed?: `0x${string}` | undefined;
1914
+ blockHash: `0x${string}` | null;
1915
+ blockNumber: `0x${string}`;
1916
+ blockTimestamp?: `0x${string}` | null | undefined;
1917
+ contractAddress?: `0x${string}` | null | undefined;
1918
+ cumulativeGasUsed: `0x${string}`;
1919
+ effectiveGasPrice: `0x${string}`;
1920
+ feePayer?: `0x${string}` | null | undefined;
1921
+ feeToken?: `0x${string}` | null | undefined;
1922
+ from: `0x${string}`;
1923
+ gasUsed: `0x${string}`;
1924
+ logs: {
1925
+ [x: string]: unknown;
1926
+ address: `0x${string}`;
1927
+ blockHash: `0x${string}` | null;
1928
+ blockNumber: `0x${string}` | null;
1929
+ blockTimestamp?: `0x${string}` | null | undefined;
1930
+ data: `0x${string}`;
1931
+ logIndex: `0x${string}` | null;
1932
+ removed: boolean;
1933
+ topics: `0x${string}`[];
1934
+ transactionHash: `0x${string}` | null;
1935
+ transactionIndex: `0x${string}` | null;
1936
+ }[];
1937
+ logsBloom?: `0x${string}` | undefined;
1938
+ root?: `0x${string}` | undefined;
1939
+ status: `0x${string}`;
1940
+ to: `0x${string}` | null;
1941
+ transactionHash: `0x${string}`;
1942
+ transactionIndex: `0x${string}`;
1943
+ type: `0x${string}`;
1944
+ };
1945
+ };
1946
+ recipient: `0x${string}` | null;
1947
+ sender: `0x${string}`;
1948
+ status: "reverted" | "success";
1949
+ timestamp: string | null;
1950
+ transactionHash: `0x${string}`;
1951
+ transactionIndex: number;
1952
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
1953
+ } | undefined;
1954
+ rpc: {
1955
+ [x: string]: unknown;
1956
+ aaAuthorizationList?: {
1957
+ [x: string]: unknown;
1958
+ }[] | undefined;
1959
+ accessList?: {
1960
+ [x: string]: unknown;
1961
+ address: `0x${string}`;
1962
+ storageKeys: `0x${string}`[];
1963
+ }[] | undefined;
1964
+ authorizationList?: {
1965
+ [x: string]: unknown;
1966
+ }[] | undefined;
1967
+ blobVersionedHashes?: `0x${string}`[] | undefined;
1968
+ blockHash: `0x${string}` | null;
1969
+ blockNumber: `0x${string}` | null;
1970
+ blockTimestamp?: `0x${string}` | null | undefined;
1971
+ calls?: {
1972
+ [x: string]: unknown;
1973
+ data?: `0x${string}` | null | undefined;
1974
+ input?: `0x${string}` | null | undefined;
1975
+ to?: `0x${string}` | null | undefined;
1976
+ value?: `0x${string}` | null | undefined;
1977
+ }[] | null | undefined;
1978
+ chainId?: `0x${string}` | undefined;
1979
+ feePayerSignature?: {
1980
+ [x: string]: unknown;
1981
+ type?: string | undefined;
1982
+ } | null | undefined;
1983
+ feeToken?: `0x${string}` | null | undefined;
1984
+ from: `0x${string}`;
1985
+ gas: `0x${string}`;
1986
+ gasPrice?: `0x${string}` | undefined;
1987
+ hash: `0x${string}`;
1988
+ input?: `0x${string}` | undefined;
1989
+ keyAuthorization?: {
1990
+ [x: string]: unknown;
1991
+ } | null | undefined;
1992
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1993
+ maxFeePerGas?: `0x${string}` | undefined;
1994
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1995
+ nonce: `0x${string}`;
1996
+ nonceKey?: `0x${string}` | undefined;
1997
+ r?: `0x${string}` | undefined;
1998
+ s?: `0x${string}` | undefined;
1999
+ signature?: {
2000
+ [x: string]: unknown;
2001
+ type?: string | undefined;
2002
+ } | undefined;
2003
+ to?: `0x${string}` | null | undefined;
2004
+ transactionIndex: `0x${string}` | null;
2005
+ type: `0x${string}`;
2006
+ v?: `0x${string}` | undefined;
2007
+ validAfter?: `0x${string}` | null | undefined;
2008
+ validBefore?: `0x${string}` | null | undefined;
2009
+ value?: `0x${string}` | undefined;
2010
+ yParity?: `0x${string}` | undefined;
2011
+ };
2012
+ };
2013
+ nonce: number;
2014
+ nonceKey?: `0x${string}` | undefined;
2015
+ recipient: `0x${string}` | null;
2016
+ sender: `0x${string}`;
2017
+ timestamp: string | null;
2018
+ transactionIndex: number | null;
2019
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
2020
+ validAfter?: string | null | undefined;
2021
+ validBefore?: string | null | undefined;
2022
+ value: string;
2023
+ }[];
2024
+ }>;
2025
+ export declare namespace listTransactions {
2026
+ type Options = getTransactions.Options & {
2027
+ /** Optional related resources to embed (e.g. `feeToken`, `receipt`). */
2028
+ include: readonly z.output<typeof schema.getTransaction.Include>[];
2029
+ };
2030
+ }
2031
+ /**
2032
+ * Resolves fee-token metadata for each row and embeds it under `meta.feeToken`,
2033
+ * sharing a single verified-token fetch. Best-effort: a row whose fee token
2034
+ * can't be resolved (or that has none) is returned unchanged. Shared by the
2035
+ * transaction and receipt list endpoints (and their address-scoped variants),
2036
+ * whose rows all carry an optional `feeToken` address and a `meta` object.
2037
+ */
2038
+ export declare function embedFeeTokens<row extends {
2039
+ feeToken?: Hex.Hex | undefined;
2040
+ meta: Record<string, unknown>;
2041
+ }>(c: Context<App.Environment>, rows: row[], chainId: z.output<typeof Schema.ChainId>): Promise<row[]>;
2042
+ export declare function getTransactions(c: Context<App.Environment>, options: getTransactions.Options): Promise<{
2043
+ data: {
2044
+ blockHash: `0x${string}` | null;
2045
+ blockNumber: number | null;
2046
+ calls?: {
2047
+ data?: `0x${string}` | undefined;
2048
+ to: `0x${string}` | null;
2049
+ }[] | undefined;
2050
+ chainId?: number | undefined;
2051
+ feeToken?: `0x${string}` | undefined;
2052
+ gas: number;
2053
+ gasPrice?: string | undefined;
2054
+ hash: `0x${string}`;
2055
+ id: `0x${string}`;
2056
+ input?: `0x${string}` | undefined;
2057
+ maxFeePerGas?: string | undefined;
2058
+ maxPriorityFeePerGas?: string | undefined;
2059
+ meta: {
2060
+ feeToken?: {
2061
+ address: `0x${string}`;
2062
+ admin?: `0x${string}` | undefined;
2063
+ currency: string;
2064
+ createdAt?: string | undefined;
2065
+ decimals: number;
2066
+ holderCount?: number | undefined;
2067
+ id: string;
2068
+ logoUri?: string | undefined;
2069
+ name: string;
2070
+ quoteToken?: `0x${string}` | undefined;
2071
+ symbol: string;
2072
+ totalSupply?: string | undefined;
2073
+ transferStats?: {
2074
+ count: number;
2075
+ firstAt: string | null;
2076
+ lastAt: string | null;
2077
+ } | undefined;
2078
+ verified: boolean;
2079
+ } | undefined;
2080
+ receipt?: {
2081
+ blockHash: `0x${string}` | null;
2082
+ blockNumber: number;
2083
+ contractAddress: `0x${string}` | null;
2084
+ cumulativeGasUsed: number;
2085
+ effectiveGasPrice: string;
2086
+ feeAmount: string;
2087
+ feePayer?: `0x${string}` | undefined;
2088
+ feeToken?: `0x${string}` | undefined;
2089
+ gasUsed: number;
2090
+ id: `0x${string}`;
2091
+ logs: {
2092
+ [x: string]: unknown;
2093
+ address: `0x${string}`;
2094
+ blockHash: `0x${string}` | null;
2095
+ blockNumber: `0x${string}` | null;
2096
+ blockTimestamp?: `0x${string}` | null | undefined;
2097
+ data: `0x${string}`;
2098
+ logIndex: `0x${string}` | null;
2099
+ removed: boolean;
2100
+ topics: `0x${string}`[];
2101
+ transactionHash: `0x${string}` | null;
2102
+ transactionIndex: `0x${string}` | null;
2103
+ }[];
2104
+ meta: {
2105
+ feeToken?: {
2106
+ address: `0x${string}`;
2107
+ admin?: `0x${string}` | undefined;
2108
+ currency: string;
2109
+ createdAt?: string | undefined;
2110
+ decimals: number;
2111
+ holderCount?: number | undefined;
2112
+ id: string;
2113
+ logoUri?: string | undefined;
2114
+ name: string;
2115
+ quoteToken?: `0x${string}` | undefined;
2116
+ symbol: string;
2117
+ totalSupply?: string | undefined;
2118
+ transferStats?: {
2119
+ count: number;
2120
+ firstAt: string | null;
2121
+ lastAt: string | null;
2122
+ } | undefined;
2123
+ verified: boolean;
2124
+ } | undefined;
2125
+ rpc: {
2126
+ [x: string]: unknown;
2127
+ blobGasPrice?: `0x${string}` | undefined;
2128
+ blobGasUsed?: `0x${string}` | undefined;
2129
+ blockHash: `0x${string}` | null;
2130
+ blockNumber: `0x${string}`;
2131
+ blockTimestamp?: `0x${string}` | null | undefined;
2132
+ contractAddress?: `0x${string}` | null | undefined;
2133
+ cumulativeGasUsed: `0x${string}`;
2134
+ effectiveGasPrice: `0x${string}`;
2135
+ feePayer?: `0x${string}` | null | undefined;
2136
+ feeToken?: `0x${string}` | null | undefined;
2137
+ from: `0x${string}`;
2138
+ gasUsed: `0x${string}`;
2139
+ logs: {
2140
+ [x: string]: unknown;
2141
+ address: `0x${string}`;
2142
+ blockHash: `0x${string}` | null;
2143
+ blockNumber: `0x${string}` | null;
2144
+ blockTimestamp?: `0x${string}` | null | undefined;
2145
+ data: `0x${string}`;
2146
+ logIndex: `0x${string}` | null;
2147
+ removed: boolean;
2148
+ topics: `0x${string}`[];
2149
+ transactionHash: `0x${string}` | null;
2150
+ transactionIndex: `0x${string}` | null;
2151
+ }[];
2152
+ logsBloom?: `0x${string}` | undefined;
2153
+ root?: `0x${string}` | undefined;
2154
+ status: `0x${string}`;
2155
+ to: `0x${string}` | null;
2156
+ transactionHash: `0x${string}`;
2157
+ transactionIndex: `0x${string}`;
2158
+ type: `0x${string}`;
2159
+ };
2160
+ };
2161
+ recipient: `0x${string}` | null;
2162
+ sender: `0x${string}`;
2163
+ status: "reverted" | "success";
2164
+ timestamp: string | null;
2165
+ transactionHash: `0x${string}`;
2166
+ transactionIndex: number;
2167
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
2168
+ } | undefined;
2169
+ rpc: {
2170
+ [x: string]: unknown;
2171
+ aaAuthorizationList?: {
2172
+ [x: string]: unknown;
2173
+ }[] | undefined;
2174
+ accessList?: {
2175
+ [x: string]: unknown;
2176
+ address: `0x${string}`;
2177
+ storageKeys: `0x${string}`[];
2178
+ }[] | undefined;
2179
+ authorizationList?: {
2180
+ [x: string]: unknown;
2181
+ }[] | undefined;
2182
+ blobVersionedHashes?: `0x${string}`[] | undefined;
2183
+ blockHash: `0x${string}` | null;
2184
+ blockNumber: `0x${string}` | null;
2185
+ blockTimestamp?: `0x${string}` | null | undefined;
2186
+ calls?: {
2187
+ [x: string]: unknown;
2188
+ data?: `0x${string}` | null | undefined;
2189
+ input?: `0x${string}` | null | undefined;
2190
+ to?: `0x${string}` | null | undefined;
2191
+ value?: `0x${string}` | null | undefined;
2192
+ }[] | null | undefined;
2193
+ chainId?: `0x${string}` | undefined;
2194
+ feePayerSignature?: {
2195
+ [x: string]: unknown;
2196
+ type?: string | undefined;
2197
+ } | null | undefined;
2198
+ feeToken?: `0x${string}` | null | undefined;
2199
+ from: `0x${string}`;
2200
+ gas: `0x${string}`;
2201
+ gasPrice?: `0x${string}` | undefined;
2202
+ hash: `0x${string}`;
2203
+ input?: `0x${string}` | undefined;
2204
+ keyAuthorization?: {
2205
+ [x: string]: unknown;
2206
+ } | null | undefined;
2207
+ maxFeePerBlobGas?: `0x${string}` | undefined;
2208
+ maxFeePerGas?: `0x${string}` | undefined;
2209
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2210
+ nonce: `0x${string}`;
2211
+ nonceKey?: `0x${string}` | undefined;
2212
+ r?: `0x${string}` | undefined;
2213
+ s?: `0x${string}` | undefined;
2214
+ signature?: {
2215
+ [x: string]: unknown;
2216
+ type?: string | undefined;
2217
+ } | undefined;
2218
+ to?: `0x${string}` | null | undefined;
2219
+ transactionIndex: `0x${string}` | null;
2220
+ type: `0x${string}`;
2221
+ v?: `0x${string}` | undefined;
2222
+ validAfter?: `0x${string}` | null | undefined;
2223
+ validBefore?: `0x${string}` | null | undefined;
2224
+ value?: `0x${string}` | undefined;
2225
+ yParity?: `0x${string}` | undefined;
2226
+ };
2227
+ };
2228
+ nonce: number;
2229
+ nonceKey?: `0x${string}` | undefined;
2230
+ recipient: `0x${string}` | null;
2231
+ sender: `0x${string}`;
2232
+ timestamp: string | null;
2233
+ transactionIndex: number | null;
2234
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
2235
+ validAfter?: string | null | undefined;
2236
+ validBefore?: string | null | undefined;
2237
+ value: string;
2238
+ }[];
2239
+ nextCursor: string | null;
2240
+ }>;
2241
+ /**
2242
+ * Context-free core of {@link getTransactions}: builds the `txs` query (with the
2243
+ * address-scoped `UNION` planner workaround), applies keyset pagination on
2244
+ * `(block_num, idx)`, and reconstructs each row through the same
2245
+ * `toRpcTransaction` → `humanizeTransaction` path the detail endpoint uses. Used
2246
+ * by the Hono routes (via {@link getTransactions}, which adds Server-Timing +
2247
+ * memoization) and by the webhook poller (uncached, ascending, per-row cursors).
2248
+ */
2249
+ export declare function scanTransactions(deps: scanTransactions.Deps, options: getTransactions.Options): Promise<scanTransactions.Page>;
2250
+ export declare namespace getTransactions {
2251
+ type Options = {
2252
+ address?: z.output<typeof Schema.Address> | undefined;
2253
+ chainId: z.output<typeof Schema.ChainId>;
2254
+ /** Opaque keyset cursor anchoring the page; omit for the head page. */
2255
+ cursor?: string | undefined;
2256
+ feePayer?: z.output<typeof Schema.Address> | undefined;
2257
+ feeToken?: z.output<typeof Schema.Address> | undefined;
2258
+ fromBlock?: number | undefined;
2259
+ fromTimestamp?: string | undefined;
2260
+ /**
2261
+ * When true, the `recipient` filter also matches any inner account-abstraction
2262
+ * call target (`calls[].to`), not just the root `to`. Off by default so read
2263
+ * endpoints keep root-level recipient semantics.
2264
+ */
2265
+ includeCallRecipients?: boolean | undefined;
2266
+ limit: number;
2267
+ /** 1-indexed page number (positional pagination; exclusive with `cursor`). */
2268
+ page?: number | undefined;
2269
+ order: 'asc' | 'desc';
2270
+ recipient?: z.output<typeof Schema.Address> | undefined;
2271
+ sender?: z.output<typeof Schema.Address> | undefined;
2272
+ /**
2273
+ * Filter to transactions whose receipt shows this execution status.
2274
+ * Handled by {@link listTransactions} via the receipts-driven path; the raw
2275
+ * `txs` scan ignores it (`txs` does not store execution status).
2276
+ */
2277
+ status?: 'reverted' | 'success' | undefined;
2278
+ toBlock?: number | undefined;
2279
+ toTimestamp?: string | undefined;
2280
+ };
2281
+ }
2282
+ /**
2283
+ * Capped total count of transactions matching the same filters as the page.
2284
+ *
2285
+ * A `status` filter is delegated to {@link Receipts.countReceipts}, mirroring
2286
+ * the page's receipts-driven `status` path (execution status lives on receipts,
2287
+ * not `txs`). The address scope reuses the page's `UNION` of the two sides —
2288
+ * each side hits its own (`from`/`to`) index, and the deduped keyset count
2289
+ * avoids double-counting self-transactions (`from = to`). `totalCountCapped: true` is a
2290
+ * lower bound — at least {@link Schema.countCap} matches.
2291
+ */
2292
+ export declare function countTransactions(c: Context<App.Environment>, options: countTransactions.Options): Promise<z.output<typeof Schema.CountMeta>>;
2293
+ export declare namespace countTransactions {
2294
+ /** Filters for {@link countTransactions}: the page filters minus pagination. */
2295
+ type Options = Pick<getTransactions.Options, 'address' | 'chainId' | 'feePayer' | 'feeToken' | 'fromBlock' | 'fromTimestamp' | 'recipient' | 'sender' | 'status' | 'toBlock' | 'toTimestamp'>;
2296
+ }
2297
+ export declare namespace scanTransactions {
2298
+ /** Dependencies for {@link scanTransactions}. */
2299
+ type Deps = {
2300
+ /** TIDX query client for the target chain. */
2301
+ tidx: Tidx.Client;
2302
+ };
2303
+ /** A humanized transaction row plus its `(block_num, idx)` cursor. */
2304
+ type Item = {
2305
+ /** Keyset position of the row. */
2306
+ cursor: readonly [blockNumber: number, transactionIndex: number];
2307
+ /** The humanized transaction (same shape the read endpoint returns). */
2308
+ data: z.output<typeof schema.Transaction>;
2309
+ };
2310
+ /** A page of scanned transactions. */
2311
+ type Page = {
2312
+ hasMore: boolean;
2313
+ items: readonly Item[];
2314
+ limit: number;
2315
+ nextCursor: string | null;
2316
+ };
2317
+ }
2318
+ /**
2319
+ * Humanizes a JSON-RPC transaction: decodes `type`, converts hex quantities to
2320
+ * decimal strings, hex block fields to numbers, and timestamps to ISO 8601,
2321
+ * while preserving the verbatim payload under `rpc`. The same function serves
2322
+ * the detail endpoint (RPC source) and the list endpoint (reconstructed from the
2323
+ * indexer), so both expose an identical shape.
2324
+ */
2325
+ export declare function humanizeTransaction(rpc: z.output<typeof schema.Rpc.Transaction>): z.output<typeof schema.Transaction>;
2326
+ export {};
2327
+ //# sourceMappingURL=transactions.d.ts.map