tapimo 0.6.0 → 0.7.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 (250) hide show
  1. package/dist/App.d.ts +8641 -8263
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +9 -1
  4. package/dist/App.js.map +1 -1
  5. package/dist/Scope.d.ts +4 -0
  6. package/dist/Scope.d.ts.map +1 -1
  7. package/dist/Scope.js +5 -0
  8. package/dist/Scope.js.map +1 -1
  9. package/dist/admin/App.d.ts +112 -11
  10. package/dist/admin/App.d.ts.map +1 -1
  11. package/dist/admin/apps/api-keys.d.ts +2 -1
  12. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  13. package/dist/admin/apps/early-access.d.ts +2 -2
  14. package/dist/admin/apps/early-access.d.ts.map +1 -1
  15. package/dist/admin/apps/early-access.js +5 -5
  16. package/dist/admin/apps/early-access.js.map +1 -1
  17. package/dist/admin/apps/organizations.d.ts +124 -1
  18. package/dist/admin/apps/organizations.d.ts.map +1 -1
  19. package/dist/admin/apps/organizations.js +97 -6
  20. package/dist/admin/apps/organizations.js.map +1 -1
  21. package/dist/admin/ui.generated.d.ts +1 -1
  22. package/dist/admin/ui.generated.d.ts.map +1 -1
  23. package/dist/admin/ui.generated.js +95 -87
  24. package/dist/admin/ui.generated.js.map +1 -1
  25. package/dist/analytics/Analytics.d.ts.map +1 -1
  26. package/dist/analytics/Analytics.js +20 -0
  27. package/dist/analytics/Analytics.js.map +1 -1
  28. package/dist/analytics/tables/requestEvents.d.ts +18 -0
  29. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  30. package/dist/analytics/tables/requestEvents.js +36 -7
  31. package/dist/analytics/tables/requestEvents.js.map +1 -1
  32. package/dist/apps/data/App.d.ts +5016 -4985
  33. package/dist/apps/data/App.d.ts.map +1 -1
  34. package/dist/apps/data/FundingQuoteProviders.js +2 -15
  35. package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
  36. package/dist/apps/data/FxOracle.d.ts +1 -1
  37. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  38. package/dist/apps/data/FxOracle.js +1 -1
  39. package/dist/apps/data/FxOracle.js.map +1 -1
  40. package/dist/apps/data/routes/activities.d.ts +27 -27
  41. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  42. package/dist/apps/data/routes/activities.js +21 -1
  43. package/dist/apps/data/routes/activities.js.map +1 -1
  44. package/dist/apps/data/routes/balances.d.ts +58 -58
  45. package/dist/apps/data/routes/blocks.d.ts +39 -39
  46. package/dist/apps/data/routes/coingecko.d.ts +176 -176
  47. package/dist/apps/data/routes/exchanges.d.ts +113 -113
  48. package/dist/apps/data/routes/fee-amm.d.ts +105 -91
  49. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  50. package/dist/apps/data/routes/fee-amm.js +76 -91
  51. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  52. package/dist/apps/data/routes/funding.d.ts +72 -34
  53. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  54. package/dist/apps/data/routes/funding.js +34 -26
  55. package/dist/apps/data/routes/funding.js.map +1 -1
  56. package/dist/apps/data/routes/indexer.d.ts +5 -5
  57. package/dist/apps/data/routes/receipts.d.ts +6 -6
  58. package/dist/apps/data/routes/rpc.d.ts +31 -31
  59. package/dist/apps/data/routes/tokens.d.ts +2 -2
  60. package/dist/apps/data/routes/tokens.js +1 -1
  61. package/dist/apps/data/routes/transactions.d.ts +4 -4
  62. package/dist/apps/data/routes/transfers.d.ts +99 -88
  63. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  64. package/dist/apps/data/routes/transfers.js +226 -141
  65. package/dist/apps/data/routes/transfers.js.map +1 -1
  66. package/dist/apps/data/routes/valuation.d.ts +34 -34
  67. package/dist/apps/data/routes/valuation.js +3 -3
  68. package/dist/apps/data/routes/valuation.js.map +1 -1
  69. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  70. package/dist/apps/data/routes/webhooks.d.ts +366 -366
  71. package/dist/apps/index.d.ts +1 -0
  72. package/dist/apps/index.d.ts.map +1 -1
  73. package/dist/apps/index.js +1 -0
  74. package/dist/apps/index.js.map +1 -1
  75. package/dist/apps/management/App.d.ts +460 -523
  76. package/dist/apps/management/App.d.ts.map +1 -1
  77. package/dist/apps/management/routes/api-keys.d.ts +7 -23
  78. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  79. package/dist/apps/management/routes/api-keys.js +20 -8
  80. package/dist/apps/management/routes/api-keys.js.map +1 -1
  81. package/dist/apps/management/routes/billing.d.ts +106 -151
  82. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  83. package/dist/apps/management/routes/billing.js +28 -28
  84. package/dist/apps/management/routes/billing.js.map +1 -1
  85. package/dist/apps/management/routes/faucet.d.ts +40 -26
  86. package/dist/apps/management/routes/faucet.d.ts.map +1 -1
  87. package/dist/apps/management/routes/faucet.js +33 -18
  88. package/dist/apps/management/routes/faucet.js.map +1 -1
  89. package/dist/apps/management/routes/invitations.d.ts +131 -131
  90. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  91. package/dist/apps/management/routes/invitations.js +0 -3
  92. package/dist/apps/management/routes/invitations.js.map +1 -1
  93. package/dist/apps/management/routes/me.d.ts +6 -8
  94. package/dist/apps/management/routes/me.d.ts.map +1 -1
  95. package/dist/apps/management/routes/me.js +0 -4
  96. package/dist/apps/management/routes/me.js.map +1 -1
  97. package/dist/apps/management/routes/members.d.ts +45 -45
  98. package/dist/apps/management/routes/orgs.d.ts +94 -94
  99. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  100. package/dist/apps/management/routes/orgs.js +5 -0
  101. package/dist/apps/management/routes/orgs.js.map +1 -1
  102. package/dist/apps/management/routes/usage.d.ts +32 -32
  103. package/dist/apps/management/routes/verified-token-requests.d.ts +94 -94
  104. package/dist/apps/management/routes/webhooks.d.ts +1 -1
  105. package/dist/apps/mpp/App.d.ts +363 -0
  106. package/dist/apps/mpp/App.d.ts.map +1 -0
  107. package/dist/apps/mpp/App.js +72 -0
  108. package/dist/apps/mpp/App.js.map +1 -0
  109. package/dist/apps/mpp/Mpp.d.ts +178 -0
  110. package/dist/apps/mpp/Mpp.d.ts.map +1 -0
  111. package/dist/apps/mpp/Mpp.js +183 -0
  112. package/dist/apps/mpp/Mpp.js.map +1 -0
  113. package/dist/apps/mpp/index.d.ts +3 -0
  114. package/dist/apps/mpp/index.d.ts.map +1 -0
  115. package/dist/apps/mpp/index.js +3 -0
  116. package/dist/apps/mpp/index.js.map +1 -0
  117. package/dist/apps/relay/App.d.ts.map +1 -1
  118. package/dist/apps/relay/App.js +56 -9
  119. package/dist/apps/relay/App.js.map +1 -1
  120. package/dist/db/Db.d.ts +2 -0
  121. package/dist/db/Db.d.ts.map +1 -1
  122. package/dist/db/Db.js +27 -0
  123. package/dist/db/Db.js.map +1 -1
  124. package/dist/db/Schema.d.ts +12 -0
  125. package/dist/db/Schema.d.ts.map +1 -1
  126. package/dist/db/Schema.js +11 -0
  127. package/dist/db/Schema.js.map +1 -1
  128. package/dist/db/tables/enabledBillingSources.d.ts +73 -0
  129. package/dist/db/tables/enabledBillingSources.d.ts.map +1 -0
  130. package/dist/db/tables/enabledBillingSources.js +69 -0
  131. package/dist/db/tables/enabledBillingSources.js.map +1 -0
  132. package/dist/db/tables/invitations.d.ts +1 -12
  133. package/dist/db/tables/invitations.d.ts.map +1 -1
  134. package/dist/db/tables/invitations.js +3 -23
  135. package/dist/db/tables/invitations.js.map +1 -1
  136. package/dist/db/tables/organizations.d.ts +5 -2
  137. package/dist/db/tables/organizations.d.ts.map +1 -1
  138. package/dist/db/tables/organizations.js +13 -2
  139. package/dist/db/tables/organizations.js.map +1 -1
  140. package/dist/handlers/internal/utils.d.ts +1 -16
  141. package/dist/handlers/internal/utils.d.ts.map +1 -1
  142. package/dist/handlers/internal/utils.js +17 -6
  143. package/dist/handlers/internal/utils.js.map +1 -1
  144. package/dist/handlers/relay.d.ts.map +1 -1
  145. package/dist/handlers/relay.js +37 -5
  146. package/dist/handlers/relay.js.map +1 -1
  147. package/dist/internal/Auth.d.ts +0 -32
  148. package/dist/internal/Auth.d.ts.map +1 -1
  149. package/dist/internal/Auth.js +3 -51
  150. package/dist/internal/Auth.js.map +1 -1
  151. package/dist/internal/FundingQuotes.d.ts +78 -32
  152. package/dist/internal/FundingQuotes.d.ts.map +1 -1
  153. package/dist/internal/FundingQuotes.js +45 -8
  154. package/dist/internal/FundingQuotes.js.map +1 -1
  155. package/dist/internal/Log.d.ts +18 -4
  156. package/dist/internal/Log.d.ts.map +1 -1
  157. package/dist/internal/Log.js +50 -3
  158. package/dist/internal/Log.js.map +1 -1
  159. package/dist/internal/MetricSink.d.ts.map +1 -1
  160. package/dist/internal/MetricSink.js +15 -0
  161. package/dist/internal/MetricSink.js.map +1 -1
  162. package/dist/internal/Response.d.ts +2 -2
  163. package/dist/internal/Response.d.ts.map +1 -1
  164. package/dist/internal/Response.js +12 -4
  165. package/dist/internal/Response.js.map +1 -1
  166. package/dist/internal/Viem.d.ts +1 -1
  167. package/package.json +7 -2
  168. package/src/App.test.ts +9 -4
  169. package/src/App.ts +14 -2
  170. package/src/Client.test-d.ts +109 -28
  171. package/src/Scope.ts +5 -0
  172. package/src/admin/App.test.ts +4 -0
  173. package/src/admin/apps/early-access.ts +6 -5
  174. package/src/admin/apps/organizations.test.ts +86 -2
  175. package/src/admin/apps/organizations.ts +155 -31
  176. package/src/admin/apps/scopes.test.ts +5 -0
  177. package/src/admin/ui/src/lib/organizations.test.ts +81 -1
  178. package/src/admin/ui/src/lib/organizations.ts +92 -0
  179. package/src/admin/ui/src/routes/api-keys.tsx +1 -1
  180. package/src/admin/ui/src/routes/early-access.tsx +8 -3
  181. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +103 -0
  182. package/src/admin/ui.generated.ts +95 -109
  183. package/src/analytics/Analytics.test.ts +83 -0
  184. package/src/analytics/Analytics.ts +20 -0
  185. package/src/analytics/tables/requestEvents.ts +60 -7
  186. package/src/apps/composition.test.ts +11 -2
  187. package/src/apps/data/App.test.ts +1 -1
  188. package/src/apps/data/FundingQuoteProviders.test.ts +0 -5
  189. package/src/apps/data/FundingQuoteProviders.ts +2 -29
  190. package/src/apps/data/FxOracle.test.ts +2 -2
  191. package/src/apps/data/FxOracle.ts +2 -2
  192. package/src/apps/data/routes/activities.test.ts +6 -2
  193. package/src/apps/data/routes/activities.ts +39 -1
  194. package/src/apps/data/routes/balances.test.ts +6 -2
  195. package/src/apps/data/routes/exchanges.test.ts +7 -3
  196. package/src/apps/data/routes/fee-amm.test.ts +47 -23
  197. package/src/apps/data/routes/fee-amm.ts +98 -119
  198. package/src/apps/data/routes/funding.test.ts +29 -8
  199. package/src/apps/data/routes/funding.ts +42 -48
  200. package/src/apps/data/routes/receipts.test.ts +6 -2
  201. package/src/apps/data/routes/tokens.ts +1 -1
  202. package/src/apps/data/routes/transfers.test.ts +203 -35
  203. package/src/apps/data/routes/transfers.ts +294 -172
  204. package/src/apps/data/routes/valuation.test.ts +18 -3
  205. package/src/apps/data/routes/valuation.ts +4 -4
  206. package/src/apps/index.ts +1 -0
  207. package/src/apps/management/routes/api-keys.test.ts +2 -75
  208. package/src/apps/management/routes/api-keys.ts +30 -7
  209. package/src/apps/management/routes/billing.test.ts +106 -85
  210. package/src/apps/management/routes/billing.ts +32 -21
  211. package/src/apps/management/routes/faucet.test.ts +11 -3
  212. package/src/apps/management/routes/faucet.ts +46 -30
  213. package/src/apps/management/routes/invitations.test.ts +0 -172
  214. package/src/apps/management/routes/invitations.ts +0 -3
  215. package/src/apps/management/routes/me.test.ts +3 -145
  216. package/src/apps/management/routes/me.ts +0 -6
  217. package/src/apps/management/routes/orgs.test.ts +45 -2
  218. package/src/apps/management/routes/orgs.ts +6 -0
  219. package/src/apps/management/routes/scopes.test.ts +1 -0
  220. package/src/apps/mpp/App.ts +86 -0
  221. package/src/apps/mpp/Mpp.test.ts +193 -0
  222. package/src/apps/mpp/Mpp.ts +353 -0
  223. package/src/apps/mpp/index.ts +2 -0
  224. package/src/apps/mpp/internal/Adapter.ts +11 -0
  225. package/src/apps/mpp/internal/Error.ts +9 -0
  226. package/src/apps/mpp/internal/Idempotency.ts +7 -0
  227. package/src/apps/mpp/internal/Screening.ts +10 -0
  228. package/src/apps/relay/App.test.ts +88 -6
  229. package/src/apps/relay/App.ts +61 -9
  230. package/src/db/Db.test.ts +2 -2
  231. package/src/db/Db.ts +30 -0
  232. package/src/db/Schema.ts +15 -0
  233. package/src/db/tables/enabledBillingSources.test.ts +303 -0
  234. package/src/db/tables/enabledBillingSources.ts +118 -0
  235. package/src/db/tables/invitations.ts +4 -26
  236. package/src/db/tables/organizations.test.ts +103 -0
  237. package/src/db/tables/organizations.ts +18 -2
  238. package/src/handlers/internal/utils.ts +22 -6
  239. package/src/handlers/relay.errors.test.ts +153 -0
  240. package/src/handlers/relay.ts +42 -7
  241. package/src/internal/Auth.test.ts +3 -3
  242. package/src/internal/Auth.ts +3 -63
  243. package/src/internal/FundingQuotes.test.ts +18 -5
  244. package/src/internal/FundingQuotes.ts +46 -11
  245. package/src/internal/Log.test.ts +91 -0
  246. package/src/internal/Log.ts +69 -5
  247. package/src/internal/MetricSink.test.ts +55 -0
  248. package/src/internal/MetricSink.ts +14 -0
  249. package/src/internal/Response.test.ts +28 -0
  250. package/src/internal/Response.ts +12 -4
