tapimo 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/README.md +5 -5
  2. package/dist/App.d.ts +31 -9
  3. package/dist/App.d.ts.map +1 -1
  4. package/dist/App.js +3 -3
  5. package/dist/App.js.map +1 -1
  6. package/dist/admin/App.d.ts +116 -116
  7. package/dist/apps/data/App.d.ts +30 -5
  8. package/dist/apps/data/App.d.ts.map +1 -1
  9. package/dist/apps/data/App.js +21 -4
  10. package/dist/apps/data/App.js.map +1 -1
  11. package/dist/apps/data/FundingRouteProviders.d.ts +54 -0
  12. package/dist/apps/data/FundingRouteProviders.d.ts.map +1 -0
  13. package/dist/apps/data/FundingRouteProviders.js +355 -0
  14. package/dist/apps/data/FundingRouteProviders.js.map +1 -0
  15. package/dist/apps/data/index.d.ts +1 -0
  16. package/dist/apps/data/index.d.ts.map +1 -1
  17. package/dist/apps/data/index.js +1 -0
  18. package/dist/apps/data/index.js.map +1 -1
  19. package/dist/apps/data/routes/balances.d.ts +45 -45
  20. package/dist/apps/data/routes/coingecko.d.ts +176 -176
  21. package/dist/apps/data/routes/funding.d.ts +79 -1
  22. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  23. package/dist/apps/data/routes/funding.js +68 -8
  24. package/dist/apps/data/routes/funding.js.map +1 -1
  25. package/dist/apps/data/routes/indexer.d.ts +5 -5
  26. package/dist/apps/data/routes/rpc.d.ts +31 -31
  27. package/dist/apps/data/routes/transactions.d.ts +281 -281
  28. package/dist/apps/data/routes/transfers.d.ts +58 -58
  29. package/dist/apps/docs/App.d.ts +1 -1
  30. package/dist/apps/docs/App.js +1 -1
  31. package/dist/apps/index.d.ts +2 -2
  32. package/dist/apps/index.d.ts.map +1 -1
  33. package/dist/apps/index.js +2 -2
  34. package/dist/apps/index.js.map +1 -1
  35. package/dist/apps/{platform → management}/App.d.ts +11 -11
  36. package/dist/apps/{platform → management}/App.d.ts.map +1 -1
  37. package/dist/apps/{platform → management}/App.js +7 -7
  38. package/dist/apps/management/App.js.map +1 -0
  39. package/dist/apps/management/Billing.d.ts.map +1 -0
  40. package/dist/apps/management/Billing.js.map +1 -0
  41. package/dist/apps/management/index.d.ts +3 -0
  42. package/dist/apps/management/index.d.ts.map +1 -0
  43. package/dist/apps/management/index.js +3 -0
  44. package/dist/apps/management/index.js.map +1 -0
  45. package/dist/apps/management/routes/api-keys.d.ts.map +1 -0
  46. package/dist/apps/{platform → management}/routes/api-keys.js +1 -1
  47. package/dist/apps/management/routes/api-keys.js.map +1 -0
  48. package/dist/apps/{platform → management}/routes/billing.d.ts.map +1 -1
  49. package/dist/apps/management/routes/billing.js.map +1 -0
  50. package/dist/apps/{platform → management}/routes/invitations.d.ts +1 -1
  51. package/dist/apps/management/routes/invitations.d.ts.map +1 -0
  52. package/dist/apps/{platform → management}/routes/invitations.js +1 -1
  53. package/dist/apps/management/routes/invitations.js.map +1 -0
  54. package/dist/apps/{platform → management}/routes/me.d.ts +17 -17
  55. package/dist/apps/management/routes/me.d.ts.map +1 -0
  56. package/dist/apps/management/routes/me.js.map +1 -0
  57. package/dist/apps/management/routes/members.d.ts.map +1 -0
  58. package/dist/apps/management/routes/members.js.map +1 -0
  59. package/dist/apps/management/routes/orgs.d.ts.map +1 -0
  60. package/dist/apps/management/routes/orgs.js.map +1 -0
  61. package/dist/apps/{platform → management}/routes/projects.d.ts.map +1 -1
  62. package/dist/apps/management/routes/projects.js.map +1 -0
  63. package/dist/apps/{platform → management}/routes/scopes.d.ts +11 -11
  64. package/dist/apps/management/routes/scopes.d.ts.map +1 -0
  65. package/dist/apps/management/routes/scopes.js.map +1 -0
  66. package/dist/apps/management/routes/usage.d.ts.map +1 -0
  67. package/dist/apps/management/routes/usage.js.map +1 -0
  68. package/dist/apps/mcp.js +1 -1
  69. package/dist/apps/relay/App.js +1 -1
  70. package/dist/apps/relay/App.js.map +1 -1
  71. package/dist/handlers/relay.d.ts +13 -10
  72. package/dist/handlers/relay.d.ts.map +1 -1
  73. package/dist/handlers/relay.js +46 -16
  74. package/dist/handlers/relay.js.map +1 -1
  75. package/dist/internal/Auth.js +1 -1
  76. package/dist/internal/Auth.js.map +1 -1
  77. package/dist/internal/EdgeCache.js +1 -1
  78. package/dist/internal/EdgeCache.js.map +1 -1
  79. package/dist/internal/FundingRoutes.d.ts +748 -16
  80. package/dist/internal/FundingRoutes.d.ts.map +1 -1
  81. package/dist/internal/FundingRoutes.js +166 -31
  82. package/dist/internal/FundingRoutes.js.map +1 -1
  83. package/package.json +5 -5
  84. package/src/App.ts +10 -10
  85. package/src/Client.test-d.ts +4 -4
  86. package/src/apps/composition.test.ts +26 -13
  87. package/src/apps/data/App.ts +27 -4
  88. package/src/apps/data/FundingRouteProviders.test.ts +281 -0
  89. package/src/apps/data/FundingRouteProviders.ts +459 -0
  90. package/src/apps/data/index.ts +1 -0
  91. package/src/apps/data/routes/funding.test.ts +102 -2
  92. package/src/apps/data/routes/funding.ts +122 -8
  93. package/src/apps/data/routes/rpc.test.ts +33 -0
  94. package/src/apps/docs/App.ts +1 -1
  95. package/src/apps/index.ts +2 -2
  96. package/src/apps/{platform → management}/App.ts +14 -14
  97. package/src/apps/{platform → management}/index.ts +1 -1
  98. package/src/apps/{platform → management}/routes/api-keys.ts +1 -1
  99. package/src/apps/{platform → management}/routes/invitations.ts +1 -1
  100. package/src/apps/mcp.test.ts +1 -1
  101. package/src/apps/mcp.ts +1 -1
  102. package/src/apps/relay/App.test.ts +1 -1
  103. package/src/apps/relay/App.ts +1 -1
  104. package/src/handlers/relay.test-d.ts +8 -0
  105. package/src/handlers/relay.test.ts +2 -2
  106. package/src/handlers/relay.ts +62 -22
  107. package/src/internal/Auth.ts +1 -1
  108. package/src/internal/EdgeCache.ts +1 -1
  109. package/src/internal/FundingRoutes.test.ts +213 -0
  110. package/src/internal/FundingRoutes.ts +347 -32
  111. package/dist/apps/platform/App.js.map +0 -1
  112. package/dist/apps/platform/Billing.d.ts.map +0 -1
  113. package/dist/apps/platform/Billing.js.map +0 -1
  114. package/dist/apps/platform/index.d.ts +0 -3
  115. package/dist/apps/platform/index.d.ts.map +0 -1
  116. package/dist/apps/platform/index.js +0 -3
  117. package/dist/apps/platform/index.js.map +0 -1
  118. package/dist/apps/platform/routes/api-keys.d.ts.map +0 -1
  119. package/dist/apps/platform/routes/api-keys.js.map +0 -1
  120. package/dist/apps/platform/routes/billing.js.map +0 -1
  121. package/dist/apps/platform/routes/invitations.d.ts.map +0 -1
  122. package/dist/apps/platform/routes/invitations.js.map +0 -1
  123. package/dist/apps/platform/routes/me.d.ts.map +0 -1
  124. package/dist/apps/platform/routes/me.js.map +0 -1
  125. package/dist/apps/platform/routes/members.d.ts.map +0 -1
  126. package/dist/apps/platform/routes/members.js.map +0 -1
  127. package/dist/apps/platform/routes/orgs.d.ts.map +0 -1
  128. package/dist/apps/platform/routes/orgs.js.map +0 -1
  129. package/dist/apps/platform/routes/projects.js.map +0 -1
  130. package/dist/apps/platform/routes/scopes.d.ts.map +0 -1
  131. package/dist/apps/platform/routes/scopes.js.map +0 -1
  132. package/dist/apps/platform/routes/usage.d.ts.map +0 -1
  133. package/dist/apps/platform/routes/usage.js.map +0 -1
  134. /package/dist/apps/{platform → management}/Billing.d.ts +0 -0
  135. /package/dist/apps/{platform → management}/Billing.js +0 -0
  136. /package/dist/apps/{platform → management}/routes/api-keys.d.ts +0 -0
  137. /package/dist/apps/{platform → management}/routes/billing.d.ts +0 -0
  138. /package/dist/apps/{platform → management}/routes/billing.js +0 -0
  139. /package/dist/apps/{platform → management}/routes/me.js +0 -0
  140. /package/dist/apps/{platform → management}/routes/members.d.ts +0 -0
  141. /package/dist/apps/{platform → management}/routes/members.js +0 -0
  142. /package/dist/apps/{platform → management}/routes/orgs.d.ts +0 -0
  143. /package/dist/apps/{platform → management}/routes/orgs.js +0 -0
  144. /package/dist/apps/{platform → management}/routes/projects.d.ts +0 -0
  145. /package/dist/apps/{platform → management}/routes/projects.js +0 -0
  146. /package/dist/apps/{platform → management}/routes/scopes.js +0 -0
  147. /package/dist/apps/{platform → management}/routes/usage.d.ts +0 -0
  148. /package/dist/apps/{platform → management}/routes/usage.js +0 -0
  149. /package/src/apps/{platform → management}/Billing.test.ts +0 -0
  150. /package/src/apps/{platform → management}/Billing.ts +0 -0
  151. /package/src/apps/{platform → management}/routes/api-keys.test.ts +0 -0
  152. /package/src/apps/{platform → management}/routes/billing.test.ts +0 -0
  153. /package/src/apps/{platform → management}/routes/billing.ts +0 -0
  154. /package/src/apps/{platform → management}/routes/invitations.test.ts +0 -0
  155. /package/src/apps/{platform → management}/routes/me.test.ts +0 -0
  156. /package/src/apps/{platform → management}/routes/me.ts +0 -0
  157. /package/src/apps/{platform → management}/routes/members.test.ts +0 -0
  158. /package/src/apps/{platform → management}/routes/members.ts +0 -0
  159. /package/src/apps/{platform → management}/routes/orgs.test.ts +0 -0
  160. /package/src/apps/{platform → management}/routes/orgs.ts +0 -0
  161. /package/src/apps/{platform → management}/routes/projects.test.ts +0 -0
  162. /package/src/apps/{platform → management}/routes/projects.ts +0 -0
  163. /package/src/apps/{platform → management}/routes/scopes.test.ts +0 -0
  164. /package/src/apps/{platform → management}/routes/scopes.ts +0 -0
  165. /package/src/apps/{platform → management}/routes/usage.test.ts +0 -0
  166. /package/src/apps/{platform → management}/routes/usage.ts +0 -0
