tapimo 0.2.0 → 0.4.0

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 (362) hide show
  1. package/README.md +36 -8
  2. package/dist/ApiKey.d.ts +1 -0
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +5 -2
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +28 -1
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +34 -1
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +7532 -4850
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +11 -3
  13. package/dist/App.js.map +1 -1
  14. package/dist/Scope.d.ts +11 -2
  15. package/dist/Scope.d.ts.map +1 -1
  16. package/dist/Scope.js +14 -3
  17. package/dist/Scope.js.map +1 -1
  18. package/dist/admin/App.d.ts +63 -53
  19. package/dist/admin/App.d.ts.map +1 -1
  20. package/dist/admin/apps/api-keys.d.ts +7 -0
  21. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  22. package/dist/admin/apps/scopes.d.ts +8 -0
  23. package/dist/admin/apps/scopes.d.ts.map +1 -1
  24. package/dist/admin/apps/scopes.js +3 -0
  25. package/dist/admin/apps/scopes.js.map +1 -1
  26. package/dist/admin/apps/verified-tokens.d.ts +57 -57
  27. package/dist/admin/ui.generated.d.ts +1 -1
  28. package/dist/admin/ui.generated.js +13 -13
  29. package/dist/admin/ui.generated.js.map +1 -1
  30. package/dist/analytics/Analytics.d.ts +151 -0
  31. package/dist/analytics/Analytics.d.ts.map +1 -0
  32. package/dist/analytics/Analytics.js +212 -0
  33. package/dist/analytics/Analytics.js.map +1 -0
  34. package/dist/analytics/tables/requestEvents.d.ts +215 -0
  35. package/dist/analytics/tables/requestEvents.d.ts.map +1 -0
  36. package/dist/analytics/tables/requestEvents.js +264 -0
  37. package/dist/analytics/tables/requestEvents.js.map +1 -0
  38. package/dist/apps/data/App.d.ts +1049 -624
  39. package/dist/apps/data/App.d.ts.map +1 -1
  40. package/dist/apps/data/App.js +36 -0
  41. package/dist/apps/data/App.js.map +1 -1
  42. package/dist/apps/data/FundingRouteProviders.d.ts +54 -0
  43. package/dist/apps/data/FundingRouteProviders.d.ts.map +1 -0
  44. package/dist/apps/data/FundingRouteProviders.js +355 -0
  45. package/dist/apps/data/FundingRouteProviders.js.map +1 -0
  46. package/dist/apps/data/index.d.ts +1 -0
  47. package/dist/apps/data/index.d.ts.map +1 -1
  48. package/dist/apps/data/index.js +1 -0
  49. package/dist/apps/data/index.js.map +1 -1
  50. package/dist/apps/data/routes/balances.d.ts +45 -45
  51. package/dist/apps/data/routes/coingecko.d.ts +176 -176
  52. package/dist/apps/data/routes/exchanges.d.ts +455 -455
  53. package/dist/apps/data/routes/fee-amm.d.ts +101 -101
  54. package/dist/apps/data/routes/funding.d.ts +843 -0
  55. package/dist/apps/data/routes/funding.d.ts.map +1 -0
  56. package/dist/apps/data/routes/funding.js +443 -0
  57. package/dist/apps/data/routes/funding.js.map +1 -0
  58. package/dist/apps/data/routes/indexer.d.ts +5 -5
  59. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  60. package/dist/apps/data/routes/receipts.js +2 -8
  61. package/dist/apps/data/routes/receipts.js.map +1 -1
  62. package/dist/apps/data/routes/rpc.d.ts +29 -36
  63. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  64. package/dist/apps/data/routes/rpc.js +29 -1
  65. package/dist/apps/data/routes/rpc.js.map +1 -1
  66. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  67. package/dist/apps/data/routes/transfers.d.ts +56 -56
  68. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  69. package/dist/apps/data/routes/webhooks.d.ts +45 -45
  70. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  71. package/dist/apps/data/routes/webhooks.js +8 -8
  72. package/dist/apps/data/routes/webhooks.js.map +1 -1
  73. package/dist/apps/docs/App.d.ts +5 -3
  74. package/dist/apps/docs/App.d.ts.map +1 -1
  75. package/dist/apps/docs/App.js +28 -96
  76. package/dist/apps/docs/App.js.map +1 -1
  77. package/dist/apps/docs/reference.d.ts +21 -0
  78. package/dist/apps/docs/reference.d.ts.map +1 -0
  79. package/dist/apps/docs/reference.js +112 -0
  80. package/dist/apps/docs/reference.js.map +1 -0
  81. package/dist/apps/index.d.ts +3 -2
  82. package/dist/apps/index.d.ts.map +1 -1
  83. package/dist/apps/index.js +3 -2
  84. package/dist/apps/index.js.map +1 -1
  85. package/dist/apps/{platform → management}/App.d.ts +3015 -738
  86. package/dist/apps/management/App.d.ts.map +1 -0
  87. package/dist/apps/{platform → management}/App.js +20 -10
  88. package/dist/apps/management/App.js.map +1 -0
  89. package/dist/apps/management/Billing.d.ts +279 -0
  90. package/dist/apps/management/Billing.d.ts.map +1 -0
  91. package/dist/apps/management/Billing.js +477 -0
  92. package/dist/apps/management/Billing.js.map +1 -0
  93. package/dist/apps/management/index.d.ts +3 -0
  94. package/dist/apps/management/index.d.ts.map +1 -0
  95. package/dist/apps/management/index.js +3 -0
  96. package/dist/apps/management/index.js.map +1 -0
  97. package/dist/apps/{platform → management}/routes/api-keys.d.ts +341 -49
  98. package/dist/apps/management/routes/api-keys.d.ts.map +1 -0
  99. package/dist/apps/{platform → management}/routes/api-keys.js +116 -14
  100. package/dist/apps/management/routes/api-keys.js.map +1 -0
  101. package/dist/apps/management/routes/billing.d.ts +1520 -0
  102. package/dist/apps/management/routes/billing.d.ts.map +1 -0
  103. package/dist/apps/management/routes/billing.js +795 -0
  104. package/dist/apps/management/routes/billing.js.map +1 -0
  105. package/dist/apps/{platform → management}/routes/invitations.d.ts +202 -84
  106. package/dist/apps/management/routes/invitations.d.ts.map +1 -0
  107. package/dist/apps/{platform → management}/routes/invitations.js +59 -1
  108. package/dist/apps/management/routes/invitations.js.map +1 -0
  109. package/dist/apps/{platform → management}/routes/me.d.ts +17 -17
  110. package/dist/apps/management/routes/me.d.ts.map +1 -0
  111. package/dist/apps/management/routes/me.js.map +1 -0
  112. package/dist/apps/management/routes/members.d.ts.map +1 -0
  113. package/dist/apps/management/routes/members.js.map +1 -0
  114. package/dist/apps/{platform → management}/routes/orgs.d.ts +50 -36
  115. package/dist/apps/management/routes/orgs.d.ts.map +1 -0
  116. package/dist/apps/{platform → management}/routes/orgs.js +14 -3
  117. package/dist/apps/management/routes/orgs.js.map +1 -0
  118. package/dist/apps/{platform → management}/routes/projects.d.ts +97 -97
  119. package/dist/apps/{platform → management}/routes/projects.d.ts.map +1 -1
  120. package/dist/apps/management/routes/projects.js.map +1 -0
  121. package/dist/apps/management/routes/scopes.d.ts +107 -0
  122. package/dist/apps/management/routes/scopes.d.ts.map +1 -0
  123. package/dist/apps/management/routes/scopes.js +66 -0
  124. package/dist/apps/management/routes/scopes.js.map +1 -0
  125. package/dist/apps/management/routes/usage.d.ts +588 -0
  126. package/dist/apps/management/routes/usage.d.ts.map +1 -0
  127. package/dist/apps/management/routes/usage.js +391 -0
  128. package/dist/apps/management/routes/usage.js.map +1 -0
  129. package/dist/apps/mcp.d.ts +76 -0
  130. package/dist/apps/mcp.d.ts.map +1 -0
  131. package/dist/apps/mcp.js +188 -0
  132. package/dist/apps/mcp.js.map +1 -0
  133. package/dist/apps/relay/App.d.ts +4 -1
  134. package/dist/apps/relay/App.d.ts.map +1 -1
  135. package/dist/apps/relay/App.js +118 -10
  136. package/dist/apps/relay/App.js.map +1 -1
  137. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  138. package/dist/apps/relay/Sponsorships.js +2 -1
  139. package/dist/apps/relay/Sponsorships.js.map +1 -1
  140. package/dist/cli/Cli.d.ts +8 -1
  141. package/dist/cli/Cli.d.ts.map +1 -1
  142. package/dist/cli/Cli.js +11 -3
  143. package/dist/cli/Cli.js.map +1 -1
  144. package/dist/cli/commands/admin.d.ts +4 -0
  145. package/dist/cli/commands/admin.d.ts.map +1 -1
  146. package/dist/cli/commands/admin.js +80 -1
  147. package/dist/cli/commands/admin.js.map +1 -1
  148. package/dist/db/Db.d.ts +7 -0
  149. package/dist/db/Db.d.ts.map +1 -1
  150. package/dist/db/Db.js +126 -0
  151. package/dist/db/Db.js.map +1 -1
  152. package/dist/db/Schema.d.ts +79 -0
  153. package/dist/db/Schema.d.ts.map +1 -1
  154. package/dist/db/Schema.js +88 -2
  155. package/dist/db/Schema.js.map +1 -1
  156. package/dist/db/tables/billingSettings.d.ts +55 -0
  157. package/dist/db/tables/billingSettings.d.ts.map +1 -0
  158. package/dist/db/tables/billingSettings.js +70 -0
  159. package/dist/db/tables/billingSettings.js.map +1 -0
  160. package/dist/db/tables/invitations.js +2 -2
  161. package/dist/db/tables/invitations.js.map +1 -1
  162. package/dist/db/tables/organizations.d.ts +6 -2
  163. package/dist/db/tables/organizations.d.ts.map +1 -1
  164. package/dist/db/tables/organizations.js +10 -4
  165. package/dist/db/tables/organizations.js.map +1 -1
  166. package/dist/db/tables/projects.js +2 -2
  167. package/dist/db/tables/projects.js.map +1 -1
  168. package/dist/db/tables/requestUsage.d.ts +121 -0
  169. package/dist/db/tables/requestUsage.d.ts.map +1 -0
  170. package/dist/db/tables/requestUsage.js +150 -0
  171. package/dist/db/tables/requestUsage.js.map +1 -0
  172. package/dist/db/tables/sponsoredTransactions.d.ts +119 -0
  173. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  174. package/dist/db/tables/sponsoredTransactions.js +155 -2
  175. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  176. package/dist/db/tables/stripeCustomers.d.ts +81 -0
  177. package/dist/db/tables/stripeCustomers.d.ts.map +1 -0
  178. package/dist/db/tables/stripeCustomers.js +120 -0
  179. package/dist/db/tables/stripeCustomers.js.map +1 -0
  180. package/dist/db/tables/users.js +2 -2
  181. package/dist/db/tables/users.js.map +1 -1
  182. package/dist/handlers/internal/sponsorship.d.ts +5 -2
  183. package/dist/handlers/internal/sponsorship.d.ts.map +1 -1
  184. package/dist/handlers/internal/sponsorship.js +19 -5
  185. package/dist/handlers/internal/sponsorship.js.map +1 -1
  186. package/dist/handlers/internal/utils.d.ts +10 -3
  187. package/dist/handlers/internal/utils.d.ts.map +1 -1
  188. package/dist/handlers/internal/utils.js +14 -6
  189. package/dist/handlers/internal/utils.js.map +1 -1
  190. package/dist/index.d.ts +1 -0
  191. package/dist/index.d.ts.map +1 -1
  192. package/dist/index.js +1 -0
  193. package/dist/index.js.map +1 -1
  194. package/dist/internal/Auth.d.ts +18 -4
  195. package/dist/internal/Auth.d.ts.map +1 -1
  196. package/dist/internal/Auth.js +149 -77
  197. package/dist/internal/Auth.js.map +1 -1
  198. package/dist/internal/Cache.d.ts.map +1 -1
  199. package/dist/internal/Cache.js +4 -1
  200. package/dist/internal/Cache.js.map +1 -1
  201. package/dist/internal/EdgeCache.d.ts +10 -0
  202. package/dist/internal/EdgeCache.d.ts.map +1 -1
  203. package/dist/internal/EdgeCache.js +39 -8
  204. package/dist/internal/EdgeCache.js.map +1 -1
  205. package/dist/internal/Fees.d.ts +27 -0
  206. package/dist/internal/Fees.d.ts.map +1 -0
  207. package/dist/internal/Fees.js +48 -0
  208. package/dist/internal/Fees.js.map +1 -0
  209. package/dist/internal/FundingRoutes.d.ts +915 -0
  210. package/dist/internal/FundingRoutes.d.ts.map +1 -0
  211. package/dist/internal/FundingRoutes.js +625 -0
  212. package/dist/internal/FundingRoutes.js.map +1 -0
  213. package/dist/internal/Id.d.ts +15 -0
  214. package/dist/internal/Id.d.ts.map +1 -0
  215. package/dist/internal/Id.js +22 -0
  216. package/dist/internal/Id.js.map +1 -0
  217. package/dist/internal/Log.d.ts +2 -0
  218. package/dist/internal/Log.d.ts.map +1 -1
  219. package/dist/internal/Log.js +3 -0
  220. package/dist/internal/Log.js.map +1 -1
  221. package/dist/internal/OpenApi.d.ts +10 -1
  222. package/dist/internal/OpenApi.d.ts.map +1 -1
  223. package/dist/internal/OpenApi.js +8 -1
  224. package/dist/internal/OpenApi.js.map +1 -1
  225. package/dist/internal/RateLimit.d.ts +25 -0
  226. package/dist/internal/RateLimit.d.ts.map +1 -1
  227. package/dist/internal/RateLimit.js +51 -0
  228. package/dist/internal/RateLimit.js.map +1 -1
  229. package/dist/internal/Response.d.ts +1 -1
  230. package/dist/internal/Response.d.ts.map +1 -1
  231. package/dist/internal/Schema.d.ts +8 -0
  232. package/dist/internal/Schema.d.ts.map +1 -1
  233. package/dist/internal/Schema.js +7 -0
  234. package/dist/internal/Schema.js.map +1 -1
  235. package/dist/internal/Webhooks.d.ts.map +1 -1
  236. package/dist/internal/Webhooks.js +3 -3
  237. package/dist/internal/Webhooks.js.map +1 -1
  238. package/package.json +8 -7
  239. package/src/ApiKey.ts +9 -2
  240. package/src/ApiKeys.test.ts +51 -0
  241. package/src/ApiKeys.ts +50 -1
  242. package/src/App.test.ts +33 -86718
  243. package/src/App.ts +26 -8
  244. package/src/Client.test-d.ts +353 -2
  245. package/src/Scope.ts +16 -3
  246. package/src/admin/apps/scopes.test.ts +6 -0
  247. package/src/admin/apps/scopes.ts +3 -0
  248. package/src/admin/ui/src/components/Page.tsx +2 -3
  249. package/src/admin/ui/src/routes/__root.tsx +2 -2
  250. package/src/admin/ui/src/routes/api-keys.tsx +2 -2
  251. package/src/admin/ui.generated.ts +13 -13
  252. package/src/analytics/Analytics.test.ts +527 -0
  253. package/src/analytics/Analytics.ts +318 -0
  254. package/src/analytics/tables/requestEvents.ts +523 -0
  255. package/src/apps/composition.test.ts +26 -13
  256. package/src/apps/data/App.test.ts +72 -0
  257. package/src/apps/data/App.ts +37 -0
  258. package/src/apps/data/FundingRouteProviders.test.ts +281 -0
  259. package/src/apps/data/FundingRouteProviders.ts +459 -0
  260. package/src/apps/data/index.ts +1 -0
  261. package/src/apps/data/routes/funding.test.ts +314 -0
  262. package/src/apps/data/routes/funding.ts +698 -0
  263. package/src/apps/data/routes/receipts.ts +2 -9
  264. package/src/apps/data/routes/rpc.test.ts +78 -2
  265. package/src/apps/data/routes/rpc.ts +31 -1
  266. package/src/apps/data/routes/webhooks.test.ts +1 -1
  267. package/src/apps/data/routes/webhooks.ts +11 -8
  268. package/src/apps/docs/App.ts +30 -101
  269. package/src/apps/docs/reference.ts +132 -0
  270. package/src/apps/index.ts +3 -2
  271. package/src/apps/{platform → management}/App.ts +56 -17
  272. package/src/apps/management/Billing.test.ts +530 -0
  273. package/src/apps/management/Billing.ts +682 -0
  274. package/src/apps/management/index.ts +2 -0
  275. package/src/apps/{platform → management}/routes/api-keys.test.ts +172 -9
  276. package/src/apps/{platform → management}/routes/api-keys.ts +137 -21
  277. package/src/apps/management/routes/billing.test.ts +1100 -0
  278. package/src/apps/management/routes/billing.ts +966 -0
  279. package/src/apps/{platform → management}/routes/invitations.test.ts +55 -7
  280. package/src/apps/{platform → management}/routes/invitations.ts +69 -1
  281. package/src/apps/management/routes/me.test.ts +351 -0
  282. package/src/apps/{platform → management}/routes/orgs.ts +26 -4
  283. package/src/apps/management/routes/scopes.test.ts +29 -0
  284. package/src/apps/management/routes/scopes.ts +85 -0
  285. package/src/apps/management/routes/usage.test.ts +422 -0
  286. package/src/apps/management/routes/usage.ts +527 -0
  287. package/src/apps/mcp.test.ts +206 -0
  288. package/src/apps/mcp.ts +250 -0
  289. package/src/apps/relay/App.test.ts +457 -8
  290. package/src/apps/relay/App.ts +120 -12
  291. package/src/apps/relay/Sponsorships.test.ts +1 -1
  292. package/src/apps/relay/Sponsorships.ts +2 -1
  293. package/src/cli/Cli.test.ts +25 -2
  294. package/src/cli/Cli.ts +17 -2
  295. package/src/cli/commands/admin.test.ts +83 -0
  296. package/src/cli/commands/admin.ts +89 -1
  297. package/src/db/Db.ts +137 -0
  298. package/src/db/Schema.ts +104 -2
  299. package/src/db/tables/billingSettings.test.ts +87 -0
  300. package/src/db/tables/billingSettings.ts +108 -0
  301. package/src/db/tables/invitations.ts +2 -2
  302. package/src/db/tables/organizations.test.ts +1 -1
  303. package/src/db/tables/organizations.ts +15 -5
  304. package/src/db/tables/projects.ts +2 -2
  305. package/src/db/tables/requestUsage.ts +231 -0
  306. package/src/db/tables/sponsoredTransactions.test.ts +108 -1
  307. package/src/db/tables/sponsoredTransactions.ts +230 -2
  308. package/src/db/tables/stripeCustomers.test.ts +109 -0
  309. package/src/db/tables/stripeCustomers.ts +162 -0
  310. package/src/db/tables/users.ts +2 -2
  311. package/src/handlers/internal/sponsorship.ts +34 -7
  312. package/src/handlers/internal/utils.ts +19 -7
  313. package/src/index.ts +1 -0
  314. package/src/internal/Auth.test.ts +175 -25
  315. package/src/internal/Auth.ts +176 -87
  316. package/src/internal/Cache.ts +5 -1
  317. package/src/internal/EdgeCache.test.ts +27 -4
  318. package/src/internal/EdgeCache.ts +47 -9
  319. package/src/internal/Fees.test.ts +32 -0
  320. package/src/internal/Fees.ts +51 -0
  321. package/src/internal/FundingRoutes.test.ts +213 -0
  322. package/src/internal/FundingRoutes.ts +898 -0
  323. package/src/internal/Id.test.ts +17 -0
  324. package/src/internal/Id.ts +24 -0
  325. package/src/internal/Log.test.ts +1 -0
  326. package/src/internal/Log.ts +5 -0
  327. package/src/internal/OpenApi.ts +12 -1
  328. package/src/internal/RateLimit.test.ts +84 -0
  329. package/src/internal/RateLimit.ts +70 -0
  330. package/src/internal/Response.ts +1 -1
  331. package/src/internal/Schema.ts +8 -0
  332. package/src/internal/Webhooks.test.ts +3 -3
  333. package/src/internal/Webhooks.ts +3 -3
  334. package/dist/apps/platform/App.d.ts.map +0 -1
  335. package/dist/apps/platform/App.js.map +0 -1
  336. package/dist/apps/platform/index.d.ts +0 -2
  337. package/dist/apps/platform/index.d.ts.map +0 -1
  338. package/dist/apps/platform/index.js +0 -2
  339. package/dist/apps/platform/index.js.map +0 -1
  340. package/dist/apps/platform/routes/api-keys.d.ts.map +0 -1
  341. package/dist/apps/platform/routes/api-keys.js.map +0 -1
  342. package/dist/apps/platform/routes/invitations.d.ts.map +0 -1
  343. package/dist/apps/platform/routes/invitations.js.map +0 -1
  344. package/dist/apps/platform/routes/me.d.ts.map +0 -1
  345. package/dist/apps/platform/routes/me.js.map +0 -1
  346. package/dist/apps/platform/routes/members.d.ts.map +0 -1
  347. package/dist/apps/platform/routes/members.js.map +0 -1
  348. package/dist/apps/platform/routes/orgs.d.ts.map +0 -1
  349. package/dist/apps/platform/routes/orgs.js.map +0 -1
  350. package/dist/apps/platform/routes/projects.js.map +0 -1
  351. package/src/apps/platform/index.ts +0 -1
  352. package/src/apps/platform/routes/me.test.ts +0 -121
  353. /package/dist/apps/{platform → management}/routes/me.js +0 -0
  354. /package/dist/apps/{platform → management}/routes/members.d.ts +0 -0
  355. /package/dist/apps/{platform → management}/routes/members.js +0 -0
  356. /package/dist/apps/{platform → management}/routes/projects.js +0 -0
  357. /package/src/apps/{platform → management}/routes/me.ts +0 -0
  358. /package/src/apps/{platform → management}/routes/members.test.ts +0 -0
  359. /package/src/apps/{platform → management}/routes/members.ts +0 -0
  360. /package/src/apps/{platform → management}/routes/orgs.test.ts +0 -0
  361. /package/src/apps/{platform → management}/routes/projects.test.ts +0 -0
  362. /package/src/apps/{platform → management}/routes/projects.ts +0 -0
