tapimo 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/dist/App.d.ts +5561 -5026
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +38 -3
  4. package/dist/App.js.map +1 -1
  5. package/dist/Scope.d.ts +2 -0
  6. package/dist/Scope.d.ts.map +1 -1
  7. package/dist/Scope.js +17 -0
  8. package/dist/Scope.js.map +1 -1
  9. package/dist/admin/App.d.ts +123 -74
  10. package/dist/admin/App.d.ts.map +1 -1
  11. package/dist/admin/apps/api-keys.d.ts +80 -0
  12. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  13. package/dist/admin/apps/api-keys.js +54 -0
  14. package/dist/admin/apps/api-keys.js.map +1 -1
  15. package/dist/admin/apps/earn-vaults.d.ts +15 -15
  16. package/dist/admin/apps/earn-vaults.js +1 -1
  17. package/dist/admin/apps/verified-tokens.d.ts +81 -81
  18. package/dist/admin/ui.generated.d.ts +1 -1
  19. package/dist/admin/ui.generated.d.ts.map +1 -1
  20. package/dist/admin/ui.generated.js +151 -151
  21. package/dist/admin/ui.generated.js.map +1 -1
  22. package/dist/apps/Zones.d.ts +16 -16
  23. package/dist/apps/Zones.js +4 -4
  24. package/dist/apps/data/App.js +18 -18
  25. package/dist/apps/data/App.js.map +1 -1
  26. package/dist/apps/data/ZoneSelection.d.ts +8 -8
  27. package/dist/apps/data/ZoneSelection.d.ts.map +1 -1
  28. package/dist/apps/data/ZoneSelection.js +1 -1
  29. package/dist/apps/data/ZoneSelection.js.map +1 -1
  30. package/dist/apps/data/routes/activities.d.ts +588 -584
  31. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  32. package/dist/apps/data/routes/activities.js +1561 -1239
  33. package/dist/apps/data/routes/activities.js.map +1 -1
  34. package/dist/apps/data/routes/balances.d.ts +26 -26
  35. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  36. package/dist/apps/data/routes/balances.js +43 -16
  37. package/dist/apps/data/routes/balances.js.map +1 -1
  38. package/dist/apps/data/routes/blocks.d.ts +44 -44
  39. package/dist/apps/data/routes/blocks.d.ts.map +1 -1
  40. package/dist/apps/data/routes/blocks.js +21 -11
  41. package/dist/apps/data/routes/blocks.js.map +1 -1
  42. package/dist/apps/data/routes/coingecko.d.ts +3 -3
  43. package/dist/apps/data/routes/earn.d.ts +18 -18
  44. package/dist/apps/data/routes/earn.js +13 -13
  45. package/dist/apps/data/routes/exchanges.d.ts +145 -145
  46. package/dist/apps/data/routes/fee-amm.d.ts +2 -2
  47. package/dist/apps/data/routes/receipts.d.ts +155 -55
  48. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  49. package/dist/apps/data/routes/receipts.js +28 -10
  50. package/dist/apps/data/routes/receipts.js.map +1 -1
  51. package/dist/apps/data/routes/tokenlist.d.ts +13 -13
  52. package/dist/apps/data/routes/tokens.d.ts +98 -98
  53. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  54. package/dist/apps/data/routes/tokens.js +51 -20
  55. package/dist/apps/data/routes/tokens.js.map +1 -1
  56. package/dist/apps/data/routes/transactions.d.ts +7 -2
  57. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  58. package/dist/apps/data/routes/transactions.js +37 -17
  59. package/dist/apps/data/routes/transactions.js.map +1 -1
  60. package/dist/apps/data/routes/transfers.d.ts +1 -1
  61. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  62. package/dist/apps/data/routes/transfers.js +18 -12
  63. package/dist/apps/data/routes/transfers.js.map +1 -1
  64. package/dist/apps/data/routes/valuation.d.ts +1 -1
  65. package/dist/apps/data/routes/valuation.d.ts.map +1 -1
  66. package/dist/apps/data/routes/valuation.js +12 -7
  67. package/dist/apps/data/routes/valuation.js.map +1 -1
  68. package/dist/apps/data/routes/verified-tokens.d.ts +3 -3
  69. package/dist/apps/data/routes/webhooks.d.ts +11 -11
  70. package/dist/apps/data/routes/zones.d.ts +14 -14
  71. package/dist/apps/data/routes/zones.js +1 -1
  72. package/dist/apps/funding/App.d.ts +11 -0
  73. package/dist/apps/funding/App.d.ts.map +1 -1
  74. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  75. package/dist/apps/funding/routes/deposit-addresses.js +16 -11
  76. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  77. package/dist/apps/funding/routes/transfers.d.ts +60 -48
  78. package/dist/apps/funding/routes/transfers.d.ts.map +1 -1
  79. package/dist/apps/funding/routes/transfers.js +27 -19
  80. package/dist/apps/funding/routes/transfers.js.map +1 -1
  81. package/dist/apps/management/App.d.ts +4487 -3963
  82. package/dist/apps/management/App.d.ts.map +1 -1
  83. package/dist/apps/management/routes/api-keys.d.ts +710 -159
  84. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  85. package/dist/apps/management/routes/api-keys.js +236 -4
  86. package/dist/apps/management/routes/api-keys.js.map +1 -1
  87. package/dist/apps/management/routes/faucet.d.ts +6 -6
  88. package/dist/apps/management/routes/invite-links.d.ts +42 -42
  89. package/dist/apps/management/routes/members.d.ts +30 -30
  90. package/dist/apps/management/routes/projects.d.ts +40 -40
  91. package/dist/apps/management/routes/usage.d.ts +24 -24
  92. package/dist/apps/management/routes/verified-token-requests.d.ts +1 -1
  93. package/dist/apps/management/routes/webhooks.d.ts +55 -55
  94. package/dist/db/Db.d.ts.map +1 -1
  95. package/dist/db/Db.js +12 -1
  96. package/dist/db/Db.js.map +1 -1
  97. package/dist/db/Schema.d.ts +3 -2
  98. package/dist/db/Schema.d.ts.map +1 -1
  99. package/dist/db/Schema.js +5 -2
  100. package/dist/db/Schema.js.map +1 -1
  101. package/dist/db/tables/fundingCatalog.d.ts +4 -2
  102. package/dist/db/tables/fundingCatalog.d.ts.map +1 -1
  103. package/dist/db/tables/fundingCatalog.js +5 -1
  104. package/dist/db/tables/fundingCatalog.js.map +1 -1
  105. package/dist/handlers/internal/utils.d.ts.map +1 -1
  106. package/dist/handlers/internal/utils.js +9 -0
  107. package/dist/handlers/internal/utils.js.map +1 -1
  108. package/dist/internal/Auth.d.ts +3 -1
  109. package/dist/internal/Auth.d.ts.map +1 -1
  110. package/dist/internal/Auth.js +6 -3
  111. package/dist/internal/Auth.js.map +1 -1
  112. package/dist/internal/EarnVaults.d.ts +3 -3
  113. package/dist/internal/EarnVaults.js +3 -3
  114. package/dist/internal/Fetch.d.ts +23 -0
  115. package/dist/internal/Fetch.d.ts.map +1 -0
  116. package/dist/internal/Fetch.js +26 -0
  117. package/dist/internal/Fetch.js.map +1 -0
  118. package/dist/internal/Log.d.ts +3 -1
  119. package/dist/internal/Log.d.ts.map +1 -1
  120. package/dist/internal/Log.js +16 -3
  121. package/dist/internal/Log.js.map +1 -1
  122. package/dist/internal/OpenApi.d.ts +5 -3
  123. package/dist/internal/OpenApi.d.ts.map +1 -1
  124. package/dist/internal/OpenApi.js +13 -3
  125. package/dist/internal/OpenApi.js.map +1 -1
  126. package/dist/internal/Response.d.ts +1 -1
  127. package/dist/internal/Response.d.ts.map +1 -1
  128. package/dist/internal/Schema.d.ts +6 -3
  129. package/dist/internal/Schema.d.ts.map +1 -1
  130. package/dist/internal/Schema.js +8 -2
  131. package/dist/internal/Schema.js.map +1 -1
  132. package/dist/internal/Store.d.ts +16 -3
  133. package/dist/internal/Store.d.ts.map +1 -1
  134. package/dist/internal/Store.js +82 -16
  135. package/dist/internal/Store.js.map +1 -1
  136. package/dist/internal/Tidx.d.ts.map +1 -1
  137. package/dist/internal/Tidx.js +7 -2
  138. package/dist/internal/Tidx.js.map +1 -1
  139. package/dist/internal/Timeout.d.ts +36 -0
  140. package/dist/internal/Timeout.d.ts.map +1 -0
  141. package/dist/internal/Timeout.js +37 -0
  142. package/dist/internal/Timeout.js.map +1 -0
  143. package/dist/internal/Timing.d.ts +9 -0
  144. package/dist/internal/Timing.d.ts.map +1 -1
  145. package/dist/internal/Timing.js +7 -0
  146. package/dist/internal/Timing.js.map +1 -1
  147. package/dist/internal/WebhookDestination.d.ts.map +1 -1
  148. package/dist/internal/WebhookDestination.js +3 -0
  149. package/dist/internal/WebhookDestination.js.map +1 -1
  150. package/dist/internal/funding/Action.d.ts +9 -0
  151. package/dist/internal/funding/Action.d.ts.map +1 -1
  152. package/dist/internal/funding/Action.js +16 -8
  153. package/dist/internal/funding/Action.js.map +1 -1
  154. package/dist/internal/funding/Catalog.d.ts +9 -2
  155. package/dist/internal/funding/Catalog.d.ts.map +1 -1
  156. package/dist/internal/funding/Catalog.js +19 -8
  157. package/dist/internal/funding/Catalog.js.map +1 -1
  158. package/dist/internal/funding/Provider.d.ts +68 -13
  159. package/dist/internal/funding/Provider.d.ts.map +1 -1
  160. package/dist/internal/funding/Provider.js +29 -8
  161. package/dist/internal/funding/Provider.js.map +1 -1
  162. package/dist/internal/funding/Transfer.d.ts +13 -12
  163. package/dist/internal/funding/Transfer.d.ts.map +1 -1
  164. package/dist/internal/funding/Transfer.js +23 -21
  165. package/dist/internal/funding/Transfer.js.map +1 -1
  166. package/dist/internal/funding/providers/stargate.d.ts +28 -9
  167. package/dist/internal/funding/providers/stargate.d.ts.map +1 -1
  168. package/dist/internal/funding/providers/stargate.js +251 -117
  169. package/dist/internal/funding/providers/stargate.js.map +1 -1
  170. package/dist/internal/index.d.ts +1 -0
  171. package/dist/internal/index.d.ts.map +1 -1
  172. package/dist/internal/index.js +1 -0
  173. package/dist/internal/index.js.map +1 -1
  174. package/package.json +2 -2
  175. package/src/App.test.ts +100 -0
  176. package/src/App.ts +42 -3
  177. package/src/Client.test-d.ts +46 -0
  178. package/src/Scope.test.ts +20 -0
  179. package/src/Scope.ts +16 -0
  180. package/src/admin/apps/api-keys.test.ts +75 -0
  181. package/src/admin/apps/api-keys.ts +64 -0
  182. package/src/admin/apps/earn-vaults.test.ts +1 -1
  183. package/src/admin/apps/earn-vaults.ts +1 -1
  184. package/src/admin/ui/src/lib/api-keys.ts +19 -0
  185. package/src/admin/ui/src/routes/api-keys.tsx +89 -2
  186. package/src/admin/ui.generated.ts +189 -151
  187. package/src/apps/Zones.test.ts +4 -4
  188. package/src/apps/Zones.ts +4 -4
  189. package/src/apps/composition.test.ts +1 -1
  190. package/src/apps/data/App.test.ts +41 -0
  191. package/src/apps/data/App.ts +18 -18
  192. package/src/apps/data/ZoneSelection.test.ts +2 -2
  193. package/src/apps/data/ZoneSelection.ts +8 -8
  194. package/src/apps/data/routes/activities.test.ts +1526 -12
  195. package/src/apps/data/routes/activities.ts +1774 -1356
  196. package/src/apps/data/routes/balances.ts +133 -97
  197. package/src/apps/data/routes/blocks.test.ts +533 -0
  198. package/src/apps/data/routes/blocks.ts +35 -16
  199. package/src/apps/data/routes/earn.test.ts +4 -2
  200. package/src/apps/data/routes/earn.ts +13 -13
  201. package/src/apps/data/routes/earn.zone-access.test.ts +6 -6
  202. package/src/apps/data/routes/receipts.ts +47 -16
  203. package/src/apps/data/routes/tokens.test.ts +578 -0
  204. package/src/apps/data/routes/tokens.ts +283 -225
  205. package/src/apps/data/routes/transactions.ts +68 -29
  206. package/src/apps/data/routes/transfers.test.ts +421 -0
  207. package/src/apps/data/routes/transfers.ts +45 -27
  208. package/src/apps/data/routes/valuation.ts +94 -78
  209. package/src/apps/data/routes/zones.test.ts +2 -2
  210. package/src/apps/data/routes/zones.ts +1 -1
  211. package/src/apps/funding/routes/deposit-addresses.test.ts +25 -3
  212. package/src/apps/funding/routes/deposit-addresses.ts +17 -12
  213. package/src/apps/funding/routes/quotes.test.ts +5 -9
  214. package/src/apps/funding/routes/transfers.test.ts +395 -8
  215. package/src/apps/funding/routes/transfers.ts +76 -59
  216. package/src/apps/management/routes/api-keys.test.ts +220 -0
  217. package/src/apps/management/routes/api-keys.ts +280 -3
  218. package/src/db/Db.ts +13 -1
  219. package/src/db/Schema.ts +5 -2
  220. package/src/db/tables/earnVaults.test.ts +9 -9
  221. package/src/db/tables/fundingCatalog.test.ts +16 -2
  222. package/src/db/tables/fundingCatalog.ts +9 -3
  223. package/src/handlers/internal/utils.test.ts +53 -0
  224. package/src/handlers/internal/utils.ts +15 -0
  225. package/src/internal/Auth.ts +12 -4
  226. package/src/internal/EarnVaults.capabilities.test.ts +2 -2
  227. package/src/internal/EarnVaults.test.ts +1 -1
  228. package/src/internal/EarnVaults.ts +3 -3
  229. package/src/internal/Fetch.test.ts +46 -0
  230. package/src/internal/Fetch.ts +56 -0
  231. package/src/internal/Log.test.ts +21 -0
  232. package/src/internal/Log.ts +20 -5
  233. package/src/internal/OpenApi.ts +14 -4
  234. package/src/internal/Response.ts +1 -1
  235. package/src/internal/Schema.test.ts +2 -0
  236. package/src/internal/Schema.ts +12 -2
  237. package/src/internal/Store.test.ts +178 -0
  238. package/src/internal/Store.ts +104 -18
  239. package/src/internal/Tidx.test.ts +2 -1
  240. package/src/internal/Tidx.ts +7 -2
  241. package/src/internal/Timeout.test.ts +35 -0
  242. package/src/internal/Timeout.ts +73 -0
  243. package/src/internal/Timing.ts +16 -0
  244. package/src/internal/WebhookDestination.ts +3 -0
  245. package/src/internal/funding/Action.test.ts +41 -1
  246. package/src/internal/funding/Action.ts +69 -41
  247. package/src/internal/funding/Catalog.test.ts +34 -0
  248. package/src/internal/funding/Catalog.ts +28 -11
  249. package/src/internal/funding/Provider.test.ts +73 -0
  250. package/src/internal/funding/Provider.ts +82 -28
  251. package/src/internal/funding/Transfer.ts +133 -110
  252. package/src/internal/funding/providers/index.test.ts +4 -167
  253. package/src/internal/funding/providers/relay.test.ts +2 -2
  254. package/src/internal/funding/providers/stargate.test.ts +163 -0
  255. package/src/internal/funding/providers/stargate.ts +359 -134
  256. package/src/internal/index.test.ts +1 -0
  257. package/src/internal/index.ts +1 -0