@@ -67,7 +67,7 @@ export declare namespace schema {
67
67
  /** Response-level valuation rate provenance. */
68
68
  const Meta: z.ZodMiniObject<{
69
69
  pricing: z.ZodMiniOptional<z.ZodMiniObject<{
70
- asOf: z.ZodMiniString<string>;
70
+ asOf: z.ZodMiniISODateTime;
71
71
  basis: z.ZodMiniLiteral<"nominal">;
72
72
  source: z.ZodMiniString<string>;
73
73
  }, z.core.$strip>>;
@@ -105,7 +105,7 @@ export declare namespace schema {
105
105
  }, z.core.$strip>;
106
106
  meta: z.ZodMiniOptional<z.ZodMiniObject<{
107
107
  pricing: z.ZodMiniOptional<z.ZodMiniObject<{
108
- asOf: z.ZodMiniString<string>;
108
+ asOf: z.ZodMiniISODateTime;
109
109
  basis: z.ZodMiniLiteral<"nominal">;
110
110
  source: z.ZodMiniString<string>;
111
111
  }, z.core.$strip>>;
@@ -163,7 +163,7 @@ export declare namespace schema {
163
163
  }, z.core.$strip>;
164
164
  meta: z.ZodMiniOptional<z.ZodMiniObject<{
165
165
  pricing: z.ZodMiniOptional<z.ZodMiniObject<{
166
- asOf: z.ZodMiniString<string>;
166
+ asOf: z.ZodMiniISODateTime;
167
167
  basis: z.ZodMiniLiteral<"nominal">;
168
168
  source: z.ZodMiniString<string>;
169
169
  }, z.core.$strip>>;
@@ -582,7 +582,7 @@ export declare namespace schema {
582
582
  /** Page-level resources: valuation rate provenance. */
583
583
  const Meta: z.ZodMiniObject<{
584
584
  pricing: z.ZodMiniOptional<z.ZodMiniObject<{
585
- asOf: z.ZodMiniString<string>;
585
+ asOf: z.ZodMiniISODateTime;
586
586
  basis: z.ZodMiniLiteral<"nominal">;
587
587
  source: z.ZodMiniString<string>;
588
588
  }, z.core.$strip>>;
@@ -687,7 +687,7 @@ export declare namespace schema {
687
687
  }, z.core.$strip>>;
688
688
  meta: z.ZodMiniOptional<z.ZodMiniObject<{
689
689
  pricing: z.ZodMiniOptional<z.ZodMiniObject<{
690
- asOf: z.ZodMiniString<string>;
690
+ asOf: z.ZodMiniISODateTime;
691
691
  basis: z.ZodMiniLiteral<"nominal">;
692
692
  source: z.ZodMiniString<string>;
693
693
  }, z.core.$strip>>;
@@ -1283,14 +1283,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1283
1283
  } | {
1284
1284
  output: {
1285
1285
  error: {
1286
- code: "upstream_error";
1286
+ code: "api_key_malformed";
1287
1287
  details?: readonly Response.error.Detail[] | undefined;
1288
1288
  message: string;
1289
1289
  };
1290
1290
  requestId: string;
1291
1291
  };
1292
1292
  outputFormat: "json";
1293
- status: 502;
1293
+ status: 400;
1294
1294
  input: {
1295
1295
  query?: {
1296
1296
  chainId?: string | string[];
@@ -1309,14 +1309,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1309
1309
  } | {
1310
1310
  output: {
1311
1311
  error: {
1312
- code: "api_key_malformed";
1312
+ code: "api_key_invalid" | "api_key_missing";
1313
1313
  details?: readonly Response.error.Detail[] | undefined;
1314
1314
  message: string;
1315
1315
  };
1316
1316
  requestId: string;
1317
1317
  };
1318
1318
  outputFormat: "json";
1319
- status: 400;
1319
+ status: 401;
1320
1320
  input: {
1321
1321
  query?: {
1322
1322
  chainId?: string | string[];
@@ -1335,14 +1335,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1335
1335
  } | {
1336
1336
  output: {
1337
1337
  error: {
1338
- code: "api_key_invalid" | "api_key_missing";
1338
+ code: "api_key_forbidden";
1339
1339
  details?: readonly Response.error.Detail[] | undefined;
1340
1340
  message: string;
1341
1341
  };
1342
1342
  requestId: string;
1343
1343
  };
1344
1344
  outputFormat: "json";
1345
- status: 401;
1345
+ status: 403;
1346
1346
  input: {
1347
1347
  query?: {
1348
1348
  chainId?: string | string[];
@@ -1361,14 +1361,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1361
1361
  } | {
1362
1362
  output: {
1363
1363
  error: {
1364
- code: "api_key_forbidden";
1364
+ code: "payment_required" | "rate_limit_exceeded";
1365
1365
  details?: readonly Response.error.Detail[] | undefined;
1366
1366
  message: string;
1367
1367
  };
1368
1368
  requestId: string;
1369
1369
  };
1370
1370
  outputFormat: "json";
1371
- status: 403;
1371
+ status: 429;
1372
1372
  input: {
1373
1373
  query?: {
1374
1374
  chainId?: string | string[];
@@ -1387,14 +1387,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1387
1387
  } | {
1388
1388
  output: {
1389
1389
  error: {
1390
- code: "payment_required" | "rate_limit_exceeded";
1390
+ code: "query_invalid";
1391
1391
  details?: readonly Response.error.Detail[] | undefined;
1392
1392
  message: string;
1393
1393
  };
1394
1394
  requestId: string;
1395
1395
  };
1396
1396
  outputFormat: "json";
1397
- status: 429;
1397
+ status: 400;
1398
1398
  input: {
1399
1399
  query?: {
1400
1400
  chainId?: string | string[];
@@ -1413,14 +1413,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1413
1413
  } | {
1414
1414
  output: {
1415
1415
  error: {
1416
- code: "query_invalid";
1416
+ code: "upstream_error";
1417
1417
  details?: readonly Response.error.Detail[] | undefined;
1418
1418
  message: string;
1419
1419
  };
1420
1420
  requestId: string;
1421
1421
  };
1422
1422
  outputFormat: "json";
1423
- status: 400;
1423
+ status: 502;
1424
1424
  input: {
1425
1425
  query?: {
1426
1426
  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: "upstream_error";
1695
+ code: "api_key_malformed";
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: 502;
1702
+ status: 400;
1703
1703
  input: {
1704
1704
  query?: {
1705
1705
  'blockNumber.from'?: string | string[];
@@ -1721,14 +1721,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1721
1721
  } | {
1722
1722
  output: {
1723
1723
  error: {
1724
- code: "api_key_malformed";
1724
+ code: "api_key_invalid" | "api_key_missing";
1725
1725
  details?: readonly Response.error.Detail[] | undefined;
1726
1726
  message: string;
1727
1727
  };
1728
1728
  requestId: string;
1729
1729
  };
1730
1730
  outputFormat: "json";
1731
- status: 400;
1731
+ status: 401;
1732
1732
  input: {
1733
1733
  query?: {
1734
1734
  'blockNumber.from'?: string | string[];
@@ -1750,14 +1750,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1750
1750
  } | {
1751
1751
  output: {
1752
1752
  error: {
1753
- code: "api_key_invalid" | "api_key_missing";
1753
+ code: "api_key_forbidden";
1754
1754
  details?: readonly Response.error.Detail[] | undefined;
1755
1755
  message: string;
1756
1756
  };
1757
1757
  requestId: string;
1758
1758
  };
1759
1759
  outputFormat: "json";
1760
- status: 401;
1760
+ status: 403;
1761
1761
  input: {
1762
1762
  query?: {
1763
1763
  'blockNumber.from'?: string | string[];
@@ -1779,14 +1779,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1779
1779
  } | {
1780
1780
  output: {
1781
1781
  error: {
1782
- code: "api_key_forbidden";
1782
+ code: "payment_required" | "rate_limit_exceeded";
1783
1783
  details?: readonly Response.error.Detail[] | undefined;
1784
1784
  message: string;
1785
1785
  };
1786
1786
  requestId: string;
1787
1787
  };
1788
1788
  outputFormat: "json";
1789
- status: 403;
1789
+ status: 429;
1790
1790
  input: {
1791
1791
  query?: {
1792
1792
  'blockNumber.from'?: string | string[];
@@ -1808,14 +1808,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1808
1808
  } | {
1809
1809
  output: {
1810
1810
  error: {
1811
- code: "payment_required" | "rate_limit_exceeded";
1811
+ code: "query_invalid";
1812
1812
  details?: readonly Response.error.Detail[] | undefined;
1813
1813
  message: string;
1814
1814
  };
1815
1815
  requestId: string;
1816
1816
  };
1817
1817
  outputFormat: "json";
1818
- status: 429;
1818
+ status: 400;
1819
1819
  input: {
1820
1820
  query?: {
1821
1821
  'blockNumber.from'?: string | string[];
@@ -1837,14 +1837,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
1837
1837
  } | {
1838
1838
  output: {
1839
1839
  error: {
1840
- code: "query_invalid";
1840
+ code: "upstream_error";
1841
1841
  details?: readonly Response.error.Detail[] | undefined;
1842
1842
  message: string;
1843
1843
  };
1844
1844
  requestId: string;
1845
1845
  };
1846
1846
  outputFormat: "json";
1847
- status: 400;
1847
+ status: 502;
1848
1848
  input: {
1849
1849
  query?: {
1850
1850
  'blockNumber.from'?: string | string[];
@@ -2010,14 +2010,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2010
2010
  } | {
2011
2011
  output: {
2012
2012
  error: {
2013
- code: "upstream_error";
2013
+ code: "api_key_malformed";
2014
2014
  details?: readonly Response.error.Detail[] | undefined;
2015
2015
  message: string;
2016
2016
  };
2017
2017
  requestId: string;
2018
2018
  };
2019
2019
  outputFormat: "json";
2020
- status: 502;
2020
+ status: 400;
2021
2021
  input: {
2022
2022
  query?: {
2023
2023
  chainId?: string | string[];
@@ -2032,14 +2032,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2032
2032
  } | {
2033
2033
  output: {
2034
2034
  error: {
2035
- code: "api_key_malformed";
2035
+ code: "api_key_invalid" | "api_key_missing";
2036
2036
  details?: readonly Response.error.Detail[] | undefined;
2037
2037
  message: string;
2038
2038
  };
2039
2039
  requestId: string;
2040
2040
  };
2041
2041
  outputFormat: "json";
2042
- status: 400;
2042
+ status: 401;
2043
2043
  input: {
2044
2044
  query?: {
2045
2045
  chainId?: string | string[];
@@ -2054,14 +2054,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2054
2054
  } | {
2055
2055
  output: {
2056
2056
  error: {
2057
- code: "api_key_invalid" | "api_key_missing";
2057
+ code: "api_key_forbidden";
2058
2058
  details?: readonly Response.error.Detail[] | undefined;
2059
2059
  message: string;
2060
2060
  };
2061
2061
  requestId: string;
2062
2062
  };
2063
2063
  outputFormat: "json";
2064
- status: 401;
2064
+ status: 403;
2065
2065
  input: {
2066
2066
  query?: {
2067
2067
  chainId?: string | string[];
@@ -2076,14 +2076,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2076
2076
  } | {
2077
2077
  output: {
2078
2078
  error: {
2079
- code: "api_key_forbidden";
2079
+ code: "payment_required" | "rate_limit_exceeded";
2080
2080
  details?: readonly Response.error.Detail[] | undefined;
2081
2081
  message: string;
2082
2082
  };
2083
2083
  requestId: string;
2084
2084
  };
2085
2085
  outputFormat: "json";
2086
- status: 403;
2086
+ status: 429;
2087
2087
  input: {
2088
2088
  query?: {
2089
2089
  chainId?: string | string[];
@@ -2098,14 +2098,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2098
2098
  } | {
2099
2099
  output: {
2100
2100
  error: {
2101
- code: "payment_required" | "rate_limit_exceeded";
2101
+ code: "query_invalid";
2102
2102
  details?: readonly Response.error.Detail[] | undefined;
2103
2103
  message: string;
2104
2104
  };
2105
2105
  requestId: string;
2106
2106
  };
2107
2107
  outputFormat: "json";
2108
- status: 429;
2108
+ status: 400;
2109
2109
  input: {
2110
2110
  query?: {
2111
2111
  chainId?: string | string[];
@@ -2120,14 +2120,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2120
2120
  } | {
2121
2121
  output: {
2122
2122
  error: {
2123
- code: "query_invalid";
2123
+ code: "upstream_error";
2124
2124
  details?: readonly Response.error.Detail[] | undefined;
2125
2125
  message: string;
2126
2126
  };
2127
2127
  requestId: string;
2128
2128
  };
2129
2129
  outputFormat: "json";
2130
- status: 400;
2130
+ status: 502;
2131
2131
  input: {
2132
2132
  query?: {
2133
2133
  chainId?: string | string[];
@@ -2207,14 +2207,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2207
2207
  } | {
2208
2208
  output: {
2209
2209
  error: {
2210
- code: "upstream_error";
2210
+ code: "api_key_malformed";
2211
2211
  details?: readonly Response.error.Detail[] | undefined;
2212
2212
  message: string;
2213
2213
  };
2214
2214
  requestId: string;
2215
2215
  };
2216
2216
  outputFormat: "json";
2217
- status: 502;
2217
+ status: 400;
2218
2218
  input: {
2219
2219
  param: {
2220
2220
  base: `0x${string}`;
@@ -2228,14 +2228,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2228
2228
  } | {
2229
2229
  output: {
2230
2230
  error: {
2231
- code: "api_key_malformed";
2231
+ code: "api_key_invalid" | "api_key_missing";
2232
2232
  details?: readonly Response.error.Detail[] | undefined;
2233
2233
  message: string;
2234
2234
  };
2235
2235
  requestId: string;
2236
2236
  };
2237
2237
  outputFormat: "json";
2238
- status: 400;
2238
+ status: 401;
2239
2239
  input: {
2240
2240
  param: {
2241
2241
  base: `0x${string}`;
@@ -2249,14 +2249,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2249
2249
  } | {
2250
2250
  output: {
2251
2251
  error: {
2252
- code: "api_key_invalid" | "api_key_missing";
2252
+ code: "api_key_forbidden";
2253
2253
  details?: readonly Response.error.Detail[] | undefined;
2254
2254
  message: string;
2255
2255
  };
2256
2256
  requestId: string;
2257
2257
  };
2258
2258
  outputFormat: "json";
2259
- status: 401;
2259
+ status: 403;
2260
2260
  input: {
2261
2261
  param: {
2262
2262
  base: `0x${string}`;
@@ -2270,14 +2270,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2270
2270
  } | {
2271
2271
  output: {
2272
2272
  error: {
2273
- code: "api_key_forbidden";
2273
+ code: "payment_required" | "rate_limit_exceeded";
2274
2274
  details?: readonly Response.error.Detail[] | undefined;
2275
2275
  message: string;
2276
2276
  };
2277
2277
  requestId: string;
2278
2278
  };
2279
2279
  outputFormat: "json";
2280
- status: 403;
2280
+ status: 429;
2281
2281
  input: {
2282
2282
  param: {
2283
2283
  base: `0x${string}`;
@@ -2291,14 +2291,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2291
2291
  } | {
2292
2292
  output: {
2293
2293
  error: {
2294
- code: "payment_required" | "rate_limit_exceeded";
2294
+ code: "query_invalid";
2295
2295
  details?: readonly Response.error.Detail[] | undefined;
2296
2296
  message: string;
2297
2297
  };
2298
2298
  requestId: string;
2299
2299
  };
2300
2300
  outputFormat: "json";
2301
- status: 429;
2301
+ status: 400;
2302
2302
  input: {
2303
2303
  param: {
2304
2304
  base: `0x${string}`;
@@ -2312,14 +2312,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2312
2312
  } | {
2313
2313
  output: {
2314
2314
  error: {
2315
- code: "query_invalid";
2315
+ code: "upstream_error";
2316
2316
  details?: readonly Response.error.Detail[] | undefined;
2317
2317
  message: string;
2318
2318
  };
2319
2319
  requestId: string;
2320
2320
  };
2321
2321
  outputFormat: "json";
2322
- status: 400;
2322
+ status: 502;
2323
2323
  input: {
2324
2324
  param: {
2325
2325
  base: `0x${string}`;
@@ -2436,14 +2436,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2436
2436
  } | {
2437
2437
  output: {
2438
2438
  error: {
2439
- code: "upstream_error";
2439
+ code: "api_key_malformed";
2440
2440
  details?: readonly Response.error.Detail[] | undefined;
2441
2441
  message: string;
2442
2442
  };
2443
2443
  requestId: string;
2444
2444
  };
2445
2445
  outputFormat: "json";
2446
- status: 502;
2446
+ status: 400;
2447
2447
  input: {
2448
2448
  query?: {
2449
2449
  base?: string | string[];
@@ -2461,14 +2461,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2461
2461
  } | {
2462
2462
  output: {
2463
2463
  error: {
2464
- code: "api_key_malformed";
2464
+ code: "api_key_invalid" | "api_key_missing";
2465
2465
  details?: readonly Response.error.Detail[] | undefined;
2466
2466
  message: string;
2467
2467
  };
2468
2468
  requestId: string;
2469
2469
  };
2470
2470
  outputFormat: "json";
2471
- status: 400;
2471
+ status: 401;
2472
2472
  input: {
2473
2473
  query?: {
2474
2474
  base?: string | string[];
@@ -2486,14 +2486,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2486
2486
  } | {
2487
2487
  output: {
2488
2488
  error: {
2489
- code: "api_key_invalid" | "api_key_missing";
2489
+ code: "api_key_forbidden";
2490
2490
  details?: readonly Response.error.Detail[] | undefined;
2491
2491
  message: string;
2492
2492
  };
2493
2493
  requestId: string;
2494
2494
  };
2495
2495
  outputFormat: "json";
2496
- status: 401;
2496
+ status: 403;
2497
2497
  input: {
2498
2498
  query?: {
2499
2499
  base?: string | string[];
@@ -2511,14 +2511,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2511
2511
  } | {
2512
2512
  output: {
2513
2513
  error: {
2514
- code: "api_key_forbidden";
2514
+ code: "payment_required" | "rate_limit_exceeded";
2515
2515
  details?: readonly Response.error.Detail[] | undefined;
2516
2516
  message: string;
2517
2517
  };
2518
2518
  requestId: string;
2519
2519
  };
2520
2520
  outputFormat: "json";
2521
- status: 403;
2521
+ status: 429;
2522
2522
  input: {
2523
2523
  query?: {
2524
2524
  base?: string | string[];
@@ -2536,14 +2536,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2536
2536
  } | {
2537
2537
  output: {
2538
2538
  error: {
2539
- code: "payment_required" | "rate_limit_exceeded";
2539
+ code: "query_invalid";
2540
2540
  details?: readonly Response.error.Detail[] | undefined;
2541
2541
  message: string;
2542
2542
  };
2543
2543
  requestId: string;
2544
2544
  };
2545
2545
  outputFormat: "json";
2546
- status: 429;
2546
+ status: 400;
2547
2547
  input: {
2548
2548
  query?: {
2549
2549
  base?: string | string[];
@@ -2561,14 +2561,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2561
2561
  } | {
2562
2562
  output: {
2563
2563
  error: {
2564
- code: "query_invalid";
2564
+ code: "upstream_error";
2565
2565
  details?: readonly Response.error.Detail[] | undefined;
2566
2566
  message: string;
2567
2567
  };
2568
2568
  requestId: string;
2569
2569
  };
2570
2570
  outputFormat: "json";
2571
- status: 400;
2571
+ status: 502;
2572
2572
  input: {
2573
2573
  query?: {
2574
2574
  base?: string | string[];
@@ -2690,14 +2690,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2690
2690
  } | {
2691
2691
  output: {
2692
2692
  error: {
2693
- code: "upstream_error";
2693
+ code: "api_key_malformed";
2694
2694
  details?: readonly Response.error.Detail[] | undefined;
2695
2695
  message: string;
2696
2696
  };
2697
2697
  requestId: string;
2698
2698
  };
2699
2699
  outputFormat: "json";
2700
- status: 502;
2700
+ status: 400;
2701
2701
  input: {
2702
2702
  param: {
2703
2703
  orderId: string;
@@ -2711,14 +2711,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2711
2711
  } | {
2712
2712
  output: {
2713
2713
  error: {
2714
- code: "api_key_malformed";
2714
+ code: "api_key_invalid" | "api_key_missing";
2715
2715
  details?: readonly Response.error.Detail[] | undefined;
2716
2716
  message: string;
2717
2717
  };
2718
2718
  requestId: string;
2719
2719
  };
2720
2720
  outputFormat: "json";
2721
- status: 400;
2721
+ status: 401;
2722
2722
  input: {
2723
2723
  param: {
2724
2724
  orderId: string;
@@ -2732,14 +2732,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2732
2732
  } | {
2733
2733
  output: {
2734
2734
  error: {
2735
- code: "api_key_invalid" | "api_key_missing";
2735
+ code: "api_key_forbidden";
2736
2736
  details?: readonly Response.error.Detail[] | undefined;
2737
2737
  message: string;
2738
2738
  };
2739
2739
  requestId: string;
2740
2740
  };
2741
2741
  outputFormat: "json";
2742
- status: 401;
2742
+ status: 403;
2743
2743
  input: {
2744
2744
  param: {
2745
2745
  orderId: string;
@@ -2753,14 +2753,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2753
2753
  } | {
2754
2754
  output: {
2755
2755
  error: {
2756
- code: "api_key_forbidden";
2756
+ code: "payment_required" | "rate_limit_exceeded";
2757
2757
  details?: readonly Response.error.Detail[] | undefined;
2758
2758
  message: string;
2759
2759
  };
2760
2760
  requestId: string;
2761
2761
  };
2762
2762
  outputFormat: "json";
2763
- status: 403;
2763
+ status: 429;
2764
2764
  input: {
2765
2765
  param: {
2766
2766
  orderId: string;
@@ -2774,14 +2774,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2774
2774
  } | {
2775
2775
  output: {
2776
2776
  error: {
2777
- code: "payment_required" | "rate_limit_exceeded";
2777
+ code: "query_invalid";
2778
2778
  details?: readonly Response.error.Detail[] | undefined;
2779
2779
  message: string;
2780
2780
  };
2781
2781
  requestId: string;
2782
2782
  };
2783
2783
  outputFormat: "json";
2784
- status: 429;
2784
+ status: 400;
2785
2785
  input: {
2786
2786
  param: {
2787
2787
  orderId: string;
@@ -2795,14 +2795,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2795
2795
  } | {
2796
2796
  output: {
2797
2797
  error: {
2798
- code: "query_invalid";
2798
+ code: "upstream_error";
2799
2799
  details?: readonly Response.error.Detail[] | undefined;
2800
2800
  message: string;
2801
2801
  };
2802
2802
  requestId: string;
2803
2803
  };
2804
2804
  outputFormat: "json";
2805
- status: 400;
2805
+ status: 502;
2806
2806
  input: {
2807
2807
  param: {
2808
2808
  orderId: string;
@@ -2928,14 +2928,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2928
2928
  } | {
2929
2929
  output: {
2930
2930
  error: {
2931
- code: "upstream_error";
2931
+ code: "api_key_malformed";
2932
2932
  details?: readonly Response.error.Detail[] | undefined;
2933
2933
  message: string;
2934
2934
  };
2935
2935
  requestId: string;
2936
2936
  };
2937
2937
  outputFormat: "json";
2938
- status: 502;
2938
+ status: 400;
2939
2939
  input: {
2940
2940
  param: {
2941
2941
  orderId: string;
@@ -2953,14 +2953,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2953
2953
  } | {
2954
2954
  output: {
2955
2955
  error: {
2956
- code: "api_key_malformed";
2956
+ code: "api_key_invalid" | "api_key_missing";
2957
2957
  details?: readonly Response.error.Detail[] | undefined;
2958
2958
  message: string;
2959
2959
  };
2960
2960
  requestId: string;
2961
2961
  };
2962
2962
  outputFormat: "json";
2963
- status: 400;
2963
+ status: 401;
2964
2964
  input: {
2965
2965
  param: {
2966
2966
  orderId: string;
@@ -2978,14 +2978,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
2978
2978
  } | {
2979
2979
  output: {
2980
2980
  error: {
2981
- code: "api_key_invalid" | "api_key_missing";
2981
+ code: "api_key_forbidden";
2982
2982
  details?: readonly Response.error.Detail[] | undefined;
2983
2983
  message: string;
2984
2984
  };
2985
2985
  requestId: string;
2986
2986
  };
2987
2987
  outputFormat: "json";
2988
- status: 401;
2988
+ status: 403;
2989
2989
  input: {
2990
2990
  param: {
2991
2991
  orderId: string;
@@ -3003,14 +3003,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3003
3003
  } | {
3004
3004
  output: {
3005
3005
  error: {
3006
- code: "api_key_forbidden";
3006
+ code: "payment_required" | "rate_limit_exceeded";
3007
3007
  details?: readonly Response.error.Detail[] | undefined;
3008
3008
  message: string;
3009
3009
  };
3010
3010
  requestId: string;
3011
3011
  };
3012
3012
  outputFormat: "json";
3013
- status: 403;
3013
+ status: 429;
3014
3014
  input: {
3015
3015
  param: {
3016
3016
  orderId: string;
@@ -3028,14 +3028,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3028
3028
  } | {
3029
3029
  output: {
3030
3030
  error: {
3031
- code: "payment_required" | "rate_limit_exceeded";
3031
+ code: "query_invalid";
3032
3032
  details?: readonly Response.error.Detail[] | undefined;
3033
3033
  message: string;
3034
3034
  };
3035
3035
  requestId: string;
3036
3036
  };
3037
3037
  outputFormat: "json";
3038
- status: 429;
3038
+ status: 400;
3039
3039
  input: {
3040
3040
  param: {
3041
3041
  orderId: string;
@@ -3053,14 +3053,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3053
3053
  } | {
3054
3054
  output: {
3055
3055
  error: {
3056
- code: "query_invalid";
3056
+ code: "upstream_error";
3057
3057
  details?: readonly Response.error.Detail[] | undefined;
3058
3058
  message: string;
3059
3059
  };
3060
3060
  requestId: string;
3061
3061
  };
3062
3062
  outputFormat: "json";
3063
- status: 400;
3063
+ status: 502;
3064
3064
  input: {
3065
3065
  param: {
3066
3066
  orderId: string;
@@ -3158,14 +3158,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3158
3158
  } | {
3159
3159
  output: {
3160
3160
  error: {
3161
- code: "upstream_error";
3161
+ code: "api_key_malformed";
3162
3162
  details?: readonly Response.error.Detail[] | undefined;
3163
3163
  message: string;
3164
3164
  };
3165
3165
  requestId: string;
3166
3166
  };
3167
3167
  outputFormat: "json";
3168
- status: 502;
3168
+ status: 400;
3169
3169
  input: {
3170
3170
  param: {
3171
3171
  base: `0x${string}`;
@@ -3181,14 +3181,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3181
3181
  } | {
3182
3182
  output: {
3183
3183
  error: {
3184
- code: "api_key_malformed";
3184
+ code: "api_key_invalid" | "api_key_missing";
3185
3185
  details?: readonly Response.error.Detail[] | undefined;
3186
3186
  message: string;
3187
3187
  };
3188
3188
  requestId: string;
3189
3189
  };
3190
3190
  outputFormat: "json";
3191
- status: 400;
3191
+ status: 401;
3192
3192
  input: {
3193
3193
  param: {
3194
3194
  base: `0x${string}`;
@@ -3204,14 +3204,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3204
3204
  } | {
3205
3205
  output: {
3206
3206
  error: {
3207
- code: "api_key_invalid" | "api_key_missing";
3207
+ code: "api_key_forbidden";
3208
3208
  details?: readonly Response.error.Detail[] | undefined;
3209
3209
  message: string;
3210
3210
  };
3211
3211
  requestId: string;
3212
3212
  };
3213
3213
  outputFormat: "json";
3214
- status: 401;
3214
+ status: 403;
3215
3215
  input: {
3216
3216
  param: {
3217
3217
  base: `0x${string}`;
@@ -3227,14 +3227,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3227
3227
  } | {
3228
3228
  output: {
3229
3229
  error: {
3230
- code: "api_key_forbidden";
3230
+ code: "payment_required" | "rate_limit_exceeded";
3231
3231
  details?: readonly Response.error.Detail[] | undefined;
3232
3232
  message: string;
3233
3233
  };
3234
3234
  requestId: string;
3235
3235
  };
3236
3236
  outputFormat: "json";
3237
- status: 403;
3237
+ status: 429;
3238
3238
  input: {
3239
3239
  param: {
3240
3240
  base: `0x${string}`;
@@ -3250,14 +3250,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3250
3250
  } | {
3251
3251
  output: {
3252
3252
  error: {
3253
- code: "payment_required" | "rate_limit_exceeded";
3253
+ code: "query_invalid";
3254
3254
  details?: readonly Response.error.Detail[] | undefined;
3255
3255
  message: string;
3256
3256
  };
3257
3257
  requestId: string;
3258
3258
  };
3259
3259
  outputFormat: "json";
3260
- status: 429;
3260
+ status: 400;
3261
3261
  input: {
3262
3262
  param: {
3263
3263
  base: `0x${string}`;
@@ -3273,14 +3273,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3273
3273
  } | {
3274
3274
  output: {
3275
3275
  error: {
3276
- code: "query_invalid";
3276
+ code: "upstream_error";
3277
3277
  details?: readonly Response.error.Detail[] | undefined;
3278
3278
  message: string;
3279
3279
  };
3280
3280
  requestId: string;
3281
3281
  };
3282
3282
  outputFormat: "json";
3283
- status: 400;
3283
+ status: 502;
3284
3284
  input: {
3285
3285
  param: {
3286
3286
  base: `0x${string}`;
@@ -3412,14 +3412,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3412
3412
  } | {
3413
3413
  output: {
3414
3414
  error: {
3415
- code: "upstream_error";
3415
+ code: "api_key_malformed";
3416
3416
  details?: readonly Response.error.Detail[] | undefined;
3417
3417
  message: string;
3418
3418
  };
3419
3419
  requestId: string;
3420
3420
  };
3421
3421
  outputFormat: "json";
3422
- status: 502;
3422
+ status: 400;
3423
3423
  input: {
3424
3424
  param: {
3425
3425
  base: `0x${string}`;
@@ -3434,14 +3434,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3434
3434
  } | {
3435
3435
  output: {
3436
3436
  error: {
3437
- code: "api_key_malformed";
3437
+ code: "api_key_invalid" | "api_key_missing";
3438
3438
  details?: readonly Response.error.Detail[] | undefined;
3439
3439
  message: string;
3440
3440
  };
3441
3441
  requestId: string;
3442
3442
  };
3443
3443
  outputFormat: "json";
3444
- status: 400;
3444
+ status: 401;
3445
3445
  input: {
3446
3446
  param: {
3447
3447
  base: `0x${string}`;
@@ -3456,14 +3456,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3456
3456
  } | {
3457
3457
  output: {
3458
3458
  error: {
3459
- code: "api_key_invalid" | "api_key_missing";
3459
+ code: "api_key_forbidden";
3460
3460
  details?: readonly Response.error.Detail[] | undefined;
3461
3461
  message: string;
3462
3462
  };
3463
3463
  requestId: string;
3464
3464
  };
3465
3465
  outputFormat: "json";
3466
- status: 401;
3466
+ status: 403;
3467
3467
  input: {
3468
3468
  param: {
3469
3469
  base: `0x${string}`;
@@ -3478,14 +3478,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3478
3478
  } | {
3479
3479
  output: {
3480
3480
  error: {
3481
- code: "api_key_forbidden";
3481
+ code: "payment_required" | "rate_limit_exceeded";
3482
3482
  details?: readonly Response.error.Detail[] | undefined;
3483
3483
  message: string;
3484
3484
  };
3485
3485
  requestId: string;
3486
3486
  };
3487
3487
  outputFormat: "json";
3488
- status: 403;
3488
+ status: 429;
3489
3489
  input: {
3490
3490
  param: {
3491
3491
  base: `0x${string}`;
@@ -3500,14 +3500,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3500
3500
  } | {
3501
3501
  output: {
3502
3502
  error: {
3503
- code: "payment_required" | "rate_limit_exceeded";
3503
+ code: "query_invalid";
3504
3504
  details?: readonly Response.error.Detail[] | undefined;
3505
3505
  message: string;
3506
3506
  };
3507
3507
  requestId: string;
3508
3508
  };
3509
3509
  outputFormat: "json";
3510
- status: 429;
3510
+ status: 400;
3511
3511
  input: {
3512
3512
  param: {
3513
3513
  base: `0x${string}`;
@@ -3522,14 +3522,14 @@ export declare function exchanges(options?: exchanges.Options): import("hono/hon
3522
3522
  } | {
3523
3523
  output: {
3524
3524
  error: {
3525
- code: "query_invalid";
3525
+ code: "upstream_error";
3526
3526
  details?: readonly Response.error.Detail[] | undefined;
3527
3527
  message: string;
3528
3528
  };
3529
3529
  requestId: string;
3530
3530
  };
3531
3531
  outputFormat: "json";
3532
- status: 400;
3532
+ status: 502;
3533
3533
  input: {
3534
3534
  param: {
3535
3535
  base: `0x${string}`;