@@ -3,6 +3,7 @@ import type * as App from '../../App.js';
3
3
  import * as Response from '../../internal/Response.js';
4
4
  import * as Tidx from '../../internal/Tidx.js';
5
5
  import * as Viem from '../../internal/Viem.js';
6
+ import { funding } from './routes/funding.js';
6
7
  /**
7
8
  * The chain-data route group: read endpoints over blocks, transactions, tokens,
8
9
  * the exchange/fee-AMM, and the RPC/indexer passthroughs. It owns all chain
@@ -13,29 +14,12 @@ import * as Viem from '../../internal/Viem.js';
13
14
  * ```
14
15
  */
15
16
  export declare function data(options?: data.Options): import("hono/hono-base").HonoBase<App.Environment, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
16
- "/v1/transfers": {
17
+ "/v1/indexer/query": {
17
18
  $get: {
18
19
  output: null;
19
20
  outputFormat: "body";
20
21
  status: 402;
21
- input: {
22
- query?: {
23
- recipient?: string | string[];
24
- sender?: string | string[];
25
- token?: string | string[];
26
- address?: string | string[];
27
- 'blockNumber.from'?: string | string[];
28
- 'blockNumber.to'?: string | string[];
29
- chainId?: string | string[];
30
- cursor?: string | string[];
31
- include?: string | string[];
32
- limit?: string | string[];
33
- order?: string | string[];
34
- page?: string | string[];
35
- 'timestamp.from'?: string | string[];
36
- 'timestamp.to'?: string | string[];
37
- } | undefined;
38
- };
22
+ input: {};
39
23
  } | {
40
24
  output: {
41
25
  error: {
@@ -47,24 +31,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
47
31
  };
48
32
  outputFormat: "json";
49
33
  status: 400;
50
- input: {
51
- query?: {
52
- recipient?: string | string[];
53
- sender?: string | string[];
54
- token?: string | string[];
55
- address?: string | string[];
56
- 'blockNumber.from'?: string | string[];
57
- 'blockNumber.to'?: string | string[];
58
- chainId?: string | string[];
59
- cursor?: string | string[];
60
- include?: string | string[];
61
- limit?: string | string[];
62
- order?: string | string[];
63
- page?: string | string[];
64
- 'timestamp.from'?: string | string[];
65
- 'timestamp.to'?: string | string[];
66
- } | undefined;
67
- };
34
+ input: {};
68
35
  } | {
69
36
  output: {
70
37
  error: {
@@ -76,24 +43,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
76
43
  };
77
44
  outputFormat: "json";
78
45
  status: 401;
79
- input: {
80
- query?: {
81
- recipient?: string | string[];
82
- sender?: string | string[];
83
- token?: string | string[];
84
- address?: string | string[];
85
- 'blockNumber.from'?: string | string[];
86
- 'blockNumber.to'?: string | string[];
87
- chainId?: string | string[];
88
- cursor?: string | string[];
89
- include?: string | string[];
90
- limit?: string | string[];
91
- order?: string | string[];
92
- page?: string | string[];
93
- 'timestamp.from'?: string | string[];
94
- 'timestamp.to'?: string | string[];
95
- } | undefined;
96
- };
46
+ input: {};
97
47
  } | {
98
48
  output: {
99
49
  error: {
@@ -105,24 +55,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
105
55
  };
106
56
  outputFormat: "json";
107
57
  status: 403;
108
- input: {
109
- query?: {
110
- recipient?: string | string[];
111
- sender?: string | string[];
112
- token?: string | string[];
113
- address?: string | string[];
114
- 'blockNumber.from'?: string | string[];
115
- 'blockNumber.to'?: string | string[];
116
- chainId?: string | string[];
117
- cursor?: string | string[];
118
- include?: string | string[];
119
- limit?: string | string[];
120
- order?: string | string[];
121
- page?: string | string[];
122
- 'timestamp.from'?: string | string[];
123
- 'timestamp.to'?: string | string[];
124
- } | undefined;
125
- };
58
+ input: {};
126
59
  } | {
127
60
  output: {
128
61
  error: {
@@ -134,28 +67,57 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
134
67
  };
135
68
  outputFormat: "json";
136
69
  status: 429;
70
+ input: {};
71
+ } | {
72
+ output: {
73
+ ok: boolean;
74
+ columns: string[];
75
+ rows: import("hono/utils/types").JSONValue[][];
76
+ row_count: number;
77
+ engine?: "clickhouse" | "postgres" | undefined;
78
+ query_time_ms?: number | undefined;
79
+ };
80
+ outputFormat: "json";
81
+ status: 200;
82
+ input: {};
83
+ } | {
84
+ output: {
85
+ ok: false;
86
+ error: string;
87
+ };
88
+ outputFormat: "json";
89
+ status: 400;
90
+ input: {};
91
+ } | {
92
+ output: {
93
+ ok: false;
94
+ error: string;
95
+ };
96
+ outputFormat: "json";
97
+ status: 422;
98
+ input: {};
99
+ } | {
100
+ output: never;
101
+ outputFormat: never;
102
+ status: never;
103
+ input: {};
104
+ };
105
+ };
106
+ }, "/"> | import("hono/types").MergeSchemaPath<{
107
+ "/v1/tokenlist": {
108
+ $get: {
109
+ output: null;
110
+ outputFormat: "body";
111
+ status: 402;
137
112
  input: {
138
113
  query?: {
139
- recipient?: string | string[];
140
- sender?: string | string[];
141
- token?: string | string[];
142
- address?: string | string[];
143
- 'blockNumber.from'?: string | string[];
144
- 'blockNumber.to'?: string | string[];
145
114
  chainId?: string | string[];
146
- cursor?: string | string[];
147
- include?: string | string[];
148
- limit?: string | string[];
149
- order?: string | string[];
150
- page?: string | string[];
151
- 'timestamp.from'?: string | string[];
152
- 'timestamp.to'?: string | string[];
153
115
  } | undefined;
154
116
  };
155
117
  } | {
156
118
  output: {
157
119
  error: {
158
- code: "query_invalid";
120
+ code: "api_key_malformed";
159
121
  details?: readonly Response.error.Detail[] | undefined;
160
122
  message: string;
161
123
  };
@@ -165,293 +127,73 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
165
127
  status: 400;
166
128
  input: {
167
129
  query?: {
168
- recipient?: string | string[];
169
- sender?: string | string[];
170
- token?: string | string[];
171
- address?: string | string[];
172
- 'blockNumber.from'?: string | string[];
173
- 'blockNumber.to'?: string | string[];
174
130
  chainId?: string | string[];
175
- cursor?: string | string[];
176
- include?: string | string[];
177
- limit?: string | string[];
178
- order?: string | string[];
179
- page?: string | string[];
180
- 'timestamp.from'?: string | string[];
181
- 'timestamp.to'?: string | string[];
182
131
  } | undefined;
183
132
  };
184
133
  } | {
185
134
  output: {
186
- data: {
187
- attribution?: string | undefined;
188
- blockNumber: number;
189
- destinationToken?: {
190
- address: `0x${string}`;
191
- amount: string;
192
- currency?: string | undefined;
193
- decimals?: number | undefined;
194
- logoUri?: string | undefined;
195
- name?: string | undefined;
196
- symbol?: string | undefined;
197
- verified?: boolean | undefined;
198
- } | undefined;
199
- id: string;
200
- logIndex: number;
201
- memo?: string | undefined;
202
- recipient: `0x${string}`;
203
- sender: `0x${string}`;
204
- sourceToken: {
205
- address: `0x${string}`;
206
- amount: string;
207
- currency?: string | undefined;
208
- decimals?: number | undefined;
209
- logoUri?: string | undefined;
210
- name?: string | undefined;
211
- symbol?: string | undefined;
212
- verified?: boolean | undefined;
213
- };
214
- timestamp: string;
215
- transactionHash: `0x${string}`;
216
- }[];
217
- meta?: {
218
- totalCountCapped: boolean;
219
- totalCount: number;
220
- } | undefined;
221
- nextCursor: string | null;
135
+ error: {
136
+ code: "api_key_invalid" | "api_key_missing";
137
+ details?: readonly Response.error.Detail[] | undefined;
138
+ message: string;
139
+ };
140
+ requestId: string;
222
141
  };
223
142
  outputFormat: "json";
224
- status: 200;
143
+ status: 401;
225
144
  input: {
226
145
  query?: {
227
- recipient?: string | string[];
228
- sender?: string | string[];
229
- token?: string | string[];
230
- address?: string | string[];
231
- 'blockNumber.from'?: string | string[];
232
- 'blockNumber.to'?: string | string[];
233
146
  chainId?: string | string[];
234
- cursor?: string | string[];
235
- include?: string | string[];
236
- limit?: string | string[];
237
- order?: string | string[];
238
- page?: string | string[];
239
- 'timestamp.from'?: string | string[];
240
- 'timestamp.to'?: string | string[];
241
147
  } | undefined;
242
148
  };
243
149
  } | {
244
150
  output: {
245
151
  error: {
246
- code: "upstream_error";
152
+ code: "api_key_forbidden";
247
153
  details?: readonly Response.error.Detail[] | undefined;
248
154
  message: string;
249
155
  };
250
156
  requestId: string;
251
157
  };
252
158
  outputFormat: "json";
253
- status: 502;
159
+ status: 403;
254
160
  input: {
255
161
  query?: {
256
- recipient?: string | string[];
257
- sender?: string | string[];
258
- token?: string | string[];
259
- address?: string | string[];
260
- 'blockNumber.from'?: string | string[];
261
- 'blockNumber.to'?: string | string[];
262
162
  chainId?: string | string[];
263
- cursor?: string | string[];
264
- include?: string | string[];
265
- limit?: string | string[];
266
- order?: string | string[];
267
- page?: string | string[];
268
- 'timestamp.from'?: string | string[];
269
- 'timestamp.to'?: string | string[];
270
163
  } | undefined;
271
164
  };
272
- };
273
- };
274
- }, "/"> | import("hono/types").MergeSchemaPath<{
275
- "/v1/indexer/query": {
276
- $get: {
277
- output: null;
278
- outputFormat: "body";
279
- status: 402;
280
- input: {};
281
- } | {
282
- output: never;
283
- outputFormat: never;
284
- status: never;
285
- input: {};
286
165
  } | {
287
166
  output: {
288
167
  error: {
289
- code: "api_key_malformed";
168
+ code: "payment_required" | "rate_limit_exceeded";
290
169
  details?: readonly Response.error.Detail[] | undefined;
291
170
  message: string;
292
171
  };
293
172
  requestId: string;
294
173
  };
295
174
  outputFormat: "json";
296
- status: 400;
297
- input: {};
175
+ status: 429;
176
+ input: {
177
+ query?: {
178
+ chainId?: string | string[];
179
+ } | undefined;
180
+ };
298
181
  } | {
299
182
  output: {
300
183
  error: {
301
- code: "api_key_invalid" | "api_key_missing";
184
+ code: "query_invalid";
302
185
  details?: readonly Response.error.Detail[] | undefined;
303
186
  message: string;
304
187
  };
305
188
  requestId: string;
306
189
  };
307
190
  outputFormat: "json";
308
- status: 401;
309
- input: {};
310
- } | {
311
- output: {
312
- error: {
313
- code: "api_key_forbidden";
314
- details?: readonly Response.error.Detail[] | undefined;
315
- message: string;
316
- };
317
- requestId: string;
318
- };
319
- outputFormat: "json";
320
- status: 403;
321
- input: {};
322
- } | {
323
- output: {
324
- error: {
325
- code: "payment_required" | "rate_limit_exceeded";
326
- details?: readonly Response.error.Detail[] | undefined;
327
- message: string;
328
- };
329
- requestId: string;
330
- };
331
- outputFormat: "json";
332
- status: 429;
333
- input: {};
334
- } | {
335
- output: {
336
- ok: boolean;
337
- columns: string[];
338
- rows: import("hono/utils/types").JSONValue[][];
339
- row_count: number;
340
- engine?: "clickhouse" | "postgres" | undefined;
341
- query_time_ms?: number | undefined;
342
- };
343
- outputFormat: "json";
344
- status: 200;
345
- input: {};
346
- } | {
347
- output: {
348
- ok: false;
349
- error: string;
350
- };
351
- outputFormat: "json";
352
- status: 400;
353
- input: {};
354
- } | {
355
- output: {
356
- ok: false;
357
- error: string;
358
- };
359
- outputFormat: "json";
360
- status: 422;
361
- input: {};
362
- };
363
- };
364
- }, "/"> | import("hono/types").MergeSchemaPath<{
365
- "/v1/tokenlist": {
366
- $get: {
367
- output: null;
368
- outputFormat: "body";
369
- status: 402;
370
- input: {
371
- query?: {
372
- chainId?: string | string[];
373
- } | undefined;
374
- };
375
- } | {
376
- output: {
377
- error: {
378
- code: "api_key_malformed";
379
- details?: readonly Response.error.Detail[] | undefined;
380
- message: string;
381
- };
382
- requestId: string;
383
- };
384
- outputFormat: "json";
385
- status: 400;
386
- input: {
387
- query?: {
388
- chainId?: string | string[];
389
- } | undefined;
390
- };
391
- } | {
392
- output: {
393
- error: {
394
- code: "api_key_invalid" | "api_key_missing";
395
- details?: readonly Response.error.Detail[] | undefined;
396
- message: string;
397
- };
398
- requestId: string;
399
- };
400
- outputFormat: "json";
401
- status: 401;
402
- input: {
403
- query?: {
404
- chainId?: string | string[];
405
- } | undefined;
406
- };
407
- } | {
408
- output: {
409
- error: {
410
- code: "api_key_forbidden";
411
- details?: readonly Response.error.Detail[] | undefined;
412
- message: string;
413
- };
414
- requestId: string;
415
- };
416
- outputFormat: "json";
417
- status: 403;
418
- input: {
419
- query?: {
420
- chainId?: string | string[];
421
- } | undefined;
422
- };
423
- } | {
424
- output: {
425
- error: {
426
- code: "payment_required" | "rate_limit_exceeded";
427
- details?: readonly Response.error.Detail[] | undefined;
428
- message: string;
429
- };
430
- requestId: string;
431
- };
432
- outputFormat: "json";
433
- status: 429;
434
- input: {
435
- query?: {
436
- chainId?: string | string[];
437
- } | undefined;
438
- };
439
- } | {
440
- output: {
441
- error: {
442
- code: "query_invalid";
443
- details?: readonly Response.error.Detail[] | undefined;
444
- message: string;
445
- };
446
- requestId: string;
447
- };
448
- outputFormat: "json";
449
- status: 400;
450
- input: {
451
- query?: {
452
- chainId?: string | string[];
453
- } | undefined;
454
- };
191
+ status: 400;
192
+ input: {
193
+ query?: {
194
+ chainId?: string | string[];
195
+ } | undefined;
196
+ };
455
197
  } | {
456
198
  output: {
457
199
  error: {
@@ -2284,13 +2026,28 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2284
2026
  };
2285
2027
  };
2286
2028
  }, "/"> | import("hono/types").MergeSchemaPath<{
2287
- "/rpc/:chain{(mainnet|testnet|[0-9]+)}?": {
2288
- $post: {
2289
- output: never;
2290
- outputFormat: never;
2291
- status: never;
2029
+ "/v1/transfers": {
2030
+ $get: {
2031
+ output: null;
2032
+ outputFormat: "body";
2033
+ status: 402;
2292
2034
  input: {
2293
- param: Record<"chain", string | undefined>;
2035
+ query?: {
2036
+ recipient?: string | string[];
2037
+ sender?: string | string[];
2038
+ token?: string | string[];
2039
+ address?: string | string[];
2040
+ 'blockNumber.from'?: string | string[];
2041
+ 'blockNumber.to'?: string | string[];
2042
+ chainId?: string | string[];
2043
+ cursor?: string | string[];
2044
+ include?: string | string[];
2045
+ limit?: string | string[];
2046
+ order?: string | string[];
2047
+ page?: string | string[];
2048
+ 'timestamp.from'?: string | string[];
2049
+ 'timestamp.to'?: string | string[];
2050
+ } | undefined;
2294
2051
  };
2295
2052
  } | {
2296
2053
  output: {
@@ -2304,7 +2061,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2304
2061
  outputFormat: "json";
2305
2062
  status: 400;
2306
2063
  input: {
2307
- param: Record<"chain", string | undefined>;
2064
+ query?: {
2065
+ recipient?: string | string[];
2066
+ sender?: string | string[];
2067
+ token?: string | string[];
2068
+ address?: string | string[];
2069
+ 'blockNumber.from'?: string | string[];
2070
+ 'blockNumber.to'?: string | string[];
2071
+ chainId?: string | string[];
2072
+ cursor?: string | string[];
2073
+ include?: string | string[];
2074
+ limit?: string | string[];
2075
+ order?: string | string[];
2076
+ page?: string | string[];
2077
+ 'timestamp.from'?: string | string[];
2078
+ 'timestamp.to'?: string | string[];
2079
+ } | undefined;
2308
2080
  };
2309
2081
  } | {
2310
2082
  output: {
@@ -2318,7 +2090,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2318
2090
  outputFormat: "json";
2319
2091
  status: 401;
2320
2092
  input: {
2321
- param: Record<"chain", string | undefined>;
2093
+ query?: {
2094
+ recipient?: string | string[];
2095
+ sender?: string | string[];
2096
+ token?: string | string[];
2097
+ address?: string | string[];
2098
+ 'blockNumber.from'?: string | string[];
2099
+ 'blockNumber.to'?: string | string[];
2100
+ chainId?: string | string[];
2101
+ cursor?: string | string[];
2102
+ include?: string | string[];
2103
+ limit?: string | string[];
2104
+ order?: string | string[];
2105
+ page?: string | string[];
2106
+ 'timestamp.from'?: string | string[];
2107
+ 'timestamp.to'?: string | string[];
2108
+ } | undefined;
2322
2109
  };
2323
2110
  } | {
2324
2111
  output: {
@@ -2332,7 +2119,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2332
2119
  outputFormat: "json";
2333
2120
  status: 403;
2334
2121
  input: {
2335
- param: Record<"chain", string | undefined>;
2122
+ query?: {
2123
+ recipient?: string | string[];
2124
+ sender?: string | string[];
2125
+ token?: string | string[];
2126
+ address?: string | string[];
2127
+ 'blockNumber.from'?: string | string[];
2128
+ 'blockNumber.to'?: string | string[];
2129
+ chainId?: string | string[];
2130
+ cursor?: string | string[];
2131
+ include?: string | string[];
2132
+ limit?: string | string[];
2133
+ order?: string | string[];
2134
+ page?: string | string[];
2135
+ 'timestamp.from'?: string | string[];
2136
+ 'timestamp.to'?: string | string[];
2137
+ } | undefined;
2336
2138
  };
2337
2139
  } | {
2338
2140
  output: {
@@ -2346,12 +2148,27 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2346
2148
  outputFormat: "json";
2347
2149
  status: 429;
2348
2150
  input: {
2349
- param: Record<"chain", string | undefined>;
2151
+ query?: {
2152
+ recipient?: string | string[];
2153
+ sender?: string | string[];
2154
+ token?: string | string[];
2155
+ address?: string | string[];
2156
+ 'blockNumber.from'?: string | string[];
2157
+ 'blockNumber.to'?: string | string[];
2158
+ chainId?: string | string[];
2159
+ cursor?: string | string[];
2160
+ include?: string | string[];
2161
+ limit?: string | string[];
2162
+ order?: string | string[];
2163
+ page?: string | string[];
2164
+ 'timestamp.from'?: string | string[];
2165
+ 'timestamp.to'?: string | string[];
2166
+ } | undefined;
2350
2167
  };
2351
2168
  } | {
2352
2169
  output: {
2353
2170
  error: {
2354
- code: "chain_id_invalid";
2171
+ code: "query_invalid";
2355
2172
  details?: readonly Response.error.Detail[] | undefined;
2356
2173
  message: string;
2357
2174
  };
@@ -2360,20 +2177,197 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2360
2177
  outputFormat: "json";
2361
2178
  status: 400;
2362
2179
  input: {
2363
- param: Record<"chain", string | undefined>;
2364
- };
2365
- } | {
2366
- output: {
2367
- error?: {
2368
- code: number;
2369
- data?: import("hono/utils/types").JSONValue;
2370
- message: string;
2371
- } | undefined;
2372
- id?: string | number | null | undefined;
2373
- jsonrpc: "2.0";
2374
- result?: import("hono/utils/types").JSONValue;
2375
- }[] | {
2376
- error?: {
2180
+ query?: {
2181
+ recipient?: string | string[];
2182
+ sender?: string | string[];
2183
+ token?: string | string[];
2184
+ address?: string | string[];
2185
+ 'blockNumber.from'?: string | string[];
2186
+ 'blockNumber.to'?: string | string[];
2187
+ chainId?: string | string[];
2188
+ cursor?: string | string[];
2189
+ include?: string | string[];
2190
+ limit?: string | string[];
2191
+ order?: string | string[];
2192
+ page?: string | string[];
2193
+ 'timestamp.from'?: string | string[];
2194
+ 'timestamp.to'?: string | string[];
2195
+ } | undefined;
2196
+ };
2197
+ } | {
2198
+ output: {
2199
+ error: {
2200
+ code: "upstream_error";
2201
+ details?: readonly Response.error.Detail[] | undefined;
2202
+ message: string;
2203
+ };
2204
+ requestId: string;
2205
+ };
2206
+ outputFormat: "json";
2207
+ status: 502;
2208
+ input: {
2209
+ query?: {
2210
+ recipient?: string | string[];
2211
+ sender?: string | string[];
2212
+ token?: string | string[];
2213
+ address?: string | string[];
2214
+ 'blockNumber.from'?: string | string[];
2215
+ 'blockNumber.to'?: string | string[];
2216
+ chainId?: string | string[];
2217
+ cursor?: string | string[];
2218
+ include?: string | string[];
2219
+ limit?: string | string[];
2220
+ order?: string | string[];
2221
+ page?: string | string[];
2222
+ 'timestamp.from'?: string | string[];
2223
+ 'timestamp.to'?: string | string[];
2224
+ } | undefined;
2225
+ };
2226
+ } | {
2227
+ output: {
2228
+ data: {
2229
+ attribution?: string | undefined;
2230
+ blockNumber: number;
2231
+ destinationToken?: {
2232
+ address: `0x${string}`;
2233
+ amount: string;
2234
+ currency?: string | undefined;
2235
+ decimals?: number | undefined;
2236
+ logoUri?: string | undefined;
2237
+ name?: string | undefined;
2238
+ symbol?: string | undefined;
2239
+ verified?: boolean | undefined;
2240
+ } | undefined;
2241
+ id: string;
2242
+ logIndex: number;
2243
+ memo?: string | undefined;
2244
+ recipient: `0x${string}`;
2245
+ sender: `0x${string}`;
2246
+ sourceToken: {
2247
+ address: `0x${string}`;
2248
+ amount: string;
2249
+ currency?: string | undefined;
2250
+ decimals?: number | undefined;
2251
+ logoUri?: string | undefined;
2252
+ name?: string | undefined;
2253
+ symbol?: string | undefined;
2254
+ verified?: boolean | undefined;
2255
+ };
2256
+ timestamp: string;
2257
+ transactionHash: `0x${string}`;
2258
+ }[];
2259
+ meta?: {
2260
+ totalCountCapped: boolean;
2261
+ totalCount: number;
2262
+ } | undefined;
2263
+ nextCursor: string | null;
2264
+ };
2265
+ outputFormat: "json";
2266
+ status: 200;
2267
+ input: {
2268
+ query?: {
2269
+ recipient?: string | string[];
2270
+ sender?: string | string[];
2271
+ token?: string | string[];
2272
+ address?: string | string[];
2273
+ 'blockNumber.from'?: string | string[];
2274
+ 'blockNumber.to'?: string | string[];
2275
+ chainId?: string | string[];
2276
+ cursor?: string | string[];
2277
+ include?: string | string[];
2278
+ limit?: string | string[];
2279
+ order?: string | string[];
2280
+ page?: string | string[];
2281
+ 'timestamp.from'?: string | string[];
2282
+ 'timestamp.to'?: string | string[];
2283
+ } | undefined;
2284
+ };
2285
+ };
2286
+ };
2287
+ }, "/"> | import("hono/types").MergeSchemaPath<{
2288
+ "/rpc/:chain{(mainnet|testnet|[0-9]+)}?": {
2289
+ $post: {
2290
+ output: {
2291
+ error: {
2292
+ code: "api_key_malformed";
2293
+ details?: readonly Response.error.Detail[] | undefined;
2294
+ message: string;
2295
+ };
2296
+ requestId: string;
2297
+ };
2298
+ outputFormat: "json";
2299
+ status: 400;
2300
+ input: {
2301
+ param: Record<"chain", string | undefined>;
2302
+ };
2303
+ } | {
2304
+ output: {
2305
+ error: {
2306
+ code: "api_key_invalid" | "api_key_missing";
2307
+ details?: readonly Response.error.Detail[] | undefined;
2308
+ message: string;
2309
+ };
2310
+ requestId: string;
2311
+ };
2312
+ outputFormat: "json";
2313
+ status: 401;
2314
+ input: {
2315
+ param: Record<"chain", string | undefined>;
2316
+ };
2317
+ } | {
2318
+ output: {
2319
+ error: {
2320
+ code: "api_key_forbidden";
2321
+ details?: readonly Response.error.Detail[] | undefined;
2322
+ message: string;
2323
+ };
2324
+ requestId: string;
2325
+ };
2326
+ outputFormat: "json";
2327
+ status: 403;
2328
+ input: {
2329
+ param: Record<"chain", string | undefined>;
2330
+ };
2331
+ } | {
2332
+ output: {
2333
+ error: {
2334
+ code: "payment_required" | "rate_limit_exceeded";
2335
+ details?: readonly Response.error.Detail[] | undefined;
2336
+ message: string;
2337
+ };
2338
+ requestId: string;
2339
+ };
2340
+ outputFormat: "json";
2341
+ status: 429;
2342
+ input: {
2343
+ param: Record<"chain", string | undefined>;
2344
+ };
2345
+ } | {
2346
+ output: {
2347
+ error: {
2348
+ code: "chain_id_invalid";
2349
+ details?: readonly Response.error.Detail[] | undefined;
2350
+ message: string;
2351
+ };
2352
+ requestId: string;
2353
+ };
2354
+ outputFormat: "json";
2355
+ status: 400;
2356
+ input: {
2357
+ param: Record<"chain", string | undefined>;
2358
+ };
2359
+ } | {
2360
+ output: {
2361
+ error?: {
2362
+ code: number;
2363
+ data?: import("hono/utils/types").JSONValue;
2364
+ message: string;
2365
+ } | undefined;
2366
+ id?: string | number | null | undefined;
2367
+ jsonrpc: "2.0";
2368
+ result?: import("hono/utils/types").JSONValue;
2369
+ }[] | {
2370
+ error?: {
2377
2371
  code: number;
2378
2372
  data?: import("hono/utils/types").JSONValue;
2379
2373
  message: string;
@@ -2595,7 +2589,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2595
2589
  };
2596
2590
  };
2597
2591
  }, "/"> | import("hono/types").MergeSchemaPath<{
2598
- "/v1/blocks": {
2592
+ "/v1/fee-amm/pools": {
2599
2593
  $get: {
2600
2594
  output: null;
2601
2595
  outputFormat: "body";
@@ -2604,8 +2598,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2604
2598
  query?: {
2605
2599
  chainId?: string | string[];
2606
2600
  cursor?: string | string[];
2601
+ include?: string | string[];
2607
2602
  limit?: string | string[];
2608
- order?: string | string[];
2609
2603
  page?: string | string[];
2610
2604
  } | undefined;
2611
2605
  };
@@ -2624,8 +2618,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2624
2618
  query?: {
2625
2619
  chainId?: string | string[];
2626
2620
  cursor?: string | string[];
2621
+ include?: string | string[];
2627
2622
  limit?: string | string[];
2628
- order?: string | string[];
2629
2623
  page?: string | string[];
2630
2624
  } | undefined;
2631
2625
  };
@@ -2644,8 +2638,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2644
2638
  query?: {
2645
2639
  chainId?: string | string[];
2646
2640
  cursor?: string | string[];
2641
+ include?: string | string[];
2647
2642
  limit?: string | string[];
2648
- order?: string | string[];
2649
2643
  page?: string | string[];
2650
2644
  } | undefined;
2651
2645
  };
@@ -2664,8 +2658,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2664
2658
  query?: {
2665
2659
  chainId?: string | string[];
2666
2660
  cursor?: string | string[];
2661
+ include?: string | string[];
2667
2662
  limit?: string | string[];
2668
- order?: string | string[];
2669
2663
  page?: string | string[];
2670
2664
  } | undefined;
2671
2665
  };
@@ -2684,8 +2678,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2684
2678
  query?: {
2685
2679
  chainId?: string | string[];
2686
2680
  cursor?: string | string[];
2681
+ include?: string | string[];
2687
2682
  limit?: string | string[];
2688
- order?: string | string[];
2689
2683
  page?: string | string[];
2690
2684
  } | undefined;
2691
2685
  };
@@ -2704,8 +2698,52 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2704
2698
  query?: {
2705
2699
  chainId?: string | string[];
2706
2700
  cursor?: string | string[];
2701
+ include?: string | string[];
2702
+ limit?: string | string[];
2703
+ page?: string | string[];
2704
+ } | undefined;
2705
+ };
2706
+ } | {
2707
+ output: {
2708
+ data: {
2709
+ createdAt: string;
2710
+ id: `0x${string}`;
2711
+ lastMintAt: string;
2712
+ mintCount: number;
2713
+ poolId: `0x${string}`;
2714
+ userToken: {
2715
+ address: `0x${string}`;
2716
+ currency?: string | undefined;
2717
+ decimals?: number | undefined;
2718
+ logoUri?: string | undefined;
2719
+ name?: string | undefined;
2720
+ symbol?: string | undefined;
2721
+ verified?: boolean | undefined;
2722
+ amount?: string | undefined;
2723
+ formatted?: string | undefined;
2724
+ };
2725
+ validatorToken: {
2726
+ address: `0x${string}`;
2727
+ currency?: string | undefined;
2728
+ decimals?: number | undefined;
2729
+ logoUri?: string | undefined;
2730
+ name?: string | undefined;
2731
+ symbol?: string | undefined;
2732
+ verified?: boolean | undefined;
2733
+ amount?: string | undefined;
2734
+ formatted?: string | undefined;
2735
+ };
2736
+ }[];
2737
+ nextCursor: string | null;
2738
+ };
2739
+ outputFormat: "json";
2740
+ status: 200;
2741
+ input: {
2742
+ query?: {
2743
+ chainId?: string | string[];
2744
+ cursor?: string | string[];
2745
+ include?: string | string[];
2707
2746
  limit?: string | string[];
2708
- order?: string | string[];
2709
2747
  page?: string | string[];
2710
2748
  } | undefined;
2711
2749
  };
@@ -2724,48 +2762,29 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2724
2762
  query?: {
2725
2763
  chainId?: string | string[];
2726
2764
  cursor?: string | string[];
2765
+ include?: string | string[];
2727
2766
  limit?: string | string[];
2728
- order?: string | string[];
2729
- page?: string | string[];
2730
- } | undefined;
2731
- };
2732
- } | {
2733
- output: {
2734
- data: {
2735
- hash: `0x${string}`;
2736
- id: `0x${string}`;
2737
- number: number;
2738
- timestamp: string;
2739
- transactionCount: number;
2740
- }[];
2741
- nextCursor: string | null;
2742
- };
2743
- outputFormat: "json";
2744
- status: 200;
2745
- input: {
2746
- query?: {
2747
- chainId?: string | string[];
2748
- cursor?: string | string[];
2749
- limit?: string | string[];
2750
- order?: string | string[];
2751
2767
  page?: string | string[];
2752
2768
  } | undefined;
2753
2769
  };
2754
2770
  };
2755
2771
  };
2756
2772
  } & {
2757
- "/v1/blocks/:block": {
2773
+ "/v1/fee-amm/mints": {
2758
2774
  $get: {
2759
2775
  output: null;
2760
2776
  outputFormat: "body";
2761
2777
  status: 402;
2762
2778
  input: {
2763
- param: {
2764
- block: string;
2765
- };
2766
- } & {
2767
2779
  query?: {
2768
2780
  chainId?: string | string[];
2781
+ cursor?: string | string[];
2782
+ include?: string | string[];
2783
+ limit?: string | string[];
2784
+ order?: string | string[];
2785
+ page?: string | string[];
2786
+ userToken?: string | string[];
2787
+ validatorToken?: string | string[];
2769
2788
  } | undefined;
2770
2789
  };
2771
2790
  } | {
@@ -2780,12 +2799,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2780
2799
  outputFormat: "json";
2781
2800
  status: 400;
2782
2801
  input: {
2783
- param: {
2784
- block: string;
2785
- };
2786
- } & {
2787
2802
  query?: {
2788
2803
  chainId?: string | string[];
2804
+ cursor?: string | string[];
2805
+ include?: string | string[];
2806
+ limit?: string | string[];
2807
+ order?: string | string[];
2808
+ page?: string | string[];
2809
+ userToken?: string | string[];
2810
+ validatorToken?: string | string[];
2789
2811
  } | undefined;
2790
2812
  };
2791
2813
  } | {
@@ -2800,12 +2822,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2800
2822
  outputFormat: "json";
2801
2823
  status: 401;
2802
2824
  input: {
2803
- param: {
2804
- block: string;
2805
- };
2806
- } & {
2807
2825
  query?: {
2808
2826
  chainId?: string | string[];
2827
+ cursor?: string | string[];
2828
+ include?: string | string[];
2829
+ limit?: string | string[];
2830
+ order?: string | string[];
2831
+ page?: string | string[];
2832
+ userToken?: string | string[];
2833
+ validatorToken?: string | string[];
2809
2834
  } | undefined;
2810
2835
  };
2811
2836
  } | {
@@ -2820,12 +2845,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2820
2845
  outputFormat: "json";
2821
2846
  status: 403;
2822
2847
  input: {
2823
- param: {
2824
- block: string;
2825
- };
2826
- } & {
2827
2848
  query?: {
2828
2849
  chainId?: string | string[];
2850
+ cursor?: string | string[];
2851
+ include?: string | string[];
2852
+ limit?: string | string[];
2853
+ order?: string | string[];
2854
+ page?: string | string[];
2855
+ userToken?: string | string[];
2856
+ validatorToken?: string | string[];
2829
2857
  } | undefined;
2830
2858
  };
2831
2859
  } | {
@@ -2840,12 +2868,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2840
2868
  outputFormat: "json";
2841
2869
  status: 429;
2842
2870
  input: {
2843
- param: {
2844
- block: string;
2845
- };
2846
- } & {
2847
2871
  query?: {
2848
2872
  chainId?: string | string[];
2873
+ cursor?: string | string[];
2874
+ include?: string | string[];
2875
+ limit?: string | string[];
2876
+ order?: string | string[];
2877
+ page?: string | string[];
2878
+ userToken?: string | string[];
2879
+ validatorToken?: string | string[];
2849
2880
  } | undefined;
2850
2881
  };
2851
2882
  } | {
@@ -2860,12 +2891,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2860
2891
  outputFormat: "json";
2861
2892
  status: 400;
2862
2893
  input: {
2863
- param: {
2864
- block: string;
2865
- };
2866
- } & {
2867
2894
  query?: {
2868
2895
  chainId?: string | string[];
2896
+ cursor?: string | string[];
2897
+ include?: string | string[];
2898
+ limit?: string | string[];
2899
+ order?: string | string[];
2900
+ page?: string | string[];
2901
+ userToken?: string | string[];
2902
+ validatorToken?: string | string[];
2869
2903
  } | undefined;
2870
2904
  };
2871
2905
  } | {
@@ -2880,113 +2914,73 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2880
2914
  outputFormat: "json";
2881
2915
  status: 502;
2882
2916
  input: {
2883
- param: {
2884
- block: string;
2885
- };
2886
- } & {
2887
- query?: {
2888
- chainId?: string | string[];
2889
- } | undefined;
2890
- };
2891
- } | {
2892
- output: {
2893
- error: {
2894
- code: "block_invalid";
2895
- details?: readonly Response.error.Detail[] | undefined;
2896
- message: string;
2897
- };
2898
- requestId: string;
2899
- };
2900
- outputFormat: "json";
2901
- status: 400;
2902
- input: {
2903
- param: {
2904
- block: string;
2905
- };
2906
- } & {
2907
- query?: {
2908
- chainId?: string | string[];
2909
- } | undefined;
2910
- };
2911
- } | {
2912
- output: {
2913
- error: {
2914
- code: "block_not_found";
2915
- details?: readonly Response.error.Detail[] | undefined;
2916
- message: string;
2917
- };
2918
- requestId: string;
2919
- };
2920
- outputFormat: "json";
2921
- status: 404;
2922
- input: {
2923
- param: {
2924
- block: string;
2925
- };
2926
- } & {
2927
2917
  query?: {
2928
2918
  chainId?: string | string[];
2919
+ cursor?: string | string[];
2920
+ include?: string | string[];
2921
+ limit?: string | string[];
2922
+ order?: string | string[];
2923
+ page?: string | string[];
2924
+ userToken?: string | string[];
2925
+ validatorToken?: string | string[];
2929
2926
  } | undefined;
2930
2927
  };
2931
2928
  } | {
2932
2929
  output: {
2933
- baseFeePerGas: string | null;
2934
- gasLimit: number;
2935
- gasUsed: number;
2936
- hash: `0x${string}`;
2937
- id: `0x${string}`;
2938
- meta: {
2939
- rpc: {
2940
- [x: string]: import("hono/utils/types").JSONValue;
2941
- baseFeePerGas?: `0x${string}` | null | undefined;
2942
- difficulty?: `0x${string}` | undefined;
2943
- extraData?: `0x${string}` | undefined;
2944
- gasLimit: `0x${string}`;
2945
- gasUsed: `0x${string}`;
2946
- hash: `0x${string}` | null;
2947
- logsBloom?: `0x${string}` | null | undefined;
2948
- miner: `0x${string}`;
2949
- mixHash?: `0x${string}` | undefined;
2950
- nonce?: `0x${string}` | null | undefined;
2951
- number: `0x${string}` | null;
2952
- parentHash: `0x${string}`;
2953
- receiptsRoot: `0x${string}`;
2954
- sha3Uncles?: `0x${string}` | undefined;
2955
- size: `0x${string}`;
2956
- stateRoot: `0x${string}`;
2957
- timestamp: `0x${string}`;
2958
- totalDifficulty?: `0x${string}` | undefined;
2959
- transactions: `0x${string}`[];
2960
- transactionsRoot: `0x${string}`;
2961
- uncles?: `0x${string}`[] | undefined;
2962
- withdrawals?: {
2963
- [x: string]: import("hono/utils/types").JSONValue;
2964
- }[] | undefined;
2965
- withdrawalsRoot?: `0x${string}` | undefined;
2930
+ data: {
2931
+ amountUserToken?: string | undefined;
2932
+ amountValidatorToken: string;
2933
+ blockNumber: number;
2934
+ id: string;
2935
+ liquidity: string;
2936
+ logIndex: number;
2937
+ minter: `0x${string}`;
2938
+ recipient?: `0x${string}` | undefined;
2939
+ timestamp: string;
2940
+ transactionHash: `0x${string}`;
2941
+ userToken: {
2942
+ address: `0x${string}`;
2943
+ currency?: string | undefined;
2944
+ decimals?: number | undefined;
2945
+ logoUri?: string | undefined;
2946
+ name?: string | undefined;
2947
+ symbol?: string | undefined;
2948
+ verified?: boolean | undefined;
2966
2949
  };
2967
- };
2968
- miner: `0x${string}`;
2969
- number: number;
2970
- parentHash: `0x${string}`;
2971
- size: number;
2972
- timestamp: string;
2973
- transactionCount: number;
2950
+ validatorToken: {
2951
+ address: `0x${string}`;
2952
+ currency?: string | undefined;
2953
+ decimals?: number | undefined;
2954
+ logoUri?: string | undefined;
2955
+ name?: string | undefined;
2956
+ symbol?: string | undefined;
2957
+ verified?: boolean | undefined;
2958
+ };
2959
+ }[];
2960
+ meta?: {
2961
+ totalCountCapped: boolean;
2962
+ totalCount: number;
2963
+ } | undefined;
2964
+ nextCursor: string | null;
2974
2965
  };
2975
2966
  outputFormat: "json";
2976
2967
  status: 200;
2977
2968
  input: {
2978
- param: {
2979
- block: string;
2980
- };
2981
- } & {
2982
2969
  query?: {
2983
2970
  chainId?: string | string[];
2971
+ cursor?: string | string[];
2972
+ include?: string | string[];
2973
+ limit?: string | string[];
2974
+ order?: string | string[];
2975
+ page?: string | string[];
2976
+ userToken?: string | string[];
2977
+ validatorToken?: string | string[];
2984
2978
  } | undefined;
2985
2979
  };
2986
2980
  };
2987
2981
  };
2988
2982
  }, "/"> | import("hono/types").MergeSchemaPath<{
2989
- "/v1/fee-amm/pools": {
2983
+ "/v1/blocks": {
2990
2984
  $get: {
2991
2985
  output: null;
2992
2986
  outputFormat: "body";
@@ -2995,8 +2989,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2995
2989
  query?: {
2996
2990
  chainId?: string | string[];
2997
2991
  cursor?: string | string[];
2998
- include?: string | string[];
2999
2992
  limit?: string | string[];
2993
+ order?: string | string[];
3000
2994
  page?: string | string[];
3001
2995
  } | undefined;
3002
2996
  };
@@ -3015,8 +3009,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3015
3009
  query?: {
3016
3010
  chainId?: string | string[];
3017
3011
  cursor?: string | string[];
3018
- include?: string | string[];
3019
3012
  limit?: string | string[];
3013
+ order?: string | string[];
3020
3014
  page?: string | string[];
3021
3015
  } | undefined;
3022
3016
  };
@@ -3035,8 +3029,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3035
3029
  query?: {
3036
3030
  chainId?: string | string[];
3037
3031
  cursor?: string | string[];
3038
- include?: string | string[];
3039
3032
  limit?: string | string[];
3033
+ order?: string | string[];
3040
3034
  page?: string | string[];
3041
3035
  } | undefined;
3042
3036
  };
@@ -3055,8 +3049,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3055
3049
  query?: {
3056
3050
  chainId?: string | string[];
3057
3051
  cursor?: string | string[];
3058
- include?: string | string[];
3059
3052
  limit?: string | string[];
3053
+ order?: string | string[];
3060
3054
  page?: string | string[];
3061
3055
  } | undefined;
3062
3056
  };
@@ -3075,8 +3069,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3075
3069
  query?: {
3076
3070
  chainId?: string | string[];
3077
3071
  cursor?: string | string[];
3078
- include?: string | string[];
3079
3072
  limit?: string | string[];
3073
+ order?: string | string[];
3080
3074
  page?: string | string[];
3081
3075
  } | undefined;
3082
3076
  };
@@ -3095,8 +3089,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3095
3089
  query?: {
3096
3090
  chainId?: string | string[];
3097
3091
  cursor?: string | string[];
3098
- include?: string | string[];
3099
3092
  limit?: string | string[];
3093
+ order?: string | string[];
3100
3094
  page?: string | string[];
3101
3095
  } | undefined;
3102
3096
  };
@@ -3115,41 +3109,19 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3115
3109
  query?: {
3116
3110
  chainId?: string | string[];
3117
3111
  cursor?: string | string[];
3118
- include?: string | string[];
3119
3112
  limit?: string | string[];
3113
+ order?: string | string[];
3120
3114
  page?: string | string[];
3121
3115
  } | undefined;
3122
3116
  };
3123
3117
  } | {
3124
3118
  output: {
3125
3119
  data: {
3126
- createdAt: string;
3120
+ hash: `0x${string}`;
3127
3121
  id: `0x${string}`;
3128
- lastMintAt: string;
3129
- mintCount: number;
3130
- poolId: `0x${string}`;
3131
- userToken: {
3132
- address: `0x${string}`;
3133
- currency?: string | undefined;
3134
- decimals?: number | undefined;
3135
- logoUri?: string | undefined;
3136
- name?: string | undefined;
3137
- symbol?: string | undefined;
3138
- verified?: boolean | undefined;
3139
- amount?: string | undefined;
3140
- formatted?: string | undefined;
3141
- };
3142
- validatorToken: {
3143
- address: `0x${string}`;
3144
- currency?: string | undefined;
3145
- decimals?: number | undefined;
3146
- logoUri?: string | undefined;
3147
- name?: string | undefined;
3148
- symbol?: string | undefined;
3149
- verified?: boolean | undefined;
3150
- amount?: string | undefined;
3151
- formatted?: string | undefined;
3152
- };
3122
+ number: number;
3123
+ timestamp: string;
3124
+ transactionCount: number;
3153
3125
  }[];
3154
3126
  nextCursor: string | null;
3155
3127
  };
@@ -3159,29 +3131,26 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3159
3131
  query?: {
3160
3132
  chainId?: string | string[];
3161
3133
  cursor?: string | string[];
3162
- include?: string | string[];
3163
3134
  limit?: string | string[];
3135
+ order?: string | string[];
3164
3136
  page?: string | string[];
3165
3137
  } | undefined;
3166
3138
  };
3167
3139
  };
3168
3140
  };
3169
3141
  } & {
3170
- "/v1/fee-amm/mints": {
3142
+ "/v1/blocks/:block": {
3171
3143
  $get: {
3172
3144
  output: null;
3173
3145
  outputFormat: "body";
3174
3146
  status: 402;
3175
3147
  input: {
3148
+ param: {
3149
+ block: string;
3150
+ };
3151
+ } & {
3176
3152
  query?: {
3177
3153
  chainId?: string | string[];
3178
- cursor?: string | string[];
3179
- include?: string | string[];
3180
- limit?: string | string[];
3181
- order?: string | string[];
3182
- page?: string | string[];
3183
- userToken?: string | string[];
3184
- validatorToken?: string | string[];
3185
3154
  } | undefined;
3186
3155
  };
3187
3156
  } | {
@@ -3196,15 +3165,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3196
3165
  outputFormat: "json";
3197
3166
  status: 400;
3198
3167
  input: {
3168
+ param: {
3169
+ block: string;
3170
+ };
3171
+ } & {
3199
3172
  query?: {
3200
3173
  chainId?: string | string[];
3201
- cursor?: string | string[];
3202
- include?: string | string[];
3203
- limit?: string | string[];
3204
- order?: string | string[];
3205
- page?: string | string[];
3206
- userToken?: string | string[];
3207
- validatorToken?: string | string[];
3208
3174
  } | undefined;
3209
3175
  };
3210
3176
  } | {
@@ -3219,15 +3185,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3219
3185
  outputFormat: "json";
3220
3186
  status: 401;
3221
3187
  input: {
3188
+ param: {
3189
+ block: string;
3190
+ };
3191
+ } & {
3222
3192
  query?: {
3223
3193
  chainId?: string | string[];
3224
- cursor?: string | string[];
3225
- include?: string | string[];
3226
- limit?: string | string[];
3227
- order?: string | string[];
3228
- page?: string | string[];
3229
- userToken?: string | string[];
3230
- validatorToken?: string | string[];
3231
3194
  } | undefined;
3232
3195
  };
3233
3196
  } | {
@@ -3242,15 +3205,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3242
3205
  outputFormat: "json";
3243
3206
  status: 403;
3244
3207
  input: {
3208
+ param: {
3209
+ block: string;
3210
+ };
3211
+ } & {
3245
3212
  query?: {
3246
3213
  chainId?: string | string[];
3247
- cursor?: string | string[];
3248
- include?: string | string[];
3249
- limit?: string | string[];
3250
- order?: string | string[];
3251
- page?: string | string[];
3252
- userToken?: string | string[];
3253
- validatorToken?: string | string[];
3254
3214
  } | undefined;
3255
3215
  };
3256
3216
  } | {
@@ -3265,15 +3225,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3265
3225
  outputFormat: "json";
3266
3226
  status: 429;
3267
3227
  input: {
3228
+ param: {
3229
+ block: string;
3230
+ };
3231
+ } & {
3268
3232
  query?: {
3269
3233
  chainId?: string | string[];
3270
- cursor?: string | string[];
3271
- include?: string | string[];
3272
- limit?: string | string[];
3273
- order?: string | string[];
3274
- page?: string | string[];
3275
- userToken?: string | string[];
3276
- validatorToken?: string | string[];
3277
3234
  } | undefined;
3278
3235
  };
3279
3236
  } | {
@@ -3288,15 +3245,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3288
3245
  outputFormat: "json";
3289
3246
  status: 400;
3290
3247
  input: {
3248
+ param: {
3249
+ block: string;
3250
+ };
3251
+ } & {
3291
3252
  query?: {
3292
3253
  chainId?: string | string[];
3293
- cursor?: string | string[];
3294
- include?: string | string[];
3295
- limit?: string | string[];
3296
- order?: string | string[];
3297
- page?: string | string[];
3298
- userToken?: string | string[];
3299
- validatorToken?: string | string[];
3300
3254
  } | undefined;
3301
3255
  };
3302
3256
  } | {
@@ -3311,67 +3265,107 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3311
3265
  outputFormat: "json";
3312
3266
  status: 502;
3313
3267
  input: {
3268
+ param: {
3269
+ block: string;
3270
+ };
3271
+ } & {
3314
3272
  query?: {
3315
3273
  chainId?: string | string[];
3316
- cursor?: string | string[];
3317
- include?: string | string[];
3318
- limit?: string | string[];
3319
- order?: string | string[];
3320
- page?: string | string[];
3321
- userToken?: string | string[];
3322
- validatorToken?: string | string[];
3323
3274
  } | undefined;
3324
3275
  };
3325
3276
  } | {
3326
3277
  output: {
3327
- data: {
3328
- amountUserToken?: string | undefined;
3329
- amountValidatorToken: string;
3330
- blockNumber: number;
3331
- id: string;
3332
- liquidity: string;
3333
- logIndex: number;
3334
- minter: `0x${string}`;
3335
- recipient?: `0x${string}` | undefined;
3336
- timestamp: string;
3337
- transactionHash: `0x${string}`;
3338
- userToken: {
3339
- address: `0x${string}`;
3340
- currency?: string | undefined;
3341
- decimals?: number | undefined;
3342
- logoUri?: string | undefined;
3343
- name?: string | undefined;
3344
- symbol?: string | undefined;
3345
- verified?: boolean | undefined;
3346
- };
3347
- validatorToken: {
3348
- address: `0x${string}`;
3349
- currency?: string | undefined;
3350
- decimals?: number | undefined;
3351
- logoUri?: string | undefined;
3352
- name?: string | undefined;
3353
- symbol?: string | undefined;
3354
- verified?: boolean | undefined;
3355
- };
3356
- }[];
3357
- meta?: {
3358
- totalCountCapped: boolean;
3359
- totalCount: number;
3278
+ error: {
3279
+ code: "block_invalid";
3280
+ details?: readonly Response.error.Detail[] | undefined;
3281
+ message: string;
3282
+ };
3283
+ requestId: string;
3284
+ };
3285
+ outputFormat: "json";
3286
+ status: 400;
3287
+ input: {
3288
+ param: {
3289
+ block: string;
3290
+ };
3291
+ } & {
3292
+ query?: {
3293
+ chainId?: string | string[];
3360
3294
  } | undefined;
3361
- nextCursor: string | null;
3295
+ };
3296
+ } | {
3297
+ output: {
3298
+ error: {
3299
+ code: "block_not_found";
3300
+ details?: readonly Response.error.Detail[] | undefined;
3301
+ message: string;
3302
+ };
3303
+ requestId: string;
3304
+ };
3305
+ outputFormat: "json";
3306
+ status: 404;
3307
+ input: {
3308
+ param: {
3309
+ block: string;
3310
+ };
3311
+ } & {
3312
+ query?: {
3313
+ chainId?: string | string[];
3314
+ } | undefined;
3315
+ };
3316
+ } | {
3317
+ output: {
3318
+ baseFeePerGas: string | null;
3319
+ gasLimit: number;
3320
+ gasUsed: number;
3321
+ hash: `0x${string}`;
3322
+ id: `0x${string}`;
3323
+ meta: {
3324
+ rpc: {
3325
+ [x: string]: import("hono/utils/types").JSONValue;
3326
+ baseFeePerGas?: `0x${string}` | null | undefined;
3327
+ difficulty?: `0x${string}` | undefined;
3328
+ extraData?: `0x${string}` | undefined;
3329
+ gasLimit: `0x${string}`;
3330
+ gasUsed: `0x${string}`;
3331
+ hash: `0x${string}` | null;
3332
+ logsBloom?: `0x${string}` | null | undefined;
3333
+ miner: `0x${string}`;
3334
+ mixHash?: `0x${string}` | undefined;
3335
+ nonce?: `0x${string}` | null | undefined;
3336
+ number: `0x${string}` | null;
3337
+ parentHash: `0x${string}`;
3338
+ receiptsRoot: `0x${string}`;
3339
+ sha3Uncles?: `0x${string}` | undefined;
3340
+ size: `0x${string}`;
3341
+ stateRoot: `0x${string}`;
3342
+ timestamp: `0x${string}`;
3343
+ totalDifficulty?: `0x${string}` | undefined;
3344
+ transactions: `0x${string}`[];
3345
+ transactionsRoot: `0x${string}`;
3346
+ uncles?: `0x${string}`[] | undefined;
3347
+ withdrawals?: {
3348
+ [x: string]: import("hono/utils/types").JSONValue;
3349
+ }[] | undefined;
3350
+ withdrawalsRoot?: `0x${string}` | undefined;
3351
+ };
3352
+ };
3353
+ miner: `0x${string}`;
3354
+ number: number;
3355
+ parentHash: `0x${string}`;
3356
+ size: number;
3357
+ timestamp: string;
3358
+ transactionCount: number;
3362
3359
  };
3363
3360
  outputFormat: "json";
3364
3361
  status: 200;
3365
3362
  input: {
3363
+ param: {
3364
+ block: string;
3365
+ };
3366
+ } & {
3366
3367
  query?: {
3367
3368
  chainId?: string | string[];
3368
- cursor?: string | string[];
3369
- include?: string | string[];
3370
- limit?: string | string[];
3371
- order?: string | string[];
3372
- page?: string | string[];
3373
- userToken?: string | string[];
3374
- validatorToken?: string | string[];
3375
3369
  } | undefined;
3376
3370
  };
3377
3371
  };
@@ -4832,6 +4826,435 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
4832
4826
  };
4833
4827
  };
4834
4828
  };
4829
+ }, "/"> | import("hono/types").MergeSchemaPath<{
4830
+ "/v1/funding/routes": {
4831
+ $get: {
4832
+ output: null;
4833
+ outputFormat: "body";
4834
+ status: 402;
4835
+ input: {
4836
+ query: {
4837
+ destinationToken?: string | string[];
4838
+ include?: string | string[];
4839
+ limit?: string | string[];
4840
+ provider?: string | string[];
4841
+ sourceAmount: string | string[];
4842
+ sourceAmountUnits?: string | string[];
4843
+ sourceChain: string | string[];
4844
+ sourceToken: string | string[];
4845
+ };
4846
+ };
4847
+ } | {
4848
+ output: {
4849
+ error: {
4850
+ code: "api_key_malformed";
4851
+ details?: readonly Response.error.Detail[] | undefined;
4852
+ message: string;
4853
+ };
4854
+ requestId: string;
4855
+ };
4856
+ outputFormat: "json";
4857
+ status: 400;
4858
+ input: {
4859
+ query: {
4860
+ destinationToken?: string | string[];
4861
+ include?: string | string[];
4862
+ limit?: string | string[];
4863
+ provider?: string | string[];
4864
+ sourceAmount: string | string[];
4865
+ sourceAmountUnits?: string | string[];
4866
+ sourceChain: string | string[];
4867
+ sourceToken: string | string[];
4868
+ };
4869
+ };
4870
+ } | {
4871
+ output: {
4872
+ error: {
4873
+ code: "api_key_invalid" | "api_key_missing";
4874
+ details?: readonly Response.error.Detail[] | undefined;
4875
+ message: string;
4876
+ };
4877
+ requestId: string;
4878
+ };
4879
+ outputFormat: "json";
4880
+ status: 401;
4881
+ input: {
4882
+ query: {
4883
+ destinationToken?: string | string[];
4884
+ include?: string | string[];
4885
+ limit?: string | string[];
4886
+ provider?: string | string[];
4887
+ sourceAmount: string | string[];
4888
+ sourceAmountUnits?: string | string[];
4889
+ sourceChain: string | string[];
4890
+ sourceToken: string | string[];
4891
+ };
4892
+ };
4893
+ } | {
4894
+ output: {
4895
+ error: {
4896
+ code: "api_key_forbidden";
4897
+ details?: readonly Response.error.Detail[] | undefined;
4898
+ message: string;
4899
+ };
4900
+ requestId: string;
4901
+ };
4902
+ outputFormat: "json";
4903
+ status: 403;
4904
+ input: {
4905
+ query: {
4906
+ destinationToken?: string | string[];
4907
+ include?: string | string[];
4908
+ limit?: string | string[];
4909
+ provider?: string | string[];
4910
+ sourceAmount: string | string[];
4911
+ sourceAmountUnits?: string | string[];
4912
+ sourceChain: string | string[];
4913
+ sourceToken: string | string[];
4914
+ };
4915
+ };
4916
+ } | {
4917
+ output: {
4918
+ error: {
4919
+ code: "payment_required" | "rate_limit_exceeded";
4920
+ details?: readonly Response.error.Detail[] | undefined;
4921
+ message: string;
4922
+ };
4923
+ requestId: string;
4924
+ };
4925
+ outputFormat: "json";
4926
+ status: 429;
4927
+ input: {
4928
+ query: {
4929
+ destinationToken?: string | string[];
4930
+ include?: string | string[];
4931
+ limit?: string | string[];
4932
+ provider?: string | string[];
4933
+ sourceAmount: string | string[];
4934
+ sourceAmountUnits?: string | string[];
4935
+ sourceChain: string | string[];
4936
+ sourceToken: string | string[];
4937
+ };
4938
+ };
4939
+ } | {
4940
+ output: {
4941
+ error: {
4942
+ code: "query_invalid";
4943
+ details?: readonly Response.error.Detail[] | undefined;
4944
+ message: string;
4945
+ };
4946
+ requestId: string;
4947
+ };
4948
+ outputFormat: "json";
4949
+ status: 400;
4950
+ input: {
4951
+ query: {
4952
+ destinationToken?: string | string[];
4953
+ include?: string | string[];
4954
+ limit?: string | string[];
4955
+ provider?: string | string[];
4956
+ sourceAmount: string | string[];
4957
+ sourceAmountUnits?: string | string[];
4958
+ sourceChain: string | string[];
4959
+ sourceToken: string | string[];
4960
+ };
4961
+ };
4962
+ } | {
4963
+ output: {
4964
+ data: {
4965
+ destinationChain: {
4966
+ addressFormat: "evm" | "solana" | "tron";
4967
+ id: string;
4968
+ kind: "evm" | "solana" | "tron";
4969
+ name: string;
4970
+ providerIds?: {
4971
+ [x: string]: string;
4972
+ } | undefined;
4973
+ };
4974
+ destinationToken: {
4975
+ address: string;
4976
+ decimals: number;
4977
+ metadata: {
4978
+ [x: string]: string;
4979
+ };
4980
+ name: string;
4981
+ standard: string;
4982
+ symbol: string;
4983
+ tokenKey: string;
4984
+ verified: boolean;
4985
+ };
4986
+ errorCode: string | null;
4987
+ id: string;
4988
+ provider: {
4989
+ id: string;
4990
+ kind: string;
4991
+ name: string;
4992
+ requiresApiKey: boolean;
4993
+ };
4994
+ quality: {
4995
+ availableVolumeUsd: string | null;
4996
+ estimatedSeconds: number | null;
4997
+ feeBps: number | null;
4998
+ historicalVolumeUsd24h: string | null;
4999
+ instantVolumeUsd: string | null;
5000
+ liquiditySource: string;
5001
+ score: number | null;
5002
+ sourceDetail: string | null;
5003
+ tier: "error" | "liquid" | "thin" | "unavailable" | "unknown";
5004
+ };
5005
+ quote: {
5006
+ expiresAt: string | null;
5007
+ inputAmount: string;
5008
+ limits: {
5009
+ instantSourceAmount: string | null;
5010
+ maxSourceAmount: string | null;
5011
+ minSourceAmount: string | null;
5012
+ } | null;
5013
+ minimumOutputAmount: string | null;
5014
+ outputAmount: string | null;
5015
+ outputAmountFormatted: string | null;
5016
+ sampledAt: string;
5017
+ } | null;
5018
+ sourceAmount: {
5019
+ amount: string;
5020
+ formatted: string;
5021
+ usd: string | null;
5022
+ };
5023
+ sourceChain: {
5024
+ addressFormat: "evm" | "solana" | "tron";
5025
+ id: string;
5026
+ kind: "evm" | "solana" | "tron";
5027
+ name: string;
5028
+ providerIds?: {
5029
+ [x: string]: string;
5030
+ } | undefined;
5031
+ };
5032
+ sourceToken: {
5033
+ address: string;
5034
+ decimals: number;
5035
+ metadata: {
5036
+ [x: string]: string;
5037
+ };
5038
+ name: string;
5039
+ standard: string;
5040
+ symbol: string;
5041
+ tokenKey: string;
5042
+ verified: boolean;
5043
+ };
5044
+ status: "available" | "error" | "thin" | "unavailable" | "unknown";
5045
+ }[];
5046
+ };
5047
+ outputFormat: "json";
5048
+ status: 200;
5049
+ input: {
5050
+ query: {
5051
+ destinationToken?: string | string[];
5052
+ include?: string | string[];
5053
+ limit?: string | string[];
5054
+ provider?: string | string[];
5055
+ sourceAmount: string | string[];
5056
+ sourceAmountUnits?: string | string[];
5057
+ sourceChain: string | string[];
5058
+ sourceToken: string | string[];
5059
+ };
5060
+ };
5061
+ };
5062
+ };
5063
+ } & {
5064
+ "/v1/funding/chains": {
5065
+ $get: {
5066
+ output: null;
5067
+ outputFormat: "body";
5068
+ status: 402;
5069
+ input: {};
5070
+ } | {
5071
+ output: {
5072
+ error: {
5073
+ code: "api_key_malformed";
5074
+ details?: readonly Response.error.Detail[] | undefined;
5075
+ message: string;
5076
+ };
5077
+ requestId: string;
5078
+ };
5079
+ outputFormat: "json";
5080
+ status: 400;
5081
+ input: {};
5082
+ } | {
5083
+ output: {
5084
+ error: {
5085
+ code: "api_key_invalid" | "api_key_missing";
5086
+ details?: readonly Response.error.Detail[] | undefined;
5087
+ message: string;
5088
+ };
5089
+ requestId: string;
5090
+ };
5091
+ outputFormat: "json";
5092
+ status: 401;
5093
+ input: {};
5094
+ } | {
5095
+ output: {
5096
+ error: {
5097
+ code: "api_key_forbidden";
5098
+ details?: readonly Response.error.Detail[] | undefined;
5099
+ message: string;
5100
+ };
5101
+ requestId: string;
5102
+ };
5103
+ outputFormat: "json";
5104
+ status: 403;
5105
+ input: {};
5106
+ } | {
5107
+ output: {
5108
+ error: {
5109
+ code: "payment_required" | "rate_limit_exceeded";
5110
+ details?: readonly Response.error.Detail[] | undefined;
5111
+ message: string;
5112
+ };
5113
+ requestId: string;
5114
+ };
5115
+ outputFormat: "json";
5116
+ status: 429;
5117
+ input: {};
5118
+ } | {
5119
+ output: {
5120
+ data: {
5121
+ addressFormat: "evm" | "solana" | "tron";
5122
+ id: string;
5123
+ kind: "evm" | "solana" | "tron";
5124
+ name: string;
5125
+ providerIds?: {
5126
+ [x: string]: string;
5127
+ } | undefined;
5128
+ tokens: {
5129
+ address: string;
5130
+ decimals: number;
5131
+ metadata: {
5132
+ [x: string]: string;
5133
+ };
5134
+ name: string;
5135
+ standard: string;
5136
+ symbol: string;
5137
+ tokenKey: string;
5138
+ verified: boolean;
5139
+ }[];
5140
+ }[];
5141
+ };
5142
+ outputFormat: "json";
5143
+ status: 200;
5144
+ input: {};
5145
+ };
5146
+ };
5147
+ } & {
5148
+ "/v1/providers": {
5149
+ $get: {
5150
+ output: null;
5151
+ outputFormat: "body";
5152
+ status: 402;
5153
+ input: {
5154
+ query?: {
5155
+ capability?: string | string[];
5156
+ } | undefined;
5157
+ };
5158
+ } | {
5159
+ output: {
5160
+ error: {
5161
+ code: "api_key_malformed";
5162
+ details?: readonly Response.error.Detail[] | undefined;
5163
+ message: string;
5164
+ };
5165
+ requestId: string;
5166
+ };
5167
+ outputFormat: "json";
5168
+ status: 400;
5169
+ input: {
5170
+ query?: {
5171
+ capability?: string | string[];
5172
+ } | undefined;
5173
+ };
5174
+ } | {
5175
+ output: {
5176
+ error: {
5177
+ code: "api_key_invalid" | "api_key_missing";
5178
+ details?: readonly Response.error.Detail[] | undefined;
5179
+ message: string;
5180
+ };
5181
+ requestId: string;
5182
+ };
5183
+ outputFormat: "json";
5184
+ status: 401;
5185
+ input: {
5186
+ query?: {
5187
+ capability?: string | string[];
5188
+ } | undefined;
5189
+ };
5190
+ } | {
5191
+ output: {
5192
+ error: {
5193
+ code: "api_key_forbidden";
5194
+ details?: readonly Response.error.Detail[] | undefined;
5195
+ message: string;
5196
+ };
5197
+ requestId: string;
5198
+ };
5199
+ outputFormat: "json";
5200
+ status: 403;
5201
+ input: {
5202
+ query?: {
5203
+ capability?: string | string[];
5204
+ } | undefined;
5205
+ };
5206
+ } | {
5207
+ output: {
5208
+ error: {
5209
+ code: "payment_required" | "rate_limit_exceeded";
5210
+ details?: readonly Response.error.Detail[] | undefined;
5211
+ message: string;
5212
+ };
5213
+ requestId: string;
5214
+ };
5215
+ outputFormat: "json";
5216
+ status: 429;
5217
+ input: {
5218
+ query?: {
5219
+ capability?: string | string[];
5220
+ } | undefined;
5221
+ };
5222
+ } | {
5223
+ output: {
5224
+ error: {
5225
+ code: "query_invalid";
5226
+ details?: readonly Response.error.Detail[] | undefined;
5227
+ message: string;
5228
+ };
5229
+ requestId: string;
5230
+ };
5231
+ outputFormat: "json";
5232
+ status: 400;
5233
+ input: {
5234
+ query?: {
5235
+ capability?: string | string[];
5236
+ } | undefined;
5237
+ };
5238
+ } | {
5239
+ output: {
5240
+ data: {
5241
+ capabilities: "fundingRoutes"[];
5242
+ id: string;
5243
+ kind: string;
5244
+ name: string;
5245
+ requiresApiKey: boolean;
5246
+ status: "configured" | "inventoryOnly" | "planned";
5247
+ }[];
5248
+ };
5249
+ outputFormat: "json";
5250
+ status: 200;
5251
+ input: {
5252
+ query?: {
5253
+ capability?: string | string[];
5254
+ } | undefined;
5255
+ };
5256
+ };
5257
+ };
4835
5258
  }, "/"> | import("hono/types").MergeSchemaPath<{
4836
5259
  "/v1/verified-tokens": {
4837
5260
  $get: {
@@ -19143,6 +19566,8 @@ export declare namespace data {
19143
19566
  assets?: Assets.Assets | undefined;
19144
19567
  /** Default Tempo chain id for requests that omit `chainId`. */
19145
19568
  defaultChainId?: Viem.ChainId | undefined;
19569
+ /** Funding route provider adapter configuration. Omit to serve static inventory only. */
19570
+ fundingRoutes?: funding.Options | undefined;
19146
19571
  /** Tempo RPC options: a static config, or a per-request resolver that routes by request principal to a separate (e.g. public, no-auth) RPC. */
19147
19572
  rpc?: Viem.getClient.Rpc | undefined;
19148
19573
  /** Extra chain ids this deployment serves, beyond the built-in public chains and `defaultChainId`. A `chainId` outside this set is rejected with a 400. */