@@ -52,7 +52,7 @@ export declare namespace schema {
52
52
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
53
53
  mainnet: "mainnet";
54
54
  testnet: "testnet";
55
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
55
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
56
56
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
57
57
  admin: "admin";
58
58
  createdAt: "createdAt";
@@ -129,7 +129,7 @@ export declare namespace schema {
129
129
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
130
130
  mainnet: "mainnet";
131
131
  testnet: "testnet";
132
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
132
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
133
133
  }, z.core.$strip>;
134
134
  }
135
135
  /** Schemas for the getTokens operation. */
@@ -140,7 +140,7 @@ export declare namespace schema {
140
140
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
141
141
  mainnet: "mainnet";
142
142
  testnet: "testnet";
143
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
143
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
144
144
  currency: z.ZodMiniOptional<z.ZodMiniString<string>>;
145
145
  cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
146
146
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
@@ -211,7 +211,7 @@ export declare namespace schema {
211
211
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
212
212
  mainnet: "mainnet";
213
213
  testnet: "testnet";
214
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
214
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
215
215
  cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
216
216
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
217
217
  token: "token";
@@ -296,7 +296,7 @@ export declare namespace schema {
296
296
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
297
297
  mainnet: "mainnet";
298
298
  testnet: "testnet";
299
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
299
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
300
300
  cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
301
301
  feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
302
302
  feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
@@ -573,7 +573,31 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
573
573
  } | {
574
574
  output: {
575
575
  error: {
576
- code: "api_key_malformed";
576
+ code: "upstream_error";
577
+ details?: readonly Response.error.Detail[] | undefined;
578
+ message: string;
579
+ };
580
+ requestId: string;
581
+ };
582
+ outputFormat: "json";
583
+ status: 502;
584
+ input: {
585
+ query?: {
586
+ addresses?: string | string[];
587
+ chainId?: string | string[];
588
+ currency?: string | string[];
589
+ cursor?: string | string[];
590
+ include?: string | string[];
591
+ limit?: string | string[];
592
+ order?: string | string[];
593
+ page?: string | string[];
594
+ verified?: string | string[];
595
+ } | undefined;
596
+ };
597
+ } | {
598
+ output: {
599
+ error: {
600
+ code: "query_invalid";
577
601
  details?: readonly Response.error.Detail[] | undefined;
578
602
  message: string;
579
603
  };
@@ -597,14 +621,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
597
621
  } | {
598
622
  output: {
599
623
  error: {
600
- code: "api_key_invalid" | "api_key_missing";
624
+ code: "api_key_malformed";
601
625
  details?: readonly Response.error.Detail[] | undefined;
602
626
  message: string;
603
627
  };
604
628
  requestId: string;
605
629
  };
606
630
  outputFormat: "json";
607
- status: 401;
631
+ status: 400;
608
632
  input: {
609
633
  query?: {
610
634
  addresses?: string | string[];
@@ -621,14 +645,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
621
645
  } | {
622
646
  output: {
623
647
  error: {
624
- code: "api_key_forbidden" | "api_key_ip_forbidden";
648
+ code: "api_key_invalid" | "api_key_missing";
625
649
  details?: readonly Response.error.Detail[] | undefined;
626
650
  message: string;
627
651
  };
628
652
  requestId: string;
629
653
  };
630
654
  outputFormat: "json";
631
- status: 403;
655
+ status: 401;
632
656
  input: {
633
657
  query?: {
634
658
  addresses?: string | string[];
@@ -645,14 +669,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
645
669
  } | {
646
670
  output: {
647
671
  error: {
648
- code: "payment_required" | "rate_limit_exceeded";
672
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
649
673
  details?: readonly Response.error.Detail[] | undefined;
650
674
  message: string;
651
675
  };
652
676
  requestId: string;
653
677
  };
654
678
  outputFormat: "json";
655
- status: 429;
679
+ status: 403;
656
680
  input: {
657
681
  query?: {
658
682
  addresses?: string | string[];
@@ -669,14 +693,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
669
693
  } | {
670
694
  output: {
671
695
  error: {
672
- code: "query_invalid";
696
+ code: "payment_required" | "rate_limit_exceeded";
673
697
  details?: readonly Response.error.Detail[] | undefined;
674
698
  message: string;
675
699
  };
676
700
  requestId: string;
677
701
  };
678
702
  outputFormat: "json";
679
- status: 400;
703
+ status: 429;
680
704
  input: {
681
705
  query?: {
682
706
  addresses?: string | string[];
@@ -729,30 +753,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
729
753
  verified?: string | string[];
730
754
  } | undefined;
731
755
  };
732
- } | {
733
- output: {
734
- error: {
735
- code: "upstream_error";
736
- details?: readonly Response.error.Detail[] | undefined;
737
- message: string;
738
- };
739
- requestId: string;
740
- };
741
- outputFormat: "json";
742
- status: 502;
743
- input: {
744
- query?: {
745
- addresses?: string | string[];
746
- chainId?: string | string[];
747
- currency?: string | string[];
748
- cursor?: string | string[];
749
- include?: string | string[];
750
- limit?: string | string[];
751
- order?: string | string[];
752
- page?: string | string[];
753
- verified?: string | string[];
754
- } | undefined;
755
- };
756
756
  };
757
757
  };
758
758
  } & {
@@ -774,14 +774,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
774
774
  } | {
775
775
  output: {
776
776
  error: {
777
- code: "api_key_malformed";
777
+ code: "upstream_error";
778
778
  details?: readonly Response.error.Detail[] | undefined;
779
779
  message: string;
780
780
  };
781
781
  requestId: string;
782
782
  };
783
783
  outputFormat: "json";
784
- status: 400;
784
+ status: 502;
785
785
  input: {
786
786
  param: {
787
787
  symbol: string;
@@ -795,14 +795,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
795
795
  } | {
796
796
  output: {
797
797
  error: {
798
- code: "api_key_invalid" | "api_key_missing";
798
+ code: "query_invalid";
799
799
  details?: readonly Response.error.Detail[] | undefined;
800
800
  message: string;
801
801
  };
802
802
  requestId: string;
803
803
  };
804
804
  outputFormat: "json";
805
- status: 401;
805
+ status: 400;
806
806
  input: {
807
807
  param: {
808
808
  symbol: string;
@@ -816,14 +816,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
816
816
  } | {
817
817
  output: {
818
818
  error: {
819
- code: "api_key_forbidden" | "api_key_ip_forbidden";
819
+ code: "api_key_malformed";
820
820
  details?: readonly Response.error.Detail[] | undefined;
821
821
  message: string;
822
822
  };
823
823
  requestId: string;
824
824
  };
825
825
  outputFormat: "json";
826
- status: 403;
826
+ status: 400;
827
827
  input: {
828
828
  param: {
829
829
  symbol: string;
@@ -837,14 +837,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
837
837
  } | {
838
838
  output: {
839
839
  error: {
840
- code: "payment_required" | "rate_limit_exceeded";
840
+ code: "api_key_invalid" | "api_key_missing";
841
841
  details?: readonly Response.error.Detail[] | undefined;
842
842
  message: string;
843
843
  };
844
844
  requestId: string;
845
845
  };
846
846
  outputFormat: "json";
847
- status: 429;
847
+ status: 401;
848
848
  input: {
849
849
  param: {
850
850
  symbol: string;
@@ -858,14 +858,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
858
858
  } | {
859
859
  output: {
860
860
  error: {
861
- code: "query_invalid";
861
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
862
862
  details?: readonly Response.error.Detail[] | undefined;
863
863
  message: string;
864
864
  };
865
865
  requestId: string;
866
866
  };
867
867
  outputFormat: "json";
868
- status: 400;
868
+ status: 403;
869
869
  input: {
870
870
  param: {
871
871
  symbol: string;
@@ -879,14 +879,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
879
879
  } | {
880
880
  output: {
881
881
  error: {
882
- code: "upstream_error";
882
+ code: "payment_required" | "rate_limit_exceeded";
883
883
  details?: readonly Response.error.Detail[] | undefined;
884
884
  message: string;
885
885
  };
886
886
  requestId: string;
887
887
  };
888
888
  outputFormat: "json";
889
- status: 502;
889
+ status: 429;
890
890
  input: {
891
891
  param: {
892
892
  symbol: string;
@@ -993,14 +993,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
993
993
  } | {
994
994
  output: {
995
995
  error: {
996
- code: "api_key_malformed";
996
+ code: "upstream_error";
997
997
  details?: readonly Response.error.Detail[] | undefined;
998
998
  message: string;
999
999
  };
1000
1000
  requestId: string;
1001
1001
  };
1002
1002
  outputFormat: "json";
1003
- status: 400;
1003
+ status: 502;
1004
1004
  input: {
1005
1005
  param: {
1006
1006
  token: `0x${string}`;
@@ -1014,14 +1014,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1014
1014
  } | {
1015
1015
  output: {
1016
1016
  error: {
1017
- code: "api_key_invalid" | "api_key_missing";
1017
+ code: "query_invalid";
1018
1018
  details?: readonly Response.error.Detail[] | undefined;
1019
1019
  message: string;
1020
1020
  };
1021
1021
  requestId: string;
1022
1022
  };
1023
1023
  outputFormat: "json";
1024
- status: 401;
1024
+ status: 400;
1025
1025
  input: {
1026
1026
  param: {
1027
1027
  token: `0x${string}`;
@@ -1035,14 +1035,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1035
1035
  } | {
1036
1036
  output: {
1037
1037
  error: {
1038
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1038
+ code: "api_key_malformed";
1039
1039
  details?: readonly Response.error.Detail[] | undefined;
1040
1040
  message: string;
1041
1041
  };
1042
1042
  requestId: string;
1043
1043
  };
1044
1044
  outputFormat: "json";
1045
- status: 403;
1045
+ status: 400;
1046
1046
  input: {
1047
1047
  param: {
1048
1048
  token: `0x${string}`;
@@ -1056,14 +1056,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1056
1056
  } | {
1057
1057
  output: {
1058
1058
  error: {
1059
- code: "payment_required" | "rate_limit_exceeded";
1059
+ code: "api_key_invalid" | "api_key_missing";
1060
1060
  details?: readonly Response.error.Detail[] | undefined;
1061
1061
  message: string;
1062
1062
  };
1063
1063
  requestId: string;
1064
1064
  };
1065
1065
  outputFormat: "json";
1066
- status: 429;
1066
+ status: 401;
1067
1067
  input: {
1068
1068
  param: {
1069
1069
  token: `0x${string}`;
@@ -1077,14 +1077,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1077
1077
  } | {
1078
1078
  output: {
1079
1079
  error: {
1080
- code: "query_invalid";
1080
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1081
1081
  details?: readonly Response.error.Detail[] | undefined;
1082
1082
  message: string;
1083
1083
  };
1084
1084
  requestId: string;
1085
1085
  };
1086
1086
  outputFormat: "json";
1087
- status: 400;
1087
+ status: 403;
1088
1088
  input: {
1089
1089
  param: {
1090
1090
  token: `0x${string}`;
@@ -1098,14 +1098,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1098
1098
  } | {
1099
1099
  output: {
1100
1100
  error: {
1101
- code: "upstream_error";
1101
+ code: "payment_required" | "rate_limit_exceeded";
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: 502;
1108
+ status: 429;
1109
1109
  input: {
1110
1110
  param: {
1111
1111
  token: `0x${string}`;
@@ -1224,14 +1224,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1224
1224
  } | {
1225
1225
  output: {
1226
1226
  error: {
1227
- code: "api_key_malformed";
1227
+ code: "upstream_error";
1228
1228
  details?: readonly Response.error.Detail[] | undefined;
1229
1229
  message: string;
1230
1230
  };
1231
1231
  requestId: string;
1232
1232
  };
1233
1233
  outputFormat: "json";
1234
- status: 400;
1234
+ status: 502;
1235
1235
  input: {
1236
1236
  param: {
1237
1237
  token: `0x${string}`;
@@ -1244,14 +1244,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1244
1244
  } | {
1245
1245
  output: {
1246
1246
  error: {
1247
- code: "api_key_invalid" | "api_key_missing";
1247
+ code: "query_invalid";
1248
1248
  details?: readonly Response.error.Detail[] | undefined;
1249
1249
  message: string;
1250
1250
  };
1251
1251
  requestId: string;
1252
1252
  };
1253
1253
  outputFormat: "json";
1254
- status: 401;
1254
+ status: 400;
1255
1255
  input: {
1256
1256
  param: {
1257
1257
  token: `0x${string}`;
@@ -1264,14 +1264,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1264
1264
  } | {
1265
1265
  output: {
1266
1266
  error: {
1267
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1267
+ code: "api_key_malformed";
1268
1268
  details?: readonly Response.error.Detail[] | undefined;
1269
1269
  message: string;
1270
1270
  };
1271
1271
  requestId: string;
1272
1272
  };
1273
1273
  outputFormat: "json";
1274
- status: 403;
1274
+ status: 400;
1275
1275
  input: {
1276
1276
  param: {
1277
1277
  token: `0x${string}`;
@@ -1284,14 +1284,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1284
1284
  } | {
1285
1285
  output: {
1286
1286
  error: {
1287
- code: "payment_required" | "rate_limit_exceeded";
1287
+ code: "api_key_invalid" | "api_key_missing";
1288
1288
  details?: readonly Response.error.Detail[] | undefined;
1289
1289
  message: string;
1290
1290
  };
1291
1291
  requestId: string;
1292
1292
  };
1293
1293
  outputFormat: "json";
1294
- status: 429;
1294
+ status: 401;
1295
1295
  input: {
1296
1296
  param: {
1297
1297
  token: `0x${string}`;
@@ -1304,14 +1304,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1304
1304
  } | {
1305
1305
  output: {
1306
1306
  error: {
1307
- code: "query_invalid";
1307
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1308
1308
  details?: readonly Response.error.Detail[] | undefined;
1309
1309
  message: string;
1310
1310
  };
1311
1311
  requestId: string;
1312
1312
  };
1313
1313
  outputFormat: "json";
1314
- status: 400;
1314
+ status: 403;
1315
1315
  input: {
1316
1316
  param: {
1317
1317
  token: `0x${string}`;
@@ -1324,14 +1324,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1324
1324
  } | {
1325
1325
  output: {
1326
1326
  error: {
1327
- code: "upstream_error";
1327
+ code: "payment_required" | "rate_limit_exceeded";
1328
1328
  details?: readonly Response.error.Detail[] | undefined;
1329
1329
  message: string;
1330
1330
  };
1331
1331
  requestId: string;
1332
1332
  };
1333
1333
  outputFormat: "json";
1334
- status: 502;
1334
+ status: 429;
1335
1335
  input: {
1336
1336
  param: {
1337
1337
  token: `0x${string}`;
@@ -1405,14 +1405,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1405
1405
  } | {
1406
1406
  output: {
1407
1407
  error: {
1408
- code: "api_key_malformed";
1408
+ code: "upstream_error";
1409
1409
  details?: readonly Response.error.Detail[] | undefined;
1410
1410
  message: string;
1411
1411
  };
1412
1412
  requestId: string;
1413
1413
  };
1414
1414
  outputFormat: "json";
1415
- status: 400;
1415
+ status: 502;
1416
1416
  input: {
1417
1417
  param: {
1418
1418
  token: `0x${string}`;
@@ -1429,14 +1429,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1429
1429
  } | {
1430
1430
  output: {
1431
1431
  error: {
1432
- code: "api_key_invalid" | "api_key_missing";
1432
+ code: "query_invalid";
1433
1433
  details?: readonly Response.error.Detail[] | undefined;
1434
1434
  message: string;
1435
1435
  };
1436
1436
  requestId: string;
1437
1437
  };
1438
1438
  outputFormat: "json";
1439
- status: 401;
1439
+ status: 400;
1440
1440
  input: {
1441
1441
  param: {
1442
1442
  token: `0x${string}`;
@@ -1453,14 +1453,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1453
1453
  } | {
1454
1454
  output: {
1455
1455
  error: {
1456
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1456
+ code: "api_key_malformed";
1457
1457
  details?: readonly Response.error.Detail[] | undefined;
1458
1458
  message: string;
1459
1459
  };
1460
1460
  requestId: string;
1461
1461
  };
1462
1462
  outputFormat: "json";
1463
- status: 403;
1463
+ status: 400;
1464
1464
  input: {
1465
1465
  param: {
1466
1466
  token: `0x${string}`;
@@ -1477,14 +1477,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1477
1477
  } | {
1478
1478
  output: {
1479
1479
  error: {
1480
- code: "payment_required" | "rate_limit_exceeded";
1480
+ code: "api_key_invalid" | "api_key_missing";
1481
1481
  details?: readonly Response.error.Detail[] | undefined;
1482
1482
  message: string;
1483
1483
  };
1484
1484
  requestId: string;
1485
1485
  };
1486
1486
  outputFormat: "json";
1487
- status: 429;
1487
+ status: 401;
1488
1488
  input: {
1489
1489
  param: {
1490
1490
  token: `0x${string}`;
@@ -1501,14 +1501,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1501
1501
  } | {
1502
1502
  output: {
1503
1503
  error: {
1504
- code: "query_invalid";
1504
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1505
1505
  details?: readonly Response.error.Detail[] | undefined;
1506
1506
  message: string;
1507
1507
  };
1508
1508
  requestId: string;
1509
1509
  };
1510
1510
  outputFormat: "json";
1511
- status: 400;
1511
+ status: 403;
1512
1512
  input: {
1513
1513
  param: {
1514
1514
  token: `0x${string}`;
@@ -1525,14 +1525,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1525
1525
  } | {
1526
1526
  output: {
1527
1527
  error: {
1528
- code: "upstream_error";
1528
+ code: "payment_required" | "rate_limit_exceeded";
1529
1529
  details?: readonly Response.error.Detail[] | undefined;
1530
1530
  message: string;
1531
1531
  };
1532
1532
  requestId: string;
1533
1533
  };
1534
1534
  outputFormat: "json";
1535
- status: 502;
1535
+ status: 429;
1536
1536
  input: {
1537
1537
  param: {
1538
1538
  token: `0x${string}`;
@@ -1639,14 +1639,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1639
1639
  } | {
1640
1640
  output: {
1641
1641
  error: {
1642
- code: "api_key_malformed";
1642
+ code: "upstream_error";
1643
1643
  details?: readonly Response.error.Detail[] | undefined;
1644
1644
  message: string;
1645
1645
  };
1646
1646
  requestId: string;
1647
1647
  };
1648
1648
  outputFormat: "json";
1649
- status: 400;
1649
+ status: 502;
1650
1650
  input: {
1651
1651
  param: {
1652
1652
  token: `0x${string}`;
@@ -1670,14 +1670,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1670
1670
  } | {
1671
1671
  output: {
1672
1672
  error: {
1673
- code: "api_key_invalid" | "api_key_missing";
1673
+ code: "query_invalid";
1674
1674
  details?: readonly Response.error.Detail[] | undefined;
1675
1675
  message: string;
1676
1676
  };
1677
1677
  requestId: string;
1678
1678
  };
1679
1679
  outputFormat: "json";
1680
- status: 401;
1680
+ status: 400;
1681
1681
  input: {
1682
1682
  param: {
1683
1683
  token: `0x${string}`;
@@ -1701,14 +1701,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1701
1701
  } | {
1702
1702
  output: {
1703
1703
  error: {
1704
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1704
+ code: "api_key_malformed";
1705
1705
  details?: readonly Response.error.Detail[] | undefined;
1706
1706
  message: string;
1707
1707
  };
1708
1708
  requestId: string;
1709
1709
  };
1710
1710
  outputFormat: "json";
1711
- status: 403;
1711
+ status: 400;
1712
1712
  input: {
1713
1713
  param: {
1714
1714
  token: `0x${string}`;
@@ -1732,14 +1732,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1732
1732
  } | {
1733
1733
  output: {
1734
1734
  error: {
1735
- code: "payment_required" | "rate_limit_exceeded";
1735
+ code: "api_key_invalid" | "api_key_missing";
1736
1736
  details?: readonly Response.error.Detail[] | undefined;
1737
1737
  message: string;
1738
1738
  };
1739
1739
  requestId: string;
1740
1740
  };
1741
1741
  outputFormat: "json";
1742
- status: 429;
1742
+ status: 401;
1743
1743
  input: {
1744
1744
  param: {
1745
1745
  token: `0x${string}`;
@@ -1763,14 +1763,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1763
1763
  } | {
1764
1764
  output: {
1765
1765
  error: {
1766
- code: "query_invalid";
1766
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1767
1767
  details?: readonly Response.error.Detail[] | undefined;
1768
1768
  message: string;
1769
1769
  };
1770
1770
  requestId: string;
1771
1771
  };
1772
1772
  outputFormat: "json";
1773
- status: 400;
1773
+ status: 403;
1774
1774
  input: {
1775
1775
  param: {
1776
1776
  token: `0x${string}`;
@@ -1794,14 +1794,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1794
1794
  } | {
1795
1795
  output: {
1796
1796
  error: {
1797
- code: "upstream_error";
1797
+ code: "payment_required" | "rate_limit_exceeded";
1798
1798
  details?: readonly Response.error.Detail[] | undefined;
1799
1799
  message: string;
1800
1800
  };
1801
1801
  requestId: string;
1802
1802
  };
1803
1803
  outputFormat: "json";
1804
- status: 502;
1804
+ status: 429;
1805
1805
  input: {
1806
1806
  param: {
1807
1807
  token: `0x${string}`;