tapimo 0.8.0 → 0.9.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.
- package/dist/App.d.ts +2095 -2111
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +0 -1
- package/dist/App.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +166 -166
- package/dist/apps/data/App.d.ts +4084 -3845
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +270 -270
- package/dist/apps/data/routes/addresses.d.ts +248 -17
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +272 -2
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +114 -2
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/earn.d.ts +65 -3
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +259 -14
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/tokens.d.ts +454 -454
- package/dist/apps/data/routes/transfers.d.ts +81 -81
- package/dist/apps/funding/App.d.ts +40 -299
- package/dist/apps/funding/App.d.ts.map +1 -1
- package/dist/apps/funding/App.js +20 -5
- package/dist/apps/funding/App.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts +43 -434
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +21 -103
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/quotes.d.ts +89 -89
- package/dist/apps/funding/routes/transfers.js +5 -5
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +134 -134
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +8 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/tables/fundingDeposits.d.ts +18 -1
- package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
- package/dist/db/tables/fundingDeposits.js +46 -2
- package/dist/db/tables/fundingDeposits.js.map +1 -1
- package/dist/internal/Auth.d.ts +4 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +11 -2
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +6 -6
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +101 -16
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +6 -2
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +1 -1
- package/src/App.test.ts +32 -0
- package/src/App.ts +4 -1
- package/src/Client.test-d.ts +56 -33
- package/src/apps/composition.test.ts +39 -10
- package/src/apps/data/routes/balances.test.ts +42 -0
- package/src/apps/data/routes/balances.ts +218 -85
- package/src/apps/data/routes/earn.test.ts +89 -9
- package/src/apps/data/routes/earn.ts +355 -14
- package/src/apps/funding/App.ts +20 -5
- package/src/apps/funding/routes/deposit-addresses.test.ts +43 -22
- package/src/apps/funding/routes/deposit-addresses.ts +34 -117
- package/src/apps/funding/routes/transfers.test.ts +6 -25
- package/src/apps/funding/routes/transfers.ts +5 -5
- package/src/db/Db.ts +9 -0
- package/src/db/tables/fundingDeposits.test.ts +101 -0
- package/src/db/tables/fundingDeposits.ts +71 -2
- package/src/internal/Auth.test.ts +28 -0
- package/src/internal/Auth.ts +15 -1
- package/src/internal/funding/Provider.ts +4 -4
- package/src/internal/funding/Reconciliation.test.ts +292 -54
- package/src/internal/funding/Reconciliation.ts +160 -53
- package/src/internal/funding/SourceObservation.test.ts +2 -2
- package/src/internal/funding/providers/relay.ts +7 -2
|
@@ -539,9 +539,31 @@ export declare namespace schema {
|
|
|
539
539
|
export declare function tokens(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
540
540
|
"/v1/tokens": {
|
|
541
541
|
$get: {
|
|
542
|
-
output:
|
|
543
|
-
|
|
544
|
-
|
|
542
|
+
output: {
|
|
543
|
+
data: {
|
|
544
|
+
address: `0x${string}`;
|
|
545
|
+
admin?: `0x${string}` | undefined;
|
|
546
|
+
currency: string;
|
|
547
|
+
createdAt?: string | undefined;
|
|
548
|
+
decimals: number;
|
|
549
|
+
holderCount?: number | undefined;
|
|
550
|
+
id: string;
|
|
551
|
+
logoUri?: string | undefined;
|
|
552
|
+
name: string;
|
|
553
|
+
quoteToken?: `0x${string}` | undefined;
|
|
554
|
+
symbol: string;
|
|
555
|
+
totalSupply?: string | undefined;
|
|
556
|
+
transferStats?: {
|
|
557
|
+
count: number;
|
|
558
|
+
firstAt: string | null;
|
|
559
|
+
lastAt: string | null;
|
|
560
|
+
} | undefined;
|
|
561
|
+
verified: boolean;
|
|
562
|
+
}[];
|
|
563
|
+
nextCursor: string | null;
|
|
564
|
+
};
|
|
565
|
+
outputFormat: "json";
|
|
566
|
+
status: 200;
|
|
545
567
|
input: {
|
|
546
568
|
query?: {
|
|
547
569
|
addresses?: string | string[];
|
|
@@ -582,14 +604,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
582
604
|
} | {
|
|
583
605
|
output: {
|
|
584
606
|
error: {
|
|
585
|
-
code: "
|
|
607
|
+
code: "query_invalid";
|
|
586
608
|
details?: readonly Response.error.Detail[] | undefined;
|
|
587
609
|
message: string;
|
|
588
610
|
};
|
|
589
611
|
requestId: string;
|
|
590
612
|
};
|
|
591
613
|
outputFormat: "json";
|
|
592
|
-
status:
|
|
614
|
+
status: 400;
|
|
593
615
|
input: {
|
|
594
616
|
query?: {
|
|
595
617
|
addresses?: string | string[];
|
|
@@ -606,14 +628,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
606
628
|
} | {
|
|
607
629
|
output: {
|
|
608
630
|
error: {
|
|
609
|
-
code: "
|
|
631
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
610
632
|
details?: readonly Response.error.Detail[] | undefined;
|
|
611
633
|
message: string;
|
|
612
634
|
};
|
|
613
635
|
requestId: string;
|
|
614
636
|
};
|
|
615
637
|
outputFormat: "json";
|
|
616
|
-
status:
|
|
638
|
+
status: 401;
|
|
617
639
|
input: {
|
|
618
640
|
query?: {
|
|
619
641
|
addresses?: string | string[];
|
|
@@ -628,16 +650,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
628
650
|
} | undefined;
|
|
629
651
|
};
|
|
630
652
|
} | {
|
|
631
|
-
output:
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
635
|
-
message: string;
|
|
636
|
-
};
|
|
637
|
-
requestId: string;
|
|
638
|
-
};
|
|
639
|
-
outputFormat: "json";
|
|
640
|
-
status: 429;
|
|
653
|
+
output: null;
|
|
654
|
+
outputFormat: "body";
|
|
655
|
+
status: 402;
|
|
641
656
|
input: {
|
|
642
657
|
query?: {
|
|
643
658
|
addresses?: string | string[];
|
|
@@ -654,14 +669,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
654
669
|
} | {
|
|
655
670
|
output: {
|
|
656
671
|
error: {
|
|
657
|
-
code: "
|
|
672
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
658
673
|
details?: readonly Response.error.Detail[] | undefined;
|
|
659
674
|
message: string;
|
|
660
675
|
};
|
|
661
676
|
requestId: string;
|
|
662
677
|
};
|
|
663
678
|
outputFormat: "json";
|
|
664
|
-
status:
|
|
679
|
+
status: 403;
|
|
665
680
|
input: {
|
|
666
681
|
query?: {
|
|
667
682
|
addresses?: string | string[];
|
|
@@ -677,30 +692,15 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
677
692
|
};
|
|
678
693
|
} | {
|
|
679
694
|
output: {
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
holderCount?: number | undefined;
|
|
687
|
-
id: string;
|
|
688
|
-
logoUri?: string | undefined;
|
|
689
|
-
name: string;
|
|
690
|
-
quoteToken?: `0x${string}` | undefined;
|
|
691
|
-
symbol: string;
|
|
692
|
-
totalSupply?: string | undefined;
|
|
693
|
-
transferStats?: {
|
|
694
|
-
count: number;
|
|
695
|
-
firstAt: string | null;
|
|
696
|
-
lastAt: string | null;
|
|
697
|
-
} | undefined;
|
|
698
|
-
verified: boolean;
|
|
699
|
-
}[];
|
|
700
|
-
nextCursor: string | null;
|
|
695
|
+
error: {
|
|
696
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
697
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
698
|
+
message: string;
|
|
699
|
+
};
|
|
700
|
+
requestId: string;
|
|
701
701
|
};
|
|
702
702
|
outputFormat: "json";
|
|
703
|
-
status:
|
|
703
|
+
status: 429;
|
|
704
704
|
input: {
|
|
705
705
|
query?: {
|
|
706
706
|
addresses?: string | string[];
|
|
@@ -743,9 +743,28 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
743
743
|
} & {
|
|
744
744
|
"/v1/tokens/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
|
|
745
745
|
$get: {
|
|
746
|
-
output:
|
|
747
|
-
|
|
748
|
-
|
|
746
|
+
output: {
|
|
747
|
+
address: `0x${string}`;
|
|
748
|
+
admin?: `0x${string}` | undefined;
|
|
749
|
+
currency: string;
|
|
750
|
+
createdAt?: string | undefined;
|
|
751
|
+
decimals: number;
|
|
752
|
+
holderCount?: number | undefined;
|
|
753
|
+
id: string;
|
|
754
|
+
logoUri?: string | undefined;
|
|
755
|
+
name: string;
|
|
756
|
+
quoteToken?: `0x${string}` | undefined;
|
|
757
|
+
symbol: string;
|
|
758
|
+
totalSupply?: string | undefined;
|
|
759
|
+
transferStats?: {
|
|
760
|
+
count: number;
|
|
761
|
+
firstAt: string | null;
|
|
762
|
+
lastAt: string | null;
|
|
763
|
+
} | undefined;
|
|
764
|
+
verified: boolean;
|
|
765
|
+
};
|
|
766
|
+
outputFormat: "json";
|
|
767
|
+
status: 200;
|
|
749
768
|
input: {
|
|
750
769
|
param: {
|
|
751
770
|
symbol: string;
|
|
@@ -780,14 +799,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
780
799
|
} | {
|
|
781
800
|
output: {
|
|
782
801
|
error: {
|
|
783
|
-
code: "
|
|
802
|
+
code: "query_invalid";
|
|
784
803
|
details?: readonly Response.error.Detail[] | undefined;
|
|
785
804
|
message: string;
|
|
786
805
|
};
|
|
787
806
|
requestId: string;
|
|
788
807
|
};
|
|
789
808
|
outputFormat: "json";
|
|
790
|
-
status:
|
|
809
|
+
status: 400;
|
|
791
810
|
input: {
|
|
792
811
|
param: {
|
|
793
812
|
symbol: string;
|
|
@@ -801,14 +820,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
801
820
|
} | {
|
|
802
821
|
output: {
|
|
803
822
|
error: {
|
|
804
|
-
code: "
|
|
823
|
+
code: "symbol_invalid";
|
|
805
824
|
details?: readonly Response.error.Detail[] | undefined;
|
|
806
825
|
message: string;
|
|
807
826
|
};
|
|
808
827
|
requestId: string;
|
|
809
828
|
};
|
|
810
829
|
outputFormat: "json";
|
|
811
|
-
status:
|
|
830
|
+
status: 400;
|
|
812
831
|
input: {
|
|
813
832
|
param: {
|
|
814
833
|
symbol: string;
|
|
@@ -822,14 +841,28 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
822
841
|
} | {
|
|
823
842
|
output: {
|
|
824
843
|
error: {
|
|
825
|
-
code: "
|
|
844
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
826
845
|
details?: readonly Response.error.Detail[] | undefined;
|
|
827
846
|
message: string;
|
|
828
847
|
};
|
|
829
848
|
requestId: string;
|
|
830
849
|
};
|
|
831
850
|
outputFormat: "json";
|
|
832
|
-
status:
|
|
851
|
+
status: 401;
|
|
852
|
+
input: {
|
|
853
|
+
param: {
|
|
854
|
+
symbol: string;
|
|
855
|
+
};
|
|
856
|
+
} & {
|
|
857
|
+
query?: {
|
|
858
|
+
chainId?: string | string[];
|
|
859
|
+
include?: string | string[];
|
|
860
|
+
} | undefined;
|
|
861
|
+
};
|
|
862
|
+
} | {
|
|
863
|
+
output: null;
|
|
864
|
+
outputFormat: "body";
|
|
865
|
+
status: 402;
|
|
833
866
|
input: {
|
|
834
867
|
param: {
|
|
835
868
|
symbol: string;
|
|
@@ -843,14 +876,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
843
876
|
} | {
|
|
844
877
|
output: {
|
|
845
878
|
error: {
|
|
846
|
-
code: "
|
|
879
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
847
880
|
details?: readonly Response.error.Detail[] | undefined;
|
|
848
881
|
message: string;
|
|
849
882
|
};
|
|
850
883
|
requestId: string;
|
|
851
884
|
};
|
|
852
885
|
outputFormat: "json";
|
|
853
|
-
status:
|
|
886
|
+
status: 403;
|
|
854
887
|
input: {
|
|
855
888
|
param: {
|
|
856
889
|
symbol: string;
|
|
@@ -864,14 +897,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
864
897
|
} | {
|
|
865
898
|
output: {
|
|
866
899
|
error: {
|
|
867
|
-
code: "
|
|
900
|
+
code: "token_not_found";
|
|
868
901
|
details?: readonly Response.error.Detail[] | undefined;
|
|
869
902
|
message: string;
|
|
870
903
|
};
|
|
871
904
|
requestId: string;
|
|
872
905
|
};
|
|
873
906
|
outputFormat: "json";
|
|
874
|
-
status:
|
|
907
|
+
status: 404;
|
|
875
908
|
input: {
|
|
876
909
|
param: {
|
|
877
910
|
symbol: string;
|
|
@@ -885,14 +918,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
885
918
|
} | {
|
|
886
919
|
output: {
|
|
887
920
|
error: {
|
|
888
|
-
code: "
|
|
921
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
889
922
|
details?: readonly Response.error.Detail[] | undefined;
|
|
890
923
|
message: string;
|
|
891
924
|
};
|
|
892
925
|
requestId: string;
|
|
893
926
|
};
|
|
894
927
|
outputFormat: "json";
|
|
895
|
-
status:
|
|
928
|
+
status: 429;
|
|
896
929
|
input: {
|
|
897
930
|
param: {
|
|
898
931
|
symbol: string;
|
|
@@ -904,6 +937,31 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
904
937
|
} | undefined;
|
|
905
938
|
};
|
|
906
939
|
} | {
|
|
940
|
+
output: {
|
|
941
|
+
error: {
|
|
942
|
+
code: "upstream_error";
|
|
943
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
944
|
+
message: string;
|
|
945
|
+
};
|
|
946
|
+
requestId: string;
|
|
947
|
+
};
|
|
948
|
+
outputFormat: "json";
|
|
949
|
+
status: 502;
|
|
950
|
+
input: {
|
|
951
|
+
param: {
|
|
952
|
+
symbol: string;
|
|
953
|
+
};
|
|
954
|
+
} & {
|
|
955
|
+
query?: {
|
|
956
|
+
chainId?: string | string[];
|
|
957
|
+
include?: string | string[];
|
|
958
|
+
} | undefined;
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
} & {
|
|
963
|
+
"/v1/tokens/:token": {
|
|
964
|
+
$get: {
|
|
907
965
|
output: {
|
|
908
966
|
address: `0x${string}`;
|
|
909
967
|
admin?: `0x${string}` | undefined;
|
|
@@ -928,7 +986,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
928
986
|
status: 200;
|
|
929
987
|
input: {
|
|
930
988
|
param: {
|
|
931
|
-
|
|
989
|
+
token: `0x${string}`;
|
|
932
990
|
};
|
|
933
991
|
} & {
|
|
934
992
|
query?: {
|
|
@@ -939,17 +997,17 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
939
997
|
} | {
|
|
940
998
|
output: {
|
|
941
999
|
error: {
|
|
942
|
-
code: "
|
|
1000
|
+
code: "api_key_malformed";
|
|
943
1001
|
details?: readonly Response.error.Detail[] | undefined;
|
|
944
1002
|
message: string;
|
|
945
1003
|
};
|
|
946
1004
|
requestId: string;
|
|
947
1005
|
};
|
|
948
1006
|
outputFormat: "json";
|
|
949
|
-
status:
|
|
1007
|
+
status: 400;
|
|
950
1008
|
input: {
|
|
951
1009
|
param: {
|
|
952
|
-
|
|
1010
|
+
token: `0x${string}`;
|
|
953
1011
|
};
|
|
954
1012
|
} & {
|
|
955
1013
|
query?: {
|
|
@@ -957,14 +1015,17 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
957
1015
|
include?: string | string[];
|
|
958
1016
|
} | undefined;
|
|
959
1017
|
};
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
1018
|
+
} | {
|
|
1019
|
+
output: {
|
|
1020
|
+
error: {
|
|
1021
|
+
code: "query_invalid";
|
|
1022
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1023
|
+
message: string;
|
|
1024
|
+
};
|
|
1025
|
+
requestId: string;
|
|
1026
|
+
};
|
|
1027
|
+
outputFormat: "json";
|
|
1028
|
+
status: 400;
|
|
968
1029
|
input: {
|
|
969
1030
|
param: {
|
|
970
1031
|
token: `0x${string}`;
|
|
@@ -978,7 +1039,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
978
1039
|
} | {
|
|
979
1040
|
output: {
|
|
980
1041
|
error: {
|
|
981
|
-
code: "
|
|
1042
|
+
code: "token_invalid";
|
|
982
1043
|
details?: readonly Response.error.Detail[] | undefined;
|
|
983
1044
|
message: string;
|
|
984
1045
|
};
|
|
@@ -1017,6 +1078,20 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1017
1078
|
include?: string | string[];
|
|
1018
1079
|
} | undefined;
|
|
1019
1080
|
};
|
|
1081
|
+
} | {
|
|
1082
|
+
output: null;
|
|
1083
|
+
outputFormat: "body";
|
|
1084
|
+
status: 402;
|
|
1085
|
+
input: {
|
|
1086
|
+
param: {
|
|
1087
|
+
token: `0x${string}`;
|
|
1088
|
+
};
|
|
1089
|
+
} & {
|
|
1090
|
+
query?: {
|
|
1091
|
+
chainId?: string | string[];
|
|
1092
|
+
include?: string | string[];
|
|
1093
|
+
} | undefined;
|
|
1094
|
+
};
|
|
1020
1095
|
} | {
|
|
1021
1096
|
output: {
|
|
1022
1097
|
error: {
|
|
@@ -1041,14 +1116,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1041
1116
|
} | {
|
|
1042
1117
|
output: {
|
|
1043
1118
|
error: {
|
|
1044
|
-
code: "
|
|
1119
|
+
code: "token_not_found";
|
|
1045
1120
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1046
1121
|
message: string;
|
|
1047
1122
|
};
|
|
1048
1123
|
requestId: string;
|
|
1049
1124
|
};
|
|
1050
1125
|
outputFormat: "json";
|
|
1051
|
-
status:
|
|
1126
|
+
status: 404;
|
|
1052
1127
|
input: {
|
|
1053
1128
|
param: {
|
|
1054
1129
|
token: `0x${string}`;
|
|
@@ -1062,14 +1137,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1062
1137
|
} | {
|
|
1063
1138
|
output: {
|
|
1064
1139
|
error: {
|
|
1065
|
-
code: "
|
|
1140
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1066
1141
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1067
1142
|
message: string;
|
|
1068
1143
|
};
|
|
1069
1144
|
requestId: string;
|
|
1070
1145
|
};
|
|
1071
1146
|
outputFormat: "json";
|
|
1072
|
-
status:
|
|
1147
|
+
status: 429;
|
|
1073
1148
|
input: {
|
|
1074
1149
|
param: {
|
|
1075
1150
|
token: `0x${string}`;
|
|
@@ -1101,28 +1176,13 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1101
1176
|
include?: string | string[];
|
|
1102
1177
|
} | undefined;
|
|
1103
1178
|
};
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
holderCount?: number | undefined;
|
|
1112
|
-
id: string;
|
|
1113
|
-
logoUri?: string | undefined;
|
|
1114
|
-
name: string;
|
|
1115
|
-
quoteToken?: `0x${string}` | undefined;
|
|
1116
|
-
symbol: string;
|
|
1117
|
-
totalSupply?: string | undefined;
|
|
1118
|
-
transferStats?: {
|
|
1119
|
-
count: number;
|
|
1120
|
-
firstAt: string | null;
|
|
1121
|
-
lastAt: string | null;
|
|
1122
|
-
} | undefined;
|
|
1123
|
-
verified: boolean;
|
|
1124
|
-
};
|
|
1125
|
-
outputFormat: "json";
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
} & {
|
|
1182
|
+
"/v1/tokens/:token/logo": {
|
|
1183
|
+
$get: {
|
|
1184
|
+
output: ArrayBuffer;
|
|
1185
|
+
outputFormat: "body";
|
|
1126
1186
|
status: 200;
|
|
1127
1187
|
input: {
|
|
1128
1188
|
param: {
|
|
@@ -1131,20 +1191,19 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1131
1191
|
} & {
|
|
1132
1192
|
query?: {
|
|
1133
1193
|
chainId?: string | string[];
|
|
1134
|
-
include?: string | string[];
|
|
1135
1194
|
} | undefined;
|
|
1136
1195
|
};
|
|
1137
1196
|
} | {
|
|
1138
1197
|
output: {
|
|
1139
1198
|
error: {
|
|
1140
|
-
code: "
|
|
1199
|
+
code: "api_key_malformed";
|
|
1141
1200
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1142
1201
|
message: string;
|
|
1143
1202
|
};
|
|
1144
1203
|
requestId: string;
|
|
1145
1204
|
};
|
|
1146
1205
|
outputFormat: "json";
|
|
1147
|
-
status:
|
|
1206
|
+
status: 400;
|
|
1148
1207
|
input: {
|
|
1149
1208
|
param: {
|
|
1150
1209
|
token: `0x${string}`;
|
|
@@ -1152,13 +1211,12 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1152
1211
|
} & {
|
|
1153
1212
|
query?: {
|
|
1154
1213
|
chainId?: string | string[];
|
|
1155
|
-
include?: string | string[];
|
|
1156
1214
|
} | undefined;
|
|
1157
1215
|
};
|
|
1158
1216
|
} | {
|
|
1159
1217
|
output: {
|
|
1160
1218
|
error: {
|
|
1161
|
-
code: "
|
|
1219
|
+
code: "query_invalid";
|
|
1162
1220
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1163
1221
|
message: string;
|
|
1164
1222
|
};
|
|
@@ -1166,37 +1224,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1166
1224
|
};
|
|
1167
1225
|
outputFormat: "json";
|
|
1168
1226
|
status: 400;
|
|
1169
|
-
input: {
|
|
1170
|
-
param: {
|
|
1171
|
-
token: `0x${string}`;
|
|
1172
|
-
};
|
|
1173
|
-
} & {
|
|
1174
|
-
query?: {
|
|
1175
|
-
chainId?: string | string[];
|
|
1176
|
-
include?: string | string[];
|
|
1177
|
-
} | undefined;
|
|
1178
|
-
};
|
|
1179
|
-
};
|
|
1180
|
-
};
|
|
1181
|
-
} & {
|
|
1182
|
-
"/v1/tokens/:token/logo": {
|
|
1183
|
-
$get: {
|
|
1184
|
-
output: null;
|
|
1185
|
-
outputFormat: "body";
|
|
1186
|
-
status: 402;
|
|
1187
|
-
input: {
|
|
1188
|
-
param: {
|
|
1189
|
-
token: `0x${string}`;
|
|
1190
|
-
};
|
|
1191
|
-
} & {
|
|
1192
|
-
query?: {
|
|
1193
|
-
chainId?: string | string[];
|
|
1194
|
-
} | undefined;
|
|
1195
|
-
};
|
|
1196
|
-
} | {
|
|
1197
|
-
output: ArrayBuffer;
|
|
1198
|
-
outputFormat: "body";
|
|
1199
|
-
status: 200;
|
|
1200
1227
|
input: {
|
|
1201
1228
|
param: {
|
|
1202
1229
|
token: `0x${string}`;
|
|
@@ -1209,7 +1236,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1209
1236
|
} | {
|
|
1210
1237
|
output: {
|
|
1211
1238
|
error: {
|
|
1212
|
-
code: "
|
|
1239
|
+
code: "token_invalid";
|
|
1213
1240
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1214
1241
|
message: string;
|
|
1215
1242
|
};
|
|
@@ -1247,36 +1274,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1247
1274
|
} | undefined;
|
|
1248
1275
|
};
|
|
1249
1276
|
} | {
|
|
1250
|
-
output:
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1254
|
-
message: string;
|
|
1255
|
-
};
|
|
1256
|
-
requestId: string;
|
|
1257
|
-
};
|
|
1258
|
-
outputFormat: "json";
|
|
1259
|
-
status: 403;
|
|
1260
|
-
input: {
|
|
1261
|
-
param: {
|
|
1262
|
-
token: `0x${string}`;
|
|
1263
|
-
};
|
|
1264
|
-
} & {
|
|
1265
|
-
query?: {
|
|
1266
|
-
chainId?: string | string[];
|
|
1267
|
-
} | undefined;
|
|
1268
|
-
};
|
|
1269
|
-
} | {
|
|
1270
|
-
output: {
|
|
1271
|
-
error: {
|
|
1272
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
1273
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1274
|
-
message: string;
|
|
1275
|
-
};
|
|
1276
|
-
requestId: string;
|
|
1277
|
-
};
|
|
1278
|
-
outputFormat: "json";
|
|
1279
|
-
status: 429;
|
|
1277
|
+
output: null;
|
|
1278
|
+
outputFormat: "body";
|
|
1279
|
+
status: 402;
|
|
1280
1280
|
input: {
|
|
1281
1281
|
param: {
|
|
1282
1282
|
token: `0x${string}`;
|
|
@@ -1289,14 +1289,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1289
1289
|
} | {
|
|
1290
1290
|
output: {
|
|
1291
1291
|
error: {
|
|
1292
|
-
code: "
|
|
1292
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1293
1293
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1294
1294
|
message: string;
|
|
1295
1295
|
};
|
|
1296
1296
|
requestId: string;
|
|
1297
1297
|
};
|
|
1298
1298
|
outputFormat: "json";
|
|
1299
|
-
status:
|
|
1299
|
+
status: 403;
|
|
1300
1300
|
input: {
|
|
1301
1301
|
param: {
|
|
1302
1302
|
token: `0x${string}`;
|
|
@@ -1309,14 +1309,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1309
1309
|
} | {
|
|
1310
1310
|
output: {
|
|
1311
1311
|
error: {
|
|
1312
|
-
code: "
|
|
1312
|
+
code: "token_logo_not_found";
|
|
1313
1313
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1314
1314
|
message: string;
|
|
1315
1315
|
};
|
|
1316
1316
|
requestId: string;
|
|
1317
1317
|
};
|
|
1318
1318
|
outputFormat: "json";
|
|
1319
|
-
status:
|
|
1319
|
+
status: 404;
|
|
1320
1320
|
input: {
|
|
1321
1321
|
param: {
|
|
1322
1322
|
token: `0x${string}`;
|
|
@@ -1329,14 +1329,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1329
1329
|
} | {
|
|
1330
1330
|
output: {
|
|
1331
1331
|
error: {
|
|
1332
|
-
code: "
|
|
1332
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1333
1333
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1334
1334
|
message: string;
|
|
1335
1335
|
};
|
|
1336
1336
|
requestId: string;
|
|
1337
1337
|
};
|
|
1338
1338
|
outputFormat: "json";
|
|
1339
|
-
status:
|
|
1339
|
+
status: 429;
|
|
1340
1340
|
input: {
|
|
1341
1341
|
param: {
|
|
1342
1342
|
token: `0x${string}`;
|
|
@@ -1349,14 +1349,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1349
1349
|
} | {
|
|
1350
1350
|
output: {
|
|
1351
1351
|
error: {
|
|
1352
|
-
code: "
|
|
1352
|
+
code: "upstream_error";
|
|
1353
1353
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1354
1354
|
message: string;
|
|
1355
1355
|
};
|
|
1356
1356
|
requestId: string;
|
|
1357
1357
|
};
|
|
1358
1358
|
outputFormat: "json";
|
|
1359
|
-
status:
|
|
1359
|
+
status: 502;
|
|
1360
1360
|
input: {
|
|
1361
1361
|
param: {
|
|
1362
1362
|
token: `0x${string}`;
|
|
@@ -1371,33 +1371,30 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1371
1371
|
} & {
|
|
1372
1372
|
"/v1/tokens/:token/holders": {
|
|
1373
1373
|
$get: {
|
|
1374
|
-
output: null;
|
|
1375
|
-
outputFormat: "body";
|
|
1376
|
-
status: 402;
|
|
1377
|
-
input: {
|
|
1378
|
-
param: {
|
|
1379
|
-
token: `0x${string}`;
|
|
1380
|
-
};
|
|
1381
|
-
} & {
|
|
1382
|
-
query?: {
|
|
1383
|
-
chainId?: string | string[];
|
|
1384
|
-
cursor?: string | string[];
|
|
1385
|
-
include?: string | string[];
|
|
1386
|
-
limit?: string | string[];
|
|
1387
|
-
page?: string | string[];
|
|
1388
|
-
} | undefined;
|
|
1389
|
-
};
|
|
1390
|
-
} | {
|
|
1391
1374
|
output: {
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
};
|
|
1397
|
-
|
|
1375
|
+
data: {
|
|
1376
|
+
address: `0x${string}`;
|
|
1377
|
+
balance: string;
|
|
1378
|
+
id: string;
|
|
1379
|
+
}[];
|
|
1380
|
+
meta?: {
|
|
1381
|
+
totalCountCapped?: boolean | undefined;
|
|
1382
|
+
token?: {
|
|
1383
|
+
address: `0x${string}`;
|
|
1384
|
+
currency: string;
|
|
1385
|
+
decimals: number;
|
|
1386
|
+
id: string;
|
|
1387
|
+
logoUri?: string | undefined;
|
|
1388
|
+
name: string;
|
|
1389
|
+
symbol: string;
|
|
1390
|
+
verified: boolean;
|
|
1391
|
+
} | undefined;
|
|
1392
|
+
totalCount?: number | undefined;
|
|
1393
|
+
} | undefined;
|
|
1394
|
+
nextCursor: string | null;
|
|
1398
1395
|
};
|
|
1399
1396
|
outputFormat: "json";
|
|
1400
|
-
status:
|
|
1397
|
+
status: 200;
|
|
1401
1398
|
input: {
|
|
1402
1399
|
param: {
|
|
1403
1400
|
token: `0x${string}`;
|
|
@@ -1414,14 +1411,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1414
1411
|
} | {
|
|
1415
1412
|
output: {
|
|
1416
1413
|
error: {
|
|
1417
|
-
code: "
|
|
1414
|
+
code: "api_key_malformed";
|
|
1418
1415
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1419
1416
|
message: string;
|
|
1420
1417
|
};
|
|
1421
1418
|
requestId: string;
|
|
1422
1419
|
};
|
|
1423
1420
|
outputFormat: "json";
|
|
1424
|
-
status:
|
|
1421
|
+
status: 400;
|
|
1425
1422
|
input: {
|
|
1426
1423
|
param: {
|
|
1427
1424
|
token: `0x${string}`;
|
|
@@ -1438,14 +1435,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1438
1435
|
} | {
|
|
1439
1436
|
output: {
|
|
1440
1437
|
error: {
|
|
1441
|
-
code: "
|
|
1438
|
+
code: "query_invalid";
|
|
1442
1439
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1443
1440
|
message: string;
|
|
1444
1441
|
};
|
|
1445
1442
|
requestId: string;
|
|
1446
1443
|
};
|
|
1447
1444
|
outputFormat: "json";
|
|
1448
|
-
status:
|
|
1445
|
+
status: 400;
|
|
1449
1446
|
input: {
|
|
1450
1447
|
param: {
|
|
1451
1448
|
token: `0x${string}`;
|
|
@@ -1462,14 +1459,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1462
1459
|
} | {
|
|
1463
1460
|
output: {
|
|
1464
1461
|
error: {
|
|
1465
|
-
code: "
|
|
1462
|
+
code: "token_invalid";
|
|
1466
1463
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1467
1464
|
message: string;
|
|
1468
1465
|
};
|
|
1469
1466
|
requestId: string;
|
|
1470
1467
|
};
|
|
1471
1468
|
outputFormat: "json";
|
|
1472
|
-
status:
|
|
1469
|
+
status: 400;
|
|
1473
1470
|
input: {
|
|
1474
1471
|
param: {
|
|
1475
1472
|
token: `0x${string}`;
|
|
@@ -1486,14 +1483,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1486
1483
|
} | {
|
|
1487
1484
|
output: {
|
|
1488
1485
|
error: {
|
|
1489
|
-
code: "
|
|
1486
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1490
1487
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1491
1488
|
message: string;
|
|
1492
1489
|
};
|
|
1493
1490
|
requestId: string;
|
|
1494
1491
|
};
|
|
1495
1492
|
outputFormat: "json";
|
|
1496
|
-
status:
|
|
1493
|
+
status: 401;
|
|
1497
1494
|
input: {
|
|
1498
1495
|
param: {
|
|
1499
1496
|
token: `0x${string}`;
|
|
@@ -1508,16 +1505,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1508
1505
|
} | undefined;
|
|
1509
1506
|
};
|
|
1510
1507
|
} | {
|
|
1511
|
-
output:
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1515
|
-
message: string;
|
|
1516
|
-
};
|
|
1517
|
-
requestId: string;
|
|
1518
|
-
};
|
|
1519
|
-
outputFormat: "json";
|
|
1520
|
-
status: 502;
|
|
1508
|
+
output: null;
|
|
1509
|
+
outputFormat: "body";
|
|
1510
|
+
status: 402;
|
|
1521
1511
|
input: {
|
|
1522
1512
|
param: {
|
|
1523
1513
|
token: `0x${string}`;
|
|
@@ -1534,311 +1524,80 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1534
1524
|
} | {
|
|
1535
1525
|
output: {
|
|
1536
1526
|
error: {
|
|
1537
|
-
code: "
|
|
1527
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1538
1528
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1539
1529
|
message: string;
|
|
1540
1530
|
};
|
|
1541
1531
|
requestId: string;
|
|
1542
1532
|
};
|
|
1543
1533
|
outputFormat: "json";
|
|
1544
|
-
status:
|
|
1545
|
-
input: {
|
|
1546
|
-
param: {
|
|
1547
|
-
token: `0x${string}`;
|
|
1548
|
-
};
|
|
1549
|
-
} & {
|
|
1550
|
-
query?: {
|
|
1551
|
-
chainId?: string | string[];
|
|
1552
|
-
cursor?: string | string[];
|
|
1553
|
-
include?: string | string[];
|
|
1554
|
-
limit?: string | string[];
|
|
1555
|
-
page?: string | string[];
|
|
1556
|
-
} | undefined;
|
|
1557
|
-
};
|
|
1558
|
-
} | {
|
|
1559
|
-
output: {
|
|
1560
|
-
data: {
|
|
1561
|
-
address: `0x${string}`;
|
|
1562
|
-
balance: string;
|
|
1563
|
-
id: string;
|
|
1564
|
-
}[];
|
|
1565
|
-
meta?: {
|
|
1566
|
-
totalCountCapped?: boolean | undefined;
|
|
1567
|
-
token?: {
|
|
1568
|
-
address: `0x${string}`;
|
|
1569
|
-
currency: string;
|
|
1570
|
-
decimals: number;
|
|
1571
|
-
id: string;
|
|
1572
|
-
logoUri?: string | undefined;
|
|
1573
|
-
name: string;
|
|
1574
|
-
symbol: string;
|
|
1575
|
-
verified: boolean;
|
|
1576
|
-
} | undefined;
|
|
1577
|
-
totalCount?: number | undefined;
|
|
1578
|
-
} | undefined;
|
|
1579
|
-
nextCursor: string | null;
|
|
1580
|
-
};
|
|
1581
|
-
outputFormat: "json";
|
|
1582
|
-
status: 200;
|
|
1583
|
-
input: {
|
|
1584
|
-
param: {
|
|
1585
|
-
token: `0x${string}`;
|
|
1586
|
-
};
|
|
1587
|
-
} & {
|
|
1588
|
-
query?: {
|
|
1589
|
-
chainId?: string | string[];
|
|
1590
|
-
cursor?: string | string[];
|
|
1591
|
-
include?: string | string[];
|
|
1592
|
-
limit?: string | string[];
|
|
1593
|
-
page?: string | string[];
|
|
1594
|
-
} | undefined;
|
|
1595
|
-
};
|
|
1596
|
-
};
|
|
1597
|
-
};
|
|
1598
|
-
} & {
|
|
1599
|
-
"/v1/tokens/:token/transactions": {
|
|
1600
|
-
$get: {
|
|
1601
|
-
output: null;
|
|
1602
|
-
outputFormat: "body";
|
|
1603
|
-
status: 402;
|
|
1534
|
+
status: 403;
|
|
1604
1535
|
input: {
|
|
1605
1536
|
param: {
|
|
1606
1537
|
token: `0x${string}`;
|
|
1607
1538
|
};
|
|
1608
1539
|
} & {
|
|
1609
1540
|
query?: {
|
|
1610
|
-
'blockNumber.from'?: string | string[];
|
|
1611
|
-
'blockNumber.to'?: string | string[];
|
|
1612
1541
|
chainId?: string | string[];
|
|
1613
1542
|
cursor?: string | string[];
|
|
1614
|
-
feePayer?: string | string[];
|
|
1615
|
-
feeToken?: string | string[];
|
|
1616
1543
|
include?: string | string[];
|
|
1617
1544
|
limit?: string | string[];
|
|
1618
|
-
order?: string | string[];
|
|
1619
1545
|
page?: string | string[];
|
|
1620
|
-
'timestamp.from'?: string | string[];
|
|
1621
|
-
'timestamp.to'?: string | string[];
|
|
1622
1546
|
} | undefined;
|
|
1623
1547
|
};
|
|
1624
1548
|
} | {
|
|
1625
1549
|
output: {
|
|
1626
1550
|
error: {
|
|
1627
|
-
code: "
|
|
1551
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1628
1552
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1629
1553
|
message: string;
|
|
1630
1554
|
};
|
|
1631
1555
|
requestId: string;
|
|
1632
1556
|
};
|
|
1633
1557
|
outputFormat: "json";
|
|
1634
|
-
status:
|
|
1558
|
+
status: 429;
|
|
1635
1559
|
input: {
|
|
1636
1560
|
param: {
|
|
1637
1561
|
token: `0x${string}`;
|
|
1638
1562
|
};
|
|
1639
1563
|
} & {
|
|
1640
1564
|
query?: {
|
|
1641
|
-
'blockNumber.from'?: string | string[];
|
|
1642
|
-
'blockNumber.to'?: string | string[];
|
|
1643
1565
|
chainId?: string | string[];
|
|
1644
1566
|
cursor?: string | string[];
|
|
1645
|
-
feePayer?: string | string[];
|
|
1646
|
-
feeToken?: string | string[];
|
|
1647
1567
|
include?: string | string[];
|
|
1648
1568
|
limit?: string | string[];
|
|
1649
|
-
order?: string | string[];
|
|
1650
1569
|
page?: string | string[];
|
|
1651
|
-
'timestamp.from'?: string | string[];
|
|
1652
|
-
'timestamp.to'?: string | string[];
|
|
1653
1570
|
} | undefined;
|
|
1654
1571
|
};
|
|
1655
1572
|
} | {
|
|
1656
1573
|
output: {
|
|
1657
1574
|
error: {
|
|
1658
|
-
code: "
|
|
1575
|
+
code: "upstream_error";
|
|
1659
1576
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1660
1577
|
message: string;
|
|
1661
1578
|
};
|
|
1662
1579
|
requestId: string;
|
|
1663
1580
|
};
|
|
1664
1581
|
outputFormat: "json";
|
|
1665
|
-
status:
|
|
1582
|
+
status: 502;
|
|
1666
1583
|
input: {
|
|
1667
1584
|
param: {
|
|
1668
1585
|
token: `0x${string}`;
|
|
1669
1586
|
};
|
|
1670
1587
|
} & {
|
|
1671
1588
|
query?: {
|
|
1672
|
-
'blockNumber.from'?: string | string[];
|
|
1673
|
-
'blockNumber.to'?: string | string[];
|
|
1674
1589
|
chainId?: string | string[];
|
|
1675
1590
|
cursor?: string | string[];
|
|
1676
|
-
feePayer?: string | string[];
|
|
1677
|
-
feeToken?: string | string[];
|
|
1678
1591
|
include?: string | string[];
|
|
1679
1592
|
limit?: string | string[];
|
|
1680
|
-
order?: string | string[];
|
|
1681
1593
|
page?: string | string[];
|
|
1682
|
-
'timestamp.from'?: string | string[];
|
|
1683
|
-
'timestamp.to'?: string | string[];
|
|
1684
1594
|
} | undefined;
|
|
1685
1595
|
};
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
message: string;
|
|
1692
|
-
};
|
|
1693
|
-
requestId: string;
|
|
1694
|
-
};
|
|
1695
|
-
outputFormat: "json";
|
|
1696
|
-
status: 403;
|
|
1697
|
-
input: {
|
|
1698
|
-
param: {
|
|
1699
|
-
token: `0x${string}`;
|
|
1700
|
-
};
|
|
1701
|
-
} & {
|
|
1702
|
-
query?: {
|
|
1703
|
-
'blockNumber.from'?: string | string[];
|
|
1704
|
-
'blockNumber.to'?: string | string[];
|
|
1705
|
-
chainId?: string | string[];
|
|
1706
|
-
cursor?: string | string[];
|
|
1707
|
-
feePayer?: string | string[];
|
|
1708
|
-
feeToken?: string | string[];
|
|
1709
|
-
include?: string | string[];
|
|
1710
|
-
limit?: string | string[];
|
|
1711
|
-
order?: string | string[];
|
|
1712
|
-
page?: string | string[];
|
|
1713
|
-
'timestamp.from'?: string | string[];
|
|
1714
|
-
'timestamp.to'?: string | string[];
|
|
1715
|
-
} | undefined;
|
|
1716
|
-
};
|
|
1717
|
-
} | {
|
|
1718
|
-
output: {
|
|
1719
|
-
error: {
|
|
1720
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
1721
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1722
|
-
message: string;
|
|
1723
|
-
};
|
|
1724
|
-
requestId: string;
|
|
1725
|
-
};
|
|
1726
|
-
outputFormat: "json";
|
|
1727
|
-
status: 429;
|
|
1728
|
-
input: {
|
|
1729
|
-
param: {
|
|
1730
|
-
token: `0x${string}`;
|
|
1731
|
-
};
|
|
1732
|
-
} & {
|
|
1733
|
-
query?: {
|
|
1734
|
-
'blockNumber.from'?: string | string[];
|
|
1735
|
-
'blockNumber.to'?: string | string[];
|
|
1736
|
-
chainId?: string | string[];
|
|
1737
|
-
cursor?: string | string[];
|
|
1738
|
-
feePayer?: string | string[];
|
|
1739
|
-
feeToken?: string | string[];
|
|
1740
|
-
include?: string | string[];
|
|
1741
|
-
limit?: string | string[];
|
|
1742
|
-
order?: string | string[];
|
|
1743
|
-
page?: string | string[];
|
|
1744
|
-
'timestamp.from'?: string | string[];
|
|
1745
|
-
'timestamp.to'?: string | string[];
|
|
1746
|
-
} | undefined;
|
|
1747
|
-
};
|
|
1748
|
-
} | {
|
|
1749
|
-
output: {
|
|
1750
|
-
error: {
|
|
1751
|
-
code: "query_invalid";
|
|
1752
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1753
|
-
message: string;
|
|
1754
|
-
};
|
|
1755
|
-
requestId: string;
|
|
1756
|
-
};
|
|
1757
|
-
outputFormat: "json";
|
|
1758
|
-
status: 400;
|
|
1759
|
-
input: {
|
|
1760
|
-
param: {
|
|
1761
|
-
token: `0x${string}`;
|
|
1762
|
-
};
|
|
1763
|
-
} & {
|
|
1764
|
-
query?: {
|
|
1765
|
-
'blockNumber.from'?: string | string[];
|
|
1766
|
-
'blockNumber.to'?: string | string[];
|
|
1767
|
-
chainId?: string | string[];
|
|
1768
|
-
cursor?: string | string[];
|
|
1769
|
-
feePayer?: string | string[];
|
|
1770
|
-
feeToken?: string | string[];
|
|
1771
|
-
include?: string | string[];
|
|
1772
|
-
limit?: string | string[];
|
|
1773
|
-
order?: string | string[];
|
|
1774
|
-
page?: string | string[];
|
|
1775
|
-
'timestamp.from'?: string | string[];
|
|
1776
|
-
'timestamp.to'?: string | string[];
|
|
1777
|
-
} | undefined;
|
|
1778
|
-
};
|
|
1779
|
-
} | {
|
|
1780
|
-
output: {
|
|
1781
|
-
error: {
|
|
1782
|
-
code: "upstream_error";
|
|
1783
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1784
|
-
message: string;
|
|
1785
|
-
};
|
|
1786
|
-
requestId: string;
|
|
1787
|
-
};
|
|
1788
|
-
outputFormat: "json";
|
|
1789
|
-
status: 502;
|
|
1790
|
-
input: {
|
|
1791
|
-
param: {
|
|
1792
|
-
token: `0x${string}`;
|
|
1793
|
-
};
|
|
1794
|
-
} & {
|
|
1795
|
-
query?: {
|
|
1796
|
-
'blockNumber.from'?: string | string[];
|
|
1797
|
-
'blockNumber.to'?: string | string[];
|
|
1798
|
-
chainId?: string | string[];
|
|
1799
|
-
cursor?: string | string[];
|
|
1800
|
-
feePayer?: string | string[];
|
|
1801
|
-
feeToken?: string | string[];
|
|
1802
|
-
include?: string | string[];
|
|
1803
|
-
limit?: string | string[];
|
|
1804
|
-
order?: string | string[];
|
|
1805
|
-
page?: string | string[];
|
|
1806
|
-
'timestamp.from'?: string | string[];
|
|
1807
|
-
'timestamp.to'?: string | string[];
|
|
1808
|
-
} | undefined;
|
|
1809
|
-
};
|
|
1810
|
-
} | {
|
|
1811
|
-
output: {
|
|
1812
|
-
error: {
|
|
1813
|
-
code: "token_invalid";
|
|
1814
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1815
|
-
message: string;
|
|
1816
|
-
};
|
|
1817
|
-
requestId: string;
|
|
1818
|
-
};
|
|
1819
|
-
outputFormat: "json";
|
|
1820
|
-
status: 400;
|
|
1821
|
-
input: {
|
|
1822
|
-
param: {
|
|
1823
|
-
token: `0x${string}`;
|
|
1824
|
-
};
|
|
1825
|
-
} & {
|
|
1826
|
-
query?: {
|
|
1827
|
-
'blockNumber.from'?: string | string[];
|
|
1828
|
-
'blockNumber.to'?: string | string[];
|
|
1829
|
-
chainId?: string | string[];
|
|
1830
|
-
cursor?: string | string[];
|
|
1831
|
-
feePayer?: string | string[];
|
|
1832
|
-
feeToken?: string | string[];
|
|
1833
|
-
include?: string | string[];
|
|
1834
|
-
limit?: string | string[];
|
|
1835
|
-
order?: string | string[];
|
|
1836
|
-
page?: string | string[];
|
|
1837
|
-
'timestamp.from'?: string | string[];
|
|
1838
|
-
'timestamp.to'?: string | string[];
|
|
1839
|
-
} | undefined;
|
|
1840
|
-
};
|
|
1841
|
-
} | {
|
|
1596
|
+
};
|
|
1597
|
+
};
|
|
1598
|
+
} & {
|
|
1599
|
+
"/v1/tokens/:token/transactions": {
|
|
1600
|
+
$get: {
|
|
1842
1601
|
output: {
|
|
1843
1602
|
data: {
|
|
1844
1603
|
blockHash: `0x${string}` | null;
|
|
@@ -2064,6 +1823,247 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
2064
1823
|
'timestamp.to'?: string | string[];
|
|
2065
1824
|
} | undefined;
|
|
2066
1825
|
};
|
|
1826
|
+
} | {
|
|
1827
|
+
output: {
|
|
1828
|
+
error: {
|
|
1829
|
+
code: "api_key_malformed";
|
|
1830
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1831
|
+
message: string;
|
|
1832
|
+
};
|
|
1833
|
+
requestId: string;
|
|
1834
|
+
};
|
|
1835
|
+
outputFormat: "json";
|
|
1836
|
+
status: 400;
|
|
1837
|
+
input: {
|
|
1838
|
+
param: {
|
|
1839
|
+
token: `0x${string}`;
|
|
1840
|
+
};
|
|
1841
|
+
} & {
|
|
1842
|
+
query?: {
|
|
1843
|
+
'blockNumber.from'?: string | string[];
|
|
1844
|
+
'blockNumber.to'?: string | string[];
|
|
1845
|
+
chainId?: string | string[];
|
|
1846
|
+
cursor?: string | string[];
|
|
1847
|
+
feePayer?: string | string[];
|
|
1848
|
+
feeToken?: string | string[];
|
|
1849
|
+
include?: string | string[];
|
|
1850
|
+
limit?: string | string[];
|
|
1851
|
+
order?: string | string[];
|
|
1852
|
+
page?: string | string[];
|
|
1853
|
+
'timestamp.from'?: string | string[];
|
|
1854
|
+
'timestamp.to'?: string | string[];
|
|
1855
|
+
} | undefined;
|
|
1856
|
+
};
|
|
1857
|
+
} | {
|
|
1858
|
+
output: {
|
|
1859
|
+
error: {
|
|
1860
|
+
code: "query_invalid";
|
|
1861
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1862
|
+
message: string;
|
|
1863
|
+
};
|
|
1864
|
+
requestId: string;
|
|
1865
|
+
};
|
|
1866
|
+
outputFormat: "json";
|
|
1867
|
+
status: 400;
|
|
1868
|
+
input: {
|
|
1869
|
+
param: {
|
|
1870
|
+
token: `0x${string}`;
|
|
1871
|
+
};
|
|
1872
|
+
} & {
|
|
1873
|
+
query?: {
|
|
1874
|
+
'blockNumber.from'?: string | string[];
|
|
1875
|
+
'blockNumber.to'?: string | string[];
|
|
1876
|
+
chainId?: string | string[];
|
|
1877
|
+
cursor?: string | string[];
|
|
1878
|
+
feePayer?: string | string[];
|
|
1879
|
+
feeToken?: string | string[];
|
|
1880
|
+
include?: string | string[];
|
|
1881
|
+
limit?: string | string[];
|
|
1882
|
+
order?: string | string[];
|
|
1883
|
+
page?: string | string[];
|
|
1884
|
+
'timestamp.from'?: string | string[];
|
|
1885
|
+
'timestamp.to'?: string | string[];
|
|
1886
|
+
} | undefined;
|
|
1887
|
+
};
|
|
1888
|
+
} | {
|
|
1889
|
+
output: {
|
|
1890
|
+
error: {
|
|
1891
|
+
code: "token_invalid";
|
|
1892
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1893
|
+
message: string;
|
|
1894
|
+
};
|
|
1895
|
+
requestId: string;
|
|
1896
|
+
};
|
|
1897
|
+
outputFormat: "json";
|
|
1898
|
+
status: 400;
|
|
1899
|
+
input: {
|
|
1900
|
+
param: {
|
|
1901
|
+
token: `0x${string}`;
|
|
1902
|
+
};
|
|
1903
|
+
} & {
|
|
1904
|
+
query?: {
|
|
1905
|
+
'blockNumber.from'?: string | string[];
|
|
1906
|
+
'blockNumber.to'?: string | string[];
|
|
1907
|
+
chainId?: string | string[];
|
|
1908
|
+
cursor?: string | string[];
|
|
1909
|
+
feePayer?: string | string[];
|
|
1910
|
+
feeToken?: string | string[];
|
|
1911
|
+
include?: string | string[];
|
|
1912
|
+
limit?: string | string[];
|
|
1913
|
+
order?: string | string[];
|
|
1914
|
+
page?: string | string[];
|
|
1915
|
+
'timestamp.from'?: string | string[];
|
|
1916
|
+
'timestamp.to'?: string | string[];
|
|
1917
|
+
} | undefined;
|
|
1918
|
+
};
|
|
1919
|
+
} | {
|
|
1920
|
+
output: {
|
|
1921
|
+
error: {
|
|
1922
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1923
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1924
|
+
message: string;
|
|
1925
|
+
};
|
|
1926
|
+
requestId: string;
|
|
1927
|
+
};
|
|
1928
|
+
outputFormat: "json";
|
|
1929
|
+
status: 401;
|
|
1930
|
+
input: {
|
|
1931
|
+
param: {
|
|
1932
|
+
token: `0x${string}`;
|
|
1933
|
+
};
|
|
1934
|
+
} & {
|
|
1935
|
+
query?: {
|
|
1936
|
+
'blockNumber.from'?: string | string[];
|
|
1937
|
+
'blockNumber.to'?: string | string[];
|
|
1938
|
+
chainId?: string | string[];
|
|
1939
|
+
cursor?: string | string[];
|
|
1940
|
+
feePayer?: string | string[];
|
|
1941
|
+
feeToken?: string | string[];
|
|
1942
|
+
include?: string | string[];
|
|
1943
|
+
limit?: string | string[];
|
|
1944
|
+
order?: string | string[];
|
|
1945
|
+
page?: string | string[];
|
|
1946
|
+
'timestamp.from'?: string | string[];
|
|
1947
|
+
'timestamp.to'?: string | string[];
|
|
1948
|
+
} | undefined;
|
|
1949
|
+
};
|
|
1950
|
+
} | {
|
|
1951
|
+
output: null;
|
|
1952
|
+
outputFormat: "body";
|
|
1953
|
+
status: 402;
|
|
1954
|
+
input: {
|
|
1955
|
+
param: {
|
|
1956
|
+
token: `0x${string}`;
|
|
1957
|
+
};
|
|
1958
|
+
} & {
|
|
1959
|
+
query?: {
|
|
1960
|
+
'blockNumber.from'?: string | string[];
|
|
1961
|
+
'blockNumber.to'?: string | string[];
|
|
1962
|
+
chainId?: string | string[];
|
|
1963
|
+
cursor?: string | string[];
|
|
1964
|
+
feePayer?: string | string[];
|
|
1965
|
+
feeToken?: string | string[];
|
|
1966
|
+
include?: string | string[];
|
|
1967
|
+
limit?: string | string[];
|
|
1968
|
+
order?: string | string[];
|
|
1969
|
+
page?: string | string[];
|
|
1970
|
+
'timestamp.from'?: string | string[];
|
|
1971
|
+
'timestamp.to'?: string | string[];
|
|
1972
|
+
} | undefined;
|
|
1973
|
+
};
|
|
1974
|
+
} | {
|
|
1975
|
+
output: {
|
|
1976
|
+
error: {
|
|
1977
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1978
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1979
|
+
message: string;
|
|
1980
|
+
};
|
|
1981
|
+
requestId: string;
|
|
1982
|
+
};
|
|
1983
|
+
outputFormat: "json";
|
|
1984
|
+
status: 403;
|
|
1985
|
+
input: {
|
|
1986
|
+
param: {
|
|
1987
|
+
token: `0x${string}`;
|
|
1988
|
+
};
|
|
1989
|
+
} & {
|
|
1990
|
+
query?: {
|
|
1991
|
+
'blockNumber.from'?: string | string[];
|
|
1992
|
+
'blockNumber.to'?: string | string[];
|
|
1993
|
+
chainId?: string | string[];
|
|
1994
|
+
cursor?: string | string[];
|
|
1995
|
+
feePayer?: string | string[];
|
|
1996
|
+
feeToken?: string | string[];
|
|
1997
|
+
include?: string | string[];
|
|
1998
|
+
limit?: string | string[];
|
|
1999
|
+
order?: string | string[];
|
|
2000
|
+
page?: string | string[];
|
|
2001
|
+
'timestamp.from'?: string | string[];
|
|
2002
|
+
'timestamp.to'?: string | string[];
|
|
2003
|
+
} | undefined;
|
|
2004
|
+
};
|
|
2005
|
+
} | {
|
|
2006
|
+
output: {
|
|
2007
|
+
error: {
|
|
2008
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2009
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2010
|
+
message: string;
|
|
2011
|
+
};
|
|
2012
|
+
requestId: string;
|
|
2013
|
+
};
|
|
2014
|
+
outputFormat: "json";
|
|
2015
|
+
status: 429;
|
|
2016
|
+
input: {
|
|
2017
|
+
param: {
|
|
2018
|
+
token: `0x${string}`;
|
|
2019
|
+
};
|
|
2020
|
+
} & {
|
|
2021
|
+
query?: {
|
|
2022
|
+
'blockNumber.from'?: string | string[];
|
|
2023
|
+
'blockNumber.to'?: string | string[];
|
|
2024
|
+
chainId?: string | string[];
|
|
2025
|
+
cursor?: string | string[];
|
|
2026
|
+
feePayer?: string | string[];
|
|
2027
|
+
feeToken?: string | string[];
|
|
2028
|
+
include?: string | string[];
|
|
2029
|
+
limit?: string | string[];
|
|
2030
|
+
order?: string | string[];
|
|
2031
|
+
page?: string | string[];
|
|
2032
|
+
'timestamp.from'?: string | string[];
|
|
2033
|
+
'timestamp.to'?: string | string[];
|
|
2034
|
+
} | undefined;
|
|
2035
|
+
};
|
|
2036
|
+
} | {
|
|
2037
|
+
output: {
|
|
2038
|
+
error: {
|
|
2039
|
+
code: "upstream_error";
|
|
2040
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2041
|
+
message: string;
|
|
2042
|
+
};
|
|
2043
|
+
requestId: string;
|
|
2044
|
+
};
|
|
2045
|
+
outputFormat: "json";
|
|
2046
|
+
status: 502;
|
|
2047
|
+
input: {
|
|
2048
|
+
param: {
|
|
2049
|
+
token: `0x${string}`;
|
|
2050
|
+
};
|
|
2051
|
+
} & {
|
|
2052
|
+
query?: {
|
|
2053
|
+
'blockNumber.from'?: string | string[];
|
|
2054
|
+
'blockNumber.to'?: string | string[];
|
|
2055
|
+
chainId?: string | string[];
|
|
2056
|
+
cursor?: string | string[];
|
|
2057
|
+
feePayer?: string | string[];
|
|
2058
|
+
feeToken?: string | string[];
|
|
2059
|
+
include?: string | string[];
|
|
2060
|
+
limit?: string | string[];
|
|
2061
|
+
order?: string | string[];
|
|
2062
|
+
page?: string | string[];
|
|
2063
|
+
'timestamp.from'?: string | string[];
|
|
2064
|
+
'timestamp.to'?: string | string[];
|
|
2065
|
+
} | undefined;
|
|
2066
|
+
};
|
|
2067
2067
|
};
|
|
2068
2068
|
};
|
|
2069
2069
|
}, "/", "/v1/tokens/:token/transactions">;
|