tapimo 0.15.0 → 0.15.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 (91) hide show
  1. package/dist/App.d.ts +26 -26
  2. package/dist/admin/App.d.ts +3 -0
  3. package/dist/admin/App.d.ts.map +1 -1
  4. package/dist/admin/apps/api-keys.d.ts +41 -41
  5. package/dist/admin/apps/routes.d.ts +64 -64
  6. package/dist/admin/apps/verified-tokens.d.ts +161 -155
  7. package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
  8. package/dist/admin/apps/verified-tokens.js +24 -4
  9. package/dist/admin/apps/verified-tokens.js.map +1 -1
  10. package/dist/admin/ui.generated.d.ts +1 -1
  11. package/dist/admin/ui.generated.d.ts.map +1 -1
  12. package/dist/admin/ui.generated.js +201 -209
  13. package/dist/admin/ui.generated.js.map +1 -1
  14. package/dist/apps/data/routes/activities.d.ts +357 -357
  15. package/dist/apps/data/routes/blocks.d.ts +125 -125
  16. package/dist/apps/data/routes/fee-amm.d.ts +108 -108
  17. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  18. package/dist/apps/data/routes/fee-amm.js +10 -2
  19. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  20. package/dist/apps/data/routes/indexer.d.ts +43 -43
  21. package/dist/apps/data/routes/receipts.d.ts +235 -235
  22. package/dist/apps/data/routes/rpc.js +45 -11
  23. package/dist/apps/data/routes/rpc.js.map +1 -1
  24. package/dist/apps/data/routes/transfers.d.ts +81 -81
  25. package/dist/apps/data/routes/valuation.d.ts +32 -32
  26. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  27. package/dist/apps/data/routes/webhooks.d.ts +1 -1
  28. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  29. package/dist/apps/data/routes/webhooks.js +17 -10
  30. package/dist/apps/data/routes/webhooks.js.map +1 -1
  31. package/dist/apps/data/routes/zones.d.ts +31 -31
  32. package/dist/apps/management/App.d.ts +26 -26
  33. package/dist/apps/management/routes/api-keys.d.ts +246 -246
  34. package/dist/apps/management/routes/invitations.d.ts +138 -138
  35. package/dist/apps/management/routes/invite-links.d.ts +168 -168
  36. package/dist/apps/management/routes/orgs.d.ts +98 -98
  37. package/dist/apps/management/routes/projects.d.ts +125 -125
  38. package/dist/apps/management/routes/verified-token-requests.d.ts +95 -95
  39. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
  40. package/dist/apps/management/routes/verified-token-requests.js +7 -9
  41. package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
  42. package/dist/apps/management/routes/webhooks.d.ts +423 -423
  43. package/dist/apps/mcp.d.ts.map +1 -1
  44. package/dist/apps/mcp.js +16 -3
  45. package/dist/apps/mcp.js.map +1 -1
  46. package/dist/apps/mpp/App.d.ts +44 -44
  47. package/dist/apps/routes/routes/chains.d.ts +25 -25
  48. package/dist/apps/routes/routes/quotes.d.ts +87 -87
  49. package/dist/apps/routes/routes/transfers.d.ts +438 -438
  50. package/dist/db/Db.d.ts.map +1 -1
  51. package/dist/db/Db.js +5 -0
  52. package/dist/db/Db.js.map +1 -1
  53. package/dist/db/tables/verifiedTokenRequests.d.ts +21 -4
  54. package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
  55. package/dist/db/tables/verifiedTokenRequests.js +65 -44
  56. package/dist/db/tables/verifiedTokenRequests.js.map +1 -1
  57. package/dist/internal/Auth.d.ts +16 -0
  58. package/dist/internal/Auth.d.ts.map +1 -1
  59. package/dist/internal/Auth.js +31 -8
  60. package/dist/internal/Auth.js.map +1 -1
  61. package/dist/internal/routes/providers/relay.d.ts +1 -1
  62. package/dist/internal/routes/providers/relay.js +1 -1
  63. package/dist/internal/routes/providers/relay.js.map +1 -1
  64. package/package.json +1 -1
  65. package/src/admin/apps/verified-tokens.test.ts +32 -0
  66. package/src/admin/apps/verified-tokens.ts +30 -4
  67. package/src/admin/ui/src/lib/verified-tokens.ts +24 -9
  68. package/src/admin/ui/src/routes/__root.tsx +1 -1
  69. package/src/admin/ui/src/routes/organizations.tsx +34 -4
  70. package/src/admin/ui/src/routes/verified-tokens.tsx +64 -20
  71. package/src/admin/ui.generated.ts +202 -263
  72. package/src/apps/data/App.test.ts +26 -0
  73. package/src/apps/data/routes/fee-amm.test.ts +19 -0
  74. package/src/apps/data/routes/fee-amm.ts +10 -2
  75. package/src/apps/data/routes/rpc.test.ts +32 -0
  76. package/src/apps/data/routes/rpc.ts +47 -10
  77. package/src/apps/data/routes/webhooks.scan.test.ts +29 -0
  78. package/src/apps/data/routes/webhooks.test.ts +6 -0
  79. package/src/apps/data/routes/webhooks.ts +25 -12
  80. package/src/apps/management/routes/verified-token-requests.test.ts +16 -2
  81. package/src/apps/management/routes/verified-token-requests.ts +7 -10
  82. package/src/apps/mcp.test.ts +108 -25
  83. package/src/apps/mcp.ts +15 -3
  84. package/src/db/Db.ts +9 -0
  85. package/src/db/tables/routesDeposits.test.ts +72 -0
  86. package/src/db/tables/verifiedTokenRequests.test.ts +39 -20
  87. package/src/db/tables/verifiedTokenRequests.ts +80 -44
  88. package/src/internal/Auth.test.ts +92 -0
  89. package/src/internal/Auth.ts +51 -9
  90. package/src/internal/routes/providers/relay.test.ts +59 -0
  91. package/src/internal/routes/providers/relay.ts +1 -1
