tapimo 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/admin/App.d.ts +123 -123
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +13 -13
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/balances.d.ts +43 -43
- package/dist/apps/coingecko.d.ts +176 -176
- package/dist/apps/coingecko.js +1 -1
- package/dist/apps/coingecko.js.map +1 -1
- package/dist/apps/tokenlist.d.ts +36 -36
- package/dist/internal/Auth.js +6 -1
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Store.js +22 -5
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Viem.d.ts +81 -7
- package/dist/internal/Viem.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/App.test.ts +1 -1
- package/src/admin/ui.generated.ts +13 -13
- package/src/apps/coingecko.ts +1 -1
- package/src/apps/indexer.test.ts +1 -1
- package/src/apps/webhooks.test.ts +1 -1
- package/src/internal/Auth.test.ts +59 -1
- package/src/internal/Auth.ts +6 -1
- package/src/internal/Store.test.ts +84 -0
- package/src/internal/Store.ts +24 -5
- package/src/internal/Viem.ts +2 -1
package/README.md
CHANGED
|
@@ -112,7 +112,8 @@ token.symbol
|
|
|
112
112
|
|
|
113
113
|
```sh
|
|
114
114
|
pnpm install # Install dependencies
|
|
115
|
-
pnpm test # Run tests
|
|
115
|
+
pnpm test # Run tests against live resources (like indexer)
|
|
116
|
+
pnpm test:local # Run tests against local resources
|
|
116
117
|
pnpm app:dev # Seed local KV (verified tokens) + run API app
|
|
117
118
|
pnpm app:seed # Seed local KV with curated verified tokens from seeds/
|
|
118
119
|
```
|
package/dist/admin/App.d.ts
CHANGED
|
@@ -191,14 +191,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
191
191
|
$post: {
|
|
192
192
|
output: {
|
|
193
193
|
error: {
|
|
194
|
-
code: "
|
|
194
|
+
code: "verified_tokens_not_enabled";
|
|
195
195
|
details?: readonly Response.error.Detail[] | undefined;
|
|
196
196
|
message: string;
|
|
197
197
|
};
|
|
198
198
|
requestId: string;
|
|
199
199
|
};
|
|
200
200
|
outputFormat: "json";
|
|
201
|
-
status:
|
|
201
|
+
status: 404;
|
|
202
202
|
input: {
|
|
203
203
|
json: {
|
|
204
204
|
address: `0x${string}`;
|
|
@@ -214,7 +214,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
214
214
|
} | {
|
|
215
215
|
output: {
|
|
216
216
|
error: {
|
|
217
|
-
code: "
|
|
217
|
+
code: "assets_not_enabled";
|
|
218
218
|
details?: readonly Response.error.Detail[] | undefined;
|
|
219
219
|
message: string;
|
|
220
220
|
};
|
|
@@ -237,7 +237,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
237
237
|
} | {
|
|
238
238
|
output: {
|
|
239
239
|
error: {
|
|
240
|
-
code: "
|
|
240
|
+
code: "verified_token_not_found";
|
|
241
241
|
details?: readonly Response.error.Detail[] | undefined;
|
|
242
242
|
message: string;
|
|
243
243
|
};
|
|
@@ -259,19 +259,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
259
259
|
};
|
|
260
260
|
} | {
|
|
261
261
|
output: {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
logoUri?: string | undefined;
|
|
267
|
-
name: string;
|
|
268
|
-
symbol: string;
|
|
269
|
-
id: string;
|
|
262
|
+
error: {
|
|
263
|
+
code: "duplicate_address";
|
|
264
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
265
|
+
message: string;
|
|
270
266
|
};
|
|
271
|
-
|
|
267
|
+
requestId: string;
|
|
272
268
|
};
|
|
273
269
|
outputFormat: "json";
|
|
274
|
-
status:
|
|
270
|
+
status: 409;
|
|
275
271
|
input: {
|
|
276
272
|
json: {
|
|
277
273
|
address: `0x${string}`;
|
|
@@ -287,14 +283,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
287
283
|
} | {
|
|
288
284
|
output: {
|
|
289
285
|
error: {
|
|
290
|
-
code:
|
|
286
|
+
code: "duplicate_symbol";
|
|
291
287
|
details?: readonly Response.error.Detail[] | undefined;
|
|
292
288
|
message: string;
|
|
293
289
|
};
|
|
294
290
|
requestId: string;
|
|
295
291
|
};
|
|
296
292
|
outputFormat: "json";
|
|
297
|
-
status:
|
|
293
|
+
status: 409;
|
|
298
294
|
input: {
|
|
299
295
|
json: {
|
|
300
296
|
address: `0x${string}`;
|
|
@@ -310,14 +306,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
310
306
|
} | {
|
|
311
307
|
output: {
|
|
312
308
|
error: {
|
|
313
|
-
code: "
|
|
309
|
+
code: "version_mismatch";
|
|
314
310
|
details?: readonly Response.error.Detail[] | undefined;
|
|
315
311
|
message: string;
|
|
316
312
|
};
|
|
317
313
|
requestId: string;
|
|
318
314
|
};
|
|
319
315
|
outputFormat: "json";
|
|
320
|
-
status:
|
|
316
|
+
status: 412;
|
|
321
317
|
input: {
|
|
322
318
|
json: {
|
|
323
319
|
address: `0x${string}`;
|
|
@@ -333,14 +329,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
333
329
|
} | {
|
|
334
330
|
output: {
|
|
335
331
|
error: {
|
|
336
|
-
code: "
|
|
332
|
+
code: "upstream_error";
|
|
337
333
|
details?: readonly Response.error.Detail[] | undefined;
|
|
338
334
|
message: string;
|
|
339
335
|
};
|
|
340
336
|
requestId: string;
|
|
341
337
|
};
|
|
342
338
|
outputFormat: "json";
|
|
343
|
-
status:
|
|
339
|
+
status: 502;
|
|
344
340
|
input: {
|
|
345
341
|
json: {
|
|
346
342
|
address: `0x${string}`;
|
|
@@ -355,15 +351,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
355
351
|
};
|
|
356
352
|
} | {
|
|
357
353
|
output: {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
354
|
+
data: {
|
|
355
|
+
address: `0x${string}`;
|
|
356
|
+
currency: string;
|
|
357
|
+
decimals: number;
|
|
358
|
+
logoUri?: string | undefined;
|
|
359
|
+
name: string;
|
|
360
|
+
symbol: string;
|
|
361
|
+
id: string;
|
|
362
362
|
};
|
|
363
|
-
|
|
363
|
+
version: string;
|
|
364
364
|
};
|
|
365
365
|
outputFormat: "json";
|
|
366
|
-
status:
|
|
366
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
367
367
|
input: {
|
|
368
368
|
json: {
|
|
369
369
|
address: `0x${string}`;
|
|
@@ -379,14 +379,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
379
379
|
} | {
|
|
380
380
|
output: {
|
|
381
381
|
error: {
|
|
382
|
-
code:
|
|
382
|
+
code: string;
|
|
383
383
|
details?: readonly Response.error.Detail[] | undefined;
|
|
384
384
|
message: string;
|
|
385
385
|
};
|
|
386
386
|
requestId: string;
|
|
387
387
|
};
|
|
388
388
|
outputFormat: "json";
|
|
389
|
-
status:
|
|
389
|
+
status: 400 | 413 | 415;
|
|
390
390
|
input: {
|
|
391
391
|
json: {
|
|
392
392
|
address: `0x${string}`;
|
|
@@ -406,14 +406,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
406
406
|
$put: {
|
|
407
407
|
output: {
|
|
408
408
|
error: {
|
|
409
|
-
code: "
|
|
409
|
+
code: "verified_tokens_not_enabled";
|
|
410
410
|
details?: readonly Response.error.Detail[] | undefined;
|
|
411
411
|
message: string;
|
|
412
412
|
};
|
|
413
413
|
requestId: string;
|
|
414
414
|
};
|
|
415
415
|
outputFormat: "json";
|
|
416
|
-
status:
|
|
416
|
+
status: 404;
|
|
417
417
|
input: {
|
|
418
418
|
query: {
|
|
419
419
|
chainId: string | string[];
|
|
@@ -433,7 +433,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
433
433
|
} | {
|
|
434
434
|
output: {
|
|
435
435
|
error: {
|
|
436
|
-
code: "
|
|
436
|
+
code: "verified_token_not_found";
|
|
437
437
|
details?: readonly Response.error.Detail[] | undefined;
|
|
438
438
|
message: string;
|
|
439
439
|
};
|
|
@@ -460,14 +460,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
460
460
|
} | {
|
|
461
461
|
output: {
|
|
462
462
|
error: {
|
|
463
|
-
code:
|
|
463
|
+
code: "duplicate_address";
|
|
464
464
|
details?: readonly Response.error.Detail[] | undefined;
|
|
465
465
|
message: string;
|
|
466
466
|
};
|
|
467
467
|
requestId: string;
|
|
468
468
|
};
|
|
469
469
|
outputFormat: "json";
|
|
470
|
-
status:
|
|
470
|
+
status: 409;
|
|
471
471
|
input: {
|
|
472
472
|
query: {
|
|
473
473
|
chainId: string | string[];
|
|
@@ -487,7 +487,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
487
487
|
} | {
|
|
488
488
|
output: {
|
|
489
489
|
error: {
|
|
490
|
-
code: "
|
|
490
|
+
code: "duplicate_symbol";
|
|
491
491
|
details?: readonly Response.error.Detail[] | undefined;
|
|
492
492
|
message: string;
|
|
493
493
|
};
|
|
@@ -514,14 +514,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
514
514
|
} | {
|
|
515
515
|
output: {
|
|
516
516
|
error: {
|
|
517
|
-
code: "
|
|
517
|
+
code: "version_mismatch";
|
|
518
518
|
details?: readonly Response.error.Detail[] | undefined;
|
|
519
519
|
message: string;
|
|
520
520
|
};
|
|
521
521
|
requestId: string;
|
|
522
522
|
};
|
|
523
523
|
outputFormat: "json";
|
|
524
|
-
status:
|
|
524
|
+
status: 412;
|
|
525
525
|
input: {
|
|
526
526
|
query: {
|
|
527
527
|
chainId: string | string[];
|
|
@@ -541,14 +541,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
541
541
|
} | {
|
|
542
542
|
output: {
|
|
543
543
|
error: {
|
|
544
|
-
code: "
|
|
544
|
+
code: "upstream_error";
|
|
545
545
|
details?: readonly Response.error.Detail[] | undefined;
|
|
546
546
|
message: string;
|
|
547
547
|
};
|
|
548
548
|
requestId: string;
|
|
549
549
|
};
|
|
550
550
|
outputFormat: "json";
|
|
551
|
-
status:
|
|
551
|
+
status: 502;
|
|
552
552
|
input: {
|
|
553
553
|
query: {
|
|
554
554
|
chainId: string | string[];
|
|
@@ -567,15 +567,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
567
567
|
};
|
|
568
568
|
} | {
|
|
569
569
|
output: {
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
570
|
+
data: {
|
|
571
|
+
address: `0x${string}`;
|
|
572
|
+
currency: string;
|
|
573
|
+
decimals: number;
|
|
574
|
+
logoUri?: string | undefined;
|
|
575
|
+
name: string;
|
|
576
|
+
symbol: string;
|
|
577
|
+
id: string;
|
|
578
|
+
}[];
|
|
579
|
+
version: string;
|
|
576
580
|
};
|
|
577
581
|
outputFormat: "json";
|
|
578
|
-
status:
|
|
582
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
579
583
|
input: {
|
|
580
584
|
query: {
|
|
581
585
|
chainId: string | string[];
|
|
@@ -594,19 +598,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
594
598
|
};
|
|
595
599
|
} | {
|
|
596
600
|
output: {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
symbol: string;
|
|
604
|
-
id: string;
|
|
605
|
-
}[];
|
|
606
|
-
version: string;
|
|
601
|
+
error: {
|
|
602
|
+
code: string;
|
|
603
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
604
|
+
message: string;
|
|
605
|
+
};
|
|
606
|
+
requestId: string;
|
|
607
607
|
};
|
|
608
608
|
outputFormat: "json";
|
|
609
|
-
status:
|
|
609
|
+
status: 400 | 413 | 415;
|
|
610
610
|
input: {
|
|
611
611
|
query: {
|
|
612
612
|
chainId: string | string[];
|
|
@@ -630,14 +630,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
630
630
|
$patch: {
|
|
631
631
|
output: {
|
|
632
632
|
error: {
|
|
633
|
-
code: "
|
|
633
|
+
code: "verified_tokens_not_enabled";
|
|
634
634
|
details?: readonly Response.error.Detail[] | undefined;
|
|
635
635
|
message: string;
|
|
636
636
|
};
|
|
637
637
|
requestId: string;
|
|
638
638
|
};
|
|
639
639
|
outputFormat: "json";
|
|
640
|
-
status:
|
|
640
|
+
status: 404;
|
|
641
641
|
input: {
|
|
642
642
|
param: {
|
|
643
643
|
address: `0x${string}`;
|
|
@@ -658,7 +658,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
658
658
|
} | {
|
|
659
659
|
output: {
|
|
660
660
|
error: {
|
|
661
|
-
code: "
|
|
661
|
+
code: "verified_token_not_found";
|
|
662
662
|
details?: readonly Response.error.Detail[] | undefined;
|
|
663
663
|
message: string;
|
|
664
664
|
};
|
|
@@ -685,19 +685,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
685
685
|
};
|
|
686
686
|
} | {
|
|
687
687
|
output: {
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
logoUri?: string | undefined;
|
|
693
|
-
name: string;
|
|
694
|
-
symbol: string;
|
|
695
|
-
id: string;
|
|
688
|
+
error: {
|
|
689
|
+
code: "duplicate_address";
|
|
690
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
691
|
+
message: string;
|
|
696
692
|
};
|
|
697
|
-
|
|
693
|
+
requestId: string;
|
|
698
694
|
};
|
|
699
695
|
outputFormat: "json";
|
|
700
|
-
status:
|
|
696
|
+
status: 409;
|
|
701
697
|
input: {
|
|
702
698
|
param: {
|
|
703
699
|
address: `0x${string}`;
|
|
@@ -718,14 +714,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
718
714
|
} | {
|
|
719
715
|
output: {
|
|
720
716
|
error: {
|
|
721
|
-
code:
|
|
717
|
+
code: "duplicate_symbol";
|
|
722
718
|
details?: readonly Response.error.Detail[] | undefined;
|
|
723
719
|
message: string;
|
|
724
720
|
};
|
|
725
721
|
requestId: string;
|
|
726
722
|
};
|
|
727
723
|
outputFormat: "json";
|
|
728
|
-
status:
|
|
724
|
+
status: 409;
|
|
729
725
|
input: {
|
|
730
726
|
param: {
|
|
731
727
|
address: `0x${string}`;
|
|
@@ -746,14 +742,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
746
742
|
} | {
|
|
747
743
|
output: {
|
|
748
744
|
error: {
|
|
749
|
-
code: "
|
|
745
|
+
code: "version_mismatch";
|
|
750
746
|
details?: readonly Response.error.Detail[] | undefined;
|
|
751
747
|
message: string;
|
|
752
748
|
};
|
|
753
749
|
requestId: string;
|
|
754
750
|
};
|
|
755
751
|
outputFormat: "json";
|
|
756
|
-
status:
|
|
752
|
+
status: 412;
|
|
757
753
|
input: {
|
|
758
754
|
param: {
|
|
759
755
|
address: `0x${string}`;
|
|
@@ -774,14 +770,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
774
770
|
} | {
|
|
775
771
|
output: {
|
|
776
772
|
error: {
|
|
777
|
-
code: "
|
|
773
|
+
code: "upstream_error";
|
|
778
774
|
details?: readonly Response.error.Detail[] | undefined;
|
|
779
775
|
message: string;
|
|
780
776
|
};
|
|
781
777
|
requestId: string;
|
|
782
778
|
};
|
|
783
779
|
outputFormat: "json";
|
|
784
|
-
status:
|
|
780
|
+
status: 502;
|
|
785
781
|
input: {
|
|
786
782
|
param: {
|
|
787
783
|
address: `0x${string}`;
|
|
@@ -801,15 +797,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
801
797
|
};
|
|
802
798
|
} | {
|
|
803
799
|
output: {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
800
|
+
data: {
|
|
801
|
+
address: `0x${string}`;
|
|
802
|
+
currency: string;
|
|
803
|
+
decimals: number;
|
|
804
|
+
logoUri?: string | undefined;
|
|
805
|
+
name: string;
|
|
806
|
+
symbol: string;
|
|
807
|
+
id: string;
|
|
808
808
|
};
|
|
809
|
-
|
|
809
|
+
version: string;
|
|
810
810
|
};
|
|
811
811
|
outputFormat: "json";
|
|
812
|
-
status:
|
|
812
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
813
813
|
input: {
|
|
814
814
|
param: {
|
|
815
815
|
address: `0x${string}`;
|
|
@@ -830,14 +830,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
830
830
|
} | {
|
|
831
831
|
output: {
|
|
832
832
|
error: {
|
|
833
|
-
code:
|
|
833
|
+
code: string;
|
|
834
834
|
details?: readonly Response.error.Detail[] | undefined;
|
|
835
835
|
message: string;
|
|
836
836
|
};
|
|
837
837
|
requestId: string;
|
|
838
838
|
};
|
|
839
839
|
outputFormat: "json";
|
|
840
|
-
status:
|
|
840
|
+
status: 400 | 413 | 415;
|
|
841
841
|
input: {
|
|
842
842
|
param: {
|
|
843
843
|
address: `0x${string}`;
|
|
@@ -862,14 +862,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
862
862
|
$delete: {
|
|
863
863
|
output: {
|
|
864
864
|
error: {
|
|
865
|
-
code: "
|
|
865
|
+
code: "verified_tokens_not_enabled";
|
|
866
866
|
details?: readonly Response.error.Detail[] | undefined;
|
|
867
867
|
message: string;
|
|
868
868
|
};
|
|
869
869
|
requestId: string;
|
|
870
870
|
};
|
|
871
871
|
outputFormat: "json";
|
|
872
|
-
status:
|
|
872
|
+
status: 404;
|
|
873
873
|
input: {
|
|
874
874
|
param: {
|
|
875
875
|
address: `0x${string}`;
|
|
@@ -882,7 +882,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
882
882
|
} | {
|
|
883
883
|
output: {
|
|
884
884
|
error: {
|
|
885
|
-
code: "
|
|
885
|
+
code: "verified_token_not_found";
|
|
886
886
|
details?: readonly Response.error.Detail[] | undefined;
|
|
887
887
|
message: string;
|
|
888
888
|
};
|
|
@@ -902,14 +902,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
902
902
|
} | {
|
|
903
903
|
output: {
|
|
904
904
|
error: {
|
|
905
|
-
code:
|
|
905
|
+
code: "duplicate_address";
|
|
906
906
|
details?: readonly Response.error.Detail[] | undefined;
|
|
907
907
|
message: string;
|
|
908
908
|
};
|
|
909
909
|
requestId: string;
|
|
910
910
|
};
|
|
911
911
|
outputFormat: "json";
|
|
912
|
-
status:
|
|
912
|
+
status: 409;
|
|
913
913
|
input: {
|
|
914
914
|
param: {
|
|
915
915
|
address: `0x${string}`;
|
|
@@ -922,7 +922,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
922
922
|
} | {
|
|
923
923
|
output: {
|
|
924
924
|
error: {
|
|
925
|
-
code: "
|
|
925
|
+
code: "duplicate_symbol";
|
|
926
926
|
details?: readonly Response.error.Detail[] | undefined;
|
|
927
927
|
message: string;
|
|
928
928
|
};
|
|
@@ -942,14 +942,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
942
942
|
} | {
|
|
943
943
|
output: {
|
|
944
944
|
error: {
|
|
945
|
-
code: "
|
|
945
|
+
code: "version_mismatch";
|
|
946
946
|
details?: readonly Response.error.Detail[] | undefined;
|
|
947
947
|
message: string;
|
|
948
948
|
};
|
|
949
949
|
requestId: string;
|
|
950
950
|
};
|
|
951
951
|
outputFormat: "json";
|
|
952
|
-
status:
|
|
952
|
+
status: 412;
|
|
953
953
|
input: {
|
|
954
954
|
param: {
|
|
955
955
|
address: `0x${string}`;
|
|
@@ -962,14 +962,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
962
962
|
} | {
|
|
963
963
|
output: {
|
|
964
964
|
error: {
|
|
965
|
-
code: "
|
|
965
|
+
code: "upstream_error";
|
|
966
966
|
details?: readonly Response.error.Detail[] | undefined;
|
|
967
967
|
message: string;
|
|
968
968
|
};
|
|
969
969
|
requestId: string;
|
|
970
970
|
};
|
|
971
971
|
outputFormat: "json";
|
|
972
|
-
status:
|
|
972
|
+
status: 502;
|
|
973
973
|
input: {
|
|
974
974
|
param: {
|
|
975
975
|
address: `0x${string}`;
|
|
@@ -981,15 +981,10 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
981
981
|
};
|
|
982
982
|
} | {
|
|
983
983
|
output: {
|
|
984
|
-
|
|
985
|
-
code: "version_mismatch";
|
|
986
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
987
|
-
message: string;
|
|
988
|
-
};
|
|
989
|
-
requestId: string;
|
|
984
|
+
version: string;
|
|
990
985
|
};
|
|
991
986
|
outputFormat: "json";
|
|
992
|
-
status:
|
|
987
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
993
988
|
input: {
|
|
994
989
|
param: {
|
|
995
990
|
address: `0x${string}`;
|
|
@@ -1001,10 +996,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1001
996
|
};
|
|
1002
997
|
} | {
|
|
1003
998
|
output: {
|
|
1004
|
-
|
|
999
|
+
error: {
|
|
1000
|
+
code: string;
|
|
1001
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1002
|
+
message: string;
|
|
1003
|
+
};
|
|
1004
|
+
requestId: string;
|
|
1005
1005
|
};
|
|
1006
1006
|
outputFormat: "json";
|
|
1007
|
-
status:
|
|
1007
|
+
status: 400 | 413 | 415;
|
|
1008
1008
|
input: {
|
|
1009
1009
|
param: {
|
|
1010
1010
|
address: `0x${string}`;
|
|
@@ -1019,19 +1019,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1019
1019
|
} & {
|
|
1020
1020
|
"/:address/logo": {
|
|
1021
1021
|
$get: {
|
|
1022
|
-
output: ArrayBuffer;
|
|
1023
|
-
outputFormat: "body";
|
|
1024
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1025
|
-
input: {
|
|
1026
|
-
param: {
|
|
1027
|
-
address: `0x${string}`;
|
|
1028
|
-
};
|
|
1029
|
-
} & {
|
|
1030
|
-
query: {
|
|
1031
|
-
chainId: string | string[];
|
|
1032
|
-
};
|
|
1033
|
-
};
|
|
1034
|
-
} | {
|
|
1035
1022
|
output: {
|
|
1036
1023
|
error: {
|
|
1037
1024
|
code: "logo_not_found";
|
|
@@ -1051,6 +1038,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1051
1038
|
chainId: string | string[];
|
|
1052
1039
|
};
|
|
1053
1040
|
};
|
|
1041
|
+
} | {
|
|
1042
|
+
output: ArrayBuffer;
|
|
1043
|
+
outputFormat: "body";
|
|
1044
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1045
|
+
input: {
|
|
1046
|
+
param: {
|
|
1047
|
+
address: `0x${string}`;
|
|
1048
|
+
};
|
|
1049
|
+
} & {
|
|
1050
|
+
query: {
|
|
1051
|
+
chainId: string | string[];
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
1054
|
};
|
|
1055
1055
|
};
|
|
1056
1056
|
} & {
|
|
@@ -1058,14 +1058,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1058
1058
|
$put: {
|
|
1059
1059
|
output: {
|
|
1060
1060
|
error: {
|
|
1061
|
-
code: "
|
|
1061
|
+
code: "body_invalid";
|
|
1062
1062
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1063
1063
|
message: string;
|
|
1064
1064
|
};
|
|
1065
1065
|
requestId: string;
|
|
1066
1066
|
};
|
|
1067
1067
|
outputFormat: "json";
|
|
1068
|
-
status:
|
|
1068
|
+
status: 400;
|
|
1069
1069
|
input: {
|
|
1070
1070
|
param: {
|
|
1071
1071
|
address: `0x${string}`;
|
|
@@ -1078,14 +1078,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1078
1078
|
} | {
|
|
1079
1079
|
output: {
|
|
1080
1080
|
error: {
|
|
1081
|
-
code: "
|
|
1081
|
+
code: "assets_not_enabled";
|
|
1082
1082
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1083
1083
|
message: string;
|
|
1084
1084
|
};
|
|
1085
1085
|
requestId: string;
|
|
1086
1086
|
};
|
|
1087
1087
|
outputFormat: "json";
|
|
1088
|
-
status:
|
|
1088
|
+
status: 404;
|
|
1089
1089
|
input: {
|
|
1090
1090
|
param: {
|
|
1091
1091
|
address: `0x${string}`;
|
|
@@ -1098,14 +1098,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1098
1098
|
} | {
|
|
1099
1099
|
output: {
|
|
1100
1100
|
error: {
|
|
1101
|
-
code: "
|
|
1101
|
+
code: "payload_too_large";
|
|
1102
1102
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1103
1103
|
message: string;
|
|
1104
1104
|
};
|
|
1105
1105
|
requestId: string;
|
|
1106
1106
|
};
|
|
1107
1107
|
outputFormat: "json";
|
|
1108
|
-
status:
|
|
1108
|
+
status: 413;
|
|
1109
1109
|
input: {
|
|
1110
1110
|
param: {
|
|
1111
1111
|
address: `0x${string}`;
|
|
@@ -1118,14 +1118,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1118
1118
|
} | {
|
|
1119
1119
|
output: {
|
|
1120
1120
|
error: {
|
|
1121
|
-
code: "
|
|
1121
|
+
code: "unsupported_media_type";
|
|
1122
1122
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1123
1123
|
message: string;
|
|
1124
1124
|
};
|
|
1125
1125
|
requestId: string;
|
|
1126
1126
|
};
|
|
1127
1127
|
outputFormat: "json";
|
|
1128
|
-
status:
|
|
1128
|
+
status: 415;
|
|
1129
1129
|
input: {
|
|
1130
1130
|
param: {
|
|
1131
1131
|
address: `0x${string}`;
|