tapimo 0.10.2 → 0.11.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.
- package/dist/App.d.ts +3412 -1968
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.d.ts +0 -75
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +1 -143
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +74 -74
- package/dist/admin/apps/api-keys.d.ts +4 -4
- package/dist/admin/apps/earn-vaults.d.ts +1 -1
- package/dist/admin/apps/organizations.d.ts +3 -3
- package/dist/admin/apps/verified-tokens.d.ts +74 -74
- package/dist/apps/data/App.d.ts +3618 -2954
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +5 -2
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +1 -1
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +55 -27
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +343 -343
- package/dist/apps/data/routes/balances.d.ts +11 -11
- package/dist/apps/data/routes/blocks.d.ts +5 -5
- package/dist/apps/data/routes/coingecko.d.ts +176 -176
- package/dist/apps/data/routes/earn.d.ts +4 -4
- package/dist/apps/data/routes/exchanges.d.ts +4 -4
- package/dist/apps/data/routes/fee-amm.d.ts +26 -26
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/receipts.d.ts +236 -236
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/tokens.d.ts +3 -3
- package/dist/apps/data/routes/transactions.d.ts +1 -1
- package/dist/apps/data/routes/transfers.d.ts +13 -13
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +1011 -151
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +124 -737
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/funding/routes/deposit-addresses.d.ts +2 -2
- package/dist/apps/funding/routes/providers.d.ts +13 -13
- package/dist/apps/funding/routes/transfers.d.ts +33 -33
- package/dist/apps/management/App.d.ts +793 -16
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +50 -50
- package/dist/apps/management/routes/faucet.d.ts +31 -31
- package/dist/apps/management/routes/invite-links.d.ts +42 -42
- package/dist/apps/management/routes/members.d.ts +79 -79
- package/dist/apps/management/routes/projects.d.ts +40 -40
- package/dist/apps/management/routes/usage.d.ts +80 -80
- package/dist/apps/management/routes/webhooks.d.ts +1031 -59
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +27 -4
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +21 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +7 -1
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +9 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/webhookQueueEvents.d.ts +3 -1
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -1
- package/dist/db/tables/webhookQueueEvents.js +4 -0
- package/dist/db/tables/webhookQueueEvents.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +33 -69
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +63 -100
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +35 -125
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +50 -121
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Schema.d.ts +3 -1
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +4 -2
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +1 -55
- package/dist/internal/WebhookTransfer.d.ts.map +1 -1
- package/dist/internal/WebhookTransfer.js +1 -239
- package/dist/internal/WebhookTransfer.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +83 -44
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +87 -73
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/DepositWebhook.d.ts +25 -0
- package/dist/internal/funding/DepositWebhook.d.ts.map +1 -0
- package/dist/internal/funding/DepositWebhook.js +74 -0
- package/dist/internal/funding/DepositWebhook.js.map +1 -0
- package/dist/internal/funding/Reconciliation.d.ts +6 -0
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +42 -10
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/index.d.ts +1 -0
- package/dist/internal/funding/index.d.ts.map +1 -1
- package/dist/internal/funding/index.js +1 -0
- package/dist/internal/funding/index.js.map +1 -1
- package/dist/internal/webhookDestinations/slack.d.ts.map +1 -1
- package/dist/internal/webhookDestinations/slack.js +16 -0
- package/dist/internal/webhookDestinations/slack.js.map +1 -1
- package/package.json +1 -1
- package/src/App.ts +3 -0
- package/src/Client.test-d.ts +22 -1
- package/src/Webhooks.ts +1 -220
- package/src/apps/data/App.ts +8 -2
- package/src/apps/data/routes/activities.test.ts +107 -11
- package/src/apps/data/routes/activities.ts +64 -32
- package/src/apps/data/routes/webhooks.test.ts +179 -1497
- package/src/apps/data/routes/webhooks.ts +150 -974
- package/src/apps/management/routes/webhooks.test.ts +79 -1
- package/src/apps/management/routes/webhooks.ts +40 -4
- package/src/db/Db.test.ts +1 -5
- package/src/db/Db.ts +23 -0
- package/src/db/Schema.ts +13 -0
- package/src/db/tables/organizations.test.ts +5 -2
- package/src/db/tables/webhookQueueEvents.ts +7 -1
- package/src/db/tables/webhookSubscriptions.ts +89 -138
- package/src/internal/MetricSink.test.ts +41 -373
- package/src/internal/MetricSink.ts +92 -273
- package/src/internal/Schema.test.ts +18 -0
- package/src/internal/Schema.ts +13 -2
- package/src/internal/WebhookTransfer.ts +1 -351
- package/src/internal/Webhooks.test.ts +102 -139
- package/src/internal/Webhooks.ts +175 -106
- package/src/internal/funding/DepositWebhook.test.ts +131 -0
- package/src/internal/funding/DepositWebhook.ts +101 -0
- package/src/internal/funding/Reconciliation.test.ts +14 -0
- package/src/internal/funding/Reconciliation.ts +161 -86
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/webhookDestinations/slack.ts +15 -0
- package/src/Webhooks.bench.ts +0 -714
- package/src/Webhooks.memory.bench.ts +0 -250
- package/src/Webhooks.test.ts +0 -146
|
@@ -250,7 +250,7 @@ export declare namespace schema {
|
|
|
250
250
|
tvl: "tvl";
|
|
251
251
|
zone: "zone";
|
|
252
252
|
}>>>;
|
|
253
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
253
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
254
254
|
'apy.window': z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
255
255
|
"1d": "1d";
|
|
256
256
|
"1h": "1h";
|
|
@@ -388,7 +388,7 @@ export declare namespace schema {
|
|
|
388
388
|
erc4626: "erc4626";
|
|
389
389
|
veda: "veda";
|
|
390
390
|
}>>;
|
|
391
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
391
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
392
392
|
include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
|
|
393
393
|
access: "access";
|
|
394
394
|
capabilities: "capabilities";
|
|
@@ -426,7 +426,7 @@ export declare namespace schema {
|
|
|
426
426
|
tvl: "tvl";
|
|
427
427
|
zone: "zone";
|
|
428
428
|
}>>>;
|
|
429
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
429
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
430
430
|
'apy.window': z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
431
431
|
"1d": "1d";
|
|
432
432
|
"1h": "1h";
|
|
@@ -553,7 +553,7 @@ export declare namespace schema {
|
|
|
553
553
|
testnet: "testnet";
|
|
554
554
|
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
|
|
555
555
|
cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
556
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
556
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
557
557
|
'valuation.currency': z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string, string>>>;
|
|
558
558
|
verified: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
559
559
|
false: "false";
|
|
@@ -569,7 +569,7 @@ export declare namespace schema {
|
|
|
569
569
|
tokens: "tokens";
|
|
570
570
|
totalCount: "totalCount";
|
|
571
571
|
}>>>;
|
|
572
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
572
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
573
573
|
order: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
574
574
|
asc: "asc";
|
|
575
575
|
desc: "desc";
|
|
@@ -726,7 +726,7 @@ export declare namespace schema {
|
|
|
726
726
|
"token.logoUri": "token.logoUri";
|
|
727
727
|
"token.verified": "token.verified";
|
|
728
728
|
}>>>;
|
|
729
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
729
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
730
730
|
maker: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
731
731
|
order: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
732
732
|
asc: "asc";
|
|
@@ -1296,7 +1296,7 @@ export declare namespace schema {
|
|
|
1296
1296
|
tokens: "tokens";
|
|
1297
1297
|
totalCount: "totalCount";
|
|
1298
1298
|
}>>>;
|
|
1299
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
1299
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
1300
1300
|
maker: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1301
1301
|
order: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
1302
1302
|
asc: "asc";
|
|
@@ -1443,7 +1443,7 @@ export declare namespace schema {
|
|
|
1443
1443
|
include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
|
|
1444
1444
|
totalCount: "totalCount";
|
|
1445
1445
|
}>>>;
|
|
1446
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
1446
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
1447
1447
|
order: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
1448
1448
|
asc: "asc";
|
|
1449
1449
|
desc: "desc";
|
|
@@ -45,7 +45,7 @@ export declare namespace schema {
|
|
|
45
45
|
"token.logoUri": "token.logoUri";
|
|
46
46
|
"token.verified": "token.verified";
|
|
47
47
|
}>>>;
|
|
48
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
48
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
49
49
|
page: z.ZodMiniOptional<z.ZodMiniNumber<unknown>>;
|
|
50
50
|
}, z.core.$strict>;
|
|
51
51
|
/** A fee-pool token with required RPC metadata and optional curated fields. */
|
|
@@ -150,7 +150,7 @@ export declare namespace schema {
|
|
|
150
150
|
include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
|
|
151
151
|
totalCount: "totalCount";
|
|
152
152
|
}>>>;
|
|
153
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
153
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
154
154
|
order: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
155
155
|
asc: "asc";
|
|
156
156
|
desc: "desc";
|
|
@@ -249,14 +249,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
249
249
|
} | {
|
|
250
250
|
output: {
|
|
251
251
|
error: {
|
|
252
|
-
code: "
|
|
252
|
+
code: "api_key_malformed";
|
|
253
253
|
details?: readonly Response.error.Detail[] | undefined;
|
|
254
254
|
message: string;
|
|
255
255
|
};
|
|
256
256
|
requestId: string;
|
|
257
257
|
};
|
|
258
258
|
outputFormat: "json";
|
|
259
|
-
status:
|
|
259
|
+
status: 400;
|
|
260
260
|
input: {
|
|
261
261
|
query?: {
|
|
262
262
|
chainId?: string | string[];
|
|
@@ -269,14 +269,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
269
269
|
} | {
|
|
270
270
|
output: {
|
|
271
271
|
error: {
|
|
272
|
-
code: "
|
|
272
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
273
273
|
details?: readonly Response.error.Detail[] | undefined;
|
|
274
274
|
message: string;
|
|
275
275
|
};
|
|
276
276
|
requestId: string;
|
|
277
277
|
};
|
|
278
278
|
outputFormat: "json";
|
|
279
|
-
status:
|
|
279
|
+
status: 401;
|
|
280
280
|
input: {
|
|
281
281
|
query?: {
|
|
282
282
|
chainId?: string | string[];
|
|
@@ -289,14 +289,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
289
289
|
} | {
|
|
290
290
|
output: {
|
|
291
291
|
error: {
|
|
292
|
-
code: "
|
|
292
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
293
293
|
details?: readonly Response.error.Detail[] | undefined;
|
|
294
294
|
message: string;
|
|
295
295
|
};
|
|
296
296
|
requestId: string;
|
|
297
297
|
};
|
|
298
298
|
outputFormat: "json";
|
|
299
|
-
status:
|
|
299
|
+
status: 403;
|
|
300
300
|
input: {
|
|
301
301
|
query?: {
|
|
302
302
|
chainId?: string | string[];
|
|
@@ -309,14 +309,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
309
309
|
} | {
|
|
310
310
|
output: {
|
|
311
311
|
error: {
|
|
312
|
-
code: "
|
|
312
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
313
313
|
details?: readonly Response.error.Detail[] | undefined;
|
|
314
314
|
message: string;
|
|
315
315
|
};
|
|
316
316
|
requestId: string;
|
|
317
317
|
};
|
|
318
318
|
outputFormat: "json";
|
|
319
|
-
status:
|
|
319
|
+
status: 429;
|
|
320
320
|
input: {
|
|
321
321
|
query?: {
|
|
322
322
|
chainId?: string | string[];
|
|
@@ -329,14 +329,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
329
329
|
} | {
|
|
330
330
|
output: {
|
|
331
331
|
error: {
|
|
332
|
-
code: "
|
|
332
|
+
code: "query_invalid";
|
|
333
333
|
details?: readonly Response.error.Detail[] | undefined;
|
|
334
334
|
message: string;
|
|
335
335
|
};
|
|
336
336
|
requestId: string;
|
|
337
337
|
};
|
|
338
338
|
outputFormat: "json";
|
|
339
|
-
status:
|
|
339
|
+
status: 400;
|
|
340
340
|
input: {
|
|
341
341
|
query?: {
|
|
342
342
|
chainId?: string | string[];
|
|
@@ -349,14 +349,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
349
349
|
} | {
|
|
350
350
|
output: {
|
|
351
351
|
error: {
|
|
352
|
-
code: "
|
|
352
|
+
code: "upstream_error";
|
|
353
353
|
details?: readonly Response.error.Detail[] | undefined;
|
|
354
354
|
message: string;
|
|
355
355
|
};
|
|
356
356
|
requestId: string;
|
|
357
357
|
};
|
|
358
358
|
outputFormat: "json";
|
|
359
|
-
status:
|
|
359
|
+
status: 502;
|
|
360
360
|
input: {
|
|
361
361
|
query?: {
|
|
362
362
|
chainId?: string | string[];
|
|
@@ -441,14 +441,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
441
441
|
} | {
|
|
442
442
|
output: {
|
|
443
443
|
error: {
|
|
444
|
-
code: "
|
|
444
|
+
code: "api_key_malformed";
|
|
445
445
|
details?: readonly Response.error.Detail[] | undefined;
|
|
446
446
|
message: string;
|
|
447
447
|
};
|
|
448
448
|
requestId: string;
|
|
449
449
|
};
|
|
450
450
|
outputFormat: "json";
|
|
451
|
-
status:
|
|
451
|
+
status: 400;
|
|
452
452
|
input: {
|
|
453
453
|
query?: {
|
|
454
454
|
chainId?: string | string[];
|
|
@@ -464,14 +464,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
464
464
|
} | {
|
|
465
465
|
output: {
|
|
466
466
|
error: {
|
|
467
|
-
code: "
|
|
467
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
468
468
|
details?: readonly Response.error.Detail[] | undefined;
|
|
469
469
|
message: string;
|
|
470
470
|
};
|
|
471
471
|
requestId: string;
|
|
472
472
|
};
|
|
473
473
|
outputFormat: "json";
|
|
474
|
-
status:
|
|
474
|
+
status: 401;
|
|
475
475
|
input: {
|
|
476
476
|
query?: {
|
|
477
477
|
chainId?: string | string[];
|
|
@@ -487,14 +487,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
487
487
|
} | {
|
|
488
488
|
output: {
|
|
489
489
|
error: {
|
|
490
|
-
code: "
|
|
490
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
491
491
|
details?: readonly Response.error.Detail[] | undefined;
|
|
492
492
|
message: string;
|
|
493
493
|
};
|
|
494
494
|
requestId: string;
|
|
495
495
|
};
|
|
496
496
|
outputFormat: "json";
|
|
497
|
-
status:
|
|
497
|
+
status: 403;
|
|
498
498
|
input: {
|
|
499
499
|
query?: {
|
|
500
500
|
chainId?: string | string[];
|
|
@@ -510,14 +510,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
510
510
|
} | {
|
|
511
511
|
output: {
|
|
512
512
|
error: {
|
|
513
|
-
code: "
|
|
513
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
514
514
|
details?: readonly Response.error.Detail[] | undefined;
|
|
515
515
|
message: string;
|
|
516
516
|
};
|
|
517
517
|
requestId: string;
|
|
518
518
|
};
|
|
519
519
|
outputFormat: "json";
|
|
520
|
-
status:
|
|
520
|
+
status: 429;
|
|
521
521
|
input: {
|
|
522
522
|
query?: {
|
|
523
523
|
chainId?: string | string[];
|
|
@@ -533,14 +533,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
533
533
|
} | {
|
|
534
534
|
output: {
|
|
535
535
|
error: {
|
|
536
|
-
code: "
|
|
536
|
+
code: "query_invalid";
|
|
537
537
|
details?: readonly Response.error.Detail[] | undefined;
|
|
538
538
|
message: string;
|
|
539
539
|
};
|
|
540
540
|
requestId: string;
|
|
541
541
|
};
|
|
542
542
|
outputFormat: "json";
|
|
543
|
-
status:
|
|
543
|
+
status: 400;
|
|
544
544
|
input: {
|
|
545
545
|
query?: {
|
|
546
546
|
chainId?: string | string[];
|
|
@@ -556,14 +556,14 @@ export declare function feeAmm(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
556
556
|
} | {
|
|
557
557
|
output: {
|
|
558
558
|
error: {
|
|
559
|
-
code: "
|
|
559
|
+
code: "upstream_error";
|
|
560
560
|
details?: readonly Response.error.Detail[] | undefined;
|
|
561
561
|
message: string;
|
|
562
562
|
};
|
|
563
563
|
requestId: string;
|
|
564
564
|
};
|
|
565
565
|
outputFormat: "json";
|
|
566
|
-
status:
|
|
566
|
+
status: 502;
|
|
567
567
|
input: {
|
|
568
568
|
query?: {
|
|
569
569
|
chainId?: string | string[];
|
|
@@ -26,14 +26,16 @@ export declare namespace schema {
|
|
|
26
26
|
export declare function indexer(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
27
27
|
"/v1/indexer/query": {
|
|
28
28
|
$get: {
|
|
29
|
-
output:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
output: {
|
|
30
|
+
ok: boolean;
|
|
31
|
+
columns: string[];
|
|
32
|
+
rows: import("hono/utils/types").JSONValue[][];
|
|
33
|
+
row_count: number;
|
|
34
|
+
engine?: "clickhouse" | "postgres" | "tiered" | undefined;
|
|
35
|
+
query_time_ms?: number | undefined;
|
|
36
|
+
};
|
|
37
|
+
outputFormat: "json";
|
|
38
|
+
status: 200;
|
|
37
39
|
input: {};
|
|
38
40
|
} | {
|
|
39
41
|
output: {
|
|
@@ -47,6 +49,14 @@ export declare function indexer(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
47
49
|
outputFormat: "json";
|
|
48
50
|
status: 400;
|
|
49
51
|
input: {};
|
|
52
|
+
} | {
|
|
53
|
+
output: {
|
|
54
|
+
ok: false;
|
|
55
|
+
error: string;
|
|
56
|
+
};
|
|
57
|
+
outputFormat: "json";
|
|
58
|
+
status: 400;
|
|
59
|
+
input: {};
|
|
50
60
|
} | {
|
|
51
61
|
output: {
|
|
52
62
|
error: {
|
|
@@ -59,6 +69,11 @@ export declare function indexer(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
59
69
|
outputFormat: "json";
|
|
60
70
|
status: 401;
|
|
61
71
|
input: {};
|
|
72
|
+
} | {
|
|
73
|
+
output: null;
|
|
74
|
+
outputFormat: "body";
|
|
75
|
+
status: 402;
|
|
76
|
+
input: {};
|
|
62
77
|
} | {
|
|
63
78
|
output: {
|
|
64
79
|
error: {
|
|
@@ -71,6 +86,14 @@ export declare function indexer(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
71
86
|
outputFormat: "json";
|
|
72
87
|
status: 403;
|
|
73
88
|
input: {};
|
|
89
|
+
} | {
|
|
90
|
+
output: {
|
|
91
|
+
ok: false;
|
|
92
|
+
error: string;
|
|
93
|
+
};
|
|
94
|
+
outputFormat: "json";
|
|
95
|
+
status: 422;
|
|
96
|
+
input: {};
|
|
74
97
|
} | {
|
|
75
98
|
output: {
|
|
76
99
|
error: {
|
|
@@ -84,32 +107,9 @@ export declare function indexer(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
84
107
|
status: 429;
|
|
85
108
|
input: {};
|
|
86
109
|
} | {
|
|
87
|
-
output:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
rows: import("hono/utils/types").JSONValue[][];
|
|
91
|
-
row_count: number;
|
|
92
|
-
engine?: "clickhouse" | "postgres" | "tiered" | undefined;
|
|
93
|
-
query_time_ms?: number | undefined;
|
|
94
|
-
};
|
|
95
|
-
outputFormat: "json";
|
|
96
|
-
status: 200;
|
|
97
|
-
input: {};
|
|
98
|
-
} | {
|
|
99
|
-
output: {
|
|
100
|
-
ok: false;
|
|
101
|
-
error: string;
|
|
102
|
-
};
|
|
103
|
-
outputFormat: "json";
|
|
104
|
-
status: 400;
|
|
105
|
-
input: {};
|
|
106
|
-
} | {
|
|
107
|
-
output: {
|
|
108
|
-
ok: false;
|
|
109
|
-
error: string;
|
|
110
|
-
};
|
|
111
|
-
outputFormat: "json";
|
|
112
|
-
status: 422;
|
|
110
|
+
output: never;
|
|
111
|
+
outputFormat: never;
|
|
112
|
+
status: never;
|
|
113
113
|
input: {};
|
|
114
114
|
};
|
|
115
115
|
};
|