@@ -627,9 +627,111 @@ export declare namespace schema {
627
627
  export declare function receipts(options?: receipts.Options): import("hono/hono-base").HonoBase<App.Environment, {
628
628
  "/v1/transactions/receipts": {
629
629
  $get: {
630
- output: null;
631
- outputFormat: "body";
632
- status: 402;
630
+ output: {
631
+ data: {
632
+ blockHash: `0x${string}` | null;
633
+ blockNumber: number;
634
+ contractAddress: `0x${string}` | null;
635
+ cumulativeGasUsed: number;
636
+ effectiveGasPrice: string;
637
+ feeAmount: {
638
+ baseUnits: string;
639
+ currency: string;
640
+ decimals: number;
641
+ formatted: string;
642
+ valuation?: {
643
+ amount: string;
644
+ currency: string;
645
+ } | null | undefined;
646
+ };
647
+ feePayer?: `0x${string}` | undefined;
648
+ feeToken?: {
649
+ address: `0x${string}`;
650
+ currency: string;
651
+ decimals: number;
652
+ logoUri?: string | undefined;
653
+ name: string;
654
+ symbol: string;
655
+ verified?: boolean | undefined;
656
+ } | undefined;
657
+ gasUsed: number;
658
+ id: `0x${string}`;
659
+ logs: {
660
+ [x: string]: import("hono/utils/types").JSONValue;
661
+ address: `0x${string}`;
662
+ blockHash: `0x${string}` | null;
663
+ blockNumber: `0x${string}` | null;
664
+ blockTimestamp?: `0x${string}` | null | undefined;
665
+ data: `0x${string}`;
666
+ logIndex: `0x${string}` | null;
667
+ removed: boolean;
668
+ topics: `0x${string}`[];
669
+ transactionHash: `0x${string}` | null;
670
+ transactionIndex: `0x${string}` | null;
671
+ }[];
672
+ meta: {
673
+ valuation?: {
674
+ asOf: string;
675
+ basis: "nominal";
676
+ source: string;
677
+ } | undefined;
678
+ rpc: {
679
+ [x: string]: import("hono/utils/types").JSONValue;
680
+ blobGasPrice?: `0x${string}` | undefined;
681
+ blobGasUsed?: `0x${string}` | undefined;
682
+ blockHash: `0x${string}` | null;
683
+ blockNumber: `0x${string}`;
684
+ blockTimestamp?: `0x${string}` | null | undefined;
685
+ contractAddress?: `0x${string}` | null | undefined;
686
+ cumulativeGasUsed: `0x${string}`;
687
+ effectiveGasPrice: `0x${string}`;
688
+ feePayer?: `0x${string}` | null | undefined;
689
+ feeToken?: `0x${string}` | null | undefined;
690
+ from: `0x${string}`;
691
+ gasUsed: `0x${string}`;
692
+ logs: {
693
+ [x: string]: import("hono/utils/types").JSONValue;
694
+ address: `0x${string}`;
695
+ blockHash: `0x${string}` | null;
696
+ blockNumber: `0x${string}` | null;
697
+ blockTimestamp?: `0x${string}` | null | undefined;
698
+ data: `0x${string}`;
699
+ logIndex: `0x${string}` | null;
700
+ removed: boolean;
701
+ topics: `0x${string}`[];
702
+ transactionHash: `0x${string}` | null;
703
+ transactionIndex: `0x${string}` | null;
704
+ }[];
705
+ logsBloom?: `0x${string}` | undefined;
706
+ root?: `0x${string}` | undefined;
707
+ status: `0x${string}`;
708
+ to: `0x${string}` | null;
709
+ transactionHash: `0x${string}`;
710
+ transactionIndex: `0x${string}`;
711
+ type: `0x${string}`;
712
+ };
713
+ };
714
+ recipient: `0x${string}` | null;
715
+ sender: `0x${string}`;
716
+ status: "reverted" | "success";
717
+ timestamp: string | null;
718
+ transactionHash: `0x${string}`;
719
+ transactionIndex: number;
720
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
721
+ }[];
722
+ meta?: {
723
+ valuation?: {
724
+ asOf: string;
725
+ basis: "nominal";
726
+ source: string;
727
+ } | undefined;
728
+ totalCount?: number | undefined;
729
+ totalCountCapped?: boolean | undefined;
730
+ } | undefined;
731
+ nextCursor: string | null;
732
+ };
733
+ outputFormat: "json";
734
+ status: 200;
633
735
  input: {
634
736
  query?: {
635
737
  address?: string | string[];
@@ -686,14 +788,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
686
788
  } | {
687
789
  output: {
688
790
  error: {
689
- code: "api_key_invalid" | "api_key_missing";
791
+ code: "query_invalid";
690
792
  details?: readonly Response.error.Detail[] | undefined;
691
793
  message: string;
692
794
  };
693
795
  requestId: string;
694
796
  };
695
797
  outputFormat: "json";
696
- status: 401;
798
+ status: 400;
697
799
  input: {
698
800
  query?: {
699
801
  address?: string | string[];
@@ -718,14 +820,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
718
820
  } | {
719
821
  output: {
720
822
  error: {
721
- code: "api_key_forbidden" | "api_key_ip_forbidden";
823
+ code: "api_key_invalid" | "api_key_missing";
722
824
  details?: readonly Response.error.Detail[] | undefined;
723
825
  message: string;
724
826
  };
725
827
  requestId: string;
726
828
  };
727
829
  outputFormat: "json";
728
- status: 403;
830
+ status: 401;
729
831
  input: {
730
832
  query?: {
731
833
  address?: string | string[];
@@ -748,16 +850,9 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
748
850
  } | undefined;
749
851
  };
750
852
  } | {
751
- output: {
752
- error: {
753
- code: "payment_required" | "rate_limit_exceeded";
754
- details?: readonly Response.error.Detail[] | undefined;
755
- message: string;
756
- };
757
- requestId: string;
758
- };
759
- outputFormat: "json";
760
- status: 429;
853
+ output: null;
854
+ outputFormat: "body";
855
+ status: 402;
761
856
  input: {
762
857
  query?: {
763
858
  address?: string | string[];
@@ -782,14 +877,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
782
877
  } | {
783
878
  output: {
784
879
  error: {
785
- code: "query_invalid";
880
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
786
881
  details?: readonly Response.error.Detail[] | undefined;
787
882
  message: string;
788
883
  };
789
884
  requestId: string;
790
885
  };
791
886
  outputFormat: "json";
792
- status: 400;
887
+ status: 403;
793
888
  input: {
794
889
  query?: {
795
890
  address?: string | string[];
@@ -813,110 +908,15 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
813
908
  };
814
909
  } | {
815
910
  output: {
816
- data: {
817
- blockHash: `0x${string}` | null;
818
- blockNumber: number;
819
- contractAddress: `0x${string}` | null;
820
- cumulativeGasUsed: number;
821
- effectiveGasPrice: string;
822
- feeAmount: {
823
- baseUnits: string;
824
- currency: string;
825
- decimals: number;
826
- formatted: string;
827
- valuation?: {
828
- amount: string;
829
- currency: string;
830
- } | null | undefined;
831
- };
832
- feePayer?: `0x${string}` | undefined;
833
- feeToken?: {
834
- address: `0x${string}`;
835
- currency: string;
836
- decimals: number;
837
- logoUri?: string | undefined;
838
- name: string;
839
- symbol: string;
840
- verified?: boolean | undefined;
841
- } | undefined;
842
- gasUsed: number;
843
- id: `0x${string}`;
844
- logs: {
845
- [x: string]: import("hono/utils/types").JSONValue;
846
- address: `0x${string}`;
847
- blockHash: `0x${string}` | null;
848
- blockNumber: `0x${string}` | null;
849
- blockTimestamp?: `0x${string}` | null | undefined;
850
- data: `0x${string}`;
851
- logIndex: `0x${string}` | null;
852
- removed: boolean;
853
- topics: `0x${string}`[];
854
- transactionHash: `0x${string}` | null;
855
- transactionIndex: `0x${string}` | null;
856
- }[];
857
- meta: {
858
- valuation?: {
859
- asOf: string;
860
- basis: "nominal";
861
- source: string;
862
- } | undefined;
863
- rpc: {
864
- [x: string]: import("hono/utils/types").JSONValue;
865
- blobGasPrice?: `0x${string}` | undefined;
866
- blobGasUsed?: `0x${string}` | undefined;
867
- blockHash: `0x${string}` | null;
868
- blockNumber: `0x${string}`;
869
- blockTimestamp?: `0x${string}` | null | undefined;
870
- contractAddress?: `0x${string}` | null | undefined;
871
- cumulativeGasUsed: `0x${string}`;
872
- effectiveGasPrice: `0x${string}`;
873
- feePayer?: `0x${string}` | null | undefined;
874
- feeToken?: `0x${string}` | null | undefined;
875
- from: `0x${string}`;
876
- gasUsed: `0x${string}`;
877
- logs: {
878
- [x: string]: import("hono/utils/types").JSONValue;
879
- address: `0x${string}`;
880
- blockHash: `0x${string}` | null;
881
- blockNumber: `0x${string}` | null;
882
- blockTimestamp?: `0x${string}` | null | undefined;
883
- data: `0x${string}`;
884
- logIndex: `0x${string}` | null;
885
- removed: boolean;
886
- topics: `0x${string}`[];
887
- transactionHash: `0x${string}` | null;
888
- transactionIndex: `0x${string}` | null;
889
- }[];
890
- logsBloom?: `0x${string}` | undefined;
891
- root?: `0x${string}` | undefined;
892
- status: `0x${string}`;
893
- to: `0x${string}` | null;
894
- transactionHash: `0x${string}`;
895
- transactionIndex: `0x${string}`;
896
- type: `0x${string}`;
897
- };
898
- };
899
- recipient: `0x${string}` | null;
900
- sender: `0x${string}`;
901
- status: "reverted" | "success";
902
- timestamp: string | null;
903
- transactionHash: `0x${string}`;
904
- transactionIndex: number;
905
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
906
- }[];
907
- meta?: {
908
- valuation?: {
909
- asOf: string;
910
- basis: "nominal";
911
- source: string;
912
- } | undefined;
913
- totalCount?: number | undefined;
914
- totalCountCapped?: boolean | undefined;
915
- } | undefined;
916
- nextCursor: string | null;
911
+ error: {
912
+ code: "payment_required" | "rate_limit_exceeded";
913
+ details?: readonly Response.error.Detail[] | undefined;
914
+ message: string;
915
+ };
916
+ requestId: string;
917
917
  };
918
918
  outputFormat: "json";
919
- status: 200;
919
+ status: 429;
920
920
  input: {
921
921
  query?: {
922
922
  address?: string | string[];
@@ -975,9 +975,99 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
975
975
  } & {
976
976
  "/v1/transactions/:transactionHash/receipt": {
977
977
  $get: {
978
- output: null;
979
- outputFormat: "body";
980
- status: 402;
978
+ output: {
979
+ blockHash: `0x${string}` | null;
980
+ blockNumber: number;
981
+ contractAddress: `0x${string}` | null;
982
+ cumulativeGasUsed: number;
983
+ effectiveGasPrice: string;
984
+ feeAmount: {
985
+ baseUnits: string;
986
+ currency: string;
987
+ decimals: number;
988
+ formatted: string;
989
+ valuation?: {
990
+ amount: string;
991
+ currency: string;
992
+ } | null | undefined;
993
+ };
994
+ feePayer?: `0x${string}` | undefined;
995
+ feeToken?: {
996
+ address: `0x${string}`;
997
+ currency: string;
998
+ decimals: number;
999
+ logoUri?: string | undefined;
1000
+ name: string;
1001
+ symbol: string;
1002
+ verified?: boolean | undefined;
1003
+ } | undefined;
1004
+ gasUsed: number;
1005
+ id: `0x${string}`;
1006
+ logs: {
1007
+ [x: string]: import("hono/utils/types").JSONValue;
1008
+ address: `0x${string}`;
1009
+ blockHash: `0x${string}` | null;
1010
+ blockNumber: `0x${string}` | null;
1011
+ blockTimestamp?: `0x${string}` | null | undefined;
1012
+ data: `0x${string}`;
1013
+ logIndex: `0x${string}` | null;
1014
+ removed: boolean;
1015
+ topics: `0x${string}`[];
1016
+ transactionHash: `0x${string}` | null;
1017
+ transactionIndex: `0x${string}` | null;
1018
+ }[];
1019
+ meta: {
1020
+ valuation?: {
1021
+ asOf: string;
1022
+ basis: "nominal";
1023
+ source: string;
1024
+ } | undefined;
1025
+ rpc: {
1026
+ [x: string]: import("hono/utils/types").JSONValue;
1027
+ blobGasPrice?: `0x${string}` | undefined;
1028
+ blobGasUsed?: `0x${string}` | undefined;
1029
+ blockHash: `0x${string}` | null;
1030
+ blockNumber: `0x${string}`;
1031
+ blockTimestamp?: `0x${string}` | null | undefined;
1032
+ contractAddress?: `0x${string}` | null | undefined;
1033
+ cumulativeGasUsed: `0x${string}`;
1034
+ effectiveGasPrice: `0x${string}`;
1035
+ feePayer?: `0x${string}` | null | undefined;
1036
+ feeToken?: `0x${string}` | null | undefined;
1037
+ from: `0x${string}`;
1038
+ gasUsed: `0x${string}`;
1039
+ logs: {
1040
+ [x: string]: import("hono/utils/types").JSONValue;
1041
+ address: `0x${string}`;
1042
+ blockHash: `0x${string}` | null;
1043
+ blockNumber: `0x${string}` | null;
1044
+ blockTimestamp?: `0x${string}` | null | undefined;
1045
+ data: `0x${string}`;
1046
+ logIndex: `0x${string}` | null;
1047
+ removed: boolean;
1048
+ topics: `0x${string}`[];
1049
+ transactionHash: `0x${string}` | null;
1050
+ transactionIndex: `0x${string}` | null;
1051
+ }[];
1052
+ logsBloom?: `0x${string}` | undefined;
1053
+ root?: `0x${string}` | undefined;
1054
+ status: `0x${string}`;
1055
+ to: `0x${string}` | null;
1056
+ transactionHash: `0x${string}`;
1057
+ transactionIndex: `0x${string}`;
1058
+ type: `0x${string}`;
1059
+ };
1060
+ };
1061
+ recipient: `0x${string}` | null;
1062
+ sender: `0x${string}`;
1063
+ status: "reverted" | "success";
1064
+ timestamp: string | null;
1065
+ transactionHash: `0x${string}`;
1066
+ transactionIndex: number;
1067
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
1068
+ };
1069
+ outputFormat: "json";
1070
+ status: 200;
981
1071
  input: {
982
1072
  param: {
983
1073
  transactionHash: `0x${string}`;
@@ -1014,14 +1104,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1014
1104
  } | {
1015
1105
  output: {
1016
1106
  error: {
1017
- code: "api_key_invalid" | "api_key_missing";
1107
+ code: "query_invalid";
1018
1108
  details?: readonly Response.error.Detail[] | undefined;
1019
1109
  message: string;
1020
1110
  };
1021
1111
  requestId: string;
1022
1112
  };
1023
1113
  outputFormat: "json";
1024
- status: 401;
1114
+ status: 400;
1025
1115
  input: {
1026
1116
  param: {
1027
1117
  transactionHash: `0x${string}`;
@@ -1036,14 +1126,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1036
1126
  } | {
1037
1127
  output: {
1038
1128
  error: {
1039
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1129
+ code: "transaction_invalid";
1040
1130
  details?: readonly Response.error.Detail[] | undefined;
1041
1131
  message: string;
1042
1132
  };
1043
1133
  requestId: string;
1044
1134
  };
1045
1135
  outputFormat: "json";
1046
- status: 403;
1136
+ status: 400;
1047
1137
  input: {
1048
1138
  param: {
1049
1139
  transactionHash: `0x${string}`;
@@ -1058,14 +1148,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1058
1148
  } | {
1059
1149
  output: {
1060
1150
  error: {
1061
- code: "payment_required" | "rate_limit_exceeded";
1151
+ code: "api_key_invalid" | "api_key_missing";
1062
1152
  details?: readonly Response.error.Detail[] | undefined;
1063
1153
  message: string;
1064
1154
  };
1065
1155
  requestId: string;
1066
1156
  };
1067
1157
  outputFormat: "json";
1068
- status: 429;
1158
+ status: 401;
1069
1159
  input: {
1070
1160
  param: {
1071
1161
  transactionHash: `0x${string}`;
@@ -1078,16 +1168,9 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1078
1168
  } | undefined;
1079
1169
  };
1080
1170
  } | {
1081
- output: {
1082
- error: {
1083
- code: "query_invalid";
1084
- details?: readonly Response.error.Detail[] | undefined;
1085
- message: string;
1086
- };
1087
- requestId: string;
1088
- };
1089
- outputFormat: "json";
1090
- status: 400;
1171
+ output: null;
1172
+ outputFormat: "body";
1173
+ status: 402;
1091
1174
  input: {
1092
1175
  param: {
1093
1176
  transactionHash: `0x${string}`;
@@ -1102,14 +1185,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1102
1185
  } | {
1103
1186
  output: {
1104
1187
  error: {
1105
- code: "upstream_error";
1188
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1106
1189
  details?: readonly Response.error.Detail[] | undefined;
1107
1190
  message: string;
1108
1191
  };
1109
1192
  requestId: string;
1110
1193
  };
1111
1194
  outputFormat: "json";
1112
- status: 502;
1195
+ status: 403;
1113
1196
  input: {
1114
1197
  param: {
1115
1198
  transactionHash: `0x${string}`;
@@ -1124,14 +1207,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1124
1207
  } | {
1125
1208
  output: {
1126
1209
  error: {
1127
- code: "transaction_invalid";
1210
+ code: "receipt_not_found";
1128
1211
  details?: readonly Response.error.Detail[] | undefined;
1129
1212
  message: string;
1130
1213
  };
1131
1214
  requestId: string;
1132
1215
  };
1133
1216
  outputFormat: "json";
1134
- status: 400;
1217
+ status: 404;
1135
1218
  input: {
1136
1219
  param: {
1137
1220
  transactionHash: `0x${string}`;
@@ -1146,14 +1229,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1146
1229
  } | {
1147
1230
  output: {
1148
1231
  error: {
1149
- code: "receipt_not_found";
1232
+ code: "payment_required" | "rate_limit_exceeded";
1150
1233
  details?: readonly Response.error.Detail[] | undefined;
1151
1234
  message: string;
1152
1235
  };
1153
1236
  requestId: string;
1154
1237
  };
1155
1238
  outputFormat: "json";
1156
- status: 404;
1239
+ status: 429;
1157
1240
  input: {
1158
1241
  param: {
1159
1242
  transactionHash: `0x${string}`;
@@ -1167,98 +1250,15 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1167
1250
  };
1168
1251
  } | {
1169
1252
  output: {
1170
- blockHash: `0x${string}` | null;
1171
- blockNumber: number;
1172
- contractAddress: `0x${string}` | null;
1173
- cumulativeGasUsed: number;
1174
- effectiveGasPrice: string;
1175
- feeAmount: {
1176
- baseUnits: string;
1177
- currency: string;
1178
- decimals: number;
1179
- formatted: string;
1180
- valuation?: {
1181
- amount: string;
1182
- currency: string;
1183
- } | null | undefined;
1184
- };
1185
- feePayer?: `0x${string}` | undefined;
1186
- feeToken?: {
1187
- address: `0x${string}`;
1188
- currency: string;
1189
- decimals: number;
1190
- logoUri?: string | undefined;
1191
- name: string;
1192
- symbol: string;
1193
- verified?: boolean | undefined;
1194
- } | undefined;
1195
- gasUsed: number;
1196
- id: `0x${string}`;
1197
- logs: {
1198
- [x: string]: import("hono/utils/types").JSONValue;
1199
- address: `0x${string}`;
1200
- blockHash: `0x${string}` | null;
1201
- blockNumber: `0x${string}` | null;
1202
- blockTimestamp?: `0x${string}` | null | undefined;
1203
- data: `0x${string}`;
1204
- logIndex: `0x${string}` | null;
1205
- removed: boolean;
1206
- topics: `0x${string}`[];
1207
- transactionHash: `0x${string}` | null;
1208
- transactionIndex: `0x${string}` | null;
1209
- }[];
1210
- meta: {
1211
- valuation?: {
1212
- asOf: string;
1213
- basis: "nominal";
1214
- source: string;
1215
- } | undefined;
1216
- rpc: {
1217
- [x: string]: import("hono/utils/types").JSONValue;
1218
- blobGasPrice?: `0x${string}` | undefined;
1219
- blobGasUsed?: `0x${string}` | undefined;
1220
- blockHash: `0x${string}` | null;
1221
- blockNumber: `0x${string}`;
1222
- blockTimestamp?: `0x${string}` | null | undefined;
1223
- contractAddress?: `0x${string}` | null | undefined;
1224
- cumulativeGasUsed: `0x${string}`;
1225
- effectiveGasPrice: `0x${string}`;
1226
- feePayer?: `0x${string}` | null | undefined;
1227
- feeToken?: `0x${string}` | null | undefined;
1228
- from: `0x${string}`;
1229
- gasUsed: `0x${string}`;
1230
- logs: {
1231
- [x: string]: import("hono/utils/types").JSONValue;
1232
- address: `0x${string}`;
1233
- blockHash: `0x${string}` | null;
1234
- blockNumber: `0x${string}` | null;
1235
- blockTimestamp?: `0x${string}` | null | undefined;
1236
- data: `0x${string}`;
1237
- logIndex: `0x${string}` | null;
1238
- removed: boolean;
1239
- topics: `0x${string}`[];
1240
- transactionHash: `0x${string}` | null;
1241
- transactionIndex: `0x${string}` | null;
1242
- }[];
1243
- logsBloom?: `0x${string}` | undefined;
1244
- root?: `0x${string}` | undefined;
1245
- status: `0x${string}`;
1246
- to: `0x${string}` | null;
1247
- transactionHash: `0x${string}`;
1248
- transactionIndex: `0x${string}`;
1249
- type: `0x${string}`;
1250
- };
1253
+ error: {
1254
+ code: "upstream_error";
1255
+ details?: readonly Response.error.Detail[] | undefined;
1256
+ message: string;
1251
1257
  };
1252
- recipient: `0x${string}` | null;
1253
- sender: `0x${string}`;
1254
- status: "reverted" | "success";
1255
- timestamp: string | null;
1256
- transactionHash: `0x${string}`;
1257
- transactionIndex: number;
1258
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
1258
+ requestId: string;
1259
1259
  };
1260
1260
  outputFormat: "json";
1261
- status: 200;
1261
+ status: 502;
1262
1262
  input: {
1263
1263
  param: {
1264
1264
  transactionHash: `0x${string}`;