@@ -216,14 +216,9 @@ export declare namespace schema {
216
216
  export declare function coingecko(): import("hono/hono-base").HonoBase<App.Environment, {
217
217
  "/gecko/:chainId/latest-block": {
218
218
  $get: {
219
- output: {
220
- block: {
221
- blockNumber: number;
222
- blockTimestamp: number;
223
- };
224
- };
225
- outputFormat: "json";
226
- status: 200;
219
+ output: null;
220
+ outputFormat: "body";
221
+ status: 402;
227
222
  input: {
228
223
  param: {
229
224
  chainId: string;
@@ -248,14 +243,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
248
243
  } | {
249
244
  output: {
250
245
  error: {
251
- code: "chain_id_invalid";
246
+ code: "api_key_invalid" | "api_key_missing";
252
247
  details?: readonly Response.error.Detail[] | undefined;
253
248
  message: string;
254
249
  };
255
250
  requestId: string;
256
251
  };
257
252
  outputFormat: "json";
258
- status: 400;
253
+ status: 401;
259
254
  input: {
260
255
  param: {
261
256
  chainId: string;
@@ -264,23 +259,30 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
264
259
  } | {
265
260
  output: {
266
261
  error: {
267
- code: "api_key_invalid" | "api_key_missing";
262
+ code: "api_key_forbidden";
268
263
  details?: readonly Response.error.Detail[] | undefined;
269
264
  message: string;
270
265
  };
271
266
  requestId: string;
272
267
  };
273
268
  outputFormat: "json";
274
- status: 401;
269
+ status: 403;
275
270
  input: {
276
271
  param: {
277
272
  chainId: string;
278
273
  };
279
274
  };
280
275
  } | {
281
- output: null;
282
- outputFormat: "body";
283
- status: 402;
276
+ output: {
277
+ error: {
278
+ code: "payment_required" | "rate_limit_exceeded";
279
+ details?: readonly Response.error.Detail[] | undefined;
280
+ message: string;
281
+ };
282
+ requestId: string;
283
+ };
284
+ outputFormat: "json";
285
+ status: 429;
284
286
  input: {
285
287
  param: {
286
288
  chainId: string;
@@ -289,14 +291,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
289
291
  } | {
290
292
  output: {
291
293
  error: {
292
- code: "api_key_forbidden";
294
+ code: "upstream_error";
293
295
  details?: readonly Response.error.Detail[] | undefined;
294
296
  message: string;
295
297
  };
296
298
  requestId: string;
297
299
  };
298
300
  outputFormat: "json";
299
- status: 403;
301
+ status: 502;
300
302
  input: {
301
303
  param: {
302
304
  chainId: string;
@@ -305,14 +307,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
305
307
  } | {
306
308
  output: {
307
309
  error: {
308
- code: "not_found";
310
+ code: "chain_id_invalid";
309
311
  details?: readonly Response.error.Detail[] | undefined;
310
312
  message: string;
311
313
  };
312
314
  requestId: string;
313
315
  };
314
316
  outputFormat: "json";
315
- status: 404;
317
+ status: 400;
316
318
  input: {
317
319
  param: {
318
320
  chainId: string;
@@ -321,14 +323,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
321
323
  } | {
322
324
  output: {
323
325
  error: {
324
- code: "payment_required" | "rate_limit_exceeded";
326
+ code: "not_found";
325
327
  details?: readonly Response.error.Detail[] | undefined;
326
328
  message: string;
327
329
  };
328
330
  requestId: string;
329
331
  };
330
332
  outputFormat: "json";
331
- status: 429;
333
+ status: 404;
332
334
  input: {
333
335
  param: {
334
336
  chainId: string;
@@ -336,15 +338,13 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
336
338
  };
337
339
  } | {
338
340
  output: {
339
- error: {
340
- code: "upstream_error";
341
- details?: readonly Response.error.Detail[] | undefined;
342
- message: string;
341
+ block: {
342
+ blockNumber: number;
343
+ blockTimestamp: number;
343
344
  };
344
- requestId: string;
345
345
  };
346
346
  outputFormat: "json";
347
- status: 502;
347
+ status: 200;
348
348
  input: {
349
349
  param: {
350
350
  chainId: string;
@@ -355,17 +355,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
355
355
  } & {
356
356
  "/gecko/:chainId/assets/:address": {
357
357
  $get: {
358
- output: {
359
- asset: {
360
- id: string;
361
- name: string;
362
- symbol: string;
363
- decimals: number;
364
- totalSupply: string;
365
- };
366
- };
367
- outputFormat: "json";
368
- status: 200;
358
+ output: null;
359
+ outputFormat: "body";
360
+ status: 402;
369
361
  input: {
370
362
  param: {
371
363
  chainId: string;
@@ -392,14 +384,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
392
384
  } | {
393
385
  output: {
394
386
  error: {
395
- code: "address_invalid";
387
+ code: "api_key_invalid" | "api_key_missing";
396
388
  details?: readonly Response.error.Detail[] | undefined;
397
389
  message: string;
398
390
  };
399
391
  requestId: string;
400
392
  };
401
393
  outputFormat: "json";
402
- status: 400;
394
+ status: 401;
403
395
  input: {
404
396
  param: {
405
397
  chainId: string;
@@ -409,14 +401,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
409
401
  } | {
410
402
  output: {
411
403
  error: {
412
- code: "api_key_invalid" | "api_key_missing";
404
+ code: "api_key_forbidden";
413
405
  details?: readonly Response.error.Detail[] | undefined;
414
406
  message: string;
415
407
  };
416
408
  requestId: string;
417
409
  };
418
410
  outputFormat: "json";
419
- status: 401;
411
+ status: 403;
420
412
  input: {
421
413
  param: {
422
414
  chainId: string;
@@ -424,9 +416,16 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
424
416
  };
425
417
  };
426
418
  } | {
427
- output: null;
428
- outputFormat: "body";
429
- status: 402;
419
+ output: {
420
+ error: {
421
+ code: "payment_required" | "rate_limit_exceeded";
422
+ details?: readonly Response.error.Detail[] | undefined;
423
+ message: string;
424
+ };
425
+ requestId: string;
426
+ };
427
+ outputFormat: "json";
428
+ status: 429;
430
429
  input: {
431
430
  param: {
432
431
  chainId: string;
@@ -436,14 +435,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
436
435
  } | {
437
436
  output: {
438
437
  error: {
439
- code: "api_key_forbidden";
438
+ code: "upstream_error";
440
439
  details?: readonly Response.error.Detail[] | undefined;
441
440
  message: string;
442
441
  };
443
442
  requestId: string;
444
443
  };
445
444
  outputFormat: "json";
446
- status: 403;
445
+ status: 502;
447
446
  input: {
448
447
  param: {
449
448
  chainId: string;
@@ -453,14 +452,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
453
452
  } | {
454
453
  output: {
455
454
  error: {
456
- code: "not_found";
455
+ code: "address_invalid";
457
456
  details?: readonly Response.error.Detail[] | undefined;
458
457
  message: string;
459
458
  };
460
459
  requestId: string;
461
460
  };
462
461
  outputFormat: "json";
463
- status: 404;
462
+ status: 400;
464
463
  input: {
465
464
  param: {
466
465
  chainId: string;
@@ -470,14 +469,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
470
469
  } | {
471
470
  output: {
472
471
  error: {
473
- code: "payment_required" | "rate_limit_exceeded";
472
+ code: "not_found";
474
473
  details?: readonly Response.error.Detail[] | undefined;
475
474
  message: string;
476
475
  };
477
476
  requestId: string;
478
477
  };
479
478
  outputFormat: "json";
480
- status: 429;
479
+ status: 404;
481
480
  input: {
482
481
  param: {
483
482
  chainId: string;
@@ -486,15 +485,16 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
486
485
  };
487
486
  } | {
488
487
  output: {
489
- error: {
490
- code: "upstream_error";
491
- details?: readonly Response.error.Detail[] | undefined;
492
- message: string;
488
+ asset: {
489
+ id: string;
490
+ name: string;
491
+ symbol: string;
492
+ decimals: number;
493
+ totalSupply: string;
493
494
  };
494
- requestId: string;
495
495
  };
496
496
  outputFormat: "json";
497
- status: 502;
497
+ status: 200;
498
498
  input: {
499
499
  param: {
500
500
  chainId: string;
@@ -506,35 +506,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
506
506
  } & {
507
507
  "/gecko/:chainId/pairs": {
508
508
  $get: {
509
- output: {
510
- pairs: {
511
- id: `0x${string}`;
512
- dexKey: string;
513
- asset0Id: string;
514
- asset1Id: string;
515
- token0: {
516
- address: string;
517
- name: string;
518
- symbol: string;
519
- decimals: number;
520
- totalSupply: string;
521
- };
522
- token1: {
523
- address: string;
524
- name: string;
525
- symbol: string;
526
- decimals: number;
527
- totalSupply: string;
528
- };
529
- reserve0: string;
530
- reserve1: string;
531
- createdAtBlockNumber?: number | undefined;
532
- createdAtBlockTimestamp?: number | undefined;
533
- createdAtTxnId?: string | undefined;
534
- }[];
535
- };
536
- outputFormat: "json";
537
- status: 200;
509
+ output: null;
510
+ outputFormat: "body";
511
+ status: 402;
538
512
  input: {
539
513
  param: {
540
514
  chainId: string;
@@ -567,14 +541,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
567
541
  } | {
568
542
  output: {
569
543
  error: {
570
- code: "query_invalid";
544
+ code: "api_key_invalid" | "api_key_missing";
571
545
  details?: readonly Response.error.Detail[] | undefined;
572
546
  message: string;
573
547
  };
574
548
  requestId: string;
575
549
  };
576
550
  outputFormat: "json";
577
- status: 400;
551
+ status: 401;
578
552
  input: {
579
553
  param: {
580
554
  chainId: string;
@@ -587,27 +561,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
587
561
  } | {
588
562
  output: {
589
563
  error: {
590
- code: "api_key_invalid" | "api_key_missing";
564
+ code: "api_key_forbidden";
591
565
  details?: readonly Response.error.Detail[] | undefined;
592
566
  message: string;
593
567
  };
594
568
  requestId: string;
595
569
  };
596
570
  outputFormat: "json";
597
- status: 401;
598
- input: {
599
- param: {
600
- chainId: string;
601
- };
602
- } & {
603
- query?: {
604
- limit?: string | string[];
605
- } | undefined;
606
- };
607
- } | {
608
- output: null;
609
- outputFormat: "body";
610
- status: 402;
571
+ status: 403;
611
572
  input: {
612
573
  param: {
613
574
  chainId: string;
@@ -620,14 +581,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
620
581
  } | {
621
582
  output: {
622
583
  error: {
623
- code: "api_key_forbidden";
584
+ code: "payment_required" | "rate_limit_exceeded";
624
585
  details?: readonly Response.error.Detail[] | undefined;
625
586
  message: string;
626
587
  };
627
588
  requestId: string;
628
589
  };
629
590
  outputFormat: "json";
630
- status: 403;
591
+ status: 429;
631
592
  input: {
632
593
  param: {
633
594
  chainId: string;
@@ -640,14 +601,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
640
601
  } | {
641
602
  output: {
642
603
  error: {
643
- code: "payment_required" | "rate_limit_exceeded";
604
+ code: "query_invalid";
644
605
  details?: readonly Response.error.Detail[] | undefined;
645
606
  message: string;
646
607
  };
647
608
  requestId: string;
648
609
  };
649
610
  outputFormat: "json";
650
- status: 429;
611
+ status: 400;
651
612
  input: {
652
613
  param: {
653
614
  chainId: string;
@@ -677,13 +638,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
677
638
  limit?: string | string[];
678
639
  } | undefined;
679
640
  };
680
- };
681
- };
682
- } & {
683
- "/gecko/:chainId/pairs/:pairId": {
684
- $get: {
641
+ } | {
685
642
  output: {
686
- pair: {
643
+ pairs: {
687
644
  id: `0x${string}`;
688
645
  dexKey: string;
689
646
  asset0Id: string;
@@ -707,10 +664,27 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
707
664
  createdAtBlockNumber?: number | undefined;
708
665
  createdAtBlockTimestamp?: number | undefined;
709
666
  createdAtTxnId?: string | undefined;
710
- };
667
+ }[];
711
668
  };
712
669
  outputFormat: "json";
713
670
  status: 200;
671
+ input: {
672
+ param: {
673
+ chainId: string;
674
+ };
675
+ } & {
676
+ query?: {
677
+ limit?: string | string[];
678
+ } | undefined;
679
+ };
680
+ };
681
+ };
682
+ } & {
683
+ "/gecko/:chainId/pairs/:pairId": {
684
+ $get: {
685
+ output: null;
686
+ outputFormat: "body";
687
+ status: 402;
714
688
  input: {
715
689
  param: {
716
690
  chainId: string;
@@ -737,14 +711,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
737
711
  } | {
738
712
  output: {
739
713
  error: {
740
- code: "pair_id_invalid";
714
+ code: "api_key_invalid" | "api_key_missing";
741
715
  details?: readonly Response.error.Detail[] | undefined;
742
716
  message: string;
743
717
  };
744
718
  requestId: string;
745
719
  };
746
720
  outputFormat: "json";
747
- status: 400;
721
+ status: 401;
748
722
  input: {
749
723
  param: {
750
724
  chainId: string;
@@ -754,14 +728,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
754
728
  } | {
755
729
  output: {
756
730
  error: {
757
- code: "api_key_invalid" | "api_key_missing";
731
+ code: "api_key_forbidden";
758
732
  details?: readonly Response.error.Detail[] | undefined;
759
733
  message: string;
760
734
  };
761
735
  requestId: string;
762
736
  };
763
737
  outputFormat: "json";
764
- status: 401;
738
+ status: 403;
765
739
  input: {
766
740
  param: {
767
741
  chainId: string;
@@ -769,9 +743,16 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
769
743
  };
770
744
  };
771
745
  } | {
772
- output: null;
773
- outputFormat: "body";
774
- status: 402;
746
+ output: {
747
+ error: {
748
+ code: "payment_required" | "rate_limit_exceeded";
749
+ details?: readonly Response.error.Detail[] | undefined;
750
+ message: string;
751
+ };
752
+ requestId: string;
753
+ };
754
+ outputFormat: "json";
755
+ status: 429;
775
756
  input: {
776
757
  param: {
777
758
  chainId: string;
@@ -781,14 +762,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
781
762
  } | {
782
763
  output: {
783
764
  error: {
784
- code: "api_key_forbidden";
765
+ code: "upstream_error";
785
766
  details?: readonly Response.error.Detail[] | undefined;
786
767
  message: string;
787
768
  };
788
769
  requestId: string;
789
770
  };
790
771
  outputFormat: "json";
791
- status: 403;
772
+ status: 502;
792
773
  input: {
793
774
  param: {
794
775
  chainId: string;
@@ -815,14 +796,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
815
796
  } | {
816
797
  output: {
817
798
  error: {
818
- code: "payment_required" | "rate_limit_exceeded";
799
+ code: "pair_id_invalid";
819
800
  details?: readonly Response.error.Detail[] | undefined;
820
801
  message: string;
821
802
  };
822
803
  requestId: string;
823
804
  };
824
805
  outputFormat: "json";
825
- status: 429;
806
+ status: 400;
826
807
  input: {
827
808
  param: {
828
809
  chainId: string;
@@ -831,15 +812,34 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
831
812
  };
832
813
  } | {
833
814
  output: {
834
- error: {
835
- code: "upstream_error";
836
- details?: readonly Response.error.Detail[] | undefined;
837
- message: string;
815
+ pair: {
816
+ id: `0x${string}`;
817
+ dexKey: string;
818
+ asset0Id: string;
819
+ asset1Id: string;
820
+ token0: {
821
+ address: string;
822
+ name: string;
823
+ symbol: string;
824
+ decimals: number;
825
+ totalSupply: string;
826
+ };
827
+ token1: {
828
+ address: string;
829
+ name: string;
830
+ symbol: string;
831
+ decimals: number;
832
+ totalSupply: string;
833
+ };
834
+ reserve0: string;
835
+ reserve1: string;
836
+ createdAtBlockNumber?: number | undefined;
837
+ createdAtBlockTimestamp?: number | undefined;
838
+ createdAtTxnId?: string | undefined;
838
839
  };
839
- requestId: string;
840
840
  };
841
841
  outputFormat: "json";
842
- status: 502;
842
+ status: 200;
843
843
  input: {
844
844
  param: {
845
845
  chainId: string;
@@ -851,31 +851,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
851
851
  } & {
852
852
  "/gecko/:chainId/events": {
853
853
  $get: {
854
- output: {
855
- events: {
856
- block: {
857
- blockNumber: number;
858
- blockTimestamp: number;
859
- };
860
- eventType: "swap";
861
- txnId: string;
862
- txnIndex: number;
863
- eventIndex: number;
864
- maker: string;
865
- pairId: `0x${string}`;
866
- asset0In?: string | undefined;
867
- asset1In?: string | undefined;
868
- asset0Out?: string | undefined;
869
- asset1Out?: string | undefined;
870
- priceNative: string;
871
- reserves: {
872
- asset0: string;
873
- asset1: string;
874
- };
875
- }[];
876
- };
877
- outputFormat: "json";
878
- status: 200;
854
+ output: null;
855
+ outputFormat: "body";
856
+ status: 402;
879
857
  input: {
880
858
  param: {
881
859
  chainId: string;
@@ -910,14 +888,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
910
888
  } | {
911
889
  output: {
912
890
  error: {
913
- code: "query_invalid";
891
+ code: "api_key_invalid" | "api_key_missing";
914
892
  details?: readonly Response.error.Detail[] | undefined;
915
893
  message: string;
916
894
  };
917
895
  requestId: string;
918
896
  };
919
897
  outputFormat: "json";
920
- status: 400;
898
+ status: 401;
921
899
  input: {
922
900
  param: {
923
901
  chainId: string;
@@ -931,14 +909,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
931
909
  } | {
932
910
  output: {
933
911
  error: {
934
- code: "api_key_invalid" | "api_key_missing";
912
+ code: "api_key_forbidden";
935
913
  details?: readonly Response.error.Detail[] | undefined;
936
914
  message: string;
937
915
  };
938
916
  requestId: string;
939
917
  };
940
918
  outputFormat: "json";
941
- status: 401;
919
+ status: 403;
942
920
  input: {
943
921
  param: {
944
922
  chainId: string;
@@ -950,9 +928,16 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
950
928
  } | undefined;
951
929
  };
952
930
  } | {
953
- output: null;
954
- outputFormat: "body";
955
- status: 402;
931
+ output: {
932
+ error: {
933
+ code: "payment_required" | "rate_limit_exceeded";
934
+ details?: readonly Response.error.Detail[] | undefined;
935
+ message: string;
936
+ };
937
+ requestId: string;
938
+ };
939
+ outputFormat: "json";
940
+ status: 429;
956
941
  input: {
957
942
  param: {
958
943
  chainId: string;
@@ -966,14 +951,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
966
951
  } | {
967
952
  output: {
968
953
  error: {
969
- code: "api_key_forbidden";
954
+ code: "query_invalid";
970
955
  details?: readonly Response.error.Detail[] | undefined;
971
956
  message: string;
972
957
  };
973
958
  requestId: string;
974
959
  };
975
960
  outputFormat: "json";
976
- status: 403;
961
+ status: 400;
977
962
  input: {
978
963
  param: {
979
964
  chainId: string;
@@ -987,14 +972,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
987
972
  } | {
988
973
  output: {
989
974
  error: {
990
- code: "not_found";
975
+ code: "upstream_error";
991
976
  details?: readonly Response.error.Detail[] | undefined;
992
977
  message: string;
993
978
  };
994
979
  requestId: string;
995
980
  };
996
981
  outputFormat: "json";
997
- status: 404;
982
+ status: 502;
998
983
  input: {
999
984
  param: {
1000
985
  chainId: string;
@@ -1008,14 +993,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
1008
993
  } | {
1009
994
  output: {
1010
995
  error: {
1011
- code: "payment_required" | "rate_limit_exceeded";
996
+ code: "not_found";
1012
997
  details?: readonly Response.error.Detail[] | undefined;
1013
998
  message: string;
1014
999
  };
1015
1000
  requestId: string;
1016
1001
  };
1017
1002
  outputFormat: "json";
1018
- status: 429;
1003
+ status: 404;
1019
1004
  input: {
1020
1005
  param: {
1021
1006
  chainId: string;
@@ -1028,15 +1013,30 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
1028
1013
  };
1029
1014
  } | {
1030
1015
  output: {
1031
- error: {
1032
- code: "upstream_error";
1033
- details?: readonly Response.error.Detail[] | undefined;
1034
- message: string;
1035
- };
1036
- requestId: string;
1016
+ events: {
1017
+ block: {
1018
+ blockNumber: number;
1019
+ blockTimestamp: number;
1020
+ };
1021
+ eventType: "swap";
1022
+ txnId: string;
1023
+ txnIndex: number;
1024
+ eventIndex: number;
1025
+ maker: string;
1026
+ pairId: `0x${string}`;
1027
+ asset0In?: string | undefined;
1028
+ asset1In?: string | undefined;
1029
+ asset0Out?: string | undefined;
1030
+ asset1Out?: string | undefined;
1031
+ priceNative: string;
1032
+ reserves: {
1033
+ asset0: string;
1034
+ asset1: string;
1035
+ };
1036
+ }[];
1037
1037
  };
1038
1038
  outputFormat: "json";
1039
- status: 502;
1039
+ status: 200;
1040
1040
  input: {
1041
1041
  param: {
1042
1042
  chainId: string;