tapimo 0.4.4 → 0.5.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 (162) hide show
  1. package/dist/App.d.ts +7403 -6127
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +4 -0
  4. package/dist/App.js.map +1 -1
  5. package/dist/Scope.d.ts +18 -1
  6. package/dist/Scope.d.ts.map +1 -1
  7. package/dist/Scope.js +24 -3
  8. package/dist/Scope.js.map +1 -1
  9. package/dist/admin/apps/verified-tokens.d.ts +115 -115
  10. package/dist/apps/data/App.d.ts +1838 -1534
  11. package/dist/apps/data/App.d.ts.map +1 -1
  12. package/dist/apps/data/App.js +135 -44
  13. package/dist/apps/data/App.js.map +1 -1
  14. package/dist/apps/data/{FundingRouteProviders.d.ts → FundingQuoteProviders.d.ts} +7 -7
  15. package/dist/apps/data/{FundingRouteProviders.d.ts.map → FundingQuoteProviders.d.ts.map} +1 -1
  16. package/dist/apps/data/{FundingRouteProviders.js → FundingQuoteProviders.js} +36 -91
  17. package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
  18. package/dist/apps/data/index.d.ts +1 -1
  19. package/dist/apps/data/index.js +1 -1
  20. package/dist/apps/data/routes/activities.d.ts +242 -242
  21. package/dist/apps/data/routes/addresses.d.ts +227 -227
  22. package/dist/apps/data/routes/balances.d.ts +12 -12
  23. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  24. package/dist/apps/data/routes/balances.js +67 -149
  25. package/dist/apps/data/routes/balances.js.map +1 -1
  26. package/dist/apps/data/routes/blocks.d.ts +125 -126
  27. package/dist/apps/data/routes/blocks.d.ts.map +1 -1
  28. package/dist/apps/data/routes/blocks.js +3 -5
  29. package/dist/apps/data/routes/blocks.js.map +1 -1
  30. package/dist/apps/data/routes/coingecko.d.ts +55 -54
  31. package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
  32. package/dist/apps/data/routes/coingecko.js +3 -8
  33. package/dist/apps/data/routes/coingecko.js.map +1 -1
  34. package/dist/apps/data/routes/funding.d.ts +207 -388
  35. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  36. package/dist/apps/data/routes/funding.js +143 -221
  37. package/dist/apps/data/routes/funding.js.map +1 -1
  38. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  39. package/dist/apps/data/routes/rpc.js +86 -16
  40. package/dist/apps/data/routes/rpc.js.map +1 -1
  41. package/dist/apps/data/routes/tokenlist.d.ts +33 -33
  42. package/dist/apps/data/routes/transactions.d.ts +281 -281
  43. package/dist/apps/data/routes/transfers.d.ts +58 -58
  44. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  45. package/dist/apps/data/routes/webhooks.d.ts +340 -0
  46. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  47. package/dist/apps/data/routes/webhooks.js +13 -1
  48. package/dist/apps/data/routes/webhooks.js.map +1 -1
  49. package/dist/apps/index.d.ts +1 -1
  50. package/dist/apps/index.js +1 -1
  51. package/dist/apps/management/App.d.ts +1090 -108
  52. package/dist/apps/management/App.d.ts.map +1 -1
  53. package/dist/apps/management/App.js +4 -0
  54. package/dist/apps/management/App.js.map +1 -1
  55. package/dist/apps/management/routes/api-keys.d.ts +118 -118
  56. package/dist/apps/management/routes/api-keys.js +2 -2
  57. package/dist/apps/management/routes/api-keys.js.map +1 -1
  58. package/dist/apps/management/routes/billing.d.ts +207 -207
  59. package/dist/apps/management/routes/invite-links.d.ts +1100 -0
  60. package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
  61. package/dist/apps/management/routes/invite-links.js +411 -0
  62. package/dist/apps/management/routes/invite-links.js.map +1 -0
  63. package/dist/apps/management/routes/me.d.ts +17 -17
  64. package/dist/apps/management/routes/members.d.ts +71 -71
  65. package/dist/apps/management/routes/orgs.d.ts +12 -12
  66. package/dist/apps/management/routes/projects.d.ts +70 -70
  67. package/dist/apps/management/routes/scopes.d.ts +11 -11
  68. package/dist/apps/management/routes/scopes.d.ts.map +1 -1
  69. package/dist/apps/management/routes/scopes.js +2 -2
  70. package/dist/apps/management/routes/scopes.js.map +1 -1
  71. package/dist/apps/management/routes/usage.d.ts +75 -75
  72. package/dist/apps/relay/App.d.ts.map +1 -1
  73. package/dist/apps/relay/App.js +42 -4
  74. package/dist/apps/relay/App.js.map +1 -1
  75. package/dist/db/Db.d.ts +3 -0
  76. package/dist/db/Db.d.ts.map +1 -1
  77. package/dist/db/Db.js +57 -0
  78. package/dist/db/Db.js.map +1 -1
  79. package/dist/db/Schema.d.ts +31 -0
  80. package/dist/db/Schema.d.ts.map +1 -1
  81. package/dist/db/Schema.js +31 -0
  82. package/dist/db/Schema.js.map +1 -1
  83. package/dist/db/tables/inviteLinks.d.ts +42 -0
  84. package/dist/db/tables/inviteLinks.d.ts.map +1 -0
  85. package/dist/db/tables/inviteLinks.js +148 -0
  86. package/dist/db/tables/inviteLinks.js.map +1 -0
  87. package/dist/db/tables/organizations.d.ts.map +1 -1
  88. package/dist/db/tables/organizations.js +2 -0
  89. package/dist/db/tables/organizations.js.map +1 -1
  90. package/dist/handlers/relay.d.ts.map +1 -1
  91. package/dist/handlers/relay.js +13 -3
  92. package/dist/handlers/relay.js.map +1 -1
  93. package/dist/internal/Auth.d.ts +9 -1
  94. package/dist/internal/Auth.d.ts.map +1 -1
  95. package/dist/internal/Auth.js +130 -10
  96. package/dist/internal/Auth.js.map +1 -1
  97. package/dist/internal/EdgeCache.d.ts +3 -1
  98. package/dist/internal/EdgeCache.d.ts.map +1 -1
  99. package/dist/internal/EdgeCache.js +17 -2
  100. package/dist/internal/EdgeCache.js.map +1 -1
  101. package/dist/internal/{FundingRoutes.d.ts → FundingQuotes.d.ts} +185 -428
  102. package/dist/internal/FundingQuotes.d.ts.map +1 -0
  103. package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +93 -218
  104. package/dist/internal/FundingQuotes.js.map +1 -0
  105. package/dist/internal/Viem.d.ts +3 -1
  106. package/dist/internal/Viem.d.ts.map +1 -1
  107. package/dist/internal/Viem.js +11 -2
  108. package/dist/internal/Viem.js.map +1 -1
  109. package/dist/internal/index.d.ts +1 -1
  110. package/dist/internal/index.js +1 -1
  111. package/package.json +1 -1
  112. package/src/ApiKeys.test.ts +23 -0
  113. package/src/App.test-d.ts +2 -0
  114. package/src/App.ts +6 -0
  115. package/src/Client.test-d.ts +20 -11
  116. package/src/Scope.test.ts +1 -0
  117. package/src/Scope.ts +30 -4
  118. package/src/apps/data/App.test.ts +354 -0
  119. package/src/apps/data/App.ts +159 -52
  120. package/src/apps/data/FundingQuoteProviders.test.ts +151 -0
  121. package/src/apps/data/{FundingRouteProviders.ts → FundingQuoteProviders.ts} +40 -101
  122. package/src/apps/data/index.ts +1 -1
  123. package/src/apps/data/routes/balances.test.ts +64 -18
  124. package/src/apps/data/routes/balances.ts +76 -177
  125. package/src/apps/data/routes/blocks.ts +3 -5
  126. package/src/apps/data/routes/coingecko.ts +3 -8
  127. package/src/apps/data/routes/funding.test.ts +151 -206
  128. package/src/apps/data/routes/funding.ts +156 -291
  129. package/src/apps/data/routes/indexer.test.ts +97 -1
  130. package/src/apps/data/routes/rpc.test.ts +219 -0
  131. package/src/apps/data/routes/rpc.ts +92 -17
  132. package/src/apps/data/routes/webhooks.test.ts +21 -0
  133. package/src/apps/data/routes/webhooks.ts +13 -1
  134. package/src/apps/index.ts +1 -1
  135. package/src/apps/management/App.ts +4 -0
  136. package/src/apps/management/routes/api-keys.test.ts +47 -3
  137. package/src/apps/management/routes/api-keys.ts +2 -2
  138. package/src/apps/management/routes/invite-links.test.ts +385 -0
  139. package/src/apps/management/routes/invite-links.ts +570 -0
  140. package/src/apps/management/routes/scopes.test.ts +3 -2
  141. package/src/apps/management/routes/scopes.ts +4 -2
  142. package/src/apps/relay/App.test.ts +324 -4
  143. package/src/apps/relay/App.ts +40 -4
  144. package/src/db/Db.ts +65 -0
  145. package/src/db/Schema.ts +39 -0
  146. package/src/db/tables/inviteLinks.ts +187 -0
  147. package/src/db/tables/organizations.ts +2 -0
  148. package/src/handlers/relay.ts +16 -4
  149. package/src/internal/Auth.test.ts +132 -22
  150. package/src/internal/Auth.ts +171 -14
  151. package/src/internal/EdgeCache.test.ts +24 -3
  152. package/src/internal/EdgeCache.ts +18 -2
  153. package/src/internal/FundingQuotes.test.ts +174 -0
  154. package/src/internal/{FundingRoutes.ts → FundingQuotes.ts} +153 -312
  155. package/src/internal/Viem.ts +14 -5
  156. package/src/internal/index.test.ts +1 -1
  157. package/src/internal/index.ts +1 -1
  158. package/dist/apps/data/FundingRouteProviders.js.map +0 -1
  159. package/dist/internal/FundingRoutes.d.ts.map +0 -1
  160. package/dist/internal/FundingRoutes.js.map +0 -1
  161. package/src/apps/data/FundingRouteProviders.test.ts +0 -225
  162. package/src/internal/FundingRoutes.test.ts +0 -213
