tapimo 0.4.1 → 0.4.3
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.
- package/README.md +1 -1
- package/dist/ApiKey.d.ts +1 -9
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +2 -3
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +53 -27
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +32 -17
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +2451 -1533
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +23 -9
- package/dist/App.js.map +1 -1
- package/dist/Assets.d.ts +10 -0
- package/dist/Assets.d.ts.map +1 -1
- package/dist/Assets.js +4 -0
- package/dist/Assets.js.map +1 -1
- package/dist/Auth.d.ts +2 -1
- package/dist/Auth.d.ts.map +1 -1
- package/dist/Auth.js +2 -1
- package/dist/Auth.js.map +1 -1
- package/dist/Scope.d.ts +40 -15
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +44 -13
- package/dist/Scope.js.map +1 -1
- package/dist/admin/App.d.ts +560 -9
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +38 -6
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +10 -24
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +10 -3
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +833 -0
- package/dist/admin/apps/organizations.d.ts.map +1 -0
- package/dist/admin/apps/organizations.js +733 -0
- package/dist/admin/apps/organizations.js.map +1 -0
- package/dist/admin/apps/scopes.d.ts +8 -0
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +53 -13
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +10 -0
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +8 -0
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts +9 -0
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +14 -0
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/apps/data/App.d.ts +1354 -984
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/FundingRouteProviders.d.ts +94 -5
- package/dist/apps/data/FundingRouteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingRouteProviders.js +196 -5
- package/dist/apps/data/FundingRouteProviders.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +38 -38
- package/dist/apps/data/routes/addresses.d.ts +24 -24
- package/dist/apps/data/routes/blocks.d.ts +39 -39
- package/dist/apps/data/routes/exchanges.d.ts +453 -453
- package/dist/apps/data/routes/fee-amm.d.ts +101 -101
- package/dist/apps/data/routes/funding.d.ts +730 -138
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +234 -0
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +5 -5
- package/dist/apps/data/routes/transactions.d.ts +281 -281
- package/dist/apps/data/routes/transfers.d.ts +58 -58
- package/dist/apps/data/routes/verified-tokens.d.ts +81 -81
- package/dist/apps/management/App.d.ts +1156 -615
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +2 -2
- package/dist/apps/management/Billing.d.ts +3 -0
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +7 -2
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +106 -90
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +41 -30
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +278 -146
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +14 -14
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +93 -20
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +12 -15
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/me.d.ts +6 -6
- package/dist/apps/management/routes/members.d.ts +89 -18
- package/dist/apps/management/routes/members.d.ts.map +1 -1
- package/dist/apps/management/routes/members.js +10 -10
- package/dist/apps/management/routes/members.js.map +1 -1
- package/dist/apps/management/routes/orgs.d.ts +130 -70
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +19 -19
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +137 -48
- package/dist/apps/management/routes/projects.d.ts.map +1 -1
- package/dist/apps/management/routes/projects.js +12 -13
- package/dist/apps/management/routes/projects.js.map +1 -1
- package/dist/apps/management/routes/scopes.d.ts +4 -18
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +6 -7
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +63 -19
- package/dist/apps/management/routes/usage.d.ts.map +1 -1
- package/dist/apps/management/routes/usage.js +9 -10
- package/dist/apps/management/routes/usage.js.map +1 -1
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +35 -3
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/relay/App.d.ts +26 -4
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +17 -14
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/db/Db.d.ts +5 -3
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +52 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +13 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +16 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/adminAuditLogs.d.ts +27 -0
- package/dist/db/tables/adminAuditLogs.d.ts.map +1 -0
- package/dist/db/tables/adminAuditLogs.js +19 -0
- package/dist/db/tables/adminAuditLogs.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +1 -1
- package/dist/db/tables/invitations.d.ts.map +1 -1
- package/dist/db/tables/memberships.d.ts +32 -4
- package/dist/db/tables/memberships.d.ts.map +1 -1
- package/dist/db/tables/memberships.js +31 -0
- package/dist/db/tables/memberships.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +43 -1
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +103 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +25 -0
- package/dist/db/tables/projects.d.ts.map +1 -1
- package/dist/db/tables/projects.js +22 -0
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/webhookDeliveries.d.ts +26 -0
- package/dist/db/tables/webhookDeliveries.d.ts.map +1 -1
- package/dist/db/tables/webhookDeliveries.js +37 -0
- package/dist/db/tables/webhookDeliveries.js.map +1 -1
- package/dist/internal/Auth.d.ts +13 -18
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +78 -58
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cursor.d.ts +1 -1
- package/dist/internal/Cursor.d.ts.map +1 -1
- package/dist/internal/Cursor.js +4 -0
- package/dist/internal/Cursor.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +2 -0
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/FundingRoutes.d.ts +170 -0
- package/dist/internal/FundingRoutes.d.ts.map +1 -1
- package/dist/internal/FundingRoutes.js +68 -6
- package/dist/internal/FundingRoutes.js.map +1 -1
- package/dist/internal/Log.d.ts +16 -1
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +5 -3
- package/dist/internal/Log.js.map +1 -1
- package/package.json +2 -2
- package/src/ApiKey.ts +2 -3
- package/src/ApiKeys.ts +95 -17
- package/src/App.test.ts +44 -2
- package/src/App.ts +29 -9
- package/src/Assets.ts +8 -0
- package/src/Auth.test-d.ts +36 -0
- package/src/Auth.ts +20 -1
- package/src/Client.test-d.ts +64 -17
- package/src/Scope.test.ts +34 -0
- package/src/Scope.ts +53 -17
- package/src/admin/App.test.ts +33 -3
- package/src/admin/App.ts +49 -14
- package/src/admin/apps/api-keys.ts +10 -3
- package/src/admin/apps/organizations.test.ts +455 -0
- package/src/admin/apps/organizations.ts +953 -0
- package/src/admin/apps/scopes.test.ts +10 -0
- package/src/admin/ui/plugin.ts +1 -1
- package/src/admin/ui/src/components/MobileProfile.tsx +2 -0
- package/src/admin/ui/src/components/ThemeToggle.tsx +20 -0
- package/src/admin/ui/src/lib/api-keys.ts +36 -19
- package/src/admin/ui/src/lib/config.ts +2 -3
- package/src/admin/ui/src/lib/organizations.test.ts +89 -0
- package/src/admin/ui/src/lib/organizations.ts +262 -0
- package/src/admin/ui/src/lib/query-client.ts +3 -1
- package/src/admin/ui/src/lib/theme.ts +57 -0
- package/src/admin/ui/src/routeTree.gen.ts +47 -4
- package/src/admin/ui/src/routes/__root.tsx +18 -3
- package/src/admin/ui/src/routes/api-keys.tsx +52 -7
- package/src/admin/ui/src/routes/index.tsx +1 -1
- package/src/admin/ui/src/routes/organizations.tsx +158 -0
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +710 -0
- package/src/admin/ui/src/start.ts +6 -0
- package/src/admin/ui.generated.ts +63 -13
- package/src/analytics/Analytics.ts +25 -0
- package/src/analytics/tables/requestEvents.ts +33 -0
- package/src/apps/composition.test.ts +82 -2
- package/src/apps/data/FundingRouteProviders.test.ts +204 -0
- package/src/apps/data/FundingRouteProviders.ts +294 -9
- package/src/apps/data/routes/funding.test.ts +90 -23
- package/src/apps/data/routes/funding.ts +315 -0
- package/src/apps/management/App.ts +2 -2
- package/src/apps/management/Billing.ts +10 -2
- package/src/apps/management/routes/api-keys.test.ts +137 -1
- package/src/apps/management/routes/api-keys.ts +63 -38
- package/src/apps/management/routes/billing.ts +14 -14
- package/src/apps/management/routes/invitations.test.ts +102 -1
- package/src/apps/management/routes/invitations.ts +13 -15
- package/src/apps/management/routes/members.ts +10 -10
- package/src/apps/management/routes/orgs.test.ts +78 -16
- package/src/apps/management/routes/orgs.ts +21 -20
- package/src/apps/management/routes/projects.ts +12 -13
- package/src/apps/management/routes/scopes.test.ts +16 -0
- package/src/apps/management/routes/scopes.ts +6 -7
- package/src/apps/management/routes/usage.ts +9 -14
- package/src/apps/mcp.test.ts +25 -1
- package/src/apps/mcp.ts +43 -3
- package/src/apps/relay/App.test.ts +23 -18
- package/src/apps/relay/App.ts +35 -14
- package/src/db/Db.ts +59 -3
- package/src/db/Schema.ts +20 -1
- package/src/db/tables/adminAuditLogs.ts +47 -0
- package/src/db/tables/invitations.ts +1 -1
- package/src/db/tables/memberships.ts +59 -3
- package/src/db/tables/organizations.ts +148 -1
- package/src/db/tables/projects.ts +47 -0
- package/src/db/tables/webhookDeliveries.ts +83 -0
- package/src/internal/Auth.test.ts +174 -7
- package/src/internal/Auth.ts +90 -62
- package/src/internal/Cursor.test.ts +10 -0
- package/src/internal/Cursor.ts +5 -1
- package/src/internal/EdgeCache.test.ts +11 -0
- package/src/internal/EdgeCache.ts +2 -0
- package/src/internal/FundingRoutes.test.ts +26 -0
- package/src/internal/FundingRoutes.ts +187 -18
- package/src/internal/Log.test.ts +41 -3
- package/src/internal/Log.ts +23 -4
|
@@ -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:
|
|
188
|
-
|
|
189
|
-
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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
|
-
|
|
298
|
-
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
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:
|
|
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:
|
|
93
|
-
|
|
94
|
-
|
|
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[];
|
|
@@ -101,14 +111,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
101
111
|
} | {
|
|
102
112
|
output: {
|
|
103
113
|
error: {
|
|
104
|
-
code: "
|
|
114
|
+
code: "api_key_malformed";
|
|
105
115
|
details?: readonly Response.error.Detail[] | undefined;
|
|
106
116
|
message: string;
|
|
107
117
|
};
|
|
108
118
|
requestId: string;
|
|
109
119
|
};
|
|
110
120
|
outputFormat: "json";
|
|
111
|
-
status:
|
|
121
|
+
status: 400;
|
|
112
122
|
input: {
|
|
113
123
|
query?: {
|
|
114
124
|
chainId?: string | string[];
|
|
@@ -118,7 +128,7 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
118
128
|
} | {
|
|
119
129
|
output: {
|
|
120
130
|
error: {
|
|
121
|
-
code: "
|
|
131
|
+
code: "query_invalid";
|
|
122
132
|
details?: readonly Response.error.Detail[] | undefined;
|
|
123
133
|
message: string;
|
|
124
134
|
};
|
|
@@ -149,6 +159,16 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
149
159
|
currency?: string | string[];
|
|
150
160
|
} | undefined;
|
|
151
161
|
};
|
|
162
|
+
} | {
|
|
163
|
+
output: null;
|
|
164
|
+
outputFormat: "body";
|
|
165
|
+
status: 402;
|
|
166
|
+
input: {
|
|
167
|
+
query?: {
|
|
168
|
+
chainId?: string | string[];
|
|
169
|
+
currency?: string | string[];
|
|
170
|
+
} | undefined;
|
|
171
|
+
};
|
|
152
172
|
} | {
|
|
153
173
|
output: {
|
|
154
174
|
error: {
|
|
@@ -186,34 +206,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
186
206
|
} | {
|
|
187
207
|
output: {
|
|
188
208
|
error: {
|
|
189
|
-
code: "
|
|
209
|
+
code: "upstream_error";
|
|
190
210
|
details?: readonly Response.error.Detail[] | undefined;
|
|
191
211
|
message: string;
|
|
192
212
|
};
|
|
193
213
|
requestId: string;
|
|
194
214
|
};
|
|
195
215
|
outputFormat: "json";
|
|
196
|
-
status:
|
|
197
|
-
input: {
|
|
198
|
-
query?: {
|
|
199
|
-
chainId?: string | string[];
|
|
200
|
-
currency?: string | string[];
|
|
201
|
-
} | undefined;
|
|
202
|
-
};
|
|
203
|
-
} | {
|
|
204
|
-
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
|
-
}[];
|
|
214
|
-
};
|
|
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:
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
output: {
|
|
229
|
+
data: string[];
|
|
230
|
+
};
|
|
231
|
+
outputFormat: "json";
|
|
232
|
+
status: 200;
|
|
231
233
|
input: {
|
|
232
234
|
query?: {
|
|
233
235
|
chainId?: string | string[];
|
|
@@ -236,14 +238,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
236
238
|
} | {
|
|
237
239
|
output: {
|
|
238
240
|
error: {
|
|
239
|
-
code: "
|
|
241
|
+
code: "api_key_malformed";
|
|
240
242
|
details?: readonly Response.error.Detail[] | undefined;
|
|
241
243
|
message: string;
|
|
242
244
|
};
|
|
243
245
|
requestId: string;
|
|
244
246
|
};
|
|
245
247
|
outputFormat: "json";
|
|
246
|
-
status:
|
|
248
|
+
status: 400;
|
|
247
249
|
input: {
|
|
248
250
|
query?: {
|
|
249
251
|
chainId?: string | string[];
|
|
@@ -252,7 +254,7 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
252
254
|
} | {
|
|
253
255
|
output: {
|
|
254
256
|
error: {
|
|
255
|
-
code: "
|
|
257
|
+
code: "query_invalid";
|
|
256
258
|
details?: readonly Response.error.Detail[] | undefined;
|
|
257
259
|
message: string;
|
|
258
260
|
};
|
|
@@ -281,6 +283,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
281
283
|
chainId?: string | string[];
|
|
282
284
|
} | undefined;
|
|
283
285
|
};
|
|
286
|
+
} | {
|
|
287
|
+
output: null;
|
|
288
|
+
outputFormat: "body";
|
|
289
|
+
status: 402;
|
|
290
|
+
input: {
|
|
291
|
+
query?: {
|
|
292
|
+
chainId?: string | string[];
|
|
293
|
+
} | undefined;
|
|
294
|
+
};
|
|
284
295
|
} | {
|
|
285
296
|
output: {
|
|
286
297
|
error: {
|
|
@@ -316,25 +327,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
316
327
|
} | {
|
|
317
328
|
output: {
|
|
318
329
|
error: {
|
|
319
|
-
code: "
|
|
330
|
+
code: "upstream_error";
|
|
320
331
|
details?: readonly Response.error.Detail[] | undefined;
|
|
321
332
|
message: string;
|
|
322
333
|
};
|
|
323
334
|
requestId: string;
|
|
324
335
|
};
|
|
325
336
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
327
|
-
input: {
|
|
328
|
-
query?: {
|
|
329
|
-
chainId?: string | string[];
|
|
330
|
-
} | undefined;
|
|
331
|
-
};
|
|
332
|
-
} | {
|
|
333
|
-
output: {
|
|
334
|
-
data: string[];
|
|
335
|
-
};
|
|
336
|
-
outputFormat: "json";
|
|
337
|
-
status: 200;
|
|
337
|
+
status: 502;
|
|
338
338
|
input: {
|
|
339
339
|
query?: {
|
|
340
340
|
chainId?: string | string[];
|
|
@@ -345,9 +345,17 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
345
345
|
} & {
|
|
346
346
|
"/v1/verified-tokens/:address": {
|
|
347
347
|
$get: {
|
|
348
|
-
output:
|
|
349
|
-
|
|
350
|
-
|
|
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}`;
|
|
@@ -360,14 +368,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
360
368
|
} | {
|
|
361
369
|
output: {
|
|
362
370
|
error: {
|
|
363
|
-
code: "
|
|
371
|
+
code: "api_key_malformed";
|
|
364
372
|
details?: readonly Response.error.Detail[] | undefined;
|
|
365
373
|
message: string;
|
|
366
374
|
};
|
|
367
375
|
requestId: string;
|
|
368
376
|
};
|
|
369
377
|
outputFormat: "json";
|
|
370
|
-
status:
|
|
378
|
+
status: 400;
|
|
371
379
|
input: {
|
|
372
380
|
param: {
|
|
373
381
|
address: `0x${string}`;
|
|
@@ -380,7 +388,7 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
380
388
|
} | {
|
|
381
389
|
output: {
|
|
382
390
|
error: {
|
|
383
|
-
code: "
|
|
391
|
+
code: "query_invalid";
|
|
384
392
|
details?: readonly Response.error.Detail[] | undefined;
|
|
385
393
|
message: string;
|
|
386
394
|
};
|
|
@@ -400,14 +408,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
400
408
|
} | {
|
|
401
409
|
output: {
|
|
402
410
|
error: {
|
|
403
|
-
code: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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
|
-
|
|
443
|
-
|
|
444
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
445
|
-
message: string;
|
|
446
|
-
};
|
|
447
|
-
requestId: string;
|
|
448
|
-
};
|
|
449
|
-
outputFormat: "json";
|
|
450
|
-
status: 429;
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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: "
|
|
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:
|
|
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
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
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:
|
|
531
|
+
status: 502;
|
|
532
532
|
input: {
|
|
533
533
|
param: {
|
|
534
534
|
address: `0x${string}`;
|