tapimo 0.9.0 → 0.10.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/ApiKey.d.ts +2 -1
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKeys.d.ts +4 -2
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +26 -1
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +4292 -3708
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +1 -0
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.d.ts +21 -20
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +66 -23
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +91 -84
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +26 -17
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +6 -0
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +4 -2
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +168 -168
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +69 -69
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +26 -0
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/apps/Zones.d.ts +4280 -84
- package/dist/apps/Zones.d.ts.map +1 -1
- package/dist/apps/Zones.js +30 -10
- package/dist/apps/Zones.js.map +1 -1
- package/dist/apps/data/App.d.ts +5799 -4929
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +4 -5
- package/dist/apps/data/FxOracle.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.js +19 -4
- package/dist/apps/data/FxOracle.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +3391 -492
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +372 -29
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +853 -339
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +10 -10
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +145 -83
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/earn.d.ts +455 -1
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +369 -45
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +114 -118
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +24 -24
- package/dist/apps/data/routes/indexer.d.ts +35 -34
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +3 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +68 -47
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +5 -1
- 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/tokens.d.ts +461 -459
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +313 -305
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +25 -23
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +108 -86
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +618 -105
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/valuation.d.ts.map +1 -1
- package/dist/apps/data/routes/valuation.js +2 -2
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +519 -868
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +642 -353
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/data/routes/zones.d.ts.map +1 -1
- package/dist/apps/data/routes/zones.js +4 -2
- package/dist/apps/data/routes/zones.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/providers.d.ts +13 -13
- package/dist/apps/funding/routes/quotes.d.ts +89 -89
- package/dist/apps/funding/routes/transfers.d.ts +36 -36
- package/dist/apps/funding/routes/transfers.js +1 -1
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/App.d.ts +11 -309
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +74 -74
- package/dist/apps/management/routes/billing.js +1 -1
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +35 -35
- package/dist/apps/management/routes/faucet.js +2 -2
- package/dist/apps/management/routes/faucet.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +134 -134
- package/dist/apps/management/routes/invite-links.d.ts +80 -80
- package/dist/apps/management/routes/members.d.ts +69 -69
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/projects.d.ts +60 -60
- package/dist/apps/management/routes/usage.d.ts +72 -72
- package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
- package/dist/apps/management/routes/webhooks.d.ts +203 -618
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +4 -1
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +56 -44
- package/dist/apps/mpp/App.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.d.ts +3 -0
- package/dist/apps/mpp/Mpp.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.js +3 -0
- package/dist/apps/mpp/Mpp.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Adapter.js +9 -2
- package/dist/apps/mpp/internal/Adapter.js.map +1 -1
- package/dist/db/Db.d.ts +4 -2
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +75 -15
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +19 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +24 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +4 -1
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/webhookQueueEvents.d.ts +122 -0
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -0
- package/dist/db/tables/webhookQueueEvents.js +160 -0
- package/dist/db/tables/webhookQueueEvents.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +58 -3
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +86 -3
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/Auth.d.ts +3 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +6 -4
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +139 -3
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +144 -4
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +4 -6
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +15 -14
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Schema.js +1 -1
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Store.d.ts +2 -1
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +57 -18
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Tidx.d.ts +1 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +1 -3
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Value.d.ts +2 -0
- package/dist/internal/Value.d.ts.map +1 -1
- package/dist/internal/Value.js +25 -0
- package/dist/internal/Value.js.map +1 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +2 -1
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/WebhookDestination.d.ts +2 -0
- package/dist/internal/WebhookDestination.d.ts.map +1 -1
- package/dist/internal/WebhookDestination.js +11 -0
- package/dist/internal/WebhookDestination.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +75 -0
- package/dist/internal/WebhookTransfer.d.ts.map +1 -0
- package/dist/internal/WebhookTransfer.js +299 -0
- package/dist/internal/WebhookTransfer.js.map +1 -0
- package/dist/internal/Webhooks.d.ts +176 -0
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +216 -20
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +4 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +11 -7
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +128 -0
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts +6 -4
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +71 -9
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +4 -4
- package/src/ApiKeys.test.ts +20 -0
- package/src/ApiKeys.ts +28 -1
- package/src/App.test.ts +10 -8
- package/src/App.ts +1 -0
- package/src/Client.test-d.ts +61 -5
- package/src/Webhooks.bench.ts +714 -0
- package/src/Webhooks.memory.bench.ts +250 -0
- package/src/Webhooks.test.ts +77 -6
- package/src/Webhooks.ts +85 -29
- package/src/admin/apps/api-keys.test.ts +9 -0
- package/src/admin/apps/api-keys.ts +15 -0
- package/src/admin/ui/src/lib/query-client.ts +3 -2
- package/src/admin/ui/src/routes/api-keys.tsx +31 -9
- package/src/admin/ui.generated.ts +69 -69
- package/src/analytics/Analytics.test.ts +8 -0
- package/src/analytics/Analytics.ts +26 -0
- package/src/apps/Zones.test.ts +23 -5
- package/src/apps/Zones.ts +31 -10
- package/src/apps/composition.test.ts +1 -0
- package/src/apps/data/App.test.ts +2 -2
- package/src/apps/data/FxOracle.test.ts +18 -0
- package/src/apps/data/FxOracle.ts +28 -5
- package/src/apps/data/routes/activities.bench.ts +41 -0
- package/src/apps/data/routes/activities.test.ts +122 -2
- package/src/apps/data/routes/activities.ts +435 -32
- package/src/apps/data/routes/balances.bench.ts +21 -0
- package/src/apps/data/routes/balances.test.ts +119 -10
- package/src/apps/data/routes/balances.ts +164 -97
- package/src/apps/data/routes/blocks.bench.ts +34 -0
- package/src/apps/data/routes/blocks.test.ts +12 -6
- package/src/apps/data/routes/coingecko.bench.ts +53 -0
- package/src/apps/data/routes/earn.bench.ts +71 -0
- package/src/apps/data/routes/earn.test.ts +197 -0
- package/src/apps/data/routes/earn.ts +487 -45
- package/src/apps/data/routes/exchanges.bench.ts +85 -0
- package/src/apps/data/routes/exchanges.test.ts +7 -6
- package/src/apps/data/routes/exchanges.ts +124 -117
- package/src/apps/data/routes/fee-amm.bench.ts +13 -0
- package/src/apps/data/routes/indexer.bench.ts +8 -0
- package/src/apps/data/routes/indexer.test.ts +2 -1
- package/src/apps/data/routes/indexer.ts +3 -2
- package/src/apps/data/routes/receipts.bench.ts +39 -0
- package/src/apps/data/routes/receipts.test.ts +24 -7
- package/src/apps/data/routes/receipts.ts +67 -50
- package/src/apps/data/routes/rpc.bench.ts +14 -0
- package/src/apps/data/routes/rpc.test.ts +27 -0
- package/src/apps/data/routes/rpc.ts +5 -1
- package/src/apps/data/routes/tokenlist.bench.ts +3 -0
- package/src/apps/data/routes/tokens.bench.ts +76 -0
- package/src/apps/data/routes/tokens.test.ts +51 -0
- package/src/apps/data/routes/transactions.bench.ts +40 -0
- package/src/apps/data/routes/transactions.test.ts +42 -0
- package/src/apps/data/routes/transactions.ts +44 -39
- package/src/apps/data/routes/transfers.bench.ts +28 -0
- package/src/apps/data/routes/transfers.test.ts +402 -24
- package/src/apps/data/routes/transfers.ts +708 -101
- package/src/apps/data/routes/valuation.bench.ts +14 -0
- package/src/apps/data/routes/valuation.test.ts +26 -0
- package/src/apps/data/routes/valuation.ts +6 -2
- package/src/apps/data/routes/verified-tokens.bench.ts +8 -0
- package/src/apps/data/routes/webhooks.bench.ts +26 -0
- package/src/apps/data/routes/webhooks.scan.test.ts +326 -0
- package/src/apps/data/routes/webhooks.test.ts +466 -135
- package/src/apps/data/routes/webhooks.ts +820 -429
- package/src/apps/data/routes/zones.bench.ts +32 -0
- package/src/apps/data/routes/zones.test.ts +1 -1
- package/src/apps/data/routes/zones.ts +7 -2
- package/src/apps/funding/routes/chains.test.ts +1 -1
- package/src/apps/funding/routes/deposit-addresses.test.ts +1 -1
- package/src/apps/funding/routes/deposit-addresses.ts +1 -1
- package/src/apps/funding/routes/providers.test.ts +1 -1
- package/src/apps/funding/routes/quotes.test.ts +2 -2
- package/src/apps/funding/routes/transfers.test.ts +3 -6
- package/src/apps/funding/routes/transfers.ts +1 -1
- package/src/apps/management/routes/billing.ts +1 -1
- package/src/apps/management/routes/faucet.ts +2 -2
- package/src/apps/management/routes/me.test.ts +31 -0
- package/src/apps/mcp.ts +4 -1
- package/src/apps/mpp/Mpp.test.ts +13 -1
- package/src/apps/mpp/Mpp.ts +8 -0
- package/src/apps/mpp/internal/Adapter.ts +10 -2
- package/src/db/Db.test.ts +40 -6
- package/src/db/Db.ts +114 -19
- package/src/db/Schema.ts +32 -0
- package/src/db/tables/sponsoredTransactions.ts +9 -2
- package/src/db/tables/webhookQueueEvents.ts +285 -0
- package/src/db/tables/webhookSubscriptions.ts +131 -4
- package/src/internal/Auth.test.ts +61 -50
- package/src/internal/Auth.ts +9 -4
- package/src/internal/EarnVaults.test.ts +2 -2
- package/src/internal/MetricSink.test.ts +575 -0
- package/src/internal/MetricSink.ts +325 -10
- package/src/internal/RateLimit.test.ts +23 -18
- package/src/internal/RateLimit.ts +23 -15
- package/src/internal/Schema.ts +1 -1
- package/src/internal/Store.test.ts +99 -13
- package/src/internal/Store.ts +52 -17
- package/src/internal/Tidx.test.ts +4 -4
- package/src/internal/Tidx.ts +1 -3
- package/src/internal/Value.test.ts +25 -0
- package/src/internal/Value.ts +29 -0
- package/src/internal/Viem.test.ts +8 -0
- package/src/internal/Viem.ts +2 -1
- package/src/internal/WebhookDestination.test.ts +20 -0
- package/src/internal/WebhookDestination.ts +10 -0
- package/src/internal/WebhookTransfer.test.ts +89 -0
- package/src/internal/WebhookTransfer.ts +430 -0
- package/src/internal/Webhooks.test.ts +616 -0
- package/src/internal/Webhooks.ts +412 -24
- package/src/internal/funding/Provider.test.ts +48 -8
- package/src/internal/funding/Provider.ts +12 -7
- package/src/internal/funding/Reconciliation.local.test.ts +3 -1
- package/src/internal/funding/Reconciliation.test.ts +1240 -0
- package/src/internal/funding/Reconciliation.ts +136 -0
- package/src/internal/funding/SourceObservation.test.ts +1 -0
- package/src/internal/funding/providers/index.test.ts +73 -3
- package/src/internal/funding/providers/relay.test.ts +2 -9
- package/src/internal/funding/providers/relay.ts +72 -13
|
@@ -468,6 +468,7 @@ export declare namespace schema {
|
|
|
468
468
|
value: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
469
469
|
}, z.core.$loose>>, z.ZodMiniNull]>>;
|
|
470
470
|
chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
471
|
+
feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
471
472
|
feePayerSignature: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
472
473
|
type: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
473
474
|
}, z.core.$loose>>>;
|
|
@@ -539,31 +540,9 @@ export declare namespace schema {
|
|
|
539
540
|
export declare function tokens(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
540
541
|
"/v1/tokens": {
|
|
541
542
|
$get: {
|
|
542
|
-
output:
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
admin?: `0x${string}` | undefined;
|
|
546
|
-
currency: string;
|
|
547
|
-
createdAt?: string | undefined;
|
|
548
|
-
decimals: number;
|
|
549
|
-
holderCount?: number | undefined;
|
|
550
|
-
id: string;
|
|
551
|
-
logoUri?: string | undefined;
|
|
552
|
-
name: string;
|
|
553
|
-
quoteToken?: `0x${string}` | undefined;
|
|
554
|
-
symbol: string;
|
|
555
|
-
totalSupply?: string | undefined;
|
|
556
|
-
transferStats?: {
|
|
557
|
-
count: number;
|
|
558
|
-
firstAt: string | null;
|
|
559
|
-
lastAt: string | null;
|
|
560
|
-
} | undefined;
|
|
561
|
-
verified: boolean;
|
|
562
|
-
}[];
|
|
563
|
-
nextCursor: string | null;
|
|
564
|
-
};
|
|
565
|
-
outputFormat: "json";
|
|
566
|
-
status: 200;
|
|
543
|
+
output: null;
|
|
544
|
+
outputFormat: "body";
|
|
545
|
+
status: 402;
|
|
567
546
|
input: {
|
|
568
547
|
query?: {
|
|
569
548
|
addresses?: string | string[];
|
|
@@ -604,14 +583,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
604
583
|
} | {
|
|
605
584
|
output: {
|
|
606
585
|
error: {
|
|
607
|
-
code: "
|
|
586
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
608
587
|
details?: readonly Response.error.Detail[] | undefined;
|
|
609
588
|
message: string;
|
|
610
589
|
};
|
|
611
590
|
requestId: string;
|
|
612
591
|
};
|
|
613
592
|
outputFormat: "json";
|
|
614
|
-
status:
|
|
593
|
+
status: 401;
|
|
615
594
|
input: {
|
|
616
595
|
query?: {
|
|
617
596
|
addresses?: string | string[];
|
|
@@ -628,14 +607,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
628
607
|
} | {
|
|
629
608
|
output: {
|
|
630
609
|
error: {
|
|
631
|
-
code: "
|
|
610
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
632
611
|
details?: readonly Response.error.Detail[] | undefined;
|
|
633
612
|
message: string;
|
|
634
613
|
};
|
|
635
614
|
requestId: string;
|
|
636
615
|
};
|
|
637
616
|
outputFormat: "json";
|
|
638
|
-
status:
|
|
617
|
+
status: 403;
|
|
639
618
|
input: {
|
|
640
619
|
query?: {
|
|
641
620
|
addresses?: string | string[];
|
|
@@ -650,9 +629,16 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
650
629
|
} | undefined;
|
|
651
630
|
};
|
|
652
631
|
} | {
|
|
653
|
-
output:
|
|
654
|
-
|
|
655
|
-
|
|
632
|
+
output: {
|
|
633
|
+
error: {
|
|
634
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
635
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
636
|
+
message: string;
|
|
637
|
+
};
|
|
638
|
+
requestId: string;
|
|
639
|
+
};
|
|
640
|
+
outputFormat: "json";
|
|
641
|
+
status: 429;
|
|
656
642
|
input: {
|
|
657
643
|
query?: {
|
|
658
644
|
addresses?: string | string[];
|
|
@@ -669,14 +655,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
669
655
|
} | {
|
|
670
656
|
output: {
|
|
671
657
|
error: {
|
|
672
|
-
code: "
|
|
658
|
+
code: "query_invalid";
|
|
673
659
|
details?: readonly Response.error.Detail[] | undefined;
|
|
674
660
|
message: string;
|
|
675
661
|
};
|
|
676
662
|
requestId: string;
|
|
677
663
|
};
|
|
678
664
|
outputFormat: "json";
|
|
679
|
-
status:
|
|
665
|
+
status: 400;
|
|
680
666
|
input: {
|
|
681
667
|
query?: {
|
|
682
668
|
addresses?: string | string[];
|
|
@@ -692,15 +678,30 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
692
678
|
};
|
|
693
679
|
} | {
|
|
694
680
|
output: {
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
681
|
+
data: {
|
|
682
|
+
address: `0x${string}`;
|
|
683
|
+
admin?: `0x${string}` | undefined;
|
|
684
|
+
currency: string;
|
|
685
|
+
createdAt?: string | undefined;
|
|
686
|
+
decimals: number;
|
|
687
|
+
holderCount?: number | undefined;
|
|
688
|
+
id: string;
|
|
689
|
+
logoUri?: string | undefined;
|
|
690
|
+
name: string;
|
|
691
|
+
quoteToken?: `0x${string}` | undefined;
|
|
692
|
+
symbol: string;
|
|
693
|
+
totalSupply?: string | undefined;
|
|
694
|
+
transferStats?: {
|
|
695
|
+
count: number;
|
|
696
|
+
firstAt: string | null;
|
|
697
|
+
lastAt: string | null;
|
|
698
|
+
} | undefined;
|
|
699
|
+
verified: boolean;
|
|
700
|
+
}[];
|
|
701
|
+
nextCursor: string | null;
|
|
701
702
|
};
|
|
702
703
|
outputFormat: "json";
|
|
703
|
-
status:
|
|
704
|
+
status: 200;
|
|
704
705
|
input: {
|
|
705
706
|
query?: {
|
|
706
707
|
addresses?: string | string[];
|
|
@@ -743,28 +744,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
743
744
|
} & {
|
|
744
745
|
"/v1/tokens/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
|
|
745
746
|
$get: {
|
|
746
|
-
output:
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
currency: string;
|
|
750
|
-
createdAt?: string | undefined;
|
|
751
|
-
decimals: number;
|
|
752
|
-
holderCount?: number | undefined;
|
|
753
|
-
id: string;
|
|
754
|
-
logoUri?: string | undefined;
|
|
755
|
-
name: string;
|
|
756
|
-
quoteToken?: `0x${string}` | undefined;
|
|
757
|
-
symbol: string;
|
|
758
|
-
totalSupply?: string | undefined;
|
|
759
|
-
transferStats?: {
|
|
760
|
-
count: number;
|
|
761
|
-
firstAt: string | null;
|
|
762
|
-
lastAt: string | null;
|
|
763
|
-
} | undefined;
|
|
764
|
-
verified: boolean;
|
|
765
|
-
};
|
|
766
|
-
outputFormat: "json";
|
|
767
|
-
status: 200;
|
|
747
|
+
output: null;
|
|
748
|
+
outputFormat: "body";
|
|
749
|
+
status: 402;
|
|
768
750
|
input: {
|
|
769
751
|
param: {
|
|
770
752
|
symbol: string;
|
|
@@ -799,14 +781,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
799
781
|
} | {
|
|
800
782
|
output: {
|
|
801
783
|
error: {
|
|
802
|
-
code: "
|
|
784
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
803
785
|
details?: readonly Response.error.Detail[] | undefined;
|
|
804
786
|
message: string;
|
|
805
787
|
};
|
|
806
788
|
requestId: string;
|
|
807
789
|
};
|
|
808
790
|
outputFormat: "json";
|
|
809
|
-
status:
|
|
791
|
+
status: 401;
|
|
810
792
|
input: {
|
|
811
793
|
param: {
|
|
812
794
|
symbol: string;
|
|
@@ -820,14 +802,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
820
802
|
} | {
|
|
821
803
|
output: {
|
|
822
804
|
error: {
|
|
823
|
-
code: "
|
|
805
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
824
806
|
details?: readonly Response.error.Detail[] | undefined;
|
|
825
807
|
message: string;
|
|
826
808
|
};
|
|
827
809
|
requestId: string;
|
|
828
810
|
};
|
|
829
811
|
outputFormat: "json";
|
|
830
|
-
status:
|
|
812
|
+
status: 403;
|
|
831
813
|
input: {
|
|
832
814
|
param: {
|
|
833
815
|
symbol: string;
|
|
@@ -841,28 +823,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
841
823
|
} | {
|
|
842
824
|
output: {
|
|
843
825
|
error: {
|
|
844
|
-
code: "
|
|
826
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
845
827
|
details?: readonly Response.error.Detail[] | undefined;
|
|
846
828
|
message: string;
|
|
847
829
|
};
|
|
848
830
|
requestId: string;
|
|
849
831
|
};
|
|
850
832
|
outputFormat: "json";
|
|
851
|
-
status:
|
|
852
|
-
input: {
|
|
853
|
-
param: {
|
|
854
|
-
symbol: string;
|
|
855
|
-
};
|
|
856
|
-
} & {
|
|
857
|
-
query?: {
|
|
858
|
-
chainId?: string | string[];
|
|
859
|
-
include?: string | string[];
|
|
860
|
-
} | undefined;
|
|
861
|
-
};
|
|
862
|
-
} | {
|
|
863
|
-
output: null;
|
|
864
|
-
outputFormat: "body";
|
|
865
|
-
status: 402;
|
|
833
|
+
status: 429;
|
|
866
834
|
input: {
|
|
867
835
|
param: {
|
|
868
836
|
symbol: string;
|
|
@@ -876,14 +844,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
876
844
|
} | {
|
|
877
845
|
output: {
|
|
878
846
|
error: {
|
|
879
|
-
code: "
|
|
847
|
+
code: "query_invalid";
|
|
880
848
|
details?: readonly Response.error.Detail[] | undefined;
|
|
881
849
|
message: string;
|
|
882
850
|
};
|
|
883
851
|
requestId: string;
|
|
884
852
|
};
|
|
885
853
|
outputFormat: "json";
|
|
886
|
-
status:
|
|
854
|
+
status: 400;
|
|
887
855
|
input: {
|
|
888
856
|
param: {
|
|
889
857
|
symbol: string;
|
|
@@ -897,14 +865,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
897
865
|
} | {
|
|
898
866
|
output: {
|
|
899
867
|
error: {
|
|
900
|
-
code: "
|
|
868
|
+
code: "upstream_error";
|
|
901
869
|
details?: readonly Response.error.Detail[] | undefined;
|
|
902
870
|
message: string;
|
|
903
871
|
};
|
|
904
872
|
requestId: string;
|
|
905
873
|
};
|
|
906
874
|
outputFormat: "json";
|
|
907
|
-
status:
|
|
875
|
+
status: 502;
|
|
908
876
|
input: {
|
|
909
877
|
param: {
|
|
910
878
|
symbol: string;
|
|
@@ -918,14 +886,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
918
886
|
} | {
|
|
919
887
|
output: {
|
|
920
888
|
error: {
|
|
921
|
-
code: "
|
|
889
|
+
code: "symbol_invalid";
|
|
922
890
|
details?: readonly Response.error.Detail[] | undefined;
|
|
923
891
|
message: string;
|
|
924
892
|
};
|
|
925
893
|
requestId: string;
|
|
926
894
|
};
|
|
927
895
|
outputFormat: "json";
|
|
928
|
-
status:
|
|
896
|
+
status: 400;
|
|
929
897
|
input: {
|
|
930
898
|
param: {
|
|
931
899
|
symbol: string;
|
|
@@ -937,31 +905,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
937
905
|
} | undefined;
|
|
938
906
|
};
|
|
939
907
|
} | {
|
|
940
|
-
output: {
|
|
941
|
-
error: {
|
|
942
|
-
code: "upstream_error";
|
|
943
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
944
|
-
message: string;
|
|
945
|
-
};
|
|
946
|
-
requestId: string;
|
|
947
|
-
};
|
|
948
|
-
outputFormat: "json";
|
|
949
|
-
status: 502;
|
|
950
|
-
input: {
|
|
951
|
-
param: {
|
|
952
|
-
symbol: string;
|
|
953
|
-
};
|
|
954
|
-
} & {
|
|
955
|
-
query?: {
|
|
956
|
-
chainId?: string | string[];
|
|
957
|
-
include?: string | string[];
|
|
958
|
-
} | undefined;
|
|
959
|
-
};
|
|
960
|
-
};
|
|
961
|
-
};
|
|
962
|
-
} & {
|
|
963
|
-
"/v1/tokens/:token": {
|
|
964
|
-
$get: {
|
|
965
908
|
output: {
|
|
966
909
|
address: `0x${string}`;
|
|
967
910
|
admin?: `0x${string}` | undefined;
|
|
@@ -986,7 +929,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
986
929
|
status: 200;
|
|
987
930
|
input: {
|
|
988
931
|
param: {
|
|
989
|
-
|
|
932
|
+
symbol: string;
|
|
990
933
|
};
|
|
991
934
|
} & {
|
|
992
935
|
query?: {
|
|
@@ -997,17 +940,17 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
997
940
|
} | {
|
|
998
941
|
output: {
|
|
999
942
|
error: {
|
|
1000
|
-
code: "
|
|
943
|
+
code: "token_not_found";
|
|
1001
944
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1002
945
|
message: string;
|
|
1003
946
|
};
|
|
1004
947
|
requestId: string;
|
|
1005
948
|
};
|
|
1006
949
|
outputFormat: "json";
|
|
1007
|
-
status:
|
|
950
|
+
status: 404;
|
|
1008
951
|
input: {
|
|
1009
952
|
param: {
|
|
1010
|
-
|
|
953
|
+
symbol: string;
|
|
1011
954
|
};
|
|
1012
955
|
} & {
|
|
1013
956
|
query?: {
|
|
@@ -1015,17 +958,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1015
958
|
include?: string | string[];
|
|
1016
959
|
} | undefined;
|
|
1017
960
|
};
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
};
|
|
1027
|
-
outputFormat: "json";
|
|
1028
|
-
status: 400;
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
} & {
|
|
964
|
+
"/v1/tokens/:token": {
|
|
965
|
+
$get: {
|
|
966
|
+
output: null;
|
|
967
|
+
outputFormat: "body";
|
|
968
|
+
status: 402;
|
|
1029
969
|
input: {
|
|
1030
970
|
param: {
|
|
1031
971
|
token: `0x${string}`;
|
|
@@ -1039,7 +979,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1039
979
|
} | {
|
|
1040
980
|
output: {
|
|
1041
981
|
error: {
|
|
1042
|
-
code: "
|
|
982
|
+
code: "api_key_malformed";
|
|
1043
983
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1044
984
|
message: string;
|
|
1045
985
|
};
|
|
@@ -1078,20 +1018,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1078
1018
|
include?: string | string[];
|
|
1079
1019
|
} | undefined;
|
|
1080
1020
|
};
|
|
1081
|
-
} | {
|
|
1082
|
-
output: null;
|
|
1083
|
-
outputFormat: "body";
|
|
1084
|
-
status: 402;
|
|
1085
|
-
input: {
|
|
1086
|
-
param: {
|
|
1087
|
-
token: `0x${string}`;
|
|
1088
|
-
};
|
|
1089
|
-
} & {
|
|
1090
|
-
query?: {
|
|
1091
|
-
chainId?: string | string[];
|
|
1092
|
-
include?: string | string[];
|
|
1093
|
-
} | undefined;
|
|
1094
|
-
};
|
|
1095
1021
|
} | {
|
|
1096
1022
|
output: {
|
|
1097
1023
|
error: {
|
|
@@ -1116,14 +1042,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1116
1042
|
} | {
|
|
1117
1043
|
output: {
|
|
1118
1044
|
error: {
|
|
1119
|
-
code: "
|
|
1045
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1120
1046
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1121
1047
|
message: string;
|
|
1122
1048
|
};
|
|
1123
1049
|
requestId: string;
|
|
1124
1050
|
};
|
|
1125
1051
|
outputFormat: "json";
|
|
1126
|
-
status:
|
|
1052
|
+
status: 429;
|
|
1127
1053
|
input: {
|
|
1128
1054
|
param: {
|
|
1129
1055
|
token: `0x${string}`;
|
|
@@ -1137,14 +1063,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1137
1063
|
} | {
|
|
1138
1064
|
output: {
|
|
1139
1065
|
error: {
|
|
1140
|
-
code: "
|
|
1066
|
+
code: "query_invalid";
|
|
1141
1067
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1142
1068
|
message: string;
|
|
1143
1069
|
};
|
|
1144
1070
|
requestId: string;
|
|
1145
1071
|
};
|
|
1146
1072
|
outputFormat: "json";
|
|
1147
|
-
status:
|
|
1073
|
+
status: 400;
|
|
1148
1074
|
input: {
|
|
1149
1075
|
param: {
|
|
1150
1076
|
token: `0x${string}`;
|
|
@@ -1176,13 +1102,28 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1176
1102
|
include?: string | string[];
|
|
1177
1103
|
} | undefined;
|
|
1178
1104
|
};
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1105
|
+
} | {
|
|
1106
|
+
output: {
|
|
1107
|
+
address: `0x${string}`;
|
|
1108
|
+
admin?: `0x${string}` | undefined;
|
|
1109
|
+
currency: string;
|
|
1110
|
+
createdAt?: string | undefined;
|
|
1111
|
+
decimals: number;
|
|
1112
|
+
holderCount?: number | undefined;
|
|
1113
|
+
id: string;
|
|
1114
|
+
logoUri?: string | undefined;
|
|
1115
|
+
name: string;
|
|
1116
|
+
quoteToken?: `0x${string}` | undefined;
|
|
1117
|
+
symbol: string;
|
|
1118
|
+
totalSupply?: string | undefined;
|
|
1119
|
+
transferStats?: {
|
|
1120
|
+
count: number;
|
|
1121
|
+
firstAt: string | null;
|
|
1122
|
+
lastAt: string | null;
|
|
1123
|
+
} | undefined;
|
|
1124
|
+
verified: boolean;
|
|
1125
|
+
};
|
|
1126
|
+
outputFormat: "json";
|
|
1186
1127
|
status: 200;
|
|
1187
1128
|
input: {
|
|
1188
1129
|
param: {
|
|
@@ -1191,19 +1132,20 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1191
1132
|
} & {
|
|
1192
1133
|
query?: {
|
|
1193
1134
|
chainId?: string | string[];
|
|
1135
|
+
include?: string | string[];
|
|
1194
1136
|
} | undefined;
|
|
1195
1137
|
};
|
|
1196
1138
|
} | {
|
|
1197
1139
|
output: {
|
|
1198
1140
|
error: {
|
|
1199
|
-
code: "
|
|
1141
|
+
code: "token_not_found";
|
|
1200
1142
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1201
1143
|
message: string;
|
|
1202
1144
|
};
|
|
1203
1145
|
requestId: string;
|
|
1204
1146
|
};
|
|
1205
1147
|
outputFormat: "json";
|
|
1206
|
-
status:
|
|
1148
|
+
status: 404;
|
|
1207
1149
|
input: {
|
|
1208
1150
|
param: {
|
|
1209
1151
|
token: `0x${string}`;
|
|
@@ -1211,12 +1153,13 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1211
1153
|
} & {
|
|
1212
1154
|
query?: {
|
|
1213
1155
|
chainId?: string | string[];
|
|
1156
|
+
include?: string | string[];
|
|
1214
1157
|
} | undefined;
|
|
1215
1158
|
};
|
|
1216
1159
|
} | {
|
|
1217
1160
|
output: {
|
|
1218
1161
|
error: {
|
|
1219
|
-
code: "
|
|
1162
|
+
code: "token_invalid";
|
|
1220
1163
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1221
1164
|
message: string;
|
|
1222
1165
|
};
|
|
@@ -1224,6 +1167,37 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1224
1167
|
};
|
|
1225
1168
|
outputFormat: "json";
|
|
1226
1169
|
status: 400;
|
|
1170
|
+
input: {
|
|
1171
|
+
param: {
|
|
1172
|
+
token: `0x${string}`;
|
|
1173
|
+
};
|
|
1174
|
+
} & {
|
|
1175
|
+
query?: {
|
|
1176
|
+
chainId?: string | string[];
|
|
1177
|
+
include?: string | string[];
|
|
1178
|
+
} | undefined;
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
} & {
|
|
1183
|
+
"/v1/tokens/:token/logo": {
|
|
1184
|
+
$get: {
|
|
1185
|
+
output: null;
|
|
1186
|
+
outputFormat: "body";
|
|
1187
|
+
status: 402;
|
|
1188
|
+
input: {
|
|
1189
|
+
param: {
|
|
1190
|
+
token: `0x${string}`;
|
|
1191
|
+
};
|
|
1192
|
+
} & {
|
|
1193
|
+
query?: {
|
|
1194
|
+
chainId?: string | string[];
|
|
1195
|
+
} | undefined;
|
|
1196
|
+
};
|
|
1197
|
+
} | {
|
|
1198
|
+
output: ArrayBuffer;
|
|
1199
|
+
outputFormat: "body";
|
|
1200
|
+
status: 200;
|
|
1227
1201
|
input: {
|
|
1228
1202
|
param: {
|
|
1229
1203
|
token: `0x${string}`;
|
|
@@ -1236,7 +1210,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1236
1210
|
} | {
|
|
1237
1211
|
output: {
|
|
1238
1212
|
error: {
|
|
1239
|
-
code: "
|
|
1213
|
+
code: "api_key_malformed";
|
|
1240
1214
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1241
1215
|
message: string;
|
|
1242
1216
|
};
|
|
@@ -1274,9 +1248,16 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1274
1248
|
} | undefined;
|
|
1275
1249
|
};
|
|
1276
1250
|
} | {
|
|
1277
|
-
output:
|
|
1278
|
-
|
|
1279
|
-
|
|
1251
|
+
output: {
|
|
1252
|
+
error: {
|
|
1253
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1254
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1255
|
+
message: string;
|
|
1256
|
+
};
|
|
1257
|
+
requestId: string;
|
|
1258
|
+
};
|
|
1259
|
+
outputFormat: "json";
|
|
1260
|
+
status: 403;
|
|
1280
1261
|
input: {
|
|
1281
1262
|
param: {
|
|
1282
1263
|
token: `0x${string}`;
|
|
@@ -1289,14 +1270,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1289
1270
|
} | {
|
|
1290
1271
|
output: {
|
|
1291
1272
|
error: {
|
|
1292
|
-
code: "
|
|
1273
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1293
1274
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1294
1275
|
message: string;
|
|
1295
1276
|
};
|
|
1296
1277
|
requestId: string;
|
|
1297
1278
|
};
|
|
1298
1279
|
outputFormat: "json";
|
|
1299
|
-
status:
|
|
1280
|
+
status: 429;
|
|
1300
1281
|
input: {
|
|
1301
1282
|
param: {
|
|
1302
1283
|
token: `0x${string}`;
|
|
@@ -1309,14 +1290,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1309
1290
|
} | {
|
|
1310
1291
|
output: {
|
|
1311
1292
|
error: {
|
|
1312
|
-
code: "
|
|
1293
|
+
code: "query_invalid";
|
|
1313
1294
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1314
1295
|
message: string;
|
|
1315
1296
|
};
|
|
1316
1297
|
requestId: string;
|
|
1317
1298
|
};
|
|
1318
1299
|
outputFormat: "json";
|
|
1319
|
-
status:
|
|
1300
|
+
status: 400;
|
|
1320
1301
|
input: {
|
|
1321
1302
|
param: {
|
|
1322
1303
|
token: `0x${string}`;
|
|
@@ -1329,14 +1310,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1329
1310
|
} | {
|
|
1330
1311
|
output: {
|
|
1331
1312
|
error: {
|
|
1332
|
-
code: "
|
|
1313
|
+
code: "upstream_error";
|
|
1333
1314
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1334
1315
|
message: string;
|
|
1335
1316
|
};
|
|
1336
1317
|
requestId: string;
|
|
1337
1318
|
};
|
|
1338
1319
|
outputFormat: "json";
|
|
1339
|
-
status:
|
|
1320
|
+
status: 502;
|
|
1340
1321
|
input: {
|
|
1341
1322
|
param: {
|
|
1342
1323
|
token: `0x${string}`;
|
|
@@ -1349,14 +1330,34 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1349
1330
|
} | {
|
|
1350
1331
|
output: {
|
|
1351
1332
|
error: {
|
|
1352
|
-
code: "
|
|
1333
|
+
code: "token_invalid";
|
|
1353
1334
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1354
1335
|
message: string;
|
|
1355
1336
|
};
|
|
1356
1337
|
requestId: string;
|
|
1357
1338
|
};
|
|
1358
1339
|
outputFormat: "json";
|
|
1359
|
-
status:
|
|
1340
|
+
status: 400;
|
|
1341
|
+
input: {
|
|
1342
|
+
param: {
|
|
1343
|
+
token: `0x${string}`;
|
|
1344
|
+
};
|
|
1345
|
+
} & {
|
|
1346
|
+
query?: {
|
|
1347
|
+
chainId?: string | string[];
|
|
1348
|
+
} | undefined;
|
|
1349
|
+
};
|
|
1350
|
+
} | {
|
|
1351
|
+
output: {
|
|
1352
|
+
error: {
|
|
1353
|
+
code: "token_logo_not_found";
|
|
1354
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1355
|
+
message: string;
|
|
1356
|
+
};
|
|
1357
|
+
requestId: string;
|
|
1358
|
+
};
|
|
1359
|
+
outputFormat: "json";
|
|
1360
|
+
status: 404;
|
|
1360
1361
|
input: {
|
|
1361
1362
|
param: {
|
|
1362
1363
|
token: `0x${string}`;
|
|
@@ -1371,30 +1372,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1371
1372
|
} & {
|
|
1372
1373
|
"/v1/tokens/:token/holders": {
|
|
1373
1374
|
$get: {
|
|
1374
|
-
output:
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
balance: string;
|
|
1378
|
-
id: string;
|
|
1379
|
-
}[];
|
|
1380
|
-
meta?: {
|
|
1381
|
-
totalCountCapped?: boolean | undefined;
|
|
1382
|
-
token?: {
|
|
1383
|
-
address: `0x${string}`;
|
|
1384
|
-
currency: string;
|
|
1385
|
-
decimals: number;
|
|
1386
|
-
id: string;
|
|
1387
|
-
logoUri?: string | undefined;
|
|
1388
|
-
name: string;
|
|
1389
|
-
symbol: string;
|
|
1390
|
-
verified: boolean;
|
|
1391
|
-
} | undefined;
|
|
1392
|
-
totalCount?: number | undefined;
|
|
1393
|
-
} | undefined;
|
|
1394
|
-
nextCursor: string | null;
|
|
1395
|
-
};
|
|
1396
|
-
outputFormat: "json";
|
|
1397
|
-
status: 200;
|
|
1375
|
+
output: null;
|
|
1376
|
+
outputFormat: "body";
|
|
1377
|
+
status: 402;
|
|
1398
1378
|
input: {
|
|
1399
1379
|
param: {
|
|
1400
1380
|
token: `0x${string}`;
|
|
@@ -1435,14 +1415,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1435
1415
|
} | {
|
|
1436
1416
|
output: {
|
|
1437
1417
|
error: {
|
|
1438
|
-
code: "
|
|
1418
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1439
1419
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1440
1420
|
message: string;
|
|
1441
1421
|
};
|
|
1442
1422
|
requestId: string;
|
|
1443
1423
|
};
|
|
1444
1424
|
outputFormat: "json";
|
|
1445
|
-
status:
|
|
1425
|
+
status: 401;
|
|
1446
1426
|
input: {
|
|
1447
1427
|
param: {
|
|
1448
1428
|
token: `0x${string}`;
|
|
@@ -1459,14 +1439,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1459
1439
|
} | {
|
|
1460
1440
|
output: {
|
|
1461
1441
|
error: {
|
|
1462
|
-
code: "
|
|
1442
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1463
1443
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1464
1444
|
message: string;
|
|
1465
1445
|
};
|
|
1466
1446
|
requestId: string;
|
|
1467
1447
|
};
|
|
1468
1448
|
outputFormat: "json";
|
|
1469
|
-
status:
|
|
1449
|
+
status: 403;
|
|
1470
1450
|
input: {
|
|
1471
1451
|
param: {
|
|
1472
1452
|
token: `0x${string}`;
|
|
@@ -1483,14 +1463,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1483
1463
|
} | {
|
|
1484
1464
|
output: {
|
|
1485
1465
|
error: {
|
|
1486
|
-
code: "
|
|
1466
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1487
1467
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1488
1468
|
message: string;
|
|
1489
1469
|
};
|
|
1490
1470
|
requestId: string;
|
|
1491
1471
|
};
|
|
1492
1472
|
outputFormat: "json";
|
|
1493
|
-
status:
|
|
1473
|
+
status: 429;
|
|
1494
1474
|
input: {
|
|
1495
1475
|
param: {
|
|
1496
1476
|
token: `0x${string}`;
|
|
@@ -1505,9 +1485,16 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1505
1485
|
} | undefined;
|
|
1506
1486
|
};
|
|
1507
1487
|
} | {
|
|
1508
|
-
output:
|
|
1509
|
-
|
|
1510
|
-
|
|
1488
|
+
output: {
|
|
1489
|
+
error: {
|
|
1490
|
+
code: "query_invalid";
|
|
1491
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1492
|
+
message: string;
|
|
1493
|
+
};
|
|
1494
|
+
requestId: string;
|
|
1495
|
+
};
|
|
1496
|
+
outputFormat: "json";
|
|
1497
|
+
status: 400;
|
|
1511
1498
|
input: {
|
|
1512
1499
|
param: {
|
|
1513
1500
|
token: `0x${string}`;
|
|
@@ -1524,14 +1511,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1524
1511
|
} | {
|
|
1525
1512
|
output: {
|
|
1526
1513
|
error: {
|
|
1527
|
-
code: "
|
|
1514
|
+
code: "upstream_error";
|
|
1528
1515
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1529
1516
|
message: string;
|
|
1530
1517
|
};
|
|
1531
1518
|
requestId: string;
|
|
1532
1519
|
};
|
|
1533
1520
|
outputFormat: "json";
|
|
1534
|
-
status:
|
|
1521
|
+
status: 502;
|
|
1535
1522
|
input: {
|
|
1536
1523
|
param: {
|
|
1537
1524
|
token: `0x${string}`;
|
|
@@ -1548,14 +1535,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1548
1535
|
} | {
|
|
1549
1536
|
output: {
|
|
1550
1537
|
error: {
|
|
1551
|
-
code: "
|
|
1538
|
+
code: "token_invalid";
|
|
1552
1539
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1553
1540
|
message: string;
|
|
1554
1541
|
};
|
|
1555
1542
|
requestId: string;
|
|
1556
1543
|
};
|
|
1557
1544
|
outputFormat: "json";
|
|
1558
|
-
status:
|
|
1545
|
+
status: 400;
|
|
1559
1546
|
input: {
|
|
1560
1547
|
param: {
|
|
1561
1548
|
token: `0x${string}`;
|
|
@@ -1571,15 +1558,29 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1571
1558
|
};
|
|
1572
1559
|
} | {
|
|
1573
1560
|
output: {
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
};
|
|
1579
|
-
|
|
1561
|
+
data: {
|
|
1562
|
+
address: `0x${string}`;
|
|
1563
|
+
balance: string;
|
|
1564
|
+
id: string;
|
|
1565
|
+
}[];
|
|
1566
|
+
meta?: {
|
|
1567
|
+
totalCountCapped?: boolean | undefined;
|
|
1568
|
+
token?: {
|
|
1569
|
+
address: `0x${string}`;
|
|
1570
|
+
currency: string;
|
|
1571
|
+
decimals: number;
|
|
1572
|
+
id: string;
|
|
1573
|
+
logoUri?: string | undefined;
|
|
1574
|
+
name: string;
|
|
1575
|
+
symbol: string;
|
|
1576
|
+
verified: boolean;
|
|
1577
|
+
} | undefined;
|
|
1578
|
+
totalCount?: number | undefined;
|
|
1579
|
+
} | undefined;
|
|
1580
|
+
nextCursor: string | null;
|
|
1580
1581
|
};
|
|
1581
1582
|
outputFormat: "json";
|
|
1582
|
-
status:
|
|
1583
|
+
status: 200;
|
|
1583
1584
|
input: {
|
|
1584
1585
|
param: {
|
|
1585
1586
|
token: `0x${string}`;
|
|
@@ -1598,211 +1599,40 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1598
1599
|
} & {
|
|
1599
1600
|
"/v1/tokens/:token/transactions": {
|
|
1600
1601
|
$get: {
|
|
1602
|
+
output: null;
|
|
1603
|
+
outputFormat: "body";
|
|
1604
|
+
status: 402;
|
|
1605
|
+
input: {
|
|
1606
|
+
param: {
|
|
1607
|
+
token: `0x${string}`;
|
|
1608
|
+
};
|
|
1609
|
+
} & {
|
|
1610
|
+
query?: {
|
|
1611
|
+
'blockNumber.from'?: string | string[];
|
|
1612
|
+
'blockNumber.to'?: string | string[];
|
|
1613
|
+
chainId?: string | string[];
|
|
1614
|
+
cursor?: string | string[];
|
|
1615
|
+
feePayer?: string | string[];
|
|
1616
|
+
feeToken?: string | string[];
|
|
1617
|
+
include?: string | string[];
|
|
1618
|
+
limit?: string | string[];
|
|
1619
|
+
order?: string | string[];
|
|
1620
|
+
page?: string | string[];
|
|
1621
|
+
'timestamp.from'?: string | string[];
|
|
1622
|
+
'timestamp.to'?: string | string[];
|
|
1623
|
+
} | undefined;
|
|
1624
|
+
};
|
|
1625
|
+
} | {
|
|
1601
1626
|
output: {
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
}[] | undefined;
|
|
1609
|
-
chainId?: number | undefined;
|
|
1610
|
-
feeToken?: {
|
|
1611
|
-
address: `0x${string}`;
|
|
1612
|
-
currency: string;
|
|
1613
|
-
decimals: number;
|
|
1614
|
-
logoUri?: string | undefined;
|
|
1615
|
-
name: string;
|
|
1616
|
-
symbol: string;
|
|
1617
|
-
verified?: boolean | undefined;
|
|
1618
|
-
} | undefined;
|
|
1619
|
-
gas: number;
|
|
1620
|
-
gasPrice?: string | undefined;
|
|
1621
|
-
hash: `0x${string}`;
|
|
1622
|
-
id: `0x${string}`;
|
|
1623
|
-
input?: `0x${string}` | undefined;
|
|
1624
|
-
maxFeePerGas?: string | undefined;
|
|
1625
|
-
maxPriorityFeePerGas?: string | undefined;
|
|
1626
|
-
meta: {
|
|
1627
|
-
receipt?: {
|
|
1628
|
-
blockHash: `0x${string}` | null;
|
|
1629
|
-
blockNumber: number;
|
|
1630
|
-
contractAddress: `0x${string}` | null;
|
|
1631
|
-
cumulativeGasUsed: number;
|
|
1632
|
-
effectiveGasPrice: string;
|
|
1633
|
-
feeAmount: {
|
|
1634
|
-
baseUnits: string;
|
|
1635
|
-
currency: string;
|
|
1636
|
-
decimals: number;
|
|
1637
|
-
formatted: string;
|
|
1638
|
-
valuation?: {
|
|
1639
|
-
amount: string;
|
|
1640
|
-
currency: string;
|
|
1641
|
-
} | null | undefined;
|
|
1642
|
-
};
|
|
1643
|
-
feePayer?: `0x${string}` | undefined;
|
|
1644
|
-
feeToken?: {
|
|
1645
|
-
address: `0x${string}`;
|
|
1646
|
-
currency: string;
|
|
1647
|
-
decimals: number;
|
|
1648
|
-
logoUri?: string | undefined;
|
|
1649
|
-
name: string;
|
|
1650
|
-
symbol: string;
|
|
1651
|
-
verified?: boolean | undefined;
|
|
1652
|
-
} | undefined;
|
|
1653
|
-
gasUsed: number;
|
|
1654
|
-
id: `0x${string}`;
|
|
1655
|
-
logs: {
|
|
1656
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1657
|
-
address: `0x${string}`;
|
|
1658
|
-
blockHash: `0x${string}` | null;
|
|
1659
|
-
blockNumber: `0x${string}` | null;
|
|
1660
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1661
|
-
data: `0x${string}`;
|
|
1662
|
-
logIndex: `0x${string}` | null;
|
|
1663
|
-
removed: boolean;
|
|
1664
|
-
topics: `0x${string}`[];
|
|
1665
|
-
transactionHash: `0x${string}` | null;
|
|
1666
|
-
transactionIndex: `0x${string}` | null;
|
|
1667
|
-
}[];
|
|
1668
|
-
meta: {
|
|
1669
|
-
valuation?: {
|
|
1670
|
-
asOf: string;
|
|
1671
|
-
basis: "nominal";
|
|
1672
|
-
source: string;
|
|
1673
|
-
} | undefined;
|
|
1674
|
-
rpc: {
|
|
1675
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1676
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
1677
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
1678
|
-
blockHash: `0x${string}` | null;
|
|
1679
|
-
blockNumber: `0x${string}`;
|
|
1680
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1681
|
-
contractAddress?: `0x${string}` | null | undefined;
|
|
1682
|
-
cumulativeGasUsed: `0x${string}`;
|
|
1683
|
-
effectiveGasPrice: `0x${string}`;
|
|
1684
|
-
feePayer?: `0x${string}` | null | undefined;
|
|
1685
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
1686
|
-
from: `0x${string}`;
|
|
1687
|
-
gasUsed: `0x${string}`;
|
|
1688
|
-
logs: {
|
|
1689
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1690
|
-
address: `0x${string}`;
|
|
1691
|
-
blockHash: `0x${string}` | null;
|
|
1692
|
-
blockNumber: `0x${string}` | null;
|
|
1693
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1694
|
-
data: `0x${string}`;
|
|
1695
|
-
logIndex: `0x${string}` | null;
|
|
1696
|
-
removed: boolean;
|
|
1697
|
-
topics: `0x${string}`[];
|
|
1698
|
-
transactionHash: `0x${string}` | null;
|
|
1699
|
-
transactionIndex: `0x${string}` | null;
|
|
1700
|
-
}[];
|
|
1701
|
-
logsBloom?: `0x${string}` | undefined;
|
|
1702
|
-
root?: `0x${string}` | undefined;
|
|
1703
|
-
status: `0x${string}`;
|
|
1704
|
-
to: `0x${string}` | null;
|
|
1705
|
-
transactionHash: `0x${string}`;
|
|
1706
|
-
transactionIndex: `0x${string}`;
|
|
1707
|
-
type: `0x${string}`;
|
|
1708
|
-
};
|
|
1709
|
-
};
|
|
1710
|
-
recipient: `0x${string}` | null;
|
|
1711
|
-
sender: `0x${string}`;
|
|
1712
|
-
status: "reverted" | "success";
|
|
1713
|
-
timestamp: string | null;
|
|
1714
|
-
transactionHash: `0x${string}`;
|
|
1715
|
-
transactionIndex: number;
|
|
1716
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
1717
|
-
} | undefined;
|
|
1718
|
-
rpc: {
|
|
1719
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1720
|
-
aaAuthorizationList?: {
|
|
1721
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1722
|
-
}[] | undefined;
|
|
1723
|
-
accessList?: {
|
|
1724
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1725
|
-
address: `0x${string}`;
|
|
1726
|
-
storageKeys: `0x${string}`[];
|
|
1727
|
-
}[] | undefined;
|
|
1728
|
-
authorizationList?: {
|
|
1729
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1730
|
-
}[] | undefined;
|
|
1731
|
-
blobVersionedHashes?: `0x${string}`[] | undefined;
|
|
1732
|
-
blockHash: `0x${string}` | null;
|
|
1733
|
-
blockNumber: `0x${string}` | null;
|
|
1734
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1735
|
-
calls?: {
|
|
1736
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1737
|
-
data?: `0x${string}` | null | undefined;
|
|
1738
|
-
input?: `0x${string}` | null | undefined;
|
|
1739
|
-
to?: `0x${string}` | null | undefined;
|
|
1740
|
-
value?: `0x${string}` | null | undefined;
|
|
1741
|
-
}[] | null | undefined;
|
|
1742
|
-
chainId?: `0x${string}` | undefined;
|
|
1743
|
-
feePayerSignature?: {
|
|
1744
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1745
|
-
type?: string | undefined;
|
|
1746
|
-
} | null | undefined;
|
|
1747
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
1748
|
-
from: `0x${string}`;
|
|
1749
|
-
gas: `0x${string}`;
|
|
1750
|
-
gasPrice?: `0x${string}` | undefined;
|
|
1751
|
-
hash: `0x${string}`;
|
|
1752
|
-
input?: `0x${string}` | undefined;
|
|
1753
|
-
keyAuthorization?: {
|
|
1754
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1755
|
-
} | null | undefined;
|
|
1756
|
-
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
1757
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
|
1758
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
1759
|
-
nonce: `0x${string}`;
|
|
1760
|
-
nonceKey?: `0x${string}` | undefined;
|
|
1761
|
-
r?: `0x${string}` | undefined;
|
|
1762
|
-
s?: `0x${string}` | undefined;
|
|
1763
|
-
signature?: {
|
|
1764
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1765
|
-
type?: string | undefined;
|
|
1766
|
-
} | undefined;
|
|
1767
|
-
to?: `0x${string}` | null | undefined;
|
|
1768
|
-
transactionIndex: `0x${string}` | null;
|
|
1769
|
-
type: `0x${string}`;
|
|
1770
|
-
v?: `0x${string}` | undefined;
|
|
1771
|
-
validAfter?: `0x${string}` | null | undefined;
|
|
1772
|
-
validBefore?: `0x${string}` | null | undefined;
|
|
1773
|
-
value?: `0x${string}` | undefined;
|
|
1774
|
-
yParity?: `0x${string}` | undefined;
|
|
1775
|
-
};
|
|
1776
|
-
};
|
|
1777
|
-
nonce: number;
|
|
1778
|
-
nonceKey?: `0x${string}` | undefined;
|
|
1779
|
-
recipient: `0x${string}` | null;
|
|
1780
|
-
sender: `0x${string}`;
|
|
1781
|
-
timestamp: string | null;
|
|
1782
|
-
transactionIndex: number | null;
|
|
1783
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
1784
|
-
validAfter?: string | null | undefined;
|
|
1785
|
-
validBefore?: string | null | undefined;
|
|
1786
|
-
value: string;
|
|
1787
|
-
}[];
|
|
1788
|
-
meta?: {
|
|
1789
|
-
totalCountCapped?: boolean | undefined;
|
|
1790
|
-
token?: {
|
|
1791
|
-
address: `0x${string}`;
|
|
1792
|
-
currency: string;
|
|
1793
|
-
decimals: number;
|
|
1794
|
-
id: string;
|
|
1795
|
-
logoUri?: string | undefined;
|
|
1796
|
-
name: string;
|
|
1797
|
-
symbol: string;
|
|
1798
|
-
verified: boolean;
|
|
1799
|
-
} | undefined;
|
|
1800
|
-
totalCount?: number | undefined;
|
|
1801
|
-
} | undefined;
|
|
1802
|
-
nextCursor: string | null;
|
|
1627
|
+
error: {
|
|
1628
|
+
code: "api_key_malformed";
|
|
1629
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1630
|
+
message: string;
|
|
1631
|
+
};
|
|
1632
|
+
requestId: string;
|
|
1803
1633
|
};
|
|
1804
1634
|
outputFormat: "json";
|
|
1805
|
-
status:
|
|
1635
|
+
status: 400;
|
|
1806
1636
|
input: {
|
|
1807
1637
|
param: {
|
|
1808
1638
|
token: `0x${string}`;
|
|
@@ -1826,14 +1656,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1826
1656
|
} | {
|
|
1827
1657
|
output: {
|
|
1828
1658
|
error: {
|
|
1829
|
-
code: "
|
|
1659
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1830
1660
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1831
1661
|
message: string;
|
|
1832
1662
|
};
|
|
1833
1663
|
requestId: string;
|
|
1834
1664
|
};
|
|
1835
1665
|
outputFormat: "json";
|
|
1836
|
-
status:
|
|
1666
|
+
status: 401;
|
|
1837
1667
|
input: {
|
|
1838
1668
|
param: {
|
|
1839
1669
|
token: `0x${string}`;
|
|
@@ -1857,14 +1687,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1857
1687
|
} | {
|
|
1858
1688
|
output: {
|
|
1859
1689
|
error: {
|
|
1860
|
-
code: "
|
|
1690
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1861
1691
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1862
1692
|
message: string;
|
|
1863
1693
|
};
|
|
1864
1694
|
requestId: string;
|
|
1865
1695
|
};
|
|
1866
1696
|
outputFormat: "json";
|
|
1867
|
-
status:
|
|
1697
|
+
status: 403;
|
|
1868
1698
|
input: {
|
|
1869
1699
|
param: {
|
|
1870
1700
|
token: `0x${string}`;
|
|
@@ -1888,14 +1718,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1888
1718
|
} | {
|
|
1889
1719
|
output: {
|
|
1890
1720
|
error: {
|
|
1891
|
-
code: "
|
|
1721
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1892
1722
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1893
1723
|
message: string;
|
|
1894
1724
|
};
|
|
1895
1725
|
requestId: string;
|
|
1896
1726
|
};
|
|
1897
1727
|
outputFormat: "json";
|
|
1898
|
-
status:
|
|
1728
|
+
status: 429;
|
|
1899
1729
|
input: {
|
|
1900
1730
|
param: {
|
|
1901
1731
|
token: `0x${string}`;
|
|
@@ -1919,38 +1749,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1919
1749
|
} | {
|
|
1920
1750
|
output: {
|
|
1921
1751
|
error: {
|
|
1922
|
-
code: "
|
|
1752
|
+
code: "query_invalid";
|
|
1923
1753
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1924
1754
|
message: string;
|
|
1925
1755
|
};
|
|
1926
1756
|
requestId: string;
|
|
1927
1757
|
};
|
|
1928
1758
|
outputFormat: "json";
|
|
1929
|
-
status:
|
|
1930
|
-
input: {
|
|
1931
|
-
param: {
|
|
1932
|
-
token: `0x${string}`;
|
|
1933
|
-
};
|
|
1934
|
-
} & {
|
|
1935
|
-
query?: {
|
|
1936
|
-
'blockNumber.from'?: string | string[];
|
|
1937
|
-
'blockNumber.to'?: string | string[];
|
|
1938
|
-
chainId?: string | string[];
|
|
1939
|
-
cursor?: string | string[];
|
|
1940
|
-
feePayer?: string | string[];
|
|
1941
|
-
feeToken?: string | string[];
|
|
1942
|
-
include?: string | string[];
|
|
1943
|
-
limit?: string | string[];
|
|
1944
|
-
order?: string | string[];
|
|
1945
|
-
page?: string | string[];
|
|
1946
|
-
'timestamp.from'?: string | string[];
|
|
1947
|
-
'timestamp.to'?: string | string[];
|
|
1948
|
-
} | undefined;
|
|
1949
|
-
};
|
|
1950
|
-
} | {
|
|
1951
|
-
output: null;
|
|
1952
|
-
outputFormat: "body";
|
|
1953
|
-
status: 402;
|
|
1759
|
+
status: 400;
|
|
1954
1760
|
input: {
|
|
1955
1761
|
param: {
|
|
1956
1762
|
token: `0x${string}`;
|
|
@@ -1974,14 +1780,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1974
1780
|
} | {
|
|
1975
1781
|
output: {
|
|
1976
1782
|
error: {
|
|
1977
|
-
code: "
|
|
1783
|
+
code: "upstream_error";
|
|
1978
1784
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1979
1785
|
message: string;
|
|
1980
1786
|
};
|
|
1981
1787
|
requestId: string;
|
|
1982
1788
|
};
|
|
1983
1789
|
outputFormat: "json";
|
|
1984
|
-
status:
|
|
1790
|
+
status: 502;
|
|
1985
1791
|
input: {
|
|
1986
1792
|
param: {
|
|
1987
1793
|
token: `0x${string}`;
|
|
@@ -2005,14 +1811,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
2005
1811
|
} | {
|
|
2006
1812
|
output: {
|
|
2007
1813
|
error: {
|
|
2008
|
-
code: "
|
|
1814
|
+
code: "token_invalid";
|
|
2009
1815
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2010
1816
|
message: string;
|
|
2011
1817
|
};
|
|
2012
1818
|
requestId: string;
|
|
2013
1819
|
};
|
|
2014
1820
|
outputFormat: "json";
|
|
2015
|
-
status:
|
|
1821
|
+
status: 400;
|
|
2016
1822
|
input: {
|
|
2017
1823
|
param: {
|
|
2018
1824
|
token: `0x${string}`;
|
|
@@ -2035,15 +1841,211 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
2035
1841
|
};
|
|
2036
1842
|
} | {
|
|
2037
1843
|
output: {
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
1844
|
+
data: {
|
|
1845
|
+
blockHash: `0x${string}` | null;
|
|
1846
|
+
blockNumber: number | null;
|
|
1847
|
+
calls?: {
|
|
1848
|
+
data?: `0x${string}` | undefined;
|
|
1849
|
+
to: `0x${string}` | null;
|
|
1850
|
+
}[] | undefined;
|
|
1851
|
+
chainId?: number | undefined;
|
|
1852
|
+
feeToken?: {
|
|
1853
|
+
address: `0x${string}`;
|
|
1854
|
+
currency: string;
|
|
1855
|
+
decimals: number;
|
|
1856
|
+
logoUri?: string | undefined;
|
|
1857
|
+
name: string;
|
|
1858
|
+
symbol: string;
|
|
1859
|
+
verified?: boolean | undefined;
|
|
1860
|
+
} | undefined;
|
|
1861
|
+
gas: number;
|
|
1862
|
+
gasPrice?: string | undefined;
|
|
1863
|
+
hash: `0x${string}`;
|
|
1864
|
+
id: `0x${string}`;
|
|
1865
|
+
input?: `0x${string}` | undefined;
|
|
1866
|
+
maxFeePerGas?: string | undefined;
|
|
1867
|
+
maxPriorityFeePerGas?: string | undefined;
|
|
1868
|
+
meta: {
|
|
1869
|
+
receipt?: {
|
|
1870
|
+
blockHash: `0x${string}` | null;
|
|
1871
|
+
blockNumber: number;
|
|
1872
|
+
contractAddress: `0x${string}` | null;
|
|
1873
|
+
cumulativeGasUsed: number;
|
|
1874
|
+
effectiveGasPrice: string;
|
|
1875
|
+
feeAmount: {
|
|
1876
|
+
baseUnits: string;
|
|
1877
|
+
currency: string;
|
|
1878
|
+
decimals: number;
|
|
1879
|
+
formatted: string;
|
|
1880
|
+
valuation?: {
|
|
1881
|
+
amount: string;
|
|
1882
|
+
currency: string;
|
|
1883
|
+
} | null | undefined;
|
|
1884
|
+
};
|
|
1885
|
+
feePayer?: `0x${string}` | undefined;
|
|
1886
|
+
feeToken?: {
|
|
1887
|
+
address: `0x${string}`;
|
|
1888
|
+
currency: string;
|
|
1889
|
+
decimals: number;
|
|
1890
|
+
logoUri?: string | undefined;
|
|
1891
|
+
name: string;
|
|
1892
|
+
symbol: string;
|
|
1893
|
+
verified?: boolean | undefined;
|
|
1894
|
+
} | undefined;
|
|
1895
|
+
gasUsed: number;
|
|
1896
|
+
id: `0x${string}`;
|
|
1897
|
+
logs: {
|
|
1898
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1899
|
+
address: `0x${string}`;
|
|
1900
|
+
blockHash: `0x${string}` | null;
|
|
1901
|
+
blockNumber: `0x${string}` | null;
|
|
1902
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1903
|
+
data: `0x${string}`;
|
|
1904
|
+
logIndex: `0x${string}` | null;
|
|
1905
|
+
removed: boolean;
|
|
1906
|
+
topics: `0x${string}`[];
|
|
1907
|
+
transactionHash: `0x${string}` | null;
|
|
1908
|
+
transactionIndex: `0x${string}` | null;
|
|
1909
|
+
}[];
|
|
1910
|
+
meta: {
|
|
1911
|
+
valuation?: {
|
|
1912
|
+
asOf: string;
|
|
1913
|
+
basis: "nominal";
|
|
1914
|
+
source: string;
|
|
1915
|
+
} | undefined;
|
|
1916
|
+
rpc: {
|
|
1917
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1918
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
1919
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
1920
|
+
blockHash: `0x${string}` | null;
|
|
1921
|
+
blockNumber: `0x${string}`;
|
|
1922
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1923
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
1924
|
+
cumulativeGasUsed: `0x${string}`;
|
|
1925
|
+
effectiveGasPrice: `0x${string}`;
|
|
1926
|
+
feePayer?: `0x${string}` | null | undefined;
|
|
1927
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
1928
|
+
from: `0x${string}`;
|
|
1929
|
+
gasUsed: `0x${string}`;
|
|
1930
|
+
logs: {
|
|
1931
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1932
|
+
address: `0x${string}`;
|
|
1933
|
+
blockHash: `0x${string}` | null;
|
|
1934
|
+
blockNumber: `0x${string}` | null;
|
|
1935
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1936
|
+
data: `0x${string}`;
|
|
1937
|
+
logIndex: `0x${string}` | null;
|
|
1938
|
+
removed: boolean;
|
|
1939
|
+
topics: `0x${string}`[];
|
|
1940
|
+
transactionHash: `0x${string}` | null;
|
|
1941
|
+
transactionIndex: `0x${string}` | null;
|
|
1942
|
+
}[];
|
|
1943
|
+
logsBloom?: `0x${string}` | undefined;
|
|
1944
|
+
root?: `0x${string}` | undefined;
|
|
1945
|
+
status: `0x${string}`;
|
|
1946
|
+
to: `0x${string}` | null;
|
|
1947
|
+
transactionHash: `0x${string}`;
|
|
1948
|
+
transactionIndex: `0x${string}`;
|
|
1949
|
+
type: `0x${string}`;
|
|
1950
|
+
};
|
|
1951
|
+
};
|
|
1952
|
+
recipient: `0x${string}` | null;
|
|
1953
|
+
sender: `0x${string}`;
|
|
1954
|
+
status: "reverted" | "success";
|
|
1955
|
+
timestamp: string | null;
|
|
1956
|
+
transactionHash: `0x${string}`;
|
|
1957
|
+
transactionIndex: number;
|
|
1958
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
1959
|
+
} | undefined;
|
|
1960
|
+
rpc: {
|
|
1961
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1962
|
+
aaAuthorizationList?: {
|
|
1963
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1964
|
+
}[] | undefined;
|
|
1965
|
+
accessList?: {
|
|
1966
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1967
|
+
address: `0x${string}`;
|
|
1968
|
+
storageKeys: `0x${string}`[];
|
|
1969
|
+
}[] | undefined;
|
|
1970
|
+
authorizationList?: {
|
|
1971
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1972
|
+
}[] | undefined;
|
|
1973
|
+
blobVersionedHashes?: `0x${string}`[] | undefined;
|
|
1974
|
+
blockHash: `0x${string}` | null;
|
|
1975
|
+
blockNumber: `0x${string}` | null;
|
|
1976
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1977
|
+
calls?: {
|
|
1978
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1979
|
+
data?: `0x${string}` | null | undefined;
|
|
1980
|
+
input?: `0x${string}` | null | undefined;
|
|
1981
|
+
to?: `0x${string}` | null | undefined;
|
|
1982
|
+
value?: `0x${string}` | null | undefined;
|
|
1983
|
+
}[] | null | undefined;
|
|
1984
|
+
chainId?: `0x${string}` | undefined;
|
|
1985
|
+
feePayer?: `0x${string}` | undefined;
|
|
1986
|
+
feePayerSignature?: {
|
|
1987
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1988
|
+
type?: string | undefined;
|
|
1989
|
+
} | null | undefined;
|
|
1990
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
1991
|
+
from: `0x${string}`;
|
|
1992
|
+
gas: `0x${string}`;
|
|
1993
|
+
gasPrice?: `0x${string}` | undefined;
|
|
1994
|
+
hash: `0x${string}`;
|
|
1995
|
+
input?: `0x${string}` | undefined;
|
|
1996
|
+
keyAuthorization?: {
|
|
1997
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1998
|
+
} | null | undefined;
|
|
1999
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
2000
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
2001
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
2002
|
+
nonce: `0x${string}`;
|
|
2003
|
+
nonceKey?: `0x${string}` | undefined;
|
|
2004
|
+
r?: `0x${string}` | undefined;
|
|
2005
|
+
s?: `0x${string}` | undefined;
|
|
2006
|
+
signature?: {
|
|
2007
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2008
|
+
type?: string | undefined;
|
|
2009
|
+
} | undefined;
|
|
2010
|
+
to?: `0x${string}` | null | undefined;
|
|
2011
|
+
transactionIndex: `0x${string}` | null;
|
|
2012
|
+
type: `0x${string}`;
|
|
2013
|
+
v?: `0x${string}` | undefined;
|
|
2014
|
+
validAfter?: `0x${string}` | null | undefined;
|
|
2015
|
+
validBefore?: `0x${string}` | null | undefined;
|
|
2016
|
+
value?: `0x${string}` | undefined;
|
|
2017
|
+
yParity?: `0x${string}` | undefined;
|
|
2018
|
+
};
|
|
2019
|
+
};
|
|
2020
|
+
nonce: number;
|
|
2021
|
+
nonceKey?: `0x${string}` | undefined;
|
|
2022
|
+
recipient: `0x${string}` | null;
|
|
2023
|
+
sender: `0x${string}`;
|
|
2024
|
+
timestamp: string | null;
|
|
2025
|
+
transactionIndex: number | null;
|
|
2026
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
2027
|
+
validAfter?: string | null | undefined;
|
|
2028
|
+
validBefore?: string | null | undefined;
|
|
2029
|
+
value: string;
|
|
2030
|
+
}[];
|
|
2031
|
+
meta?: {
|
|
2032
|
+
totalCountCapped?: boolean | undefined;
|
|
2033
|
+
token?: {
|
|
2034
|
+
address: `0x${string}`;
|
|
2035
|
+
currency: string;
|
|
2036
|
+
decimals: number;
|
|
2037
|
+
id: string;
|
|
2038
|
+
logoUri?: string | undefined;
|
|
2039
|
+
name: string;
|
|
2040
|
+
symbol: string;
|
|
2041
|
+
verified: boolean;
|
|
2042
|
+
} | undefined;
|
|
2043
|
+
totalCount?: number | undefined;
|
|
2044
|
+
} | undefined;
|
|
2045
|
+
nextCursor: string | null;
|
|
2044
2046
|
};
|
|
2045
2047
|
outputFormat: "json";
|
|
2046
|
-
status:
|
|
2048
|
+
status: 200;
|
|
2047
2049
|
input: {
|
|
2048
2050
|
param: {
|
|
2049
2051
|
token: `0x${string}`;
|