@@ -184,9 +184,46 @@ export declare namespace schema {
184
184
  export declare function transfers(): import("hono/hono-base").HonoBase<App.Environment, {
185
185
  "/v1/transfers": {
186
186
  $get: {
187
- output: null;
188
- outputFormat: "body";
189
- status: 402;
187
+ output: {
188
+ data: {
189
+ attribution?: string | undefined;
190
+ blockNumber: number;
191
+ destinationToken?: {
192
+ address: `0x${string}`;
193
+ amount: string;
194
+ currency?: string | undefined;
195
+ decimals?: number | undefined;
196
+ logoUri?: string | undefined;
197
+ name?: string | undefined;
198
+ symbol?: string | undefined;
199
+ verified?: boolean | undefined;
200
+ } | undefined;
201
+ id: string;
202
+ logIndex: number;
203
+ memo?: string | undefined;
204
+ recipient: `0x${string}`;
205
+ sender: `0x${string}`;
206
+ sourceToken: {
207
+ address: `0x${string}`;
208
+ amount: string;
209
+ currency?: string | undefined;
210
+ decimals?: number | undefined;
211
+ logoUri?: string | undefined;
212
+ name?: string | undefined;
213
+ symbol?: string | undefined;
214
+ verified?: boolean | undefined;
215
+ };
216
+ timestamp: string;
217
+ transactionHash: `0x${string}`;
218
+ }[];
219
+ meta?: {
220
+ totalCountCapped: boolean;
221
+ totalCount: number;
222
+ } | undefined;
223
+ nextCursor: string | null;
224
+ };
225
+ outputFormat: "json";
226
+ status: 200;
190
227
  input: {
191
228
  query?: {
192
229
  recipient?: string | string[];
@@ -237,14 +274,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
237
274
  } | {
238
275
  output: {
239
276
  error: {
240
- code: "api_key_invalid" | "api_key_missing";
277
+ code: "query_invalid";
241
278
  details?: readonly Response.error.Detail[] | undefined;
242
279
  message: string;
243
280
  };
244
281
  requestId: string;
245
282
  };
246
283
  outputFormat: "json";
247
- status: 401;
284
+ status: 400;
248
285
  input: {
249
286
  query?: {
250
287
  recipient?: string | string[];
@@ -266,14 +303,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
266
303
  } | {
267
304
  output: {
268
305
  error: {
269
- code: "api_key_forbidden";
306
+ code: "api_key_invalid" | "api_key_missing";
270
307
  details?: readonly Response.error.Detail[] | undefined;
271
308
  message: string;
272
309
  };
273
310
  requestId: string;
274
311
  };
275
312
  outputFormat: "json";
276
- status: 403;
313
+ status: 401;
277
314
  input: {
278
315
  query?: {
279
316
  recipient?: string | string[];
@@ -293,16 +330,9 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
293
330
  } | undefined;
294
331
  };
295
332
  } | {
296
- output: {
297
- error: {
298
- code: "payment_required" | "rate_limit_exceeded";
299
- details?: readonly Response.error.Detail[] | undefined;
300
- message: string;
301
- };
302
- requestId: string;
303
- };
304
- outputFormat: "json";
305
- status: 429;
333
+ output: null;
334
+ outputFormat: "body";
335
+ status: 402;
306
336
  input: {
307
337
  query?: {
308
338
  recipient?: string | string[];
@@ -324,14 +354,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
324
354
  } | {
325
355
  output: {
326
356
  error: {
327
- code: "query_invalid";
357
+ code: "api_key_forbidden";
328
358
  details?: readonly Response.error.Detail[] | undefined;
329
359
  message: string;
330
360
  };
331
361
  requestId: string;
332
362
  };
333
363
  outputFormat: "json";
334
- status: 400;
364
+ status: 403;
335
365
  input: {
336
366
  query?: {
337
367
  recipient?: string | string[];
@@ -353,14 +383,14 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
353
383
  } | {
354
384
  output: {
355
385
  error: {
356
- code: "upstream_error";
386
+ code: "payment_required" | "rate_limit_exceeded";
357
387
  details?: readonly Response.error.Detail[] | undefined;
358
388
  message: string;
359
389
  };
360
390
  requestId: string;
361
391
  };
362
392
  outputFormat: "json";
363
- status: 502;
393
+ status: 429;
364
394
  input: {
365
395
  query?: {
366
396
  recipient?: string | string[];
@@ -381,45 +411,15 @@ export declare function transfers(): import("hono/hono-base").HonoBase<App.Envir
381
411
  };
382
412
  } | {
383
413
  output: {
384
- data: {
385
- attribution?: string | undefined;
386
- blockNumber: number;
387
- destinationToken?: {
388
- address: `0x${string}`;
389
- amount: string;
390
- currency?: string | undefined;
391
- decimals?: number | undefined;
392
- logoUri?: string | undefined;
393
- name?: string | undefined;
394
- symbol?: string | undefined;
395
- verified?: boolean | undefined;
396
- } | undefined;
397
- id: string;
398
- logIndex: number;
399
- memo?: string | undefined;
400
- recipient: `0x${string}`;
401
- sender: `0x${string}`;
402
- sourceToken: {
403
- address: `0x${string}`;
404
- amount: string;
405
- currency?: string | undefined;
406
- decimals?: number | undefined;
407
- logoUri?: string | undefined;
408
- name?: string | undefined;
409
- symbol?: string | undefined;
410
- verified?: boolean | undefined;
411
- };
412
- timestamp: string;
413
- transactionHash: `0x${string}`;
414
- }[];
415
- meta?: {
416
- totalCountCapped: boolean;
417
- totalCount: number;
418
- } | undefined;
419
- nextCursor: string | null;
414
+ error: {
415
+ code: "upstream_error";
416
+ details?: readonly Response.error.Detail[] | undefined;
417
+ message: string;
418
+ };
419
+ requestId: string;
420
420
  };
421
421
  outputFormat: "json";
422
- status: 200;
422
+ status: 502;
423
423
  input: {
424
424
  query?: {
425
425
  recipient?: string | string[];
@@ -89,9 +89,19 @@ export declare namespace schema {
89
89
  export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.Environment, {
90
90
  "/v1/verified-tokens": {
91
91
  $get: {
92
- output: null;
93
- outputFormat: "body";
94
- status: 402;
92
+ output: {
93
+ data: {
94
+ address: `0x${string}`;
95
+ currency: string;
96
+ decimals: number;
97
+ logoUri?: string | undefined;
98
+ name: string;
99
+ symbol: string;
100
+ id: string;
101
+ }[];
102
+ };
103
+ outputFormat: "json";
104
+ status: 200;
95
105
  input: {
96
106
  query?: {
97
107
  chainId?: string | string[];
@@ -118,14 +128,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
118
128
  } | {
119
129
  output: {
120
130
  error: {
121
- code: "api_key_invalid" | "api_key_missing";
131
+ code: "query_invalid";
122
132
  details?: readonly Response.error.Detail[] | undefined;
123
133
  message: string;
124
134
  };
125
135
  requestId: string;
126
136
  };
127
137
  outputFormat: "json";
128
- status: 401;
138
+ status: 400;
129
139
  input: {
130
140
  query?: {
131
141
  chainId?: string | string[];
@@ -135,14 +145,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
135
145
  } | {
136
146
  output: {
137
147
  error: {
138
- code: "api_key_forbidden";
148
+ code: "api_key_invalid" | "api_key_missing";
139
149
  details?: readonly Response.error.Detail[] | undefined;
140
150
  message: string;
141
151
  };
142
152
  requestId: string;
143
153
  };
144
154
  outputFormat: "json";
145
- status: 403;
155
+ status: 401;
146
156
  input: {
147
157
  query?: {
148
158
  chainId?: string | string[];
@@ -150,16 +160,9 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
150
160
  } | undefined;
151
161
  };
152
162
  } | {
153
- output: {
154
- error: {
155
- code: "payment_required" | "rate_limit_exceeded";
156
- details?: readonly Response.error.Detail[] | undefined;
157
- message: string;
158
- };
159
- requestId: string;
160
- };
161
- outputFormat: "json";
162
- status: 429;
163
+ output: null;
164
+ outputFormat: "body";
165
+ status: 402;
163
166
  input: {
164
167
  query?: {
165
168
  chainId?: string | string[];
@@ -169,14 +172,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
169
172
  } | {
170
173
  output: {
171
174
  error: {
172
- code: "query_invalid";
175
+ code: "api_key_forbidden";
173
176
  details?: readonly Response.error.Detail[] | undefined;
174
177
  message: string;
175
178
  };
176
179
  requestId: string;
177
180
  };
178
181
  outputFormat: "json";
179
- status: 400;
182
+ status: 403;
180
183
  input: {
181
184
  query?: {
182
185
  chainId?: string | string[];
@@ -186,14 +189,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
186
189
  } | {
187
190
  output: {
188
191
  error: {
189
- code: "upstream_error";
192
+ code: "payment_required" | "rate_limit_exceeded";
190
193
  details?: readonly Response.error.Detail[] | undefined;
191
194
  message: string;
192
195
  };
193
196
  requestId: string;
194
197
  };
195
198
  outputFormat: "json";
196
- status: 502;
199
+ status: 429;
197
200
  input: {
198
201
  query?: {
199
202
  chainId?: string | string[];
@@ -202,18 +205,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
202
205
  };
203
206
  } | {
204
207
  output: {
205
- data: {
206
- address: `0x${string}`;
207
- currency: string;
208
- decimals: number;
209
- logoUri?: string | undefined;
210
- name: string;
211
- symbol: string;
212
- id: string;
213
- }[];
208
+ error: {
209
+ code: "upstream_error";
210
+ details?: readonly Response.error.Detail[] | undefined;
211
+ message: string;
212
+ };
213
+ requestId: string;
214
214
  };
215
215
  outputFormat: "json";
216
- status: 200;
216
+ status: 502;
217
217
  input: {
218
218
  query?: {
219
219
  chainId?: string | string[];
@@ -225,9 +225,11 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
225
225
  } & {
226
226
  "/v1/verified-tokens/currencies": {
227
227
  $get: {
228
- output: null;
229
- outputFormat: "body";
230
- status: 402;
228
+ output: {
229
+ data: string[];
230
+ };
231
+ outputFormat: "json";
232
+ status: 200;
231
233
  input: {
232
234
  query?: {
233
235
  chainId?: string | string[];
@@ -252,14 +254,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
252
254
  } | {
253
255
  output: {
254
256
  error: {
255
- code: "api_key_invalid" | "api_key_missing";
257
+ code: "query_invalid";
256
258
  details?: readonly Response.error.Detail[] | undefined;
257
259
  message: string;
258
260
  };
259
261
  requestId: string;
260
262
  };
261
263
  outputFormat: "json";
262
- status: 401;
264
+ status: 400;
263
265
  input: {
264
266
  query?: {
265
267
  chainId?: string | string[];
@@ -268,14 +270,23 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
268
270
  } | {
269
271
  output: {
270
272
  error: {
271
- code: "api_key_forbidden";
273
+ code: "api_key_invalid" | "api_key_missing";
272
274
  details?: readonly Response.error.Detail[] | undefined;
273
275
  message: string;
274
276
  };
275
277
  requestId: string;
276
278
  };
277
279
  outputFormat: "json";
278
- status: 403;
280
+ status: 401;
281
+ input: {
282
+ query?: {
283
+ chainId?: string | string[];
284
+ } | undefined;
285
+ };
286
+ } | {
287
+ output: null;
288
+ outputFormat: "body";
289
+ status: 402;
279
290
  input: {
280
291
  query?: {
281
292
  chainId?: string | string[];
@@ -284,14 +295,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
284
295
  } | {
285
296
  output: {
286
297
  error: {
287
- code: "payment_required" | "rate_limit_exceeded";
298
+ code: "api_key_forbidden";
288
299
  details?: readonly Response.error.Detail[] | undefined;
289
300
  message: string;
290
301
  };
291
302
  requestId: string;
292
303
  };
293
304
  outputFormat: "json";
294
- status: 429;
305
+ status: 403;
295
306
  input: {
296
307
  query?: {
297
308
  chainId?: string | string[];
@@ -300,14 +311,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
300
311
  } | {
301
312
  output: {
302
313
  error: {
303
- code: "query_invalid";
314
+ code: "payment_required" | "rate_limit_exceeded";
304
315
  details?: readonly Response.error.Detail[] | undefined;
305
316
  message: string;
306
317
  };
307
318
  requestId: string;
308
319
  };
309
320
  outputFormat: "json";
310
- status: 400;
321
+ status: 429;
311
322
  input: {
312
323
  query?: {
313
324
  chainId?: string | string[];
@@ -329,25 +340,22 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
329
340
  chainId?: string | string[];
330
341
  } | undefined;
331
342
  };
332
- } | {
333
- output: {
334
- data: string[];
335
- };
336
- outputFormat: "json";
337
- status: 200;
338
- input: {
339
- query?: {
340
- chainId?: string | string[];
341
- } | undefined;
342
- };
343
343
  };
344
344
  };
345
345
  } & {
346
346
  "/v1/verified-tokens/:address": {
347
347
  $get: {
348
- output: null;
349
- outputFormat: "body";
350
- status: 402;
348
+ output: {
349
+ address: `0x${string}`;
350
+ currency: string;
351
+ decimals: number;
352
+ logoUri?: string | undefined;
353
+ name: string;
354
+ symbol: string;
355
+ id: string;
356
+ };
357
+ outputFormat: "json";
358
+ status: 200;
351
359
  input: {
352
360
  param: {
353
361
  address: `0x${string}`;
@@ -380,14 +388,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
380
388
  } | {
381
389
  output: {
382
390
  error: {
383
- code: "api_key_invalid" | "api_key_missing";
391
+ code: "query_invalid";
384
392
  details?: readonly Response.error.Detail[] | undefined;
385
393
  message: string;
386
394
  };
387
395
  requestId: string;
388
396
  };
389
397
  outputFormat: "json";
390
- status: 401;
398
+ status: 400;
391
399
  input: {
392
400
  param: {
393
401
  address: `0x${string}`;
@@ -400,14 +408,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
400
408
  } | {
401
409
  output: {
402
410
  error: {
403
- code: "api_key_forbidden";
411
+ code: "address_invalid";
404
412
  details?: readonly Response.error.Detail[] | undefined;
405
413
  message: string;
406
414
  };
407
415
  requestId: string;
408
416
  };
409
417
  outputFormat: "json";
410
- status: 403;
418
+ status: 400;
411
419
  input: {
412
420
  param: {
413
421
  address: `0x${string}`;
@@ -420,14 +428,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
420
428
  } | {
421
429
  output: {
422
430
  error: {
423
- code: "payment_required" | "rate_limit_exceeded";
431
+ code: "api_key_invalid" | "api_key_missing";
424
432
  details?: readonly Response.error.Detail[] | undefined;
425
433
  message: string;
426
434
  };
427
435
  requestId: string;
428
436
  };
429
437
  outputFormat: "json";
430
- status: 429;
438
+ status: 401;
431
439
  input: {
432
440
  param: {
433
441
  address: `0x${string}`;
@@ -438,16 +446,9 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
438
446
  } | undefined;
439
447
  };
440
448
  } | {
441
- output: {
442
- error: {
443
- code: "address_invalid";
444
- details?: readonly Response.error.Detail[] | undefined;
445
- message: string;
446
- };
447
- requestId: string;
448
- };
449
- outputFormat: "json";
450
- status: 400;
449
+ output: null;
450
+ outputFormat: "body";
451
+ status: 402;
451
452
  input: {
452
453
  param: {
453
454
  address: `0x${string}`;
@@ -460,14 +461,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
460
461
  } | {
461
462
  output: {
462
463
  error: {
463
- code: "query_invalid";
464
+ code: "api_key_forbidden";
464
465
  details?: readonly Response.error.Detail[] | undefined;
465
466
  message: string;
466
467
  };
467
468
  requestId: string;
468
469
  };
469
470
  outputFormat: "json";
470
- status: 400;
471
+ status: 403;
471
472
  input: {
472
473
  param: {
473
474
  address: `0x${string}`;
@@ -480,14 +481,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
480
481
  } | {
481
482
  output: {
482
483
  error: {
483
- code: "upstream_error";
484
+ code: "verified_token_not_found";
484
485
  details?: readonly Response.error.Detail[] | undefined;
485
486
  message: string;
486
487
  };
487
488
  requestId: string;
488
489
  };
489
490
  outputFormat: "json";
490
- status: 502;
491
+ status: 404;
491
492
  input: {
492
493
  param: {
493
494
  address: `0x${string}`;
@@ -500,14 +501,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
500
501
  } | {
501
502
  output: {
502
503
  error: {
503
- code: "verified_token_not_found";
504
+ code: "payment_required" | "rate_limit_exceeded";
504
505
  details?: readonly Response.error.Detail[] | undefined;
505
506
  message: string;
506
507
  };
507
508
  requestId: string;
508
509
  };
509
510
  outputFormat: "json";
510
- status: 404;
511
+ status: 429;
511
512
  input: {
512
513
  param: {
513
514
  address: `0x${string}`;
@@ -519,16 +520,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
519
520
  };
520
521
  } | {
521
522
  output: {
522
- address: `0x${string}`;
523
- currency: string;
524
- decimals: number;
525
- logoUri?: string | undefined;
526
- name: string;
527
- symbol: string;
528
- id: string;
523
+ error: {
524
+ code: "upstream_error";
525
+ details?: readonly Response.error.Detail[] | undefined;
526
+ message: string;
527
+ };
528
+ requestId: string;
529
529
  };
530
530
  outputFormat: "json";
531
- status: 200;
531
+ status: 502;
532
532
  input: {
533
533
  param: {
534
534
  address: `0x${string}`;