tapimo 0.5.2 → 0.6.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 (299) hide show
  1. package/dist/App.d.ts +13987 -5755
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js.map +1 -1
  4. package/dist/admin/App.d.ts +910 -412
  5. package/dist/admin/App.d.ts.map +1 -1
  6. package/dist/admin/App.js +4 -0
  7. package/dist/admin/App.js.map +1 -1
  8. package/dist/admin/apps/early-access.d.ts +148 -0
  9. package/dist/admin/apps/early-access.d.ts.map +1 -0
  10. package/dist/admin/apps/early-access.js +133 -0
  11. package/dist/admin/apps/early-access.js.map +1 -0
  12. package/dist/admin/apps/verified-tokens.d.ts +643 -118
  13. package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
  14. package/dist/admin/apps/verified-tokens.js +214 -1
  15. package/dist/admin/apps/verified-tokens.js.map +1 -1
  16. package/dist/admin/ui.generated.d.ts +1 -1
  17. package/dist/admin/ui.generated.d.ts.map +1 -1
  18. package/dist/admin/ui.generated.js +45 -33
  19. package/dist/admin/ui.generated.js.map +1 -1
  20. package/dist/apps/data/App.d.ts +3733 -2428
  21. package/dist/apps/data/App.d.ts.map +1 -1
  22. package/dist/apps/data/App.js +11 -6
  23. package/dist/apps/data/App.js.map +1 -1
  24. package/dist/apps/data/FundingQuoteProviders.d.ts +34 -1
  25. package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
  26. package/dist/apps/data/FundingQuoteProviders.js +193 -2
  27. package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
  28. package/dist/apps/data/FxOracle.d.ts +71 -0
  29. package/dist/apps/data/FxOracle.d.ts.map +1 -0
  30. package/dist/apps/data/FxOracle.js +97 -0
  31. package/dist/apps/data/FxOracle.js.map +1 -0
  32. package/dist/apps/data/index.d.ts +1 -0
  33. package/dist/apps/data/index.d.ts.map +1 -1
  34. package/dist/apps/data/index.js +1 -0
  35. package/dist/apps/data/index.js.map +1 -1
  36. package/dist/apps/data/routes/activities.d.ts +3575 -1358
  37. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  38. package/dist/apps/data/routes/activities.js +230 -88
  39. package/dist/apps/data/routes/activities.js.map +1 -1
  40. package/dist/apps/data/routes/addresses.d.ts +963 -342
  41. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  42. package/dist/apps/data/routes/addresses.js +11 -9
  43. package/dist/apps/data/routes/addresses.js.map +1 -1
  44. package/dist/apps/data/routes/balances.d.ts +108 -57
  45. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  46. package/dist/apps/data/routes/balances.js +88 -45
  47. package/dist/apps/data/routes/balances.js.map +1 -1
  48. package/dist/apps/data/routes/coingecko.d.ts +169 -169
  49. package/dist/apps/data/routes/exchanges.d.ts +952 -201
  50. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  51. package/dist/apps/data/routes/exchanges.js +518 -76
  52. package/dist/apps/data/routes/exchanges.js.map +1 -1
  53. package/dist/apps/data/routes/fee-amm.d.ts +24 -24
  54. package/dist/apps/data/routes/funding.d.ts +8 -2
  55. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  56. package/dist/apps/data/routes/funding.js +32 -6
  57. package/dist/apps/data/routes/funding.js.map +1 -1
  58. package/dist/apps/data/routes/indexer.d.ts +5 -5
  59. package/dist/apps/data/routes/receipts.d.ts +392 -315
  60. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  61. package/dist/apps/data/routes/receipts.js +152 -77
  62. package/dist/apps/data/routes/receipts.js.map +1 -1
  63. package/dist/apps/data/routes/tokens.d.ts +166 -173
  64. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  65. package/dist/apps/data/routes/tokens.js +14 -12
  66. package/dist/apps/data/routes/tokens.js.map +1 -1
  67. package/dist/apps/data/routes/transactions.d.ts +277 -536
  68. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  69. package/dist/apps/data/routes/transactions.js +96 -77
  70. package/dist/apps/data/routes/transactions.js.map +1 -1
  71. package/dist/apps/data/routes/transfers.d.ts +82 -17
  72. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  73. package/dist/apps/data/routes/transfers.js +70 -13
  74. package/dist/apps/data/routes/transfers.js.map +1 -1
  75. package/dist/apps/data/routes/valuation.d.ts +307 -0
  76. package/dist/apps/data/routes/valuation.d.ts.map +1 -0
  77. package/dist/apps/data/routes/valuation.js +292 -0
  78. package/dist/apps/data/routes/valuation.js.map +1 -0
  79. package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -1
  80. package/dist/apps/data/routes/verified-tokens.js +7 -5
  81. package/dist/apps/data/routes/verified-tokens.js.map +1 -1
  82. package/dist/apps/data/routes/webhooks.d.ts +459 -479
  83. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  84. package/dist/apps/data/routes/webhooks.js +124 -25
  85. package/dist/apps/data/routes/webhooks.js.map +1 -1
  86. package/dist/apps/index.d.ts +1 -1
  87. package/dist/apps/index.d.ts.map +1 -1
  88. package/dist/apps/index.js +1 -1
  89. package/dist/apps/index.js.map +1 -1
  90. package/dist/apps/management/App.d.ts +8606 -1681
  91. package/dist/apps/management/App.d.ts.map +1 -1
  92. package/dist/apps/management/App.js +12 -1
  93. package/dist/apps/management/App.js.map +1 -1
  94. package/dist/apps/management/routes/api-keys.d.ts +23 -0
  95. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  96. package/dist/apps/management/routes/api-keys.js +5 -3
  97. package/dist/apps/management/routes/api-keys.js.map +1 -1
  98. package/dist/apps/management/routes/billing.d.ts +88 -48
  99. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  100. package/dist/apps/management/routes/billing.js +10 -2
  101. package/dist/apps/management/routes/billing.js.map +1 -1
  102. package/dist/apps/management/routes/faucet.d.ts +218 -0
  103. package/dist/apps/management/routes/faucet.d.ts.map +1 -0
  104. package/dist/apps/management/routes/faucet.js +139 -0
  105. package/dist/apps/management/routes/faucet.js.map +1 -0
  106. package/dist/apps/management/routes/invitations.d.ts +121 -121
  107. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  108. package/dist/apps/management/routes/invitations.js +3 -0
  109. package/dist/apps/management/routes/invitations.js.map +1 -1
  110. package/dist/apps/management/routes/invite-links.d.ts +197 -168
  111. package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
  112. package/dist/apps/management/routes/invite-links.js +26 -1
  113. package/dist/apps/management/routes/invite-links.js.map +1 -1
  114. package/dist/apps/management/routes/me.d.ts +2 -0
  115. package/dist/apps/management/routes/me.d.ts.map +1 -1
  116. package/dist/apps/management/routes/me.js +4 -0
  117. package/dist/apps/management/routes/me.js.map +1 -1
  118. package/dist/apps/management/routes/members.d.ts +49 -49
  119. package/dist/apps/management/routes/orgs.d.ts +91 -91
  120. package/dist/apps/management/routes/projects.d.ts +115 -115
  121. package/dist/apps/management/routes/usage.d.ts +35 -32
  122. package/dist/apps/management/routes/usage.d.ts.map +1 -1
  123. package/dist/apps/management/routes/usage.js +4 -0
  124. package/dist/apps/management/routes/usage.js.map +1 -1
  125. package/dist/apps/management/routes/verified-token-requests.d.ts +697 -0
  126. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -0
  127. package/dist/apps/management/routes/verified-token-requests.js +271 -0
  128. package/dist/apps/management/routes/verified-token-requests.js.map +1 -0
  129. package/dist/apps/management/routes/webhooks.d.ts +6977 -0
  130. package/dist/apps/management/routes/webhooks.d.ts.map +1 -0
  131. package/dist/apps/management/routes/webhooks.js +573 -0
  132. package/dist/apps/management/routes/webhooks.js.map +1 -0
  133. package/dist/apps/mcp.d.ts +9 -2
  134. package/dist/apps/mcp.d.ts.map +1 -1
  135. package/dist/apps/mcp.js +9 -4
  136. package/dist/apps/mcp.js.map +1 -1
  137. package/dist/cli/Cli.d.ts.map +1 -1
  138. package/dist/cli/Cli.js +7 -2
  139. package/dist/cli/Cli.js.map +1 -1
  140. package/dist/db/Db.d.ts +4 -0
  141. package/dist/db/Db.d.ts.map +1 -1
  142. package/dist/db/Db.js +83 -0
  143. package/dist/db/Db.js.map +1 -1
  144. package/dist/db/Schema.d.ts +41 -0
  145. package/dist/db/Schema.d.ts.map +1 -1
  146. package/dist/db/Schema.js +45 -0
  147. package/dist/db/Schema.js.map +1 -1
  148. package/dist/db/tables/earlyAccess.d.ts +50 -0
  149. package/dist/db/tables/earlyAccess.d.ts.map +1 -0
  150. package/dist/db/tables/earlyAccess.js +63 -0
  151. package/dist/db/tables/earlyAccess.js.map +1 -0
  152. package/dist/db/tables/invitations.d.ts +12 -1
  153. package/dist/db/tables/invitations.d.ts.map +1 -1
  154. package/dist/db/tables/invitations.js +23 -0
  155. package/dist/db/tables/invitations.js.map +1 -1
  156. package/dist/db/tables/inviteLinks.d.ts +10 -2
  157. package/dist/db/tables/inviteLinks.d.ts.map +1 -1
  158. package/dist/db/tables/inviteLinks.js +10 -1
  159. package/dist/db/tables/inviteLinks.js.map +1 -1
  160. package/dist/db/tables/sponsoredTransactions.d.ts +2 -0
  161. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  162. package/dist/db/tables/sponsoredTransactions.js +2 -0
  163. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  164. package/dist/db/tables/verifiedTokenRequests.d.ts +94 -0
  165. package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -0
  166. package/dist/db/tables/verifiedTokenRequests.js +120 -0
  167. package/dist/db/tables/verifiedTokenRequests.js.map +1 -0
  168. package/dist/db/tables/webhookSubscriptions.d.ts +14 -0
  169. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  170. package/dist/db/tables/webhookSubscriptions.js +16 -0
  171. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  172. package/dist/internal/Auth.d.ts +43 -2
  173. package/dist/internal/Auth.d.ts.map +1 -1
  174. package/dist/internal/Auth.js +60 -45
  175. package/dist/internal/Auth.js.map +1 -1
  176. package/dist/internal/FundingQuotes.d.ts +69 -15
  177. package/dist/internal/FundingQuotes.d.ts.map +1 -1
  178. package/dist/internal/FundingQuotes.js +74 -25
  179. package/dist/internal/FundingQuotes.js.map +1 -1
  180. package/dist/internal/Log.d.ts +19 -1
  181. package/dist/internal/Log.d.ts.map +1 -1
  182. package/dist/internal/Log.js +2 -0
  183. package/dist/internal/Log.js.map +1 -1
  184. package/dist/internal/MetricSink.d.ts.map +1 -1
  185. package/dist/internal/MetricSink.js +9 -0
  186. package/dist/internal/MetricSink.js.map +1 -1
  187. package/dist/internal/OpenApi.d.ts +2 -2
  188. package/dist/internal/OpenApi.d.ts.map +1 -1
  189. package/dist/internal/OpenApi.js +3 -0
  190. package/dist/internal/OpenApi.js.map +1 -1
  191. package/dist/internal/Schema.d.ts +14 -5
  192. package/dist/internal/Schema.d.ts.map +1 -1
  193. package/dist/internal/Schema.js +23 -5
  194. package/dist/internal/Schema.js.map +1 -1
  195. package/dist/internal/Value.d.ts +18 -0
  196. package/dist/internal/Value.d.ts.map +1 -1
  197. package/dist/internal/Value.js +11 -1
  198. package/dist/internal/Value.js.map +1 -1
  199. package/dist/internal/VerifiedTokens.d.ts.map +1 -1
  200. package/dist/internal/VerifiedTokens.js +10 -1
  201. package/dist/internal/VerifiedTokens.js.map +1 -1
  202. package/dist/internal/Viem.d.ts +1 -1
  203. package/dist/internal/Webhooks.d.ts +24 -3
  204. package/dist/internal/Webhooks.d.ts.map +1 -1
  205. package/dist/internal/Webhooks.js +34 -8
  206. package/dist/internal/Webhooks.js.map +1 -1
  207. package/package.json +2 -2
  208. package/src/App.ts +9 -1
  209. package/src/Client.test-d.ts +638 -6
  210. package/src/admin/App.ts +4 -0
  211. package/src/admin/apps/early-access.test.ts +125 -0
  212. package/src/admin/apps/early-access.ts +175 -0
  213. package/src/admin/apps/verified-tokens.test.ts +201 -0
  214. package/src/admin/apps/verified-tokens.ts +532 -286
  215. package/src/admin/ui/plugin.ts +2 -1
  216. package/src/admin/ui/src/lib/early-access.ts +63 -0
  217. package/src/admin/ui/src/lib/verified-tokens.ts +79 -0
  218. package/src/admin/ui/src/routeTree.gen.ts +33 -2
  219. package/src/admin/ui/src/routes/__root.tsx +2 -1
  220. package/src/admin/ui/src/routes/early-access.tsx +157 -0
  221. package/src/admin/ui/src/routes/verified-tokens.tsx +230 -19
  222. package/src/admin/ui.generated.ts +48 -33
  223. package/src/apps/data/App.ts +22 -14
  224. package/src/apps/data/FundingQuoteProviders.test.ts +298 -0
  225. package/src/apps/data/FundingQuoteProviders.ts +257 -4
  226. package/src/apps/data/FxOracle.test.ts +118 -0
  227. package/src/apps/data/FxOracle.ts +153 -0
  228. package/src/apps/data/index.ts +1 -0
  229. package/src/apps/data/routes/activities.test.ts +173 -3
  230. package/src/apps/data/routes/activities.ts +403 -132
  231. package/src/apps/data/routes/addresses.ts +19 -9
  232. package/src/apps/data/routes/balances.test.ts +144 -11
  233. package/src/apps/data/routes/balances.ts +140 -51
  234. package/src/apps/data/routes/exchanges.test.ts +540 -9
  235. package/src/apps/data/routes/exchanges.ts +690 -103
  236. package/src/apps/data/routes/funding.test.ts +84 -0
  237. package/src/apps/data/routes/funding.ts +38 -6
  238. package/src/apps/data/routes/receipts.test.ts +125 -23
  239. package/src/apps/data/routes/receipts.ts +205 -100
  240. package/src/apps/data/routes/tokens.test.ts +43 -0
  241. package/src/apps/data/routes/tokens.ts +27 -12
  242. package/src/apps/data/routes/transactions.test.ts +72 -19
  243. package/src/apps/data/routes/transactions.ts +162 -92
  244. package/src/apps/data/routes/transfers.test.ts +146 -4
  245. package/src/apps/data/routes/transfers.ts +91 -13
  246. package/src/apps/data/routes/valuation.test.ts +422 -0
  247. package/src/apps/data/routes/valuation.ts +423 -0
  248. package/src/apps/data/routes/verified-tokens.ts +14 -2
  249. package/src/apps/data/routes/webhooks.test.ts +56 -8
  250. package/src/apps/data/routes/webhooks.ts +144 -27
  251. package/src/apps/index.ts +1 -1
  252. package/src/apps/management/App.ts +13 -0
  253. package/src/apps/management/routes/api-keys.test.ts +87 -0
  254. package/src/apps/management/routes/api-keys.ts +4 -3
  255. package/src/apps/management/routes/billing.test.ts +112 -1
  256. package/src/apps/management/routes/billing.ts +7 -2
  257. package/src/apps/management/routes/faucet.test.ts +79 -0
  258. package/src/apps/management/routes/faucet.ts +185 -0
  259. package/src/apps/management/routes/invitations.test.ts +172 -0
  260. package/src/apps/management/routes/invitations.ts +3 -0
  261. package/src/apps/management/routes/invite-links.test.ts +117 -0
  262. package/src/apps/management/routes/invite-links.ts +43 -1
  263. package/src/apps/management/routes/me.test.ts +140 -88
  264. package/src/apps/management/routes/me.ts +6 -0
  265. package/src/apps/management/routes/usage.test.ts +6 -0
  266. package/src/apps/management/routes/usage.ts +7 -0
  267. package/src/apps/management/routes/verified-token-requests.test.ts +377 -0
  268. package/src/apps/management/routes/verified-token-requests.ts +397 -0
  269. package/src/apps/management/routes/webhooks.test.ts +426 -0
  270. package/src/apps/management/routes/webhooks.ts +672 -0
  271. package/src/apps/mcp.test.ts +13 -0
  272. package/src/apps/mcp.ts +18 -5
  273. package/src/cli/Cli.test.ts +36 -0
  274. package/src/cli/Cli.ts +7 -2
  275. package/src/db/Db.test.ts +19 -0
  276. package/src/db/Db.ts +95 -0
  277. package/src/db/Schema.ts +53 -0
  278. package/src/db/tables/earlyAccess.ts +86 -0
  279. package/src/db/tables/invitations.ts +26 -1
  280. package/src/db/tables/inviteLinks.ts +22 -3
  281. package/src/db/tables/sponsoredTransactions.ts +4 -0
  282. package/src/db/tables/verifiedTokenRequests.test.ts +200 -0
  283. package/src/db/tables/verifiedTokenRequests.ts +182 -0
  284. package/src/db/tables/webhookSubscriptions.ts +31 -0
  285. package/src/internal/Auth.ts +73 -45
  286. package/src/internal/FundingQuotes.test.ts +143 -1
  287. package/src/internal/FundingQuotes.ts +95 -28
  288. package/src/internal/Log.test-d.ts +21 -0
  289. package/src/internal/Log.test.ts +50 -0
  290. package/src/internal/Log.ts +24 -1
  291. package/src/internal/MetricSink.test.ts +160 -0
  292. package/src/internal/MetricSink.ts +10 -0
  293. package/src/internal/OpenApi.ts +3 -0
  294. package/src/internal/Schema.ts +50 -5
  295. package/src/internal/Value.test.ts +20 -0
  296. package/src/internal/Value.ts +24 -1
  297. package/src/internal/VerifiedTokens.ts +9 -1
  298. package/src/internal/Webhooks.test.ts +140 -0
  299. package/src/internal/Webhooks.ts +53 -9
