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
@@ -40,7 +40,7 @@ export declare namespace schema {
40
40
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
41
41
  mainnet: "mainnet";
42
42
  testnet: "testnet";
43
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
43
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
44
44
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
45
45
  "token.logoUri": "token.logoUri";
46
46
  "token.verified": "token.verified";
@@ -74,7 +74,7 @@ export declare namespace schema {
74
74
  chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
75
75
  mainnet: "mainnet";
76
76
  testnet: "testnet";
77
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
77
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>;
78
78
  }, z.core.$strip>;
79
79
  /** Response-level valuation rate provenance. */
80
80
  const Meta: z.ZodMiniObject<{
@@ -175,7 +175,7 @@ export declare namespace schema {
175
175
  chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
176
176
  mainnet: "mainnet";
177
177
  testnet: "testnet";
178
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
178
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>;
179
179
  }, z.core.$strip>;
180
180
  destinationAmount: z.ZodMiniObject<{
181
181
  baseUnits: z.ZodMiniString<string>;
@@ -383,7 +383,7 @@ export declare namespace schema {
383
383
  chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
384
384
  mainnet: "mainnet";
385
385
  testnet: "testnet";
386
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
386
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>;
387
387
  }, z.core.$strip>;
388
388
  destinationAmount: z.ZodMiniObject<{
389
389
  baseUnits: z.ZodMiniString<string>;
@@ -534,7 +534,7 @@ export declare namespace schema {
534
534
  chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
535
535
  mainnet: "mainnet";
536
536
  testnet: "testnet";
537
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
537
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>;
538
538
  }, z.core.$strip>;
539
539
  }, z.core.$strip>;
540
540
  }
@@ -563,7 +563,7 @@ export declare namespace schema {
563
563
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
564
564
  mainnet: "mainnet";
565
565
  testnet: "testnet";
566
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
566
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
567
567
  cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
568
568
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
569
569
  tokens: "tokens";
@@ -668,7 +668,7 @@ export declare namespace schema {
668
668
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
669
669
  mainnet: "mainnet";
670
670
  testnet: "testnet";
671
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
671
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
672
672
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
673
673
  tokens: "tokens";
674
674
  }>>>;
@@ -720,7 +720,7 @@ export declare namespace schema {
720
720
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
721
721
  mainnet: "mainnet";
722
722
  testnet: "testnet";
723
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
723
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
724
724
  cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
725
725
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
726
726
  "token.logoUri": "token.logoUri";
@@ -1067,7 +1067,7 @@ export declare namespace schema {
1067
1067
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
1068
1068
  mainnet: "mainnet";
1069
1069
  testnet: "testnet";
1070
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
1070
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
1071
1071
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
1072
1072
  tokens: "tokens";
1073
1073
  }>>>;
@@ -1211,7 +1211,7 @@ export declare namespace schema {
1211
1211
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
1212
1212
  mainnet: "mainnet";
1213
1213
  testnet: "testnet";
1214
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
1214
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
1215
1215
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
1216
1216
  tokens: "tokens";
1217
1217
  }>>>;
@@ -1290,7 +1290,7 @@ export declare namespace schema {
1290
1290
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
1291
1291
  mainnet: "mainnet";
1292
1292
  testnet: "testnet";
1293
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
1293
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
1294
1294
  cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
1295
1295
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
1296
1296
  tokens: "tokens";
@@ -1438,7 +1438,7 @@ export declare namespace schema {
1438
1438
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
1439
1439
  mainnet: "mainnet";
1440
1440
  testnet: "testnet";
1441
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
1441
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
1442
1442
  cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
1443
1443
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
1444
1444
  totalCount: "totalCount";
@@ -1515,7 +1515,7 @@ export declare namespace schema {
1515
1515
  chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
1516
1516
  mainnet: "mainnet";
1517
1517
  testnet: "testnet";
1518
- }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
1518
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
1519
1519
  include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
1520
1520
  tokens: "tokens";
1521
1521
  }>>>;
@@ -1611,14 +1611,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1611
1611
  } | {
1612
1612
  output: {
1613
1613
  error: {
1614
- code: "upstream_error";
1614
+ code: "api_key_malformed";
1615
1615
  details?: readonly Response.error.Detail[] | undefined;
1616
1616
  message: string;
1617
1617
  };
1618
1618
  requestId: string;
1619
1619
  };
1620
1620
  outputFormat: "json";
1621
- status: 502;
1621
+ status: 400;
1622
1622
  input: {
1623
1623
  query?: {
1624
1624
  chainId?: string | string[];
@@ -1638,14 +1638,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1638
1638
  } | {
1639
1639
  output: {
1640
1640
  error: {
1641
- code: "query_invalid";
1641
+ code: "api_key_invalid" | "api_key_missing";
1642
1642
  details?: readonly Response.error.Detail[] | undefined;
1643
1643
  message: string;
1644
1644
  };
1645
1645
  requestId: string;
1646
1646
  };
1647
1647
  outputFormat: "json";
1648
- status: 400;
1648
+ status: 401;
1649
1649
  input: {
1650
1650
  query?: {
1651
1651
  chainId?: string | string[];
@@ -1665,14 +1665,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1665
1665
  } | {
1666
1666
  output: {
1667
1667
  error: {
1668
- code: "api_key_malformed";
1668
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1669
1669
  details?: readonly Response.error.Detail[] | undefined;
1670
1670
  message: string;
1671
1671
  };
1672
1672
  requestId: string;
1673
1673
  };
1674
1674
  outputFormat: "json";
1675
- status: 400;
1675
+ status: 403;
1676
1676
  input: {
1677
1677
  query?: {
1678
1678
  chainId?: string | string[];
@@ -1692,14 +1692,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1692
1692
  } | {
1693
1693
  output: {
1694
1694
  error: {
1695
- code: "api_key_invalid" | "api_key_missing";
1695
+ code: "payment_required" | "rate_limit_exceeded";
1696
1696
  details?: readonly Response.error.Detail[] | undefined;
1697
1697
  message: string;
1698
1698
  };
1699
1699
  requestId: string;
1700
1700
  };
1701
1701
  outputFormat: "json";
1702
- status: 401;
1702
+ status: 429;
1703
1703
  input: {
1704
1704
  query?: {
1705
1705
  chainId?: string | string[];
@@ -1719,14 +1719,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1719
1719
  } | {
1720
1720
  output: {
1721
1721
  error: {
1722
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1722
+ code: "query_invalid";
1723
1723
  details?: readonly Response.error.Detail[] | undefined;
1724
1724
  message: string;
1725
1725
  };
1726
1726
  requestId: string;
1727
1727
  };
1728
1728
  outputFormat: "json";
1729
- status: 403;
1729
+ status: 400;
1730
1730
  input: {
1731
1731
  query?: {
1732
1732
  chainId?: string | string[];
@@ -1746,14 +1746,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1746
1746
  } | {
1747
1747
  output: {
1748
1748
  error: {
1749
- code: "payment_required" | "rate_limit_exceeded";
1749
+ code: "upstream_error";
1750
1750
  details?: readonly Response.error.Detail[] | undefined;
1751
1751
  message: string;
1752
1752
  };
1753
1753
  requestId: string;
1754
1754
  };
1755
1755
  outputFormat: "json";
1756
- status: 429;
1756
+ status: 502;
1757
1757
  input: {
1758
1758
  query?: {
1759
1759
  chainId?: string | string[];
@@ -2317,14 +2317,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2317
2317
  } | {
2318
2318
  output: {
2319
2319
  error: {
2320
- code: "upstream_error";
2320
+ code: "api_key_malformed";
2321
2321
  details?: readonly Response.error.Detail[] | undefined;
2322
2322
  message: string;
2323
2323
  };
2324
2324
  requestId: string;
2325
2325
  };
2326
2326
  outputFormat: "json";
2327
- status: 502;
2327
+ status: 400;
2328
2328
  input: {
2329
2329
  query?: {
2330
2330
  chainId?: string | string[];
@@ -2344,14 +2344,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2344
2344
  } | {
2345
2345
  output: {
2346
2346
  error: {
2347
- code: "query_invalid";
2347
+ code: "api_key_invalid" | "api_key_missing";
2348
2348
  details?: readonly Response.error.Detail[] | undefined;
2349
2349
  message: string;
2350
2350
  };
2351
2351
  requestId: string;
2352
2352
  };
2353
2353
  outputFormat: "json";
2354
- status: 400;
2354
+ status: 401;
2355
2355
  input: {
2356
2356
  query?: {
2357
2357
  chainId?: string | string[];
@@ -2371,14 +2371,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2371
2371
  } | {
2372
2372
  output: {
2373
2373
  error: {
2374
- code: "api_key_malformed";
2374
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2375
2375
  details?: readonly Response.error.Detail[] | undefined;
2376
2376
  message: string;
2377
2377
  };
2378
2378
  requestId: string;
2379
2379
  };
2380
2380
  outputFormat: "json";
2381
- status: 400;
2381
+ status: 403;
2382
2382
  input: {
2383
2383
  query?: {
2384
2384
  chainId?: string | string[];
@@ -2398,14 +2398,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2398
2398
  } | {
2399
2399
  output: {
2400
2400
  error: {
2401
- code: "api_key_invalid" | "api_key_missing";
2401
+ code: "payment_required" | "rate_limit_exceeded";
2402
2402
  details?: readonly Response.error.Detail[] | undefined;
2403
2403
  message: string;
2404
2404
  };
2405
2405
  requestId: string;
2406
2406
  };
2407
2407
  outputFormat: "json";
2408
- status: 401;
2408
+ status: 429;
2409
2409
  input: {
2410
2410
  query?: {
2411
2411
  chainId?: string | string[];
@@ -2425,14 +2425,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2425
2425
  } | {
2426
2426
  output: {
2427
2427
  error: {
2428
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2428
+ code: "query_invalid";
2429
2429
  details?: readonly Response.error.Detail[] | undefined;
2430
2430
  message: string;
2431
2431
  };
2432
2432
  requestId: string;
2433
2433
  };
2434
2434
  outputFormat: "json";
2435
- status: 403;
2435
+ status: 400;
2436
2436
  input: {
2437
2437
  query?: {
2438
2438
  chainId?: string | string[];
@@ -2452,14 +2452,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2452
2452
  } | {
2453
2453
  output: {
2454
2454
  error: {
2455
- code: "payment_required" | "rate_limit_exceeded";
2455
+ code: "upstream_error";
2456
2456
  details?: readonly Response.error.Detail[] | undefined;
2457
2457
  message: string;
2458
2458
  };
2459
2459
  requestId: string;
2460
2460
  };
2461
2461
  outputFormat: "json";
2462
- status: 429;
2462
+ status: 502;
2463
2463
  input: {
2464
2464
  query?: {
2465
2465
  chainId?: string | string[];
@@ -3024,14 +3024,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3024
3024
  } | {
3025
3025
  output: {
3026
3026
  error: {
3027
- code: "upstream_error";
3027
+ code: "api_key_malformed";
3028
3028
  details?: readonly Response.error.Detail[] | undefined;
3029
3029
  message: string;
3030
3030
  };
3031
3031
  requestId: string;
3032
3032
  };
3033
3033
  outputFormat: "json";
3034
- status: 502;
3034
+ status: 400;
3035
3035
  input: {
3036
3036
  query?: {
3037
3037
  chainId?: string | string[];
@@ -3049,14 +3049,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3049
3049
  } | {
3050
3050
  output: {
3051
3051
  error: {
3052
- code: "query_invalid";
3052
+ code: "api_key_invalid" | "api_key_missing";
3053
3053
  details?: readonly Response.error.Detail[] | undefined;
3054
3054
  message: string;
3055
3055
  };
3056
3056
  requestId: string;
3057
3057
  };
3058
3058
  outputFormat: "json";
3059
- status: 400;
3059
+ status: 401;
3060
3060
  input: {
3061
3061
  query?: {
3062
3062
  chainId?: string | string[];
@@ -3074,14 +3074,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3074
3074
  } | {
3075
3075
  output: {
3076
3076
  error: {
3077
- code: "api_key_malformed";
3077
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3078
3078
  details?: readonly Response.error.Detail[] | undefined;
3079
3079
  message: string;
3080
3080
  };
3081
3081
  requestId: string;
3082
3082
  };
3083
3083
  outputFormat: "json";
3084
- status: 400;
3084
+ status: 403;
3085
3085
  input: {
3086
3086
  query?: {
3087
3087
  chainId?: string | string[];
@@ -3099,14 +3099,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3099
3099
  } | {
3100
3100
  output: {
3101
3101
  error: {
3102
- code: "api_key_invalid" | "api_key_missing";
3102
+ code: "payment_required" | "rate_limit_exceeded";
3103
3103
  details?: readonly Response.error.Detail[] | undefined;
3104
3104
  message: string;
3105
3105
  };
3106
3106
  requestId: string;
3107
3107
  };
3108
3108
  outputFormat: "json";
3109
- status: 401;
3109
+ status: 429;
3110
3110
  input: {
3111
3111
  query?: {
3112
3112
  chainId?: string | string[];
@@ -3124,14 +3124,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3124
3124
  } | {
3125
3125
  output: {
3126
3126
  error: {
3127
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3127
+ code: "query_invalid";
3128
3128
  details?: readonly Response.error.Detail[] | undefined;
3129
3129
  message: string;
3130
3130
  };
3131
3131
  requestId: string;
3132
3132
  };
3133
3133
  outputFormat: "json";
3134
- status: 403;
3134
+ status: 400;
3135
3135
  input: {
3136
3136
  query?: {
3137
3137
  chainId?: string | string[];
@@ -3149,14 +3149,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3149
3149
  } | {
3150
3150
  output: {
3151
3151
  error: {
3152
- code: "payment_required" | "rate_limit_exceeded";
3152
+ code: "upstream_error";
3153
3153
  details?: readonly Response.error.Detail[] | undefined;
3154
3154
  message: string;
3155
3155
  };
3156
3156
  requestId: string;
3157
3157
  };
3158
3158
  outputFormat: "json";
3159
- status: 429;
3159
+ status: 502;
3160
3160
  input: {
3161
3161
  query?: {
3162
3162
  chainId?: string | string[];
@@ -3303,14 +3303,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3303
3303
  } | {
3304
3304
  output: {
3305
3305
  error: {
3306
- code: "upstream_error";
3306
+ code: "api_key_malformed";
3307
3307
  details?: readonly Response.error.Detail[] | undefined;
3308
3308
  message: string;
3309
3309
  };
3310
3310
  requestId: string;
3311
3311
  };
3312
3312
  outputFormat: "json";
3313
- status: 502;
3313
+ status: 400;
3314
3314
  input: {
3315
3315
  query?: {
3316
3316
  'blockNumber.from'?: string | string[];
@@ -3332,14 +3332,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3332
3332
  } | {
3333
3333
  output: {
3334
3334
  error: {
3335
- code: "query_invalid";
3335
+ code: "api_key_invalid" | "api_key_missing";
3336
3336
  details?: readonly Response.error.Detail[] | undefined;
3337
3337
  message: string;
3338
3338
  };
3339
3339
  requestId: string;
3340
3340
  };
3341
3341
  outputFormat: "json";
3342
- status: 400;
3342
+ status: 401;
3343
3343
  input: {
3344
3344
  query?: {
3345
3345
  'blockNumber.from'?: string | string[];
@@ -3361,14 +3361,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3361
3361
  } | {
3362
3362
  output: {
3363
3363
  error: {
3364
- code: "api_key_malformed";
3364
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3365
3365
  details?: readonly Response.error.Detail[] | undefined;
3366
3366
  message: string;
3367
3367
  };
3368
3368
  requestId: string;
3369
3369
  };
3370
3370
  outputFormat: "json";
3371
- status: 400;
3371
+ status: 403;
3372
3372
  input: {
3373
3373
  query?: {
3374
3374
  'blockNumber.from'?: string | string[];
@@ -3390,14 +3390,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3390
3390
  } | {
3391
3391
  output: {
3392
3392
  error: {
3393
- code: "api_key_invalid" | "api_key_missing";
3393
+ code: "payment_required" | "rate_limit_exceeded";
3394
3394
  details?: readonly Response.error.Detail[] | undefined;
3395
3395
  message: string;
3396
3396
  };
3397
3397
  requestId: string;
3398
3398
  };
3399
3399
  outputFormat: "json";
3400
- status: 401;
3400
+ status: 429;
3401
3401
  input: {
3402
3402
  query?: {
3403
3403
  'blockNumber.from'?: string | string[];
@@ -3419,14 +3419,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3419
3419
  } | {
3420
3420
  output: {
3421
3421
  error: {
3422
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3422
+ code: "query_invalid";
3423
3423
  details?: readonly Response.error.Detail[] | undefined;
3424
3424
  message: string;
3425
3425
  };
3426
3426
  requestId: string;
3427
3427
  };
3428
3428
  outputFormat: "json";
3429
- status: 403;
3429
+ status: 400;
3430
3430
  input: {
3431
3431
  query?: {
3432
3432
  'blockNumber.from'?: string | string[];
@@ -3448,14 +3448,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3448
3448
  } | {
3449
3449
  output: {
3450
3450
  error: {
3451
- code: "payment_required" | "rate_limit_exceeded";
3451
+ code: "upstream_error";
3452
3452
  details?: readonly Response.error.Detail[] | undefined;
3453
3453
  message: string;
3454
3454
  };
3455
3455
  requestId: string;
3456
3456
  };
3457
3457
  outputFormat: "json";
3458
- status: 429;
3458
+ status: 502;
3459
3459
  input: {
3460
3460
  query?: {
3461
3461
  'blockNumber.from'?: string | string[];
@@ -3621,14 +3621,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3621
3621
  } | {
3622
3622
  output: {
3623
3623
  error: {
3624
- code: "upstream_error";
3624
+ code: "api_key_malformed";
3625
3625
  details?: readonly Response.error.Detail[] | undefined;
3626
3626
  message: string;
3627
3627
  };
3628
3628
  requestId: string;
3629
3629
  };
3630
3630
  outputFormat: "json";
3631
- status: 502;
3631
+ status: 400;
3632
3632
  input: {
3633
3633
  query?: {
3634
3634
  chainId?: string | string[];
@@ -3643,14 +3643,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3643
3643
  } | {
3644
3644
  output: {
3645
3645
  error: {
3646
- code: "query_invalid";
3646
+ code: "api_key_invalid" | "api_key_missing";
3647
3647
  details?: readonly Response.error.Detail[] | undefined;
3648
3648
  message: string;
3649
3649
  };
3650
3650
  requestId: string;
3651
3651
  };
3652
3652
  outputFormat: "json";
3653
- status: 400;
3653
+ status: 401;
3654
3654
  input: {
3655
3655
  query?: {
3656
3656
  chainId?: string | string[];
@@ -3665,14 +3665,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3665
3665
  } | {
3666
3666
  output: {
3667
3667
  error: {
3668
- code: "api_key_malformed";
3668
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3669
3669
  details?: readonly Response.error.Detail[] | undefined;
3670
3670
  message: string;
3671
3671
  };
3672
3672
  requestId: string;
3673
3673
  };
3674
3674
  outputFormat: "json";
3675
- status: 400;
3675
+ status: 403;
3676
3676
  input: {
3677
3677
  query?: {
3678
3678
  chainId?: string | string[];
@@ -3687,14 +3687,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3687
3687
  } | {
3688
3688
  output: {
3689
3689
  error: {
3690
- code: "api_key_invalid" | "api_key_missing";
3690
+ code: "payment_required" | "rate_limit_exceeded";
3691
3691
  details?: readonly Response.error.Detail[] | undefined;
3692
3692
  message: string;
3693
3693
  };
3694
3694
  requestId: string;
3695
3695
  };
3696
3696
  outputFormat: "json";
3697
- status: 401;
3697
+ status: 429;
3698
3698
  input: {
3699
3699
  query?: {
3700
3700
  chainId?: string | string[];
@@ -3709,14 +3709,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3709
3709
  } | {
3710
3710
  output: {
3711
3711
  error: {
3712
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3712
+ code: "query_invalid";
3713
3713
  details?: readonly Response.error.Detail[] | undefined;
3714
3714
  message: string;
3715
3715
  };
3716
3716
  requestId: string;
3717
3717
  };
3718
3718
  outputFormat: "json";
3719
- status: 403;
3719
+ status: 400;
3720
3720
  input: {
3721
3721
  query?: {
3722
3722
  chainId?: string | string[];
@@ -3731,14 +3731,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3731
3731
  } | {
3732
3732
  output: {
3733
3733
  error: {
3734
- code: "payment_required" | "rate_limit_exceeded";
3734
+ code: "upstream_error";
3735
3735
  details?: readonly Response.error.Detail[] | undefined;
3736
3736
  message: string;
3737
3737
  };
3738
3738
  requestId: string;
3739
3739
  };
3740
3740
  outputFormat: "json";
3741
- status: 429;
3741
+ status: 502;
3742
3742
  input: {
3743
3743
  query?: {
3744
3744
  chainId?: string | string[];
@@ -3818,14 +3818,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3818
3818
  } | {
3819
3819
  output: {
3820
3820
  error: {
3821
- code: "upstream_error";
3821
+ code: "api_key_malformed";
3822
3822
  details?: readonly Response.error.Detail[] | undefined;
3823
3823
  message: string;
3824
3824
  };
3825
3825
  requestId: string;
3826
3826
  };
3827
3827
  outputFormat: "json";
3828
- status: 502;
3828
+ status: 400;
3829
3829
  input: {
3830
3830
  param: {
3831
3831
  base: `0x${string}`;
@@ -3839,14 +3839,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3839
3839
  } | {
3840
3840
  output: {
3841
3841
  error: {
3842
- code: "query_invalid";
3842
+ code: "api_key_invalid" | "api_key_missing";
3843
3843
  details?: readonly Response.error.Detail[] | undefined;
3844
3844
  message: string;
3845
3845
  };
3846
3846
  requestId: string;
3847
3847
  };
3848
3848
  outputFormat: "json";
3849
- status: 400;
3849
+ status: 401;
3850
3850
  input: {
3851
3851
  param: {
3852
3852
  base: `0x${string}`;
@@ -3860,14 +3860,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3860
3860
  } | {
3861
3861
  output: {
3862
3862
  error: {
3863
- code: "api_key_malformed";
3863
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3864
3864
  details?: readonly Response.error.Detail[] | undefined;
3865
3865
  message: string;
3866
3866
  };
3867
3867
  requestId: string;
3868
3868
  };
3869
3869
  outputFormat: "json";
3870
- status: 400;
3870
+ status: 403;
3871
3871
  input: {
3872
3872
  param: {
3873
3873
  base: `0x${string}`;
@@ -3881,14 +3881,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3881
3881
  } | {
3882
3882
  output: {
3883
3883
  error: {
3884
- code: "api_key_invalid" | "api_key_missing";
3884
+ code: "payment_required" | "rate_limit_exceeded";
3885
3885
  details?: readonly Response.error.Detail[] | undefined;
3886
3886
  message: string;
3887
3887
  };
3888
3888
  requestId: string;
3889
3889
  };
3890
3890
  outputFormat: "json";
3891
- status: 401;
3891
+ status: 429;
3892
3892
  input: {
3893
3893
  param: {
3894
3894
  base: `0x${string}`;
@@ -3902,14 +3902,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3902
3902
  } | {
3903
3903
  output: {
3904
3904
  error: {
3905
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3905
+ code: "query_invalid";
3906
3906
  details?: readonly Response.error.Detail[] | undefined;
3907
3907
  message: string;
3908
3908
  };
3909
3909
  requestId: string;
3910
3910
  };
3911
3911
  outputFormat: "json";
3912
- status: 403;
3912
+ status: 400;
3913
3913
  input: {
3914
3914
  param: {
3915
3915
  base: `0x${string}`;
@@ -3923,14 +3923,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3923
3923
  } | {
3924
3924
  output: {
3925
3925
  error: {
3926
- code: "payment_required" | "rate_limit_exceeded";
3926
+ code: "upstream_error";
3927
3927
  details?: readonly Response.error.Detail[] | undefined;
3928
3928
  message: string;
3929
3929
  };
3930
3930
  requestId: string;
3931
3931
  };
3932
3932
  outputFormat: "json";
3933
- status: 429;
3933
+ status: 502;
3934
3934
  input: {
3935
3935
  param: {
3936
3936
  base: `0x${string}`;
@@ -4047,14 +4047,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4047
4047
  } | {
4048
4048
  output: {
4049
4049
  error: {
4050
- code: "upstream_error";
4050
+ code: "api_key_malformed";
4051
4051
  details?: readonly Response.error.Detail[] | undefined;
4052
4052
  message: string;
4053
4053
  };
4054
4054
  requestId: string;
4055
4055
  };
4056
4056
  outputFormat: "json";
4057
- status: 502;
4057
+ status: 400;
4058
4058
  input: {
4059
4059
  query?: {
4060
4060
  base?: string | string[];
@@ -4072,14 +4072,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4072
4072
  } | {
4073
4073
  output: {
4074
4074
  error: {
4075
- code: "query_invalid";
4075
+ code: "api_key_invalid" | "api_key_missing";
4076
4076
  details?: readonly Response.error.Detail[] | undefined;
4077
4077
  message: string;
4078
4078
  };
4079
4079
  requestId: string;
4080
4080
  };
4081
4081
  outputFormat: "json";
4082
- status: 400;
4082
+ status: 401;
4083
4083
  input: {
4084
4084
  query?: {
4085
4085
  base?: string | string[];
@@ -4097,14 +4097,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4097
4097
  } | {
4098
4098
  output: {
4099
4099
  error: {
4100
- code: "api_key_malformed";
4100
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4101
4101
  details?: readonly Response.error.Detail[] | undefined;
4102
4102
  message: string;
4103
4103
  };
4104
4104
  requestId: string;
4105
4105
  };
4106
4106
  outputFormat: "json";
4107
- status: 400;
4107
+ status: 403;
4108
4108
  input: {
4109
4109
  query?: {
4110
4110
  base?: string | string[];
@@ -4122,14 +4122,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4122
4122
  } | {
4123
4123
  output: {
4124
4124
  error: {
4125
- code: "api_key_invalid" | "api_key_missing";
4125
+ code: "payment_required" | "rate_limit_exceeded";
4126
4126
  details?: readonly Response.error.Detail[] | undefined;
4127
4127
  message: string;
4128
4128
  };
4129
4129
  requestId: string;
4130
4130
  };
4131
4131
  outputFormat: "json";
4132
- status: 401;
4132
+ status: 429;
4133
4133
  input: {
4134
4134
  query?: {
4135
4135
  base?: string | string[];
@@ -4147,14 +4147,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4147
4147
  } | {
4148
4148
  output: {
4149
4149
  error: {
4150
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4150
+ code: "query_invalid";
4151
4151
  details?: readonly Response.error.Detail[] | undefined;
4152
4152
  message: string;
4153
4153
  };
4154
4154
  requestId: string;
4155
4155
  };
4156
4156
  outputFormat: "json";
4157
- status: 403;
4157
+ status: 400;
4158
4158
  input: {
4159
4159
  query?: {
4160
4160
  base?: string | string[];
@@ -4172,14 +4172,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4172
4172
  } | {
4173
4173
  output: {
4174
4174
  error: {
4175
- code: "payment_required" | "rate_limit_exceeded";
4175
+ code: "upstream_error";
4176
4176
  details?: readonly Response.error.Detail[] | undefined;
4177
4177
  message: string;
4178
4178
  };
4179
4179
  requestId: string;
4180
4180
  };
4181
4181
  outputFormat: "json";
4182
- status: 429;
4182
+ status: 502;
4183
4183
  input: {
4184
4184
  query?: {
4185
4185
  base?: string | string[];
@@ -4301,14 +4301,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4301
4301
  } | {
4302
4302
  output: {
4303
4303
  error: {
4304
- code: "upstream_error";
4304
+ code: "api_key_malformed";
4305
4305
  details?: readonly Response.error.Detail[] | undefined;
4306
4306
  message: string;
4307
4307
  };
4308
4308
  requestId: string;
4309
4309
  };
4310
4310
  outputFormat: "json";
4311
- status: 502;
4311
+ status: 400;
4312
4312
  input: {
4313
4313
  param: {
4314
4314
  orderId: string;
@@ -4322,14 +4322,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4322
4322
  } | {
4323
4323
  output: {
4324
4324
  error: {
4325
- code: "query_invalid";
4325
+ code: "api_key_invalid" | "api_key_missing";
4326
4326
  details?: readonly Response.error.Detail[] | undefined;
4327
4327
  message: string;
4328
4328
  };
4329
4329
  requestId: string;
4330
4330
  };
4331
4331
  outputFormat: "json";
4332
- status: 400;
4332
+ status: 401;
4333
4333
  input: {
4334
4334
  param: {
4335
4335
  orderId: string;
@@ -4343,14 +4343,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4343
4343
  } | {
4344
4344
  output: {
4345
4345
  error: {
4346
- code: "api_key_malformed";
4346
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4347
4347
  details?: readonly Response.error.Detail[] | undefined;
4348
4348
  message: string;
4349
4349
  };
4350
4350
  requestId: string;
4351
4351
  };
4352
4352
  outputFormat: "json";
4353
- status: 400;
4353
+ status: 403;
4354
4354
  input: {
4355
4355
  param: {
4356
4356
  orderId: string;
@@ -4364,14 +4364,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4364
4364
  } | {
4365
4365
  output: {
4366
4366
  error: {
4367
- code: "api_key_invalid" | "api_key_missing";
4367
+ code: "payment_required" | "rate_limit_exceeded";
4368
4368
  details?: readonly Response.error.Detail[] | undefined;
4369
4369
  message: string;
4370
4370
  };
4371
4371
  requestId: string;
4372
4372
  };
4373
4373
  outputFormat: "json";
4374
- status: 401;
4374
+ status: 429;
4375
4375
  input: {
4376
4376
  param: {
4377
4377
  orderId: string;
@@ -4385,14 +4385,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4385
4385
  } | {
4386
4386
  output: {
4387
4387
  error: {
4388
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4388
+ code: "query_invalid";
4389
4389
  details?: readonly Response.error.Detail[] | undefined;
4390
4390
  message: string;
4391
4391
  };
4392
4392
  requestId: string;
4393
4393
  };
4394
4394
  outputFormat: "json";
4395
- status: 403;
4395
+ status: 400;
4396
4396
  input: {
4397
4397
  param: {
4398
4398
  orderId: string;
@@ -4406,14 +4406,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4406
4406
  } | {
4407
4407
  output: {
4408
4408
  error: {
4409
- code: "payment_required" | "rate_limit_exceeded";
4409
+ code: "upstream_error";
4410
4410
  details?: readonly Response.error.Detail[] | undefined;
4411
4411
  message: string;
4412
4412
  };
4413
4413
  requestId: string;
4414
4414
  };
4415
4415
  outputFormat: "json";
4416
- status: 429;
4416
+ status: 502;
4417
4417
  input: {
4418
4418
  param: {
4419
4419
  orderId: string;
@@ -4539,14 +4539,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4539
4539
  } | {
4540
4540
  output: {
4541
4541
  error: {
4542
- code: "upstream_error";
4542
+ code: "api_key_malformed";
4543
4543
  details?: readonly Response.error.Detail[] | undefined;
4544
4544
  message: string;
4545
4545
  };
4546
4546
  requestId: string;
4547
4547
  };
4548
4548
  outputFormat: "json";
4549
- status: 502;
4549
+ status: 400;
4550
4550
  input: {
4551
4551
  param: {
4552
4552
  orderId: string;
@@ -4564,14 +4564,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4564
4564
  } | {
4565
4565
  output: {
4566
4566
  error: {
4567
- code: "query_invalid";
4567
+ code: "api_key_invalid" | "api_key_missing";
4568
4568
  details?: readonly Response.error.Detail[] | undefined;
4569
4569
  message: string;
4570
4570
  };
4571
4571
  requestId: string;
4572
4572
  };
4573
4573
  outputFormat: "json";
4574
- status: 400;
4574
+ status: 401;
4575
4575
  input: {
4576
4576
  param: {
4577
4577
  orderId: string;
@@ -4589,14 +4589,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4589
4589
  } | {
4590
4590
  output: {
4591
4591
  error: {
4592
- code: "api_key_malformed";
4592
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4593
4593
  details?: readonly Response.error.Detail[] | undefined;
4594
4594
  message: string;
4595
4595
  };
4596
4596
  requestId: string;
4597
4597
  };
4598
4598
  outputFormat: "json";
4599
- status: 400;
4599
+ status: 403;
4600
4600
  input: {
4601
4601
  param: {
4602
4602
  orderId: string;
@@ -4614,14 +4614,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4614
4614
  } | {
4615
4615
  output: {
4616
4616
  error: {
4617
- code: "api_key_invalid" | "api_key_missing";
4617
+ code: "payment_required" | "rate_limit_exceeded";
4618
4618
  details?: readonly Response.error.Detail[] | undefined;
4619
4619
  message: string;
4620
4620
  };
4621
4621
  requestId: string;
4622
4622
  };
4623
4623
  outputFormat: "json";
4624
- status: 401;
4624
+ status: 429;
4625
4625
  input: {
4626
4626
  param: {
4627
4627
  orderId: string;
@@ -4639,14 +4639,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4639
4639
  } | {
4640
4640
  output: {
4641
4641
  error: {
4642
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4642
+ code: "query_invalid";
4643
4643
  details?: readonly Response.error.Detail[] | undefined;
4644
4644
  message: string;
4645
4645
  };
4646
4646
  requestId: string;
4647
4647
  };
4648
4648
  outputFormat: "json";
4649
- status: 403;
4649
+ status: 400;
4650
4650
  input: {
4651
4651
  param: {
4652
4652
  orderId: string;
@@ -4664,14 +4664,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4664
4664
  } | {
4665
4665
  output: {
4666
4666
  error: {
4667
- code: "payment_required" | "rate_limit_exceeded";
4667
+ code: "upstream_error";
4668
4668
  details?: readonly Response.error.Detail[] | undefined;
4669
4669
  message: string;
4670
4670
  };
4671
4671
  requestId: string;
4672
4672
  };
4673
4673
  outputFormat: "json";
4674
- status: 429;
4674
+ status: 502;
4675
4675
  input: {
4676
4676
  param: {
4677
4677
  orderId: string;
@@ -4769,14 +4769,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4769
4769
  } | {
4770
4770
  output: {
4771
4771
  error: {
4772
- code: "upstream_error";
4772
+ code: "api_key_malformed";
4773
4773
  details?: readonly Response.error.Detail[] | undefined;
4774
4774
  message: string;
4775
4775
  };
4776
4776
  requestId: string;
4777
4777
  };
4778
4778
  outputFormat: "json";
4779
- status: 502;
4779
+ status: 400;
4780
4780
  input: {
4781
4781
  param: {
4782
4782
  base: `0x${string}`;
@@ -4792,14 +4792,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4792
4792
  } | {
4793
4793
  output: {
4794
4794
  error: {
4795
- code: "query_invalid";
4795
+ code: "api_key_invalid" | "api_key_missing";
4796
4796
  details?: readonly Response.error.Detail[] | undefined;
4797
4797
  message: string;
4798
4798
  };
4799
4799
  requestId: string;
4800
4800
  };
4801
4801
  outputFormat: "json";
4802
- status: 400;
4802
+ status: 401;
4803
4803
  input: {
4804
4804
  param: {
4805
4805
  base: `0x${string}`;
@@ -4815,14 +4815,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4815
4815
  } | {
4816
4816
  output: {
4817
4817
  error: {
4818
- code: "api_key_malformed";
4818
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4819
4819
  details?: readonly Response.error.Detail[] | undefined;
4820
4820
  message: string;
4821
4821
  };
4822
4822
  requestId: string;
4823
4823
  };
4824
4824
  outputFormat: "json";
4825
- status: 400;
4825
+ status: 403;
4826
4826
  input: {
4827
4827
  param: {
4828
4828
  base: `0x${string}`;
@@ -4838,14 +4838,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4838
4838
  } | {
4839
4839
  output: {
4840
4840
  error: {
4841
- code: "api_key_invalid" | "api_key_missing";
4841
+ code: "payment_required" | "rate_limit_exceeded";
4842
4842
  details?: readonly Response.error.Detail[] | undefined;
4843
4843
  message: string;
4844
4844
  };
4845
4845
  requestId: string;
4846
4846
  };
4847
4847
  outputFormat: "json";
4848
- status: 401;
4848
+ status: 429;
4849
4849
  input: {
4850
4850
  param: {
4851
4851
  base: `0x${string}`;
@@ -4861,14 +4861,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4861
4861
  } | {
4862
4862
  output: {
4863
4863
  error: {
4864
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4864
+ code: "query_invalid";
4865
4865
  details?: readonly Response.error.Detail[] | undefined;
4866
4866
  message: string;
4867
4867
  };
4868
4868
  requestId: string;
4869
4869
  };
4870
4870
  outputFormat: "json";
4871
- status: 403;
4871
+ status: 400;
4872
4872
  input: {
4873
4873
  param: {
4874
4874
  base: `0x${string}`;
@@ -4884,14 +4884,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
4884
4884
  } | {
4885
4885
  output: {
4886
4886
  error: {
4887
- code: "payment_required" | "rate_limit_exceeded";
4887
+ code: "upstream_error";
4888
4888
  details?: readonly Response.error.Detail[] | undefined;
4889
4889
  message: string;
4890
4890
  };
4891
4891
  requestId: string;
4892
4892
  };
4893
4893
  outputFormat: "json";
4894
- status: 429;
4894
+ status: 502;
4895
4895
  input: {
4896
4896
  param: {
4897
4897
  base: `0x${string}`;
@@ -5023,14 +5023,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
5023
5023
  } | {
5024
5024
  output: {
5025
5025
  error: {
5026
- code: "upstream_error";
5026
+ code: "api_key_malformed";
5027
5027
  details?: readonly Response.error.Detail[] | undefined;
5028
5028
  message: string;
5029
5029
  };
5030
5030
  requestId: string;
5031
5031
  };
5032
5032
  outputFormat: "json";
5033
- status: 502;
5033
+ status: 400;
5034
5034
  input: {
5035
5035
  param: {
5036
5036
  base: `0x${string}`;
@@ -5045,14 +5045,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
5045
5045
  } | {
5046
5046
  output: {
5047
5047
  error: {
5048
- code: "query_invalid";
5048
+ code: "api_key_invalid" | "api_key_missing";
5049
5049
  details?: readonly Response.error.Detail[] | undefined;
5050
5050
  message: string;
5051
5051
  };
5052
5052
  requestId: string;
5053
5053
  };
5054
5054
  outputFormat: "json";
5055
- status: 400;
5055
+ status: 401;
5056
5056
  input: {
5057
5057
  param: {
5058
5058
  base: `0x${string}`;
@@ -5067,14 +5067,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
5067
5067
  } | {
5068
5068
  output: {
5069
5069
  error: {
5070
- code: "api_key_malformed";
5070
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
5071
5071
  details?: readonly Response.error.Detail[] | undefined;
5072
5072
  message: string;
5073
5073
  };
5074
5074
  requestId: string;
5075
5075
  };
5076
5076
  outputFormat: "json";
5077
- status: 400;
5077
+ status: 403;
5078
5078
  input: {
5079
5079
  param: {
5080
5080
  base: `0x${string}`;
@@ -5089,14 +5089,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
5089
5089
  } | {
5090
5090
  output: {
5091
5091
  error: {
5092
- code: "api_key_invalid" | "api_key_missing";
5092
+ code: "payment_required" | "rate_limit_exceeded";
5093
5093
  details?: readonly Response.error.Detail[] | undefined;
5094
5094
  message: string;
5095
5095
  };
5096
5096
  requestId: string;
5097
5097
  };
5098
5098
  outputFormat: "json";
5099
- status: 401;
5099
+ status: 429;
5100
5100
  input: {
5101
5101
  param: {
5102
5102
  base: `0x${string}`;
@@ -5111,14 +5111,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
5111
5111
  } | {
5112
5112
  output: {
5113
5113
  error: {
5114
- code: "api_key_forbidden" | "api_key_ip_forbidden";
5114
+ code: "query_invalid";
5115
5115
  details?: readonly Response.error.Detail[] | undefined;
5116
5116
  message: string;
5117
5117
  };
5118
5118
  requestId: string;
5119
5119
  };
5120
5120
  outputFormat: "json";
5121
- status: 403;
5121
+ status: 400;
5122
5122
  input: {
5123
5123
  param: {
5124
5124
  base: `0x${string}`;
@@ -5133,14 +5133,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
5133
5133
  } | {
5134
5134
  output: {
5135
5135
  error: {
5136
- code: "payment_required" | "rate_limit_exceeded";
5136
+ code: "upstream_error";
5137
5137
  details?: readonly Response.error.Detail[] | undefined;
5138
5138
  message: string;
5139
5139
  };
5140
5140
  requestId: string;
5141
5141
  };
5142
5142
  outputFormat: "json";
5143
- status: 429;
5143
+ status: 502;
5144
5144
  input: {
5145
5145
  param: {
5146
5146
  base: `0x${string}`;