tapimo 0.4.4 → 0.5.1
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 +4701 -3416
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +24 -2
- package/dist/App.js.map +1 -1
- package/dist/Assets.js +3 -3
- package/dist/Assets.js.map +1 -1
- package/dist/Scope.d.ts +18 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +23 -3
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +1 -1
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +5 -10
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +6 -34
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +3 -3
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +4 -1
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +6 -34
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/scopes.js +2 -2
- package/dist/admin/apps/scopes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +57 -57
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +33 -33
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +4574 -4277
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +155 -77
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +109 -0
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -0
- package/dist/apps/data/FundingQuoteProviders.js +464 -0
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
- package/dist/apps/data/index.d.ts +1 -1
- package/dist/apps/data/index.js +1 -1
- package/dist/apps/data/routes/activities.d.ts +26 -26
- package/dist/apps/data/routes/addresses.d.ts +38 -38
- package/dist/apps/data/routes/balances.d.ts +45 -45
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +67 -149
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +2 -3
- package/dist/apps/data/routes/blocks.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.js +3 -5
- package/dist/apps/data/routes/blocks.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +177 -176
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +3 -8
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/funding.d.ts +131 -228
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +152 -219
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +9 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +228 -228
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +86 -16
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +340 -0
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +13 -1
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/management/App.d.ts +1833 -851
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +4 -0
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +41 -41
- package/dist/apps/management/routes/api-keys.js +2 -2
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +48 -48
- package/dist/apps/management/routes/invitations.d.ts +132 -132
- package/dist/apps/management/routes/invite-links.d.ts +1100 -0
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
- package/dist/apps/management/routes/invite-links.js +411 -0
- package/dist/apps/management/routes/invite-links.js.map +1 -0
- package/dist/apps/management/routes/members.d.ts +41 -41
- package/dist/apps/management/routes/orgs.d.ts +92 -92
- package/dist/apps/management/routes/projects.d.ts +9 -9
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +2 -2
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +24 -24
- package/dist/apps/mcp.js +2 -2
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/relay/App.d.ts +2 -2
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +44 -6
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/db/Db.d.ts +3 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +57 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +31 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +31 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/inviteLinks.d.ts +42 -0
- package/dist/db/tables/inviteLinks.d.ts.map +1 -0
- package/dist/db/tables/inviteLinks.js +148 -0
- package/dist/db/tables/inviteLinks.js.map +1 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +2 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +6 -2
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +13 -3
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +9 -1
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +138 -10
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +3 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +17 -2
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/{FundingRoutes.d.ts → FundingQuotes.d.ts} +240 -369
- package/dist/internal/FundingQuotes.d.ts.map +1 -0
- package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +144 -183
- package/dist/internal/FundingQuotes.js.map +1 -0
- package/dist/internal/Log.d.ts +18 -12
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +2 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/Tidx.d.ts +9 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +13 -7
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +17 -2
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +30 -3
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.js +1 -1
- package/package.json +2 -2
- package/src/ApiKeys.test.ts +25 -0
- package/src/App.test-d.ts +2 -0
- package/src/App.test.ts +13 -2
- package/src/App.ts +37 -5
- package/src/Assets.ts +3 -3
- package/src/Client.test-d.ts +21 -11
- package/src/Scope.test.ts +1 -0
- package/src/Scope.ts +32 -4
- package/src/Webhooks.ts +5 -10
- package/src/admin/apps/api-keys.test.ts +27 -0
- package/src/admin/apps/api-keys.ts +8 -1
- package/src/admin/apps/scopes.test.ts +7 -2
- package/src/admin/apps/scopes.ts +2 -2
- package/src/admin/ui/src/components/Dialog.tsx +8 -2
- package/src/admin/ui/src/lib/scopes.test.ts +19 -0
- package/src/admin/ui/src/lib/scopes.ts +12 -0
- package/src/admin/ui/src/routes/api-keys.tsx +128 -27
- package/src/admin/ui.generated.ts +33 -33
- package/src/apps/composition.test.ts +77 -0
- package/src/apps/data/App.test.ts +354 -0
- package/src/apps/data/App.ts +178 -91
- package/src/apps/data/FundingQuoteProviders.test.ts +577 -0
- package/src/apps/data/FundingQuoteProviders.ts +633 -0
- package/src/apps/data/index.ts +1 -1
- package/src/apps/data/routes/balances.test.ts +64 -18
- package/src/apps/data/routes/balances.ts +76 -177
- package/src/apps/data/routes/blocks.ts +3 -5
- package/src/apps/data/routes/coingecko.ts +3 -8
- package/src/apps/data/routes/funding.test.ts +304 -192
- package/src/apps/data/routes/funding.ts +166 -286
- package/src/apps/data/routes/indexer.test.ts +173 -15
- package/src/apps/data/routes/indexer.ts +8 -2
- package/src/apps/data/routes/rpc.test.ts +219 -0
- package/src/apps/data/routes/rpc.ts +92 -17
- package/src/apps/data/routes/webhooks.test.ts +21 -0
- package/src/apps/data/routes/webhooks.ts +13 -1
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +4 -0
- package/src/apps/management/Billing.test.ts +2 -2
- package/src/apps/management/routes/api-keys.test.ts +47 -3
- package/src/apps/management/routes/api-keys.ts +2 -2
- package/src/apps/management/routes/invite-links.test.ts +385 -0
- package/src/apps/management/routes/invite-links.ts +570 -0
- package/src/apps/management/routes/scopes.test.ts +3 -2
- package/src/apps/management/routes/scopes.ts +4 -2
- package/src/apps/mcp.test.ts +18 -0
- package/src/apps/mcp.ts +2 -2
- package/src/apps/relay/App.test.ts +328 -7
- package/src/apps/relay/App.ts +42 -6
- package/src/apps/relay/Sponsorships.test.ts +2 -2
- package/src/db/Db.test.ts +5 -5
- package/src/db/Db.ts +65 -0
- package/src/db/Schema.ts +39 -0
- package/src/db/tables/billingSettings.test.ts +2 -2
- package/src/db/tables/inviteLinks.ts +187 -0
- package/src/db/tables/organizations.test.ts +2 -2
- package/src/db/tables/organizations.ts +2 -0
- package/src/db/tables/sponsoredTransactions.test.ts +19 -2
- package/src/db/tables/sponsoredTransactions.ts +21 -14
- package/src/db/tables/stripeCustomers.test.ts +2 -2
- package/src/handlers/relay.ts +16 -4
- package/src/internal/Auth.test.ts +132 -22
- package/src/internal/Auth.ts +181 -14
- package/src/internal/EdgeCache.test.ts +24 -3
- package/src/internal/EdgeCache.ts +18 -2
- package/src/internal/FundingQuotes.test.ts +268 -0
- package/src/internal/{FundingRoutes.ts → FundingQuotes.ts} +216 -277
- package/src/internal/Log.ts +21 -14
- package/src/internal/Tidx.test.ts +48 -0
- package/src/internal/Tidx.ts +21 -7
- package/src/internal/Viem.test.ts +46 -0
- package/src/internal/Viem.ts +48 -6
- package/src/internal/index.test.ts +1 -1
- package/src/internal/index.ts +1 -1
- package/dist/apps/data/FundingRouteProviders.d.ts +0 -36
- package/dist/apps/data/FundingRouteProviders.d.ts.map +0 -1
- package/dist/apps/data/FundingRouteProviders.js +0 -245
- package/dist/apps/data/FundingRouteProviders.js.map +0 -1
- package/dist/internal/FundingRoutes.d.ts.map +0 -1
- package/dist/internal/FundingRoutes.js.map +0 -1
- package/src/apps/data/FundingRouteProviders.test.ts +0 -225
- package/src/apps/data/FundingRouteProviders.ts +0 -312
- package/src/internal/FundingRoutes.test.ts +0 -213
|
@@ -213,12 +213,18 @@ export declare namespace schema {
|
|
|
213
213
|
}, z.core.$strip>>;
|
|
214
214
|
}, z.core.$strip>;
|
|
215
215
|
}
|
|
216
|
+
/** Composes the GeckoTerminal/CoinGecko DEX-integration compatibility adapter. */
|
|
216
217
|
export declare function coingecko(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
217
218
|
"/gecko/:chainId/latest-block": {
|
|
218
219
|
$get: {
|
|
219
|
-
output:
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
output: {
|
|
221
|
+
block: {
|
|
222
|
+
blockNumber: number;
|
|
223
|
+
blockTimestamp: number;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
outputFormat: "json";
|
|
227
|
+
status: 200;
|
|
222
228
|
input: {
|
|
223
229
|
param: {
|
|
224
230
|
chainId: string;
|
|
@@ -243,14 +249,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
243
249
|
} | {
|
|
244
250
|
output: {
|
|
245
251
|
error: {
|
|
246
|
-
code: "
|
|
252
|
+
code: "chain_id_invalid";
|
|
247
253
|
details?: readonly Response.error.Detail[] | undefined;
|
|
248
254
|
message: string;
|
|
249
255
|
};
|
|
250
256
|
requestId: string;
|
|
251
257
|
};
|
|
252
258
|
outputFormat: "json";
|
|
253
|
-
status:
|
|
259
|
+
status: 400;
|
|
254
260
|
input: {
|
|
255
261
|
param: {
|
|
256
262
|
chainId: string;
|
|
@@ -259,30 +265,23 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
259
265
|
} | {
|
|
260
266
|
output: {
|
|
261
267
|
error: {
|
|
262
|
-
code: "
|
|
268
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
263
269
|
details?: readonly Response.error.Detail[] | undefined;
|
|
264
270
|
message: string;
|
|
265
271
|
};
|
|
266
272
|
requestId: string;
|
|
267
273
|
};
|
|
268
274
|
outputFormat: "json";
|
|
269
|
-
status:
|
|
275
|
+
status: 401;
|
|
270
276
|
input: {
|
|
271
277
|
param: {
|
|
272
278
|
chainId: string;
|
|
273
279
|
};
|
|
274
280
|
};
|
|
275
281
|
} | {
|
|
276
|
-
output:
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
280
|
-
message: string;
|
|
281
|
-
};
|
|
282
|
-
requestId: string;
|
|
283
|
-
};
|
|
284
|
-
outputFormat: "json";
|
|
285
|
-
status: 429;
|
|
282
|
+
output: null;
|
|
283
|
+
outputFormat: "body";
|
|
284
|
+
status: 402;
|
|
286
285
|
input: {
|
|
287
286
|
param: {
|
|
288
287
|
chainId: string;
|
|
@@ -291,14 +290,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
291
290
|
} | {
|
|
292
291
|
output: {
|
|
293
292
|
error: {
|
|
294
|
-
code: "
|
|
293
|
+
code: "api_key_forbidden";
|
|
295
294
|
details?: readonly Response.error.Detail[] | undefined;
|
|
296
295
|
message: string;
|
|
297
296
|
};
|
|
298
297
|
requestId: string;
|
|
299
298
|
};
|
|
300
299
|
outputFormat: "json";
|
|
301
|
-
status:
|
|
300
|
+
status: 403;
|
|
302
301
|
input: {
|
|
303
302
|
param: {
|
|
304
303
|
chainId: string;
|
|
@@ -307,14 +306,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
307
306
|
} | {
|
|
308
307
|
output: {
|
|
309
308
|
error: {
|
|
310
|
-
code: "
|
|
309
|
+
code: "not_found";
|
|
311
310
|
details?: readonly Response.error.Detail[] | undefined;
|
|
312
311
|
message: string;
|
|
313
312
|
};
|
|
314
313
|
requestId: string;
|
|
315
314
|
};
|
|
316
315
|
outputFormat: "json";
|
|
317
|
-
status:
|
|
316
|
+
status: 404;
|
|
318
317
|
input: {
|
|
319
318
|
param: {
|
|
320
319
|
chainId: string;
|
|
@@ -323,14 +322,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
323
322
|
} | {
|
|
324
323
|
output: {
|
|
325
324
|
error: {
|
|
326
|
-
code: "
|
|
325
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
327
326
|
details?: readonly Response.error.Detail[] | undefined;
|
|
328
327
|
message: string;
|
|
329
328
|
};
|
|
330
329
|
requestId: string;
|
|
331
330
|
};
|
|
332
331
|
outputFormat: "json";
|
|
333
|
-
status:
|
|
332
|
+
status: 429;
|
|
334
333
|
input: {
|
|
335
334
|
param: {
|
|
336
335
|
chainId: string;
|
|
@@ -338,13 +337,15 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
338
337
|
};
|
|
339
338
|
} | {
|
|
340
339
|
output: {
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
340
|
+
error: {
|
|
341
|
+
code: "upstream_error";
|
|
342
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
343
|
+
message: string;
|
|
344
344
|
};
|
|
345
|
+
requestId: string;
|
|
345
346
|
};
|
|
346
347
|
outputFormat: "json";
|
|
347
|
-
status:
|
|
348
|
+
status: 502;
|
|
348
349
|
input: {
|
|
349
350
|
param: {
|
|
350
351
|
chainId: string;
|
|
@@ -355,9 +356,17 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
355
356
|
} & {
|
|
356
357
|
"/gecko/:chainId/assets/:address": {
|
|
357
358
|
$get: {
|
|
358
|
-
output:
|
|
359
|
-
|
|
360
|
-
|
|
359
|
+
output: {
|
|
360
|
+
asset: {
|
|
361
|
+
id: string;
|
|
362
|
+
name: string;
|
|
363
|
+
symbol: string;
|
|
364
|
+
decimals: number;
|
|
365
|
+
totalSupply: string;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
outputFormat: "json";
|
|
369
|
+
status: 200;
|
|
361
370
|
input: {
|
|
362
371
|
param: {
|
|
363
372
|
chainId: string;
|
|
@@ -384,14 +393,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
384
393
|
} | {
|
|
385
394
|
output: {
|
|
386
395
|
error: {
|
|
387
|
-
code: "
|
|
396
|
+
code: "address_invalid";
|
|
388
397
|
details?: readonly Response.error.Detail[] | undefined;
|
|
389
398
|
message: string;
|
|
390
399
|
};
|
|
391
400
|
requestId: string;
|
|
392
401
|
};
|
|
393
402
|
outputFormat: "json";
|
|
394
|
-
status:
|
|
403
|
+
status: 400;
|
|
395
404
|
input: {
|
|
396
405
|
param: {
|
|
397
406
|
chainId: string;
|
|
@@ -401,14 +410,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
401
410
|
} | {
|
|
402
411
|
output: {
|
|
403
412
|
error: {
|
|
404
|
-
code: "
|
|
413
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
405
414
|
details?: readonly Response.error.Detail[] | undefined;
|
|
406
415
|
message: string;
|
|
407
416
|
};
|
|
408
417
|
requestId: string;
|
|
409
418
|
};
|
|
410
419
|
outputFormat: "json";
|
|
411
|
-
status:
|
|
420
|
+
status: 401;
|
|
412
421
|
input: {
|
|
413
422
|
param: {
|
|
414
423
|
chainId: string;
|
|
@@ -416,16 +425,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
416
425
|
};
|
|
417
426
|
};
|
|
418
427
|
} | {
|
|
419
|
-
output:
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
423
|
-
message: string;
|
|
424
|
-
};
|
|
425
|
-
requestId: string;
|
|
426
|
-
};
|
|
427
|
-
outputFormat: "json";
|
|
428
|
-
status: 429;
|
|
428
|
+
output: null;
|
|
429
|
+
outputFormat: "body";
|
|
430
|
+
status: 402;
|
|
429
431
|
input: {
|
|
430
432
|
param: {
|
|
431
433
|
chainId: string;
|
|
@@ -435,14 +437,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
435
437
|
} | {
|
|
436
438
|
output: {
|
|
437
439
|
error: {
|
|
438
|
-
code: "
|
|
440
|
+
code: "api_key_forbidden";
|
|
439
441
|
details?: readonly Response.error.Detail[] | undefined;
|
|
440
442
|
message: string;
|
|
441
443
|
};
|
|
442
444
|
requestId: string;
|
|
443
445
|
};
|
|
444
446
|
outputFormat: "json";
|
|
445
|
-
status:
|
|
447
|
+
status: 403;
|
|
446
448
|
input: {
|
|
447
449
|
param: {
|
|
448
450
|
chainId: string;
|
|
@@ -452,14 +454,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
452
454
|
} | {
|
|
453
455
|
output: {
|
|
454
456
|
error: {
|
|
455
|
-
code: "
|
|
457
|
+
code: "not_found";
|
|
456
458
|
details?: readonly Response.error.Detail[] | undefined;
|
|
457
459
|
message: string;
|
|
458
460
|
};
|
|
459
461
|
requestId: string;
|
|
460
462
|
};
|
|
461
463
|
outputFormat: "json";
|
|
462
|
-
status:
|
|
464
|
+
status: 404;
|
|
463
465
|
input: {
|
|
464
466
|
param: {
|
|
465
467
|
chainId: string;
|
|
@@ -469,14 +471,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
469
471
|
} | {
|
|
470
472
|
output: {
|
|
471
473
|
error: {
|
|
472
|
-
code: "
|
|
474
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
473
475
|
details?: readonly Response.error.Detail[] | undefined;
|
|
474
476
|
message: string;
|
|
475
477
|
};
|
|
476
478
|
requestId: string;
|
|
477
479
|
};
|
|
478
480
|
outputFormat: "json";
|
|
479
|
-
status:
|
|
481
|
+
status: 429;
|
|
480
482
|
input: {
|
|
481
483
|
param: {
|
|
482
484
|
chainId: string;
|
|
@@ -485,16 +487,15 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
485
487
|
};
|
|
486
488
|
} | {
|
|
487
489
|
output: {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
decimals: number;
|
|
493
|
-
totalSupply: string;
|
|
490
|
+
error: {
|
|
491
|
+
code: "upstream_error";
|
|
492
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
493
|
+
message: string;
|
|
494
494
|
};
|
|
495
|
+
requestId: string;
|
|
495
496
|
};
|
|
496
497
|
outputFormat: "json";
|
|
497
|
-
status:
|
|
498
|
+
status: 502;
|
|
498
499
|
input: {
|
|
499
500
|
param: {
|
|
500
501
|
chainId: string;
|
|
@@ -506,9 +507,35 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
506
507
|
} & {
|
|
507
508
|
"/gecko/:chainId/pairs": {
|
|
508
509
|
$get: {
|
|
509
|
-
output:
|
|
510
|
-
|
|
511
|
-
|
|
510
|
+
output: {
|
|
511
|
+
pairs: {
|
|
512
|
+
id: `0x${string}`;
|
|
513
|
+
dexKey: string;
|
|
514
|
+
asset0Id: string;
|
|
515
|
+
asset1Id: string;
|
|
516
|
+
token0: {
|
|
517
|
+
address: string;
|
|
518
|
+
name: string;
|
|
519
|
+
symbol: string;
|
|
520
|
+
decimals: number;
|
|
521
|
+
totalSupply: string;
|
|
522
|
+
};
|
|
523
|
+
token1: {
|
|
524
|
+
address: string;
|
|
525
|
+
name: string;
|
|
526
|
+
symbol: string;
|
|
527
|
+
decimals: number;
|
|
528
|
+
totalSupply: string;
|
|
529
|
+
};
|
|
530
|
+
reserve0: string;
|
|
531
|
+
reserve1: string;
|
|
532
|
+
createdAtBlockNumber?: number | undefined;
|
|
533
|
+
createdAtBlockTimestamp?: number | undefined;
|
|
534
|
+
createdAtTxnId?: string | undefined;
|
|
535
|
+
}[];
|
|
536
|
+
};
|
|
537
|
+
outputFormat: "json";
|
|
538
|
+
status: 200;
|
|
512
539
|
input: {
|
|
513
540
|
param: {
|
|
514
541
|
chainId: string;
|
|
@@ -541,14 +568,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
541
568
|
} | {
|
|
542
569
|
output: {
|
|
543
570
|
error: {
|
|
544
|
-
code: "
|
|
571
|
+
code: "query_invalid";
|
|
545
572
|
details?: readonly Response.error.Detail[] | undefined;
|
|
546
573
|
message: string;
|
|
547
574
|
};
|
|
548
575
|
requestId: string;
|
|
549
576
|
};
|
|
550
577
|
outputFormat: "json";
|
|
551
|
-
status:
|
|
578
|
+
status: 400;
|
|
552
579
|
input: {
|
|
553
580
|
param: {
|
|
554
581
|
chainId: string;
|
|
@@ -561,14 +588,27 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
561
588
|
} | {
|
|
562
589
|
output: {
|
|
563
590
|
error: {
|
|
564
|
-
code: "
|
|
591
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
565
592
|
details?: readonly Response.error.Detail[] | undefined;
|
|
566
593
|
message: string;
|
|
567
594
|
};
|
|
568
595
|
requestId: string;
|
|
569
596
|
};
|
|
570
597
|
outputFormat: "json";
|
|
571
|
-
status:
|
|
598
|
+
status: 401;
|
|
599
|
+
input: {
|
|
600
|
+
param: {
|
|
601
|
+
chainId: string;
|
|
602
|
+
};
|
|
603
|
+
} & {
|
|
604
|
+
query?: {
|
|
605
|
+
limit?: string | string[];
|
|
606
|
+
} | undefined;
|
|
607
|
+
};
|
|
608
|
+
} | {
|
|
609
|
+
output: null;
|
|
610
|
+
outputFormat: "body";
|
|
611
|
+
status: 402;
|
|
572
612
|
input: {
|
|
573
613
|
param: {
|
|
574
614
|
chainId: string;
|
|
@@ -581,14 +621,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
581
621
|
} | {
|
|
582
622
|
output: {
|
|
583
623
|
error: {
|
|
584
|
-
code: "
|
|
624
|
+
code: "api_key_forbidden";
|
|
585
625
|
details?: readonly Response.error.Detail[] | undefined;
|
|
586
626
|
message: string;
|
|
587
627
|
};
|
|
588
628
|
requestId: string;
|
|
589
629
|
};
|
|
590
630
|
outputFormat: "json";
|
|
591
|
-
status:
|
|
631
|
+
status: 403;
|
|
592
632
|
input: {
|
|
593
633
|
param: {
|
|
594
634
|
chainId: string;
|
|
@@ -601,14 +641,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
601
641
|
} | {
|
|
602
642
|
output: {
|
|
603
643
|
error: {
|
|
604
|
-
code: "
|
|
644
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
605
645
|
details?: readonly Response.error.Detail[] | undefined;
|
|
606
646
|
message: string;
|
|
607
647
|
};
|
|
608
648
|
requestId: string;
|
|
609
649
|
};
|
|
610
650
|
outputFormat: "json";
|
|
611
|
-
status:
|
|
651
|
+
status: 429;
|
|
612
652
|
input: {
|
|
613
653
|
param: {
|
|
614
654
|
chainId: string;
|
|
@@ -638,9 +678,13 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
638
678
|
limit?: string | string[];
|
|
639
679
|
} | undefined;
|
|
640
680
|
};
|
|
641
|
-
}
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
} & {
|
|
684
|
+
"/gecko/:chainId/pairs/:pairId": {
|
|
685
|
+
$get: {
|
|
642
686
|
output: {
|
|
643
|
-
|
|
687
|
+
pair: {
|
|
644
688
|
id: `0x${string}`;
|
|
645
689
|
dexKey: string;
|
|
646
690
|
asset0Id: string;
|
|
@@ -664,27 +708,10 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
664
708
|
createdAtBlockNumber?: number | undefined;
|
|
665
709
|
createdAtBlockTimestamp?: number | undefined;
|
|
666
710
|
createdAtTxnId?: string | undefined;
|
|
667
|
-
}
|
|
711
|
+
};
|
|
668
712
|
};
|
|
669
713
|
outputFormat: "json";
|
|
670
714
|
status: 200;
|
|
671
|
-
input: {
|
|
672
|
-
param: {
|
|
673
|
-
chainId: string;
|
|
674
|
-
};
|
|
675
|
-
} & {
|
|
676
|
-
query?: {
|
|
677
|
-
limit?: string | string[];
|
|
678
|
-
} | undefined;
|
|
679
|
-
};
|
|
680
|
-
};
|
|
681
|
-
};
|
|
682
|
-
} & {
|
|
683
|
-
"/gecko/:chainId/pairs/:pairId": {
|
|
684
|
-
$get: {
|
|
685
|
-
output: null;
|
|
686
|
-
outputFormat: "body";
|
|
687
|
-
status: 402;
|
|
688
715
|
input: {
|
|
689
716
|
param: {
|
|
690
717
|
chainId: string;
|
|
@@ -711,14 +738,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
711
738
|
} | {
|
|
712
739
|
output: {
|
|
713
740
|
error: {
|
|
714
|
-
code: "
|
|
741
|
+
code: "pair_id_invalid";
|
|
715
742
|
details?: readonly Response.error.Detail[] | undefined;
|
|
716
743
|
message: string;
|
|
717
744
|
};
|
|
718
745
|
requestId: string;
|
|
719
746
|
};
|
|
720
747
|
outputFormat: "json";
|
|
721
|
-
status:
|
|
748
|
+
status: 400;
|
|
722
749
|
input: {
|
|
723
750
|
param: {
|
|
724
751
|
chainId: string;
|
|
@@ -728,14 +755,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
728
755
|
} | {
|
|
729
756
|
output: {
|
|
730
757
|
error: {
|
|
731
|
-
code: "
|
|
758
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
732
759
|
details?: readonly Response.error.Detail[] | undefined;
|
|
733
760
|
message: string;
|
|
734
761
|
};
|
|
735
762
|
requestId: string;
|
|
736
763
|
};
|
|
737
764
|
outputFormat: "json";
|
|
738
|
-
status:
|
|
765
|
+
status: 401;
|
|
739
766
|
input: {
|
|
740
767
|
param: {
|
|
741
768
|
chainId: string;
|
|
@@ -743,16 +770,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
743
770
|
};
|
|
744
771
|
};
|
|
745
772
|
} | {
|
|
746
|
-
output:
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
750
|
-
message: string;
|
|
751
|
-
};
|
|
752
|
-
requestId: string;
|
|
753
|
-
};
|
|
754
|
-
outputFormat: "json";
|
|
755
|
-
status: 429;
|
|
773
|
+
output: null;
|
|
774
|
+
outputFormat: "body";
|
|
775
|
+
status: 402;
|
|
756
776
|
input: {
|
|
757
777
|
param: {
|
|
758
778
|
chainId: string;
|
|
@@ -762,14 +782,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
762
782
|
} | {
|
|
763
783
|
output: {
|
|
764
784
|
error: {
|
|
765
|
-
code: "
|
|
785
|
+
code: "api_key_forbidden";
|
|
766
786
|
details?: readonly Response.error.Detail[] | undefined;
|
|
767
787
|
message: string;
|
|
768
788
|
};
|
|
769
789
|
requestId: string;
|
|
770
790
|
};
|
|
771
791
|
outputFormat: "json";
|
|
772
|
-
status:
|
|
792
|
+
status: 403;
|
|
773
793
|
input: {
|
|
774
794
|
param: {
|
|
775
795
|
chainId: string;
|
|
@@ -796,14 +816,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
796
816
|
} | {
|
|
797
817
|
output: {
|
|
798
818
|
error: {
|
|
799
|
-
code: "
|
|
819
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
800
820
|
details?: readonly Response.error.Detail[] | undefined;
|
|
801
821
|
message: string;
|
|
802
822
|
};
|
|
803
823
|
requestId: string;
|
|
804
824
|
};
|
|
805
825
|
outputFormat: "json";
|
|
806
|
-
status:
|
|
826
|
+
status: 429;
|
|
807
827
|
input: {
|
|
808
828
|
param: {
|
|
809
829
|
chainId: string;
|
|
@@ -812,34 +832,15 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
812
832
|
};
|
|
813
833
|
} | {
|
|
814
834
|
output: {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
asset1Id: string;
|
|
820
|
-
token0: {
|
|
821
|
-
address: string;
|
|
822
|
-
name: string;
|
|
823
|
-
symbol: string;
|
|
824
|
-
decimals: number;
|
|
825
|
-
totalSupply: string;
|
|
826
|
-
};
|
|
827
|
-
token1: {
|
|
828
|
-
address: string;
|
|
829
|
-
name: string;
|
|
830
|
-
symbol: string;
|
|
831
|
-
decimals: number;
|
|
832
|
-
totalSupply: string;
|
|
833
|
-
};
|
|
834
|
-
reserve0: string;
|
|
835
|
-
reserve1: string;
|
|
836
|
-
createdAtBlockNumber?: number | undefined;
|
|
837
|
-
createdAtBlockTimestamp?: number | undefined;
|
|
838
|
-
createdAtTxnId?: string | undefined;
|
|
835
|
+
error: {
|
|
836
|
+
code: "upstream_error";
|
|
837
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
838
|
+
message: string;
|
|
839
839
|
};
|
|
840
|
+
requestId: string;
|
|
840
841
|
};
|
|
841
842
|
outputFormat: "json";
|
|
842
|
-
status:
|
|
843
|
+
status: 502;
|
|
843
844
|
input: {
|
|
844
845
|
param: {
|
|
845
846
|
chainId: string;
|
|
@@ -851,9 +852,31 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
851
852
|
} & {
|
|
852
853
|
"/gecko/:chainId/events": {
|
|
853
854
|
$get: {
|
|
854
|
-
output:
|
|
855
|
-
|
|
856
|
-
|
|
855
|
+
output: {
|
|
856
|
+
events: {
|
|
857
|
+
block: {
|
|
858
|
+
blockNumber: number;
|
|
859
|
+
blockTimestamp: number;
|
|
860
|
+
};
|
|
861
|
+
eventType: "swap";
|
|
862
|
+
txnId: string;
|
|
863
|
+
txnIndex: number;
|
|
864
|
+
eventIndex: number;
|
|
865
|
+
maker: string;
|
|
866
|
+
pairId: `0x${string}`;
|
|
867
|
+
asset0In?: string | undefined;
|
|
868
|
+
asset1In?: string | undefined;
|
|
869
|
+
asset0Out?: string | undefined;
|
|
870
|
+
asset1Out?: string | undefined;
|
|
871
|
+
priceNative: string;
|
|
872
|
+
reserves: {
|
|
873
|
+
asset0: string;
|
|
874
|
+
asset1: string;
|
|
875
|
+
};
|
|
876
|
+
}[];
|
|
877
|
+
};
|
|
878
|
+
outputFormat: "json";
|
|
879
|
+
status: 200;
|
|
857
880
|
input: {
|
|
858
881
|
param: {
|
|
859
882
|
chainId: string;
|
|
@@ -888,14 +911,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
888
911
|
} | {
|
|
889
912
|
output: {
|
|
890
913
|
error: {
|
|
891
|
-
code: "
|
|
914
|
+
code: "query_invalid";
|
|
892
915
|
details?: readonly Response.error.Detail[] | undefined;
|
|
893
916
|
message: string;
|
|
894
917
|
};
|
|
895
918
|
requestId: string;
|
|
896
919
|
};
|
|
897
920
|
outputFormat: "json";
|
|
898
|
-
status:
|
|
921
|
+
status: 400;
|
|
899
922
|
input: {
|
|
900
923
|
param: {
|
|
901
924
|
chainId: string;
|
|
@@ -909,14 +932,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
909
932
|
} | {
|
|
910
933
|
output: {
|
|
911
934
|
error: {
|
|
912
|
-
code: "
|
|
935
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
913
936
|
details?: readonly Response.error.Detail[] | undefined;
|
|
914
937
|
message: string;
|
|
915
938
|
};
|
|
916
939
|
requestId: string;
|
|
917
940
|
};
|
|
918
941
|
outputFormat: "json";
|
|
919
|
-
status:
|
|
942
|
+
status: 401;
|
|
920
943
|
input: {
|
|
921
944
|
param: {
|
|
922
945
|
chainId: string;
|
|
@@ -928,16 +951,9 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
928
951
|
} | undefined;
|
|
929
952
|
};
|
|
930
953
|
} | {
|
|
931
|
-
output:
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
935
|
-
message: string;
|
|
936
|
-
};
|
|
937
|
-
requestId: string;
|
|
938
|
-
};
|
|
939
|
-
outputFormat: "json";
|
|
940
|
-
status: 429;
|
|
954
|
+
output: null;
|
|
955
|
+
outputFormat: "body";
|
|
956
|
+
status: 402;
|
|
941
957
|
input: {
|
|
942
958
|
param: {
|
|
943
959
|
chainId: string;
|
|
@@ -951,14 +967,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
951
967
|
} | {
|
|
952
968
|
output: {
|
|
953
969
|
error: {
|
|
954
|
-
code: "
|
|
970
|
+
code: "api_key_forbidden";
|
|
955
971
|
details?: readonly Response.error.Detail[] | undefined;
|
|
956
972
|
message: string;
|
|
957
973
|
};
|
|
958
974
|
requestId: string;
|
|
959
975
|
};
|
|
960
976
|
outputFormat: "json";
|
|
961
|
-
status:
|
|
977
|
+
status: 403;
|
|
962
978
|
input: {
|
|
963
979
|
param: {
|
|
964
980
|
chainId: string;
|
|
@@ -972,14 +988,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
972
988
|
} | {
|
|
973
989
|
output: {
|
|
974
990
|
error: {
|
|
975
|
-
code: "
|
|
991
|
+
code: "not_found";
|
|
976
992
|
details?: readonly Response.error.Detail[] | undefined;
|
|
977
993
|
message: string;
|
|
978
994
|
};
|
|
979
995
|
requestId: string;
|
|
980
996
|
};
|
|
981
997
|
outputFormat: "json";
|
|
982
|
-
status:
|
|
998
|
+
status: 404;
|
|
983
999
|
input: {
|
|
984
1000
|
param: {
|
|
985
1001
|
chainId: string;
|
|
@@ -993,14 +1009,14 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
993
1009
|
} | {
|
|
994
1010
|
output: {
|
|
995
1011
|
error: {
|
|
996
|
-
code: "
|
|
1012
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
997
1013
|
details?: readonly Response.error.Detail[] | undefined;
|
|
998
1014
|
message: string;
|
|
999
1015
|
};
|
|
1000
1016
|
requestId: string;
|
|
1001
1017
|
};
|
|
1002
1018
|
outputFormat: "json";
|
|
1003
|
-
status:
|
|
1019
|
+
status: 429;
|
|
1004
1020
|
input: {
|
|
1005
1021
|
param: {
|
|
1006
1022
|
chainId: string;
|
|
@@ -1013,30 +1029,15 @@ export declare function coingecko(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1013
1029
|
};
|
|
1014
1030
|
} | {
|
|
1015
1031
|
output: {
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
txnId: string;
|
|
1023
|
-
txnIndex: number;
|
|
1024
|
-
eventIndex: number;
|
|
1025
|
-
maker: string;
|
|
1026
|
-
pairId: `0x${string}`;
|
|
1027
|
-
asset0In?: string | undefined;
|
|
1028
|
-
asset1In?: string | undefined;
|
|
1029
|
-
asset0Out?: string | undefined;
|
|
1030
|
-
asset1Out?: string | undefined;
|
|
1031
|
-
priceNative: string;
|
|
1032
|
-
reserves: {
|
|
1033
|
-
asset0: string;
|
|
1034
|
-
asset1: string;
|
|
1035
|
-
};
|
|
1036
|
-
}[];
|
|
1032
|
+
error: {
|
|
1033
|
+
code: "upstream_error";
|
|
1034
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1035
|
+
message: string;
|
|
1036
|
+
};
|
|
1037
|
+
requestId: string;
|
|
1037
1038
|
};
|
|
1038
1039
|
outputFormat: "json";
|
|
1039
|
-
status:
|
|
1040
|
+
status: 502;
|
|
1040
1041
|
input: {
|
|
1041
1042
|
param: {
|
|
1042
1043
|
chainId: string;
|