@@ -217,9 +217,14 @@ export declare namespace schema {
217
217
  export declare function coingecko(): import("hono/hono-base").HonoBase<App.Environment, {
218
218
  "/gecko/:chainId/latest-block": {
219
219
  $get: {
220
- output: null;
221
- outputFormat: "body";
222
- status: 402;
220
+ output: {
221
+ block: {
222
+ blockNumber: number;
223
+ blockTimestamp: number;
224
+ };
225
+ };
226
+ outputFormat: "json";
227
+ status: 200;
223
228
  input: {
224
229
  param: {
225
230
  chainId: string;
@@ -228,14 +233,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
228
233
  } | {
229
234
  output: {
230
235
  error: {
231
- code: "upstream_error";
236
+ code: "api_key_malformed";
232
237
  details?: readonly Response.error.Detail[] | undefined;
233
238
  message: string;
234
239
  };
235
240
  requestId: string;
236
241
  };
237
242
  outputFormat: "json";
238
- status: 502;
243
+ status: 400;
239
244
  input: {
240
245
  param: {
241
246
  chainId: string;
@@ -244,7 +249,7 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
244
249
  } | {
245
250
  output: {
246
251
  error: {
247
- code: "api_key_malformed";
252
+ code: "chain_id_invalid";
248
253
  details?: readonly Response.error.Detail[] | undefined;
249
254
  message: string;
250
255
  };
@@ -274,16 +279,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
274
279
  };
275
280
  };
276
281
  } | {
277
- output: {
278
- error: {
279
- code: "api_key_forbidden";
280
- details?: readonly Response.error.Detail[] | undefined;
281
- message: string;
282
- };
283
- requestId: string;
284
- };
285
- outputFormat: "json";
286
- status: 403;
282
+ output: null;
283
+ outputFormat: "body";
284
+ status: 402;
287
285
  input: {
288
286
  param: {
289
287
  chainId: string;
@@ -292,14 +290,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
292
290
  } | {
293
291
  output: {
294
292
  error: {
295
- code: "payment_required" | "rate_limit_exceeded";
293
+ code: "api_key_forbidden";
296
294
  details?: readonly Response.error.Detail[] | undefined;
297
295
  message: string;
298
296
  };
299
297
  requestId: string;
300
298
  };
301
299
  outputFormat: "json";
302
- status: 429;
300
+ status: 403;
303
301
  input: {
304
302
  param: {
305
303
  chainId: string;
@@ -308,14 +306,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
308
306
  } | {
309
307
  output: {
310
308
  error: {
311
- code: "chain_id_invalid";
309
+ code: "not_found";
312
310
  details?: readonly Response.error.Detail[] | undefined;
313
311
  message: string;
314
312
  };
315
313
  requestId: string;
316
314
  };
317
315
  outputFormat: "json";
318
- status: 400;
316
+ status: 404;
319
317
  input: {
320
318
  param: {
321
319
  chainId: string;
@@ -324,14 +322,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
324
322
  } | {
325
323
  output: {
326
324
  error: {
327
- code: "not_found";
325
+ code: "payment_required" | "rate_limit_exceeded";
328
326
  details?: readonly Response.error.Detail[] | undefined;
329
327
  message: string;
330
328
  };
331
329
  requestId: string;
332
330
  };
333
331
  outputFormat: "json";
334
- status: 404;
332
+ status: 429;
335
333
  input: {
336
334
  param: {
337
335
  chainId: string;
@@ -339,13 +337,15 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
339
337
  };
340
338
  } | {
341
339
  output: {
342
- block: {
343
- blockNumber: number;
344
- blockTimestamp: number;
340
+ error: {
341
+ code: "upstream_error";
342
+ details?: readonly Response.error.Detail[] | undefined;
343
+ message: string;
345
344
  };
345
+ requestId: string;
346
346
  };
347
347
  outputFormat: "json";
348
- status: 200;
348
+ status: 502;
349
349
  input: {
350
350
  param: {
351
351
  chainId: string;
@@ -356,9 +356,17 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
356
356
  } & {
357
357
  "/gecko/:chainId/assets/:address": {
358
358
  $get: {
359
- output: null;
360
- outputFormat: "body";
361
- status: 402;
359
+ output: {
360
+ asset: {
361
+ id: string;
362
+ name: string;
363
+ symbol: string;
364
+ decimals: number;
365
+ totalSupply: string;
366
+ };
367
+ };
368
+ outputFormat: "json";
369
+ status: 200;
362
370
  input: {
363
371
  param: {
364
372
  chainId: string;
@@ -368,14 +376,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
368
376
  } | {
369
377
  output: {
370
378
  error: {
371
- code: "upstream_error";
379
+ code: "api_key_malformed";
372
380
  details?: readonly Response.error.Detail[] | undefined;
373
381
  message: string;
374
382
  };
375
383
  requestId: string;
376
384
  };
377
385
  outputFormat: "json";
378
- status: 502;
386
+ status: 400;
379
387
  input: {
380
388
  param: {
381
389
  chainId: string;
@@ -385,7 +393,7 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
385
393
  } | {
386
394
  output: {
387
395
  error: {
388
- code: "api_key_malformed";
396
+ code: "address_invalid";
389
397
  details?: readonly Response.error.Detail[] | undefined;
390
398
  message: string;
391
399
  };
@@ -417,16 +425,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
417
425
  };
418
426
  };
419
427
  } | {
420
- output: {
421
- error: {
422
- code: "api_key_forbidden";
423
- details?: readonly Response.error.Detail[] | undefined;
424
- message: string;
425
- };
426
- requestId: string;
427
- };
428
- outputFormat: "json";
429
- status: 403;
428
+ output: null;
429
+ outputFormat: "body";
430
+ status: 402;
430
431
  input: {
431
432
  param: {
432
433
  chainId: string;
@@ -436,14 +437,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
436
437
  } | {
437
438
  output: {
438
439
  error: {
439
- code: "payment_required" | "rate_limit_exceeded";
440
+ code: "api_key_forbidden";
440
441
  details?: readonly Response.error.Detail[] | undefined;
441
442
  message: string;
442
443
  };
443
444
  requestId: string;
444
445
  };
445
446
  outputFormat: "json";
446
- status: 429;
447
+ status: 403;
447
448
  input: {
448
449
  param: {
449
450
  chainId: string;
@@ -453,14 +454,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
453
454
  } | {
454
455
  output: {
455
456
  error: {
456
- code: "address_invalid";
457
+ code: "not_found";
457
458
  details?: readonly Response.error.Detail[] | undefined;
458
459
  message: string;
459
460
  };
460
461
  requestId: string;
461
462
  };
462
463
  outputFormat: "json";
463
- status: 400;
464
+ status: 404;
464
465
  input: {
465
466
  param: {
466
467
  chainId: string;
@@ -470,14 +471,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
470
471
  } | {
471
472
  output: {
472
473
  error: {
473
- code: "not_found";
474
+ code: "payment_required" | "rate_limit_exceeded";
474
475
  details?: readonly Response.error.Detail[] | undefined;
475
476
  message: string;
476
477
  };
477
478
  requestId: string;
478
479
  };
479
480
  outputFormat: "json";
480
- status: 404;
481
+ status: 429;
481
482
  input: {
482
483
  param: {
483
484
  chainId: string;
@@ -486,16 +487,15 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
486
487
  };
487
488
  } | {
488
489
  output: {
489
- asset: {
490
- id: string;
491
- name: string;
492
- symbol: string;
493
- decimals: number;
494
- totalSupply: string;
490
+ error: {
491
+ code: "upstream_error";
492
+ details?: readonly Response.error.Detail[] | undefined;
493
+ message: string;
495
494
  };
495
+ requestId: string;
496
496
  };
497
497
  outputFormat: "json";
498
- status: 200;
498
+ status: 502;
499
499
  input: {
500
500
  param: {
501
501
  chainId: string;
@@ -507,9 +507,35 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
507
507
  } & {
508
508
  "/gecko/:chainId/pairs": {
509
509
  $get: {
510
- output: null;
511
- outputFormat: "body";
512
- status: 402;
510
+ output: {
511
+ pairs: {
512
+ id: `0x${string}`;
513
+ dexKey: string;
514
+ asset0Id: string;
515
+ asset1Id: string;
516
+ token0: {
517
+ address: string;
518
+ name: string;
519
+ symbol: string;
520
+ decimals: number;
521
+ totalSupply: string;
522
+ };
523
+ token1: {
524
+ address: string;
525
+ name: string;
526
+ symbol: string;
527
+ decimals: number;
528
+ totalSupply: string;
529
+ };
530
+ reserve0: string;
531
+ reserve1: string;
532
+ createdAtBlockNumber?: number | undefined;
533
+ createdAtBlockTimestamp?: number | undefined;
534
+ createdAtTxnId?: string | undefined;
535
+ }[];
536
+ };
537
+ outputFormat: "json";
538
+ status: 200;
513
539
  input: {
514
540
  param: {
515
541
  chainId: string;
@@ -522,14 +548,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
522
548
  } | {
523
549
  output: {
524
550
  error: {
525
- code: "upstream_error";
551
+ code: "api_key_malformed";
526
552
  details?: readonly Response.error.Detail[] | undefined;
527
553
  message: string;
528
554
  };
529
555
  requestId: string;
530
556
  };
531
557
  outputFormat: "json";
532
- status: 502;
558
+ status: 400;
533
559
  input: {
534
560
  param: {
535
561
  chainId: string;
@@ -542,7 +568,7 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
542
568
  } | {
543
569
  output: {
544
570
  error: {
545
- code: "api_key_malformed";
571
+ code: "query_invalid";
546
572
  details?: readonly Response.error.Detail[] | undefined;
547
573
  message: string;
548
574
  };
@@ -579,6 +605,19 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
579
605
  limit?: string | string[];
580
606
  } | undefined;
581
607
  };
608
+ } | {
609
+ output: null;
610
+ outputFormat: "body";
611
+ status: 402;
612
+ input: {
613
+ param: {
614
+ chainId: string;
615
+ };
616
+ } & {
617
+ query?: {
618
+ limit?: string | string[];
619
+ } | undefined;
620
+ };
582
621
  } | {
583
622
  output: {
584
623
  error: {
@@ -622,14 +661,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
622
661
  } | {
623
662
  output: {
624
663
  error: {
625
- code: "query_invalid";
664
+ code: "upstream_error";
626
665
  details?: readonly Response.error.Detail[] | undefined;
627
666
  message: string;
628
667
  };
629
668
  requestId: string;
630
669
  };
631
670
  outputFormat: "json";
632
- status: 400;
671
+ status: 502;
633
672
  input: {
634
673
  param: {
635
674
  chainId: string;
@@ -639,9 +678,13 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
639
678
  limit?: string | string[];
640
679
  } | undefined;
641
680
  };
642
- } | {
681
+ };
682
+ };
683
+ } & {
684
+ "/gecko/:chainId/pairs/:pairId": {
685
+ $get: {
643
686
  output: {
644
- pairs: {
687
+ pair: {
645
688
  id: `0x${string}`;
646
689
  dexKey: string;
647
690
  asset0Id: string;
@@ -665,27 +708,10 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
665
708
  createdAtBlockNumber?: number | undefined;
666
709
  createdAtBlockTimestamp?: number | undefined;
667
710
  createdAtTxnId?: string | undefined;
668
- }[];
711
+ };
669
712
  };
670
713
  outputFormat: "json";
671
714
  status: 200;
672
- input: {
673
- param: {
674
- chainId: string;
675
- };
676
- } & {
677
- query?: {
678
- limit?: string | string[];
679
- } | undefined;
680
- };
681
- };
682
- };
683
- } & {
684
- "/gecko/:chainId/pairs/:pairId": {
685
- $get: {
686
- output: null;
687
- outputFormat: "body";
688
- status: 402;
689
715
  input: {
690
716
  param: {
691
717
  chainId: string;
@@ -695,14 +721,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
695
721
  } | {
696
722
  output: {
697
723
  error: {
698
- code: "upstream_error";
724
+ code: "api_key_malformed";
699
725
  details?: readonly Response.error.Detail[] | undefined;
700
726
  message: string;
701
727
  };
702
728
  requestId: string;
703
729
  };
704
730
  outputFormat: "json";
705
- status: 502;
731
+ status: 400;
706
732
  input: {
707
733
  param: {
708
734
  chainId: string;
@@ -712,7 +738,7 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
712
738
  } | {
713
739
  output: {
714
740
  error: {
715
- code: "api_key_malformed";
741
+ code: "pair_id_invalid";
716
742
  details?: readonly Response.error.Detail[] | undefined;
717
743
  message: string;
718
744
  };
@@ -744,16 +770,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
744
770
  };
745
771
  };
746
772
  } | {
747
- output: {
748
- error: {
749
- code: "api_key_forbidden";
750
- details?: readonly Response.error.Detail[] | undefined;
751
- message: string;
752
- };
753
- requestId: string;
754
- };
755
- outputFormat: "json";
756
- status: 403;
773
+ output: null;
774
+ outputFormat: "body";
775
+ status: 402;
757
776
  input: {
758
777
  param: {
759
778
  chainId: string;
@@ -763,14 +782,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
763
782
  } | {
764
783
  output: {
765
784
  error: {
766
- code: "payment_required" | "rate_limit_exceeded";
785
+ code: "api_key_forbidden";
767
786
  details?: readonly Response.error.Detail[] | undefined;
768
787
  message: string;
769
788
  };
770
789
  requestId: string;
771
790
  };
772
791
  outputFormat: "json";
773
- status: 429;
792
+ status: 403;
774
793
  input: {
775
794
  param: {
776
795
  chainId: string;
@@ -797,14 +816,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
797
816
  } | {
798
817
  output: {
799
818
  error: {
800
- code: "pair_id_invalid";
819
+ code: "payment_required" | "rate_limit_exceeded";
801
820
  details?: readonly Response.error.Detail[] | undefined;
802
821
  message: string;
803
822
  };
804
823
  requestId: string;
805
824
  };
806
825
  outputFormat: "json";
807
- status: 400;
826
+ status: 429;
808
827
  input: {
809
828
  param: {
810
829
  chainId: string;
@@ -813,34 +832,15 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
813
832
  };
814
833
  } | {
815
834
  output: {
816
- pair: {
817
- id: `0x${string}`;
818
- dexKey: string;
819
- asset0Id: string;
820
- asset1Id: string;
821
- token0: {
822
- address: string;
823
- name: string;
824
- symbol: string;
825
- decimals: number;
826
- totalSupply: string;
827
- };
828
- token1: {
829
- address: string;
830
- name: string;
831
- symbol: string;
832
- decimals: number;
833
- totalSupply: string;
834
- };
835
- reserve0: string;
836
- reserve1: string;
837
- createdAtBlockNumber?: number | undefined;
838
- createdAtBlockTimestamp?: number | undefined;
839
- createdAtTxnId?: string | undefined;
835
+ error: {
836
+ code: "upstream_error";
837
+ details?: readonly Response.error.Detail[] | undefined;
838
+ message: string;
840
839
  };
840
+ requestId: string;
841
841
  };
842
842
  outputFormat: "json";
843
- status: 200;
843
+ status: 502;
844
844
  input: {
845
845
  param: {
846
846
  chainId: string;
@@ -852,9 +852,31 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
852
852
  } & {
853
853
  "/gecko/:chainId/events": {
854
854
  $get: {
855
- output: null;
856
- outputFormat: "body";
857
- status: 402;
855
+ output: {
856
+ events: {
857
+ block: {
858
+ blockNumber: number;
859
+ blockTimestamp: number;
860
+ };
861
+ eventType: "swap";
862
+ txnId: string;
863
+ txnIndex: number;
864
+ eventIndex: number;
865
+ maker: string;
866
+ pairId: `0x${string}`;
867
+ asset0In?: string | undefined;
868
+ asset1In?: string | undefined;
869
+ asset0Out?: string | undefined;
870
+ asset1Out?: string | undefined;
871
+ priceNative: string;
872
+ reserves: {
873
+ asset0: string;
874
+ asset1: string;
875
+ };
876
+ }[];
877
+ };
878
+ outputFormat: "json";
879
+ status: 200;
858
880
  input: {
859
881
  param: {
860
882
  chainId: string;
@@ -868,14 +890,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
868
890
  } | {
869
891
  output: {
870
892
  error: {
871
- code: "upstream_error";
893
+ code: "api_key_malformed";
872
894
  details?: readonly Response.error.Detail[] | undefined;
873
895
  message: string;
874
896
  };
875
897
  requestId: string;
876
898
  };
877
899
  outputFormat: "json";
878
- status: 502;
900
+ status: 400;
879
901
  input: {
880
902
  param: {
881
903
  chainId: string;
@@ -889,7 +911,7 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
889
911
  } | {
890
912
  output: {
891
913
  error: {
892
- code: "api_key_malformed";
914
+ code: "query_invalid";
893
915
  details?: readonly Response.error.Detail[] | undefined;
894
916
  message: string;
895
917
  };
@@ -929,16 +951,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
929
951
  } | undefined;
930
952
  };
931
953
  } | {
932
- output: {
933
- error: {
934
- code: "api_key_forbidden";
935
- details?: readonly Response.error.Detail[] | undefined;
936
- message: string;
937
- };
938
- requestId: string;
939
- };
940
- outputFormat: "json";
941
- status: 403;
954
+ output: null;
955
+ outputFormat: "body";
956
+ status: 402;
942
957
  input: {
943
958
  param: {
944
959
  chainId: string;
@@ -952,14 +967,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
952
967
  } | {
953
968
  output: {
954
969
  error: {
955
- code: "payment_required" | "rate_limit_exceeded";
970
+ code: "api_key_forbidden";
956
971
  details?: readonly Response.error.Detail[] | undefined;
957
972
  message: string;
958
973
  };
959
974
  requestId: string;
960
975
  };
961
976
  outputFormat: "json";
962
- status: 429;
977
+ status: 403;
963
978
  input: {
964
979
  param: {
965
980
  chainId: string;
@@ -973,14 +988,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
973
988
  } | {
974
989
  output: {
975
990
  error: {
976
- code: "query_invalid";
991
+ code: "not_found";
977
992
  details?: readonly Response.error.Detail[] | undefined;
978
993
  message: string;
979
994
  };
980
995
  requestId: string;
981
996
  };
982
997
  outputFormat: "json";
983
- status: 400;
998
+ status: 404;
984
999
  input: {
985
1000
  param: {
986
1001
  chainId: string;
@@ -994,14 +1009,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
994
1009
  } | {
995
1010
  output: {
996
1011
  error: {
997
- code: "not_found";
1012
+ code: "payment_required" | "rate_limit_exceeded";
998
1013
  details?: readonly Response.error.Detail[] | undefined;
999
1014
  message: string;
1000
1015
  };
1001
1016
  requestId: string;
1002
1017
  };
1003
1018
  outputFormat: "json";
1004
- status: 404;
1019
+ status: 429;
1005
1020
  input: {
1006
1021
  param: {
1007
1022
  chainId: string;
@@ -1014,30 +1029,15 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
1014
1029
  };
1015
1030
  } | {
1016
1031
  output: {
1017
- events: {
1018
- block: {
1019
- blockNumber: number;
1020
- blockTimestamp: number;
1021
- };
1022
- eventType: "swap";
1023
- txnId: string;
1024
- txnIndex: number;
1025
- eventIndex: number;
1026
- maker: string;
1027
- pairId: `0x${string}`;
1028
- asset0In?: string | undefined;
1029
- asset1In?: string | undefined;
1030
- asset0Out?: string | undefined;
1031
- asset1Out?: string | undefined;
1032
- priceNative: string;
1033
- reserves: {
1034
- asset0: string;
1035
- asset1: string;
1036
- };
1037
- }[];
1032
+ error: {
1033
+ code: "upstream_error";
1034
+ details?: readonly Response.error.Detail[] | undefined;
1035
+ message: string;
1036
+ };
1037
+ requestId: string;
1038
1038
  };
1039
1039
  outputFormat: "json";
1040
- status: 200;
1040
+ status: 502;
1041
1041
  input: {
1042
1042
  param: {
1043
1043
  chainId: string;