tapimo 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +13987 -5755
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js.map +1 -1
- package/dist/admin/App.d.ts +910 -412
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +4 -0
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/early-access.d.ts +148 -0
- package/dist/admin/apps/early-access.d.ts.map +1 -0
- package/dist/admin/apps/early-access.js +133 -0
- package/dist/admin/apps/early-access.js.map +1 -0
- package/dist/admin/apps/verified-tokens.d.ts +643 -118
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +214 -1
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +45 -33
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +3733 -2428
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +11 -6
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +34 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +193 -2
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +71 -0
- package/dist/apps/data/FxOracle.d.ts.map +1 -0
- package/dist/apps/data/FxOracle.js +97 -0
- package/dist/apps/data/FxOracle.js.map +1 -0
- package/dist/apps/data/index.d.ts +1 -0
- package/dist/apps/data/index.d.ts.map +1 -1
- package/dist/apps/data/index.js +1 -0
- package/dist/apps/data/index.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +3575 -1358
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +230 -88
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +963 -342
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/addresses.js +11 -9
- package/dist/apps/data/routes/addresses.js.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +108 -57
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +88 -45
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/exchanges.d.ts +952 -201
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +518 -76
- 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/funding.d.ts +8 -2
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +32 -6
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +5 -5
- package/dist/apps/data/routes/receipts.d.ts +392 -315
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +152 -77
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +166 -173
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +14 -12
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +277 -536
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +96 -77
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +82 -17
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +70 -13
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +307 -0
- package/dist/apps/data/routes/valuation.d.ts.map +1 -0
- package/dist/apps/data/routes/valuation.js +292 -0
- package/dist/apps/data/routes/valuation.js.map +1 -0
- package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/verified-tokens.js +7 -5
- package/dist/apps/data/routes/verified-tokens.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +459 -479
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +124 -25
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/management/App.d.ts +8606 -1681
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +12 -1
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +23 -0
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +5 -3
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +88 -48
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +10 -2
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +218 -0
- package/dist/apps/management/routes/faucet.d.ts.map +1 -0
- package/dist/apps/management/routes/faucet.js +139 -0
- package/dist/apps/management/routes/faucet.js.map +1 -0
- package/dist/apps/management/routes/invitations.d.ts +121 -121
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +3 -0
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/invite-links.d.ts +197 -168
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
- package/dist/apps/management/routes/invite-links.js +26 -1
- package/dist/apps/management/routes/invite-links.js.map +1 -1
- package/dist/apps/management/routes/me.d.ts +2 -0
- package/dist/apps/management/routes/me.d.ts.map +1 -1
- package/dist/apps/management/routes/me.js +4 -0
- package/dist/apps/management/routes/me.js.map +1 -1
- package/dist/apps/management/routes/members.d.ts +49 -49
- package/dist/apps/management/routes/orgs.d.ts +91 -91
- package/dist/apps/management/routes/projects.d.ts +115 -115
- package/dist/apps/management/routes/usage.d.ts +35 -32
- package/dist/apps/management/routes/usage.d.ts.map +1 -1
- package/dist/apps/management/routes/usage.js +4 -0
- package/dist/apps/management/routes/usage.js.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.d.ts +697 -0
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -0
- package/dist/apps/management/routes/verified-token-requests.js +271 -0
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -0
- package/dist/apps/management/routes/webhooks.d.ts +6977 -0
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -0
- package/dist/apps/management/routes/webhooks.js +573 -0
- package/dist/apps/management/routes/webhooks.js.map +1 -0
- package/dist/apps/mcp.d.ts +9 -2
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +9 -4
- package/dist/apps/mcp.js.map +1 -1
- package/dist/cli/Cli.d.ts.map +1 -1
- package/dist/cli/Cli.js +7 -2
- package/dist/cli/Cli.js.map +1 -1
- package/dist/db/Db.d.ts +4 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +83 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +41 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +45 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/earlyAccess.d.ts +50 -0
- package/dist/db/tables/earlyAccess.d.ts.map +1 -0
- package/dist/db/tables/earlyAccess.js +63 -0
- package/dist/db/tables/earlyAccess.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +12 -1
- package/dist/db/tables/invitations.d.ts.map +1 -1
- package/dist/db/tables/invitations.js +23 -0
- package/dist/db/tables/invitations.js.map +1 -1
- package/dist/db/tables/inviteLinks.d.ts +10 -2
- package/dist/db/tables/inviteLinks.d.ts.map +1 -1
- package/dist/db/tables/inviteLinks.js +10 -1
- package/dist/db/tables/inviteLinks.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +2 -0
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.d.ts +94 -0
- package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -0
- package/dist/db/tables/verifiedTokenRequests.js +120 -0
- package/dist/db/tables/verifiedTokenRequests.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +14 -0
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +16 -0
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/Auth.d.ts +43 -2
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +60 -45
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +69 -15
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +74 -25
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/Log.d.ts +19 -1
- 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/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +9 -0
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +2 -2
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +3 -0
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Schema.d.ts +14 -5
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +23 -5
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Value.d.ts +18 -0
- package/dist/internal/Value.d.ts.map +1 -1
- package/dist/internal/Value.js +11 -1
- package/dist/internal/Value.js.map +1 -1
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +10 -1
- package/dist/internal/VerifiedTokens.js.map +1 -1
- package/dist/internal/Viem.d.ts +1 -1
- package/dist/internal/Webhooks.d.ts +24 -3
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +34 -8
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +2 -2
- package/src/App.ts +9 -1
- package/src/Client.test-d.ts +638 -6
- package/src/admin/App.ts +4 -0
- package/src/admin/apps/early-access.test.ts +125 -0
- package/src/admin/apps/early-access.ts +175 -0
- package/src/admin/apps/verified-tokens.test.ts +201 -0
- package/src/admin/apps/verified-tokens.ts +532 -286
- package/src/admin/ui/plugin.ts +2 -1
- package/src/admin/ui/src/lib/early-access.ts +63 -0
- package/src/admin/ui/src/lib/verified-tokens.ts +79 -0
- package/src/admin/ui/src/routeTree.gen.ts +33 -2
- package/src/admin/ui/src/routes/__root.tsx +2 -1
- package/src/admin/ui/src/routes/early-access.tsx +157 -0
- package/src/admin/ui/src/routes/verified-tokens.tsx +230 -19
- package/src/admin/ui.generated.ts +48 -33
- package/src/apps/data/App.ts +22 -14
- package/src/apps/data/FundingQuoteProviders.test.ts +298 -0
- package/src/apps/data/FundingQuoteProviders.ts +257 -4
- package/src/apps/data/FxOracle.test.ts +118 -0
- package/src/apps/data/FxOracle.ts +153 -0
- package/src/apps/data/index.ts +1 -0
- package/src/apps/data/routes/activities.test.ts +173 -3
- package/src/apps/data/routes/activities.ts +403 -132
- package/src/apps/data/routes/addresses.ts +19 -9
- package/src/apps/data/routes/balances.test.ts +144 -11
- package/src/apps/data/routes/balances.ts +140 -51
- package/src/apps/data/routes/exchanges.test.ts +540 -9
- package/src/apps/data/routes/exchanges.ts +690 -103
- package/src/apps/data/routes/funding.test.ts +84 -0
- package/src/apps/data/routes/funding.ts +38 -6
- package/src/apps/data/routes/receipts.test.ts +125 -23
- package/src/apps/data/routes/receipts.ts +205 -100
- package/src/apps/data/routes/tokens.test.ts +43 -0
- package/src/apps/data/routes/tokens.ts +27 -12
- package/src/apps/data/routes/transactions.test.ts +72 -19
- package/src/apps/data/routes/transactions.ts +162 -92
- package/src/apps/data/routes/transfers.test.ts +146 -4
- package/src/apps/data/routes/transfers.ts +91 -13
- package/src/apps/data/routes/valuation.test.ts +422 -0
- package/src/apps/data/routes/valuation.ts +423 -0
- package/src/apps/data/routes/verified-tokens.ts +14 -2
- package/src/apps/data/routes/webhooks.test.ts +56 -8
- package/src/apps/data/routes/webhooks.ts +144 -27
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +13 -0
- package/src/apps/management/routes/api-keys.test.ts +87 -0
- package/src/apps/management/routes/api-keys.ts +4 -3
- package/src/apps/management/routes/billing.test.ts +112 -1
- package/src/apps/management/routes/billing.ts +7 -2
- package/src/apps/management/routes/faucet.test.ts +79 -0
- package/src/apps/management/routes/faucet.ts +185 -0
- package/src/apps/management/routes/invitations.test.ts +172 -0
- package/src/apps/management/routes/invitations.ts +3 -0
- package/src/apps/management/routes/invite-links.test.ts +117 -0
- package/src/apps/management/routes/invite-links.ts +43 -1
- package/src/apps/management/routes/me.test.ts +140 -88
- package/src/apps/management/routes/me.ts +6 -0
- package/src/apps/management/routes/usage.test.ts +6 -0
- package/src/apps/management/routes/usage.ts +7 -0
- package/src/apps/management/routes/verified-token-requests.test.ts +377 -0
- package/src/apps/management/routes/verified-token-requests.ts +397 -0
- package/src/apps/management/routes/webhooks.test.ts +426 -0
- package/src/apps/management/routes/webhooks.ts +672 -0
- package/src/apps/mcp.test.ts +13 -0
- package/src/apps/mcp.ts +18 -5
- package/src/cli/Cli.test.ts +36 -0
- package/src/cli/Cli.ts +7 -2
- package/src/db/Db.test.ts +19 -0
- package/src/db/Db.ts +95 -0
- package/src/db/Schema.ts +53 -0
- package/src/db/tables/earlyAccess.ts +86 -0
- package/src/db/tables/invitations.ts +26 -1
- package/src/db/tables/inviteLinks.ts +22 -3
- package/src/db/tables/sponsoredTransactions.ts +4 -0
- package/src/db/tables/verifiedTokenRequests.test.ts +200 -0
- package/src/db/tables/verifiedTokenRequests.ts +182 -0
- package/src/db/tables/webhookSubscriptions.ts +31 -0
- package/src/internal/Auth.ts +73 -45
- package/src/internal/FundingQuotes.test.ts +143 -1
- package/src/internal/FundingQuotes.ts +95 -28
- package/src/internal/Log.test-d.ts +21 -0
- package/src/internal/Log.test.ts +50 -0
- package/src/internal/Log.ts +24 -1
- package/src/internal/MetricSink.test.ts +160 -0
- package/src/internal/MetricSink.ts +10 -0
- package/src/internal/OpenApi.ts +3 -0
- package/src/internal/Schema.ts +50 -5
- package/src/internal/Value.test.ts +20 -0
- package/src/internal/Value.ts +24 -1
- package/src/internal/VerifiedTokens.ts +9 -1
- package/src/internal/Webhooks.test.ts +140 -0
- package/src/internal/Webhooks.ts +53 -9
|
@@ -85,6 +85,16 @@ export declare namespace schema {
|
|
|
85
85
|
symbol: z.ZodMiniString<string>;
|
|
86
86
|
verified: z.ZodMiniBoolean<boolean>;
|
|
87
87
|
}, z.core.$strip>;
|
|
88
|
+
/** RPC token metadata embedded in resources, with optional curated fields. */
|
|
89
|
+
const TokenReference: z.ZodMiniObject<{
|
|
90
|
+
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
91
|
+
currency: z.ZodMiniString<string>;
|
|
92
|
+
decimals: z.ZodMiniNumber<number>;
|
|
93
|
+
logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
|
|
94
|
+
name: z.ZodMiniString<string>;
|
|
95
|
+
symbol: z.ZodMiniString<string>;
|
|
96
|
+
verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
97
|
+
}, z.core.$strip>;
|
|
88
98
|
/** Schemas for the getTokenBySymbol operation. */
|
|
89
99
|
namespace getTokenBySymbol {
|
|
90
100
|
/** Hono route pattern for verified token symbols. */
|
|
@@ -247,9 +257,10 @@ export declare namespace schema {
|
|
|
247
257
|
const Params: z.ZodMiniObject<{
|
|
248
258
|
token: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
249
259
|
}, z.core.$strip>;
|
|
250
|
-
/** Optional
|
|
260
|
+
/** Optional scoped-token resources and fee-token fields requested via `include`. */
|
|
251
261
|
const Include: z.ZodMiniEnum<{
|
|
252
|
-
feeToken: "feeToken";
|
|
262
|
+
"feeToken.logoUri": "feeToken.logoUri";
|
|
263
|
+
"feeToken.verified": "feeToken.verified";
|
|
253
264
|
token: "token";
|
|
254
265
|
totalCount: "totalCount";
|
|
255
266
|
}>;
|
|
@@ -259,7 +270,8 @@ export declare namespace schema {
|
|
|
259
270
|
* keeping the base transaction page fast.
|
|
260
271
|
*/
|
|
261
272
|
const includeQuery: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
|
|
262
|
-
feeToken: "feeToken";
|
|
273
|
+
"feeToken.logoUri": "feeToken.logoUri";
|
|
274
|
+
"feeToken.verified": "feeToken.verified";
|
|
263
275
|
token: "token";
|
|
264
276
|
totalCount: "totalCount";
|
|
265
277
|
}>>>;
|
|
@@ -275,7 +287,8 @@ export declare namespace schema {
|
|
|
275
287
|
feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
276
288
|
feeToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
277
289
|
include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
|
|
278
|
-
feeToken: "feeToken";
|
|
290
|
+
"feeToken.logoUri": "feeToken.logoUri";
|
|
291
|
+
"feeToken.verified": "feeToken.verified";
|
|
279
292
|
token: "token";
|
|
280
293
|
totalCount: "totalCount";
|
|
281
294
|
}>>>;
|
|
@@ -321,7 +334,15 @@ export declare namespace schema {
|
|
|
321
334
|
to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
322
335
|
}, z.core.$strip>>>;
|
|
323
336
|
chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
324
|
-
feeToken: z.ZodMiniOptional<z.
|
|
337
|
+
feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
|
|
338
|
+
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
339
|
+
currency: z.ZodMiniString<string>;
|
|
340
|
+
decimals: z.ZodMiniNumber<number>;
|
|
341
|
+
logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
|
|
342
|
+
name: z.ZodMiniString<string>;
|
|
343
|
+
symbol: z.ZodMiniString<string>;
|
|
344
|
+
verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
345
|
+
}, z.core.$strip>>>;
|
|
325
346
|
gas: z.ZodMiniNumber<number>;
|
|
326
347
|
gasPrice: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
327
348
|
hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
@@ -330,35 +351,32 @@ export declare namespace schema {
|
|
|
330
351
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
331
352
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
332
353
|
meta: z.ZodMiniObject<{
|
|
333
|
-
feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
|
|
334
|
-
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
335
|
-
admin: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
336
|
-
currency: z.ZodMiniString<string>;
|
|
337
|
-
createdAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
|
|
338
|
-
decimals: z.ZodMiniNumber<number>;
|
|
339
|
-
holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
340
|
-
id: z.ZodMiniString<string>;
|
|
341
|
-
logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
342
|
-
name: z.ZodMiniString<string>;
|
|
343
|
-
quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
344
|
-
symbol: z.ZodMiniString<string>;
|
|
345
|
-
totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
346
|
-
transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
347
|
-
count: z.ZodMiniNumber<number>;
|
|
348
|
-
firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
349
|
-
lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
350
|
-
}, z.core.$strip>>;
|
|
351
|
-
verified: z.ZodMiniBoolean<boolean>;
|
|
352
|
-
}, z.core.$strip>>>;
|
|
353
354
|
receipt: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
|
|
354
355
|
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
355
356
|
blockNumber: z.ZodMiniNumber<number>;
|
|
356
357
|
contractAddress: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
357
358
|
cumulativeGasUsed: z.ZodMiniNumber<number>;
|
|
358
359
|
effectiveGasPrice: z.ZodMiniString<string>;
|
|
359
|
-
feeAmount: z.
|
|
360
|
+
feeAmount: z.ZodMiniObject<{
|
|
361
|
+
baseUnits: z.ZodMiniString<string>;
|
|
362
|
+
currency: z.ZodMiniString<string>;
|
|
363
|
+
decimals: z.ZodMiniNumber<number>;
|
|
364
|
+
formatted: z.ZodMiniString<string>;
|
|
365
|
+
valuation: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
366
|
+
amount: z.ZodMiniString<string>;
|
|
367
|
+
currency: z.ZodMiniString<string>;
|
|
368
|
+
}, z.core.$strip>>>;
|
|
369
|
+
}, z.core.$strip>;
|
|
360
370
|
feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
361
|
-
feeToken: z.ZodMiniOptional<z.
|
|
371
|
+
feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
|
|
372
|
+
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
373
|
+
currency: z.ZodMiniString<string>;
|
|
374
|
+
decimals: z.ZodMiniNumber<number>;
|
|
375
|
+
logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
|
|
376
|
+
name: z.ZodMiniString<string>;
|
|
377
|
+
symbol: z.ZodMiniString<string>;
|
|
378
|
+
verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
379
|
+
}, z.core.$strip>>>;
|
|
362
380
|
gasUsed: z.ZodMiniNumber<number>;
|
|
363
381
|
id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
364
382
|
logs: z.ZodMiniArray<z.ZodMiniObject<{
|
|
@@ -374,26 +392,11 @@ export declare namespace schema {
|
|
|
374
392
|
transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
375
393
|
}, z.core.$loose>>;
|
|
376
394
|
meta: z.ZodMiniObject<{
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
decimals: z.ZodMiniNumber<number>;
|
|
383
|
-
holderCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
384
|
-
id: z.ZodMiniString<string>;
|
|
385
|
-
logoUri: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
386
|
-
name: z.ZodMiniString<string>;
|
|
387
|
-
quoteToken: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
388
|
-
symbol: z.ZodMiniString<string>;
|
|
389
|
-
totalSupply: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
390
|
-
transferStats: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
391
|
-
count: z.ZodMiniNumber<number>;
|
|
392
|
-
firstAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
393
|
-
lastAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
394
|
-
}, z.core.$strip>>;
|
|
395
|
-
verified: z.ZodMiniBoolean<boolean>;
|
|
396
|
-
}, z.core.$strip>>>;
|
|
395
|
+
pricing: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
396
|
+
asOf: z.ZodMiniString<string>;
|
|
397
|
+
basis: z.ZodMiniLiteral<"nominal">;
|
|
398
|
+
source: z.ZodMiniString<string>;
|
|
399
|
+
}, z.core.$strip>>;
|
|
397
400
|
rpc: z.ZodMiniObject<{
|
|
398
401
|
blobGasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
399
402
|
blobGasUsed: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -552,6 +555,30 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
552
555
|
verified?: string | string[];
|
|
553
556
|
} | undefined;
|
|
554
557
|
};
|
|
558
|
+
} | {
|
|
559
|
+
output: {
|
|
560
|
+
error: {
|
|
561
|
+
code: "upstream_error";
|
|
562
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
563
|
+
message: string;
|
|
564
|
+
};
|
|
565
|
+
requestId: string;
|
|
566
|
+
};
|
|
567
|
+
outputFormat: "json";
|
|
568
|
+
status: 502;
|
|
569
|
+
input: {
|
|
570
|
+
query?: {
|
|
571
|
+
addresses?: string | string[];
|
|
572
|
+
chainId?: string | string[];
|
|
573
|
+
currency?: string | string[];
|
|
574
|
+
cursor?: string | string[];
|
|
575
|
+
include?: string | string[];
|
|
576
|
+
limit?: string | string[];
|
|
577
|
+
order?: string | string[];
|
|
578
|
+
page?: string | string[];
|
|
579
|
+
verified?: string | string[];
|
|
580
|
+
} | undefined;
|
|
581
|
+
};
|
|
555
582
|
} | {
|
|
556
583
|
output: {
|
|
557
584
|
error: {
|
|
@@ -711,30 +738,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
711
738
|
verified?: string | string[];
|
|
712
739
|
} | undefined;
|
|
713
740
|
};
|
|
714
|
-
} | {
|
|
715
|
-
output: {
|
|
716
|
-
error: {
|
|
717
|
-
code: "upstream_error";
|
|
718
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
719
|
-
message: string;
|
|
720
|
-
};
|
|
721
|
-
requestId: string;
|
|
722
|
-
};
|
|
723
|
-
outputFormat: "json";
|
|
724
|
-
status: 502;
|
|
725
|
-
input: {
|
|
726
|
-
query?: {
|
|
727
|
-
addresses?: string | string[];
|
|
728
|
-
chainId?: string | string[];
|
|
729
|
-
currency?: string | string[];
|
|
730
|
-
cursor?: string | string[];
|
|
731
|
-
include?: string | string[];
|
|
732
|
-
limit?: string | string[];
|
|
733
|
-
order?: string | string[];
|
|
734
|
-
page?: string | string[];
|
|
735
|
-
verified?: string | string[];
|
|
736
|
-
} | undefined;
|
|
737
|
-
};
|
|
738
741
|
};
|
|
739
742
|
};
|
|
740
743
|
} & {
|
|
@@ -756,14 +759,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
756
759
|
} | {
|
|
757
760
|
output: {
|
|
758
761
|
error: {
|
|
759
|
-
code: "
|
|
762
|
+
code: "upstream_error";
|
|
760
763
|
details?: readonly Response.error.Detail[] | undefined;
|
|
761
764
|
message: string;
|
|
762
765
|
};
|
|
763
766
|
requestId: string;
|
|
764
767
|
};
|
|
765
768
|
outputFormat: "json";
|
|
766
|
-
status:
|
|
769
|
+
status: 502;
|
|
767
770
|
input: {
|
|
768
771
|
param: {
|
|
769
772
|
symbol: string;
|
|
@@ -777,14 +780,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
777
780
|
} | {
|
|
778
781
|
output: {
|
|
779
782
|
error: {
|
|
780
|
-
code: "
|
|
783
|
+
code: "api_key_malformed";
|
|
781
784
|
details?: readonly Response.error.Detail[] | undefined;
|
|
782
785
|
message: string;
|
|
783
786
|
};
|
|
784
787
|
requestId: string;
|
|
785
788
|
};
|
|
786
789
|
outputFormat: "json";
|
|
787
|
-
status:
|
|
790
|
+
status: 400;
|
|
788
791
|
input: {
|
|
789
792
|
param: {
|
|
790
793
|
symbol: string;
|
|
@@ -798,14 +801,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
798
801
|
} | {
|
|
799
802
|
output: {
|
|
800
803
|
error: {
|
|
801
|
-
code: "
|
|
804
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
802
805
|
details?: readonly Response.error.Detail[] | undefined;
|
|
803
806
|
message: string;
|
|
804
807
|
};
|
|
805
808
|
requestId: string;
|
|
806
809
|
};
|
|
807
810
|
outputFormat: "json";
|
|
808
|
-
status:
|
|
811
|
+
status: 401;
|
|
809
812
|
input: {
|
|
810
813
|
param: {
|
|
811
814
|
symbol: string;
|
|
@@ -819,14 +822,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
819
822
|
} | {
|
|
820
823
|
output: {
|
|
821
824
|
error: {
|
|
822
|
-
code: "
|
|
825
|
+
code: "api_key_forbidden";
|
|
823
826
|
details?: readonly Response.error.Detail[] | undefined;
|
|
824
827
|
message: string;
|
|
825
828
|
};
|
|
826
829
|
requestId: string;
|
|
827
830
|
};
|
|
828
831
|
outputFormat: "json";
|
|
829
|
-
status:
|
|
832
|
+
status: 403;
|
|
830
833
|
input: {
|
|
831
834
|
param: {
|
|
832
835
|
symbol: string;
|
|
@@ -840,14 +843,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
840
843
|
} | {
|
|
841
844
|
output: {
|
|
842
845
|
error: {
|
|
843
|
-
code: "
|
|
846
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
844
847
|
details?: readonly Response.error.Detail[] | undefined;
|
|
845
848
|
message: string;
|
|
846
849
|
};
|
|
847
850
|
requestId: string;
|
|
848
851
|
};
|
|
849
852
|
outputFormat: "json";
|
|
850
|
-
status:
|
|
853
|
+
status: 429;
|
|
851
854
|
input: {
|
|
852
855
|
param: {
|
|
853
856
|
symbol: string;
|
|
@@ -861,14 +864,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
861
864
|
} | {
|
|
862
865
|
output: {
|
|
863
866
|
error: {
|
|
864
|
-
code: "
|
|
867
|
+
code: "query_invalid";
|
|
865
868
|
details?: readonly Response.error.Detail[] | undefined;
|
|
866
869
|
message: string;
|
|
867
870
|
};
|
|
868
871
|
requestId: string;
|
|
869
872
|
};
|
|
870
873
|
outputFormat: "json";
|
|
871
|
-
status:
|
|
874
|
+
status: 400;
|
|
872
875
|
input: {
|
|
873
876
|
param: {
|
|
874
877
|
symbol: string;
|
|
@@ -975,14 +978,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
975
978
|
} | {
|
|
976
979
|
output: {
|
|
977
980
|
error: {
|
|
978
|
-
code: "
|
|
981
|
+
code: "upstream_error";
|
|
979
982
|
details?: readonly Response.error.Detail[] | undefined;
|
|
980
983
|
message: string;
|
|
981
984
|
};
|
|
982
985
|
requestId: string;
|
|
983
986
|
};
|
|
984
987
|
outputFormat: "json";
|
|
985
|
-
status:
|
|
988
|
+
status: 502;
|
|
986
989
|
input: {
|
|
987
990
|
param: {
|
|
988
991
|
token: `0x${string}`;
|
|
@@ -996,14 +999,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
996
999
|
} | {
|
|
997
1000
|
output: {
|
|
998
1001
|
error: {
|
|
999
|
-
code: "
|
|
1002
|
+
code: "api_key_malformed";
|
|
1000
1003
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1001
1004
|
message: string;
|
|
1002
1005
|
};
|
|
1003
1006
|
requestId: string;
|
|
1004
1007
|
};
|
|
1005
1008
|
outputFormat: "json";
|
|
1006
|
-
status:
|
|
1009
|
+
status: 400;
|
|
1007
1010
|
input: {
|
|
1008
1011
|
param: {
|
|
1009
1012
|
token: `0x${string}`;
|
|
@@ -1017,14 +1020,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1017
1020
|
} | {
|
|
1018
1021
|
output: {
|
|
1019
1022
|
error: {
|
|
1020
|
-
code: "
|
|
1023
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1021
1024
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1022
1025
|
message: string;
|
|
1023
1026
|
};
|
|
1024
1027
|
requestId: string;
|
|
1025
1028
|
};
|
|
1026
1029
|
outputFormat: "json";
|
|
1027
|
-
status:
|
|
1030
|
+
status: 401;
|
|
1028
1031
|
input: {
|
|
1029
1032
|
param: {
|
|
1030
1033
|
token: `0x${string}`;
|
|
@@ -1038,14 +1041,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1038
1041
|
} | {
|
|
1039
1042
|
output: {
|
|
1040
1043
|
error: {
|
|
1041
|
-
code: "
|
|
1044
|
+
code: "api_key_forbidden";
|
|
1042
1045
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1043
1046
|
message: string;
|
|
1044
1047
|
};
|
|
1045
1048
|
requestId: string;
|
|
1046
1049
|
};
|
|
1047
1050
|
outputFormat: "json";
|
|
1048
|
-
status:
|
|
1051
|
+
status: 403;
|
|
1049
1052
|
input: {
|
|
1050
1053
|
param: {
|
|
1051
1054
|
token: `0x${string}`;
|
|
@@ -1059,14 +1062,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1059
1062
|
} | {
|
|
1060
1063
|
output: {
|
|
1061
1064
|
error: {
|
|
1062
|
-
code: "
|
|
1065
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1063
1066
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1064
1067
|
message: string;
|
|
1065
1068
|
};
|
|
1066
1069
|
requestId: string;
|
|
1067
1070
|
};
|
|
1068
1071
|
outputFormat: "json";
|
|
1069
|
-
status:
|
|
1072
|
+
status: 429;
|
|
1070
1073
|
input: {
|
|
1071
1074
|
param: {
|
|
1072
1075
|
token: `0x${string}`;
|
|
@@ -1080,14 +1083,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1080
1083
|
} | {
|
|
1081
1084
|
output: {
|
|
1082
1085
|
error: {
|
|
1083
|
-
code: "
|
|
1086
|
+
code: "query_invalid";
|
|
1084
1087
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1085
1088
|
message: string;
|
|
1086
1089
|
};
|
|
1087
1090
|
requestId: string;
|
|
1088
1091
|
};
|
|
1089
1092
|
outputFormat: "json";
|
|
1090
|
-
status:
|
|
1093
|
+
status: 400;
|
|
1091
1094
|
input: {
|
|
1092
1095
|
param: {
|
|
1093
1096
|
token: `0x${string}`;
|
|
@@ -1206,14 +1209,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1206
1209
|
} | {
|
|
1207
1210
|
output: {
|
|
1208
1211
|
error: {
|
|
1209
|
-
code: "
|
|
1212
|
+
code: "upstream_error";
|
|
1210
1213
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1211
1214
|
message: string;
|
|
1212
1215
|
};
|
|
1213
1216
|
requestId: string;
|
|
1214
1217
|
};
|
|
1215
1218
|
outputFormat: "json";
|
|
1216
|
-
status:
|
|
1219
|
+
status: 502;
|
|
1217
1220
|
input: {
|
|
1218
1221
|
param: {
|
|
1219
1222
|
token: `0x${string}`;
|
|
@@ -1226,14 +1229,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1226
1229
|
} | {
|
|
1227
1230
|
output: {
|
|
1228
1231
|
error: {
|
|
1229
|
-
code: "
|
|
1232
|
+
code: "api_key_malformed";
|
|
1230
1233
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1231
1234
|
message: string;
|
|
1232
1235
|
};
|
|
1233
1236
|
requestId: string;
|
|
1234
1237
|
};
|
|
1235
1238
|
outputFormat: "json";
|
|
1236
|
-
status:
|
|
1239
|
+
status: 400;
|
|
1237
1240
|
input: {
|
|
1238
1241
|
param: {
|
|
1239
1242
|
token: `0x${string}`;
|
|
@@ -1246,14 +1249,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1246
1249
|
} | {
|
|
1247
1250
|
output: {
|
|
1248
1251
|
error: {
|
|
1249
|
-
code: "
|
|
1252
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1250
1253
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1251
1254
|
message: string;
|
|
1252
1255
|
};
|
|
1253
1256
|
requestId: string;
|
|
1254
1257
|
};
|
|
1255
1258
|
outputFormat: "json";
|
|
1256
|
-
status:
|
|
1259
|
+
status: 401;
|
|
1257
1260
|
input: {
|
|
1258
1261
|
param: {
|
|
1259
1262
|
token: `0x${string}`;
|
|
@@ -1266,14 +1269,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1266
1269
|
} | {
|
|
1267
1270
|
output: {
|
|
1268
1271
|
error: {
|
|
1269
|
-
code: "
|
|
1272
|
+
code: "api_key_forbidden";
|
|
1270
1273
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1271
1274
|
message: string;
|
|
1272
1275
|
};
|
|
1273
1276
|
requestId: string;
|
|
1274
1277
|
};
|
|
1275
1278
|
outputFormat: "json";
|
|
1276
|
-
status:
|
|
1279
|
+
status: 403;
|
|
1277
1280
|
input: {
|
|
1278
1281
|
param: {
|
|
1279
1282
|
token: `0x${string}`;
|
|
@@ -1286,14 +1289,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1286
1289
|
} | {
|
|
1287
1290
|
output: {
|
|
1288
1291
|
error: {
|
|
1289
|
-
code: "
|
|
1292
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1290
1293
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1291
1294
|
message: string;
|
|
1292
1295
|
};
|
|
1293
1296
|
requestId: string;
|
|
1294
1297
|
};
|
|
1295
1298
|
outputFormat: "json";
|
|
1296
|
-
status:
|
|
1299
|
+
status: 429;
|
|
1297
1300
|
input: {
|
|
1298
1301
|
param: {
|
|
1299
1302
|
token: `0x${string}`;
|
|
@@ -1306,14 +1309,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1306
1309
|
} | {
|
|
1307
1310
|
output: {
|
|
1308
1311
|
error: {
|
|
1309
|
-
code: "
|
|
1312
|
+
code: "query_invalid";
|
|
1310
1313
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1311
1314
|
message: string;
|
|
1312
1315
|
};
|
|
1313
1316
|
requestId: string;
|
|
1314
1317
|
};
|
|
1315
1318
|
outputFormat: "json";
|
|
1316
|
-
status:
|
|
1319
|
+
status: 400;
|
|
1317
1320
|
input: {
|
|
1318
1321
|
param: {
|
|
1319
1322
|
token: `0x${string}`;
|
|
@@ -1387,14 +1390,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1387
1390
|
} | {
|
|
1388
1391
|
output: {
|
|
1389
1392
|
error: {
|
|
1390
|
-
code: "
|
|
1393
|
+
code: "upstream_error";
|
|
1391
1394
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1392
1395
|
message: string;
|
|
1393
1396
|
};
|
|
1394
1397
|
requestId: string;
|
|
1395
1398
|
};
|
|
1396
1399
|
outputFormat: "json";
|
|
1397
|
-
status:
|
|
1400
|
+
status: 502;
|
|
1398
1401
|
input: {
|
|
1399
1402
|
param: {
|
|
1400
1403
|
token: `0x${string}`;
|
|
@@ -1411,14 +1414,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1411
1414
|
} | {
|
|
1412
1415
|
output: {
|
|
1413
1416
|
error: {
|
|
1414
|
-
code: "
|
|
1417
|
+
code: "api_key_malformed";
|
|
1415
1418
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1416
1419
|
message: string;
|
|
1417
1420
|
};
|
|
1418
1421
|
requestId: string;
|
|
1419
1422
|
};
|
|
1420
1423
|
outputFormat: "json";
|
|
1421
|
-
status:
|
|
1424
|
+
status: 400;
|
|
1422
1425
|
input: {
|
|
1423
1426
|
param: {
|
|
1424
1427
|
token: `0x${string}`;
|
|
@@ -1435,14 +1438,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1435
1438
|
} | {
|
|
1436
1439
|
output: {
|
|
1437
1440
|
error: {
|
|
1438
|
-
code: "
|
|
1441
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1439
1442
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1440
1443
|
message: string;
|
|
1441
1444
|
};
|
|
1442
1445
|
requestId: string;
|
|
1443
1446
|
};
|
|
1444
1447
|
outputFormat: "json";
|
|
1445
|
-
status:
|
|
1448
|
+
status: 401;
|
|
1446
1449
|
input: {
|
|
1447
1450
|
param: {
|
|
1448
1451
|
token: `0x${string}`;
|
|
@@ -1459,14 +1462,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1459
1462
|
} | {
|
|
1460
1463
|
output: {
|
|
1461
1464
|
error: {
|
|
1462
|
-
code: "
|
|
1465
|
+
code: "api_key_forbidden";
|
|
1463
1466
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1464
1467
|
message: string;
|
|
1465
1468
|
};
|
|
1466
1469
|
requestId: string;
|
|
1467
1470
|
};
|
|
1468
1471
|
outputFormat: "json";
|
|
1469
|
-
status:
|
|
1472
|
+
status: 403;
|
|
1470
1473
|
input: {
|
|
1471
1474
|
param: {
|
|
1472
1475
|
token: `0x${string}`;
|
|
@@ -1483,14 +1486,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1483
1486
|
} | {
|
|
1484
1487
|
output: {
|
|
1485
1488
|
error: {
|
|
1486
|
-
code: "
|
|
1489
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1487
1490
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1488
1491
|
message: string;
|
|
1489
1492
|
};
|
|
1490
1493
|
requestId: string;
|
|
1491
1494
|
};
|
|
1492
1495
|
outputFormat: "json";
|
|
1493
|
-
status:
|
|
1496
|
+
status: 429;
|
|
1494
1497
|
input: {
|
|
1495
1498
|
param: {
|
|
1496
1499
|
token: `0x${string}`;
|
|
@@ -1507,14 +1510,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1507
1510
|
} | {
|
|
1508
1511
|
output: {
|
|
1509
1512
|
error: {
|
|
1510
|
-
code: "
|
|
1513
|
+
code: "query_invalid";
|
|
1511
1514
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1512
1515
|
message: string;
|
|
1513
1516
|
};
|
|
1514
1517
|
requestId: string;
|
|
1515
1518
|
};
|
|
1516
1519
|
outputFormat: "json";
|
|
1517
|
-
status:
|
|
1520
|
+
status: 400;
|
|
1518
1521
|
input: {
|
|
1519
1522
|
param: {
|
|
1520
1523
|
token: `0x${string}`;
|
|
@@ -1621,14 +1624,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1621
1624
|
} | {
|
|
1622
1625
|
output: {
|
|
1623
1626
|
error: {
|
|
1624
|
-
code: "
|
|
1627
|
+
code: "upstream_error";
|
|
1625
1628
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1626
1629
|
message: string;
|
|
1627
1630
|
};
|
|
1628
1631
|
requestId: string;
|
|
1629
1632
|
};
|
|
1630
1633
|
outputFormat: "json";
|
|
1631
|
-
status:
|
|
1634
|
+
status: 502;
|
|
1632
1635
|
input: {
|
|
1633
1636
|
param: {
|
|
1634
1637
|
token: `0x${string}`;
|
|
@@ -1652,14 +1655,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1652
1655
|
} | {
|
|
1653
1656
|
output: {
|
|
1654
1657
|
error: {
|
|
1655
|
-
code: "
|
|
1658
|
+
code: "api_key_malformed";
|
|
1656
1659
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1657
1660
|
message: string;
|
|
1658
1661
|
};
|
|
1659
1662
|
requestId: string;
|
|
1660
1663
|
};
|
|
1661
1664
|
outputFormat: "json";
|
|
1662
|
-
status:
|
|
1665
|
+
status: 400;
|
|
1663
1666
|
input: {
|
|
1664
1667
|
param: {
|
|
1665
1668
|
token: `0x${string}`;
|
|
@@ -1683,14 +1686,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1683
1686
|
} | {
|
|
1684
1687
|
output: {
|
|
1685
1688
|
error: {
|
|
1686
|
-
code: "
|
|
1689
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1687
1690
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1688
1691
|
message: string;
|
|
1689
1692
|
};
|
|
1690
1693
|
requestId: string;
|
|
1691
1694
|
};
|
|
1692
1695
|
outputFormat: "json";
|
|
1693
|
-
status:
|
|
1696
|
+
status: 401;
|
|
1694
1697
|
input: {
|
|
1695
1698
|
param: {
|
|
1696
1699
|
token: `0x${string}`;
|
|
@@ -1714,14 +1717,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1714
1717
|
} | {
|
|
1715
1718
|
output: {
|
|
1716
1719
|
error: {
|
|
1717
|
-
code: "
|
|
1720
|
+
code: "api_key_forbidden";
|
|
1718
1721
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1719
1722
|
message: string;
|
|
1720
1723
|
};
|
|
1721
1724
|
requestId: string;
|
|
1722
1725
|
};
|
|
1723
1726
|
outputFormat: "json";
|
|
1724
|
-
status:
|
|
1727
|
+
status: 403;
|
|
1725
1728
|
input: {
|
|
1726
1729
|
param: {
|
|
1727
1730
|
token: `0x${string}`;
|
|
@@ -1745,14 +1748,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1745
1748
|
} | {
|
|
1746
1749
|
output: {
|
|
1747
1750
|
error: {
|
|
1748
|
-
code: "
|
|
1751
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1749
1752
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1750
1753
|
message: string;
|
|
1751
1754
|
};
|
|
1752
1755
|
requestId: string;
|
|
1753
1756
|
};
|
|
1754
1757
|
outputFormat: "json";
|
|
1755
|
-
status:
|
|
1758
|
+
status: 429;
|
|
1756
1759
|
input: {
|
|
1757
1760
|
param: {
|
|
1758
1761
|
token: `0x${string}`;
|
|
@@ -1776,14 +1779,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1776
1779
|
} | {
|
|
1777
1780
|
output: {
|
|
1778
1781
|
error: {
|
|
1779
|
-
code: "
|
|
1782
|
+
code: "query_invalid";
|
|
1780
1783
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1781
1784
|
message: string;
|
|
1782
1785
|
};
|
|
1783
1786
|
requestId: string;
|
|
1784
1787
|
};
|
|
1785
1788
|
outputFormat: "json";
|
|
1786
|
-
status:
|
|
1789
|
+
status: 400;
|
|
1787
1790
|
input: {
|
|
1788
1791
|
param: {
|
|
1789
1792
|
token: `0x${string}`;
|
|
@@ -1845,7 +1848,15 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1845
1848
|
to: `0x${string}` | null;
|
|
1846
1849
|
}[] | undefined;
|
|
1847
1850
|
chainId?: number | undefined;
|
|
1848
|
-
feeToken?:
|
|
1851
|
+
feeToken?: {
|
|
1852
|
+
address: `0x${string}`;
|
|
1853
|
+
currency: string;
|
|
1854
|
+
decimals: number;
|
|
1855
|
+
logoUri?: string | undefined;
|
|
1856
|
+
name: string;
|
|
1857
|
+
symbol: string;
|
|
1858
|
+
verified?: boolean | undefined;
|
|
1859
|
+
} | undefined;
|
|
1849
1860
|
gas: number;
|
|
1850
1861
|
gasPrice?: string | undefined;
|
|
1851
1862
|
hash: `0x${string}`;
|
|
@@ -1854,35 +1865,32 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1854
1865
|
maxFeePerGas?: string | undefined;
|
|
1855
1866
|
maxPriorityFeePerGas?: string | undefined;
|
|
1856
1867
|
meta: {
|
|
1857
|
-
feeToken?: {
|
|
1858
|
-
address: `0x${string}`;
|
|
1859
|
-
admin?: `0x${string}` | undefined;
|
|
1860
|
-
currency: string;
|
|
1861
|
-
createdAt?: string | undefined;
|
|
1862
|
-
decimals: number;
|
|
1863
|
-
holderCount?: number | undefined;
|
|
1864
|
-
id: string;
|
|
1865
|
-
logoUri?: string | undefined;
|
|
1866
|
-
name: string;
|
|
1867
|
-
quoteToken?: `0x${string}` | undefined;
|
|
1868
|
-
symbol: string;
|
|
1869
|
-
totalSupply?: string | undefined;
|
|
1870
|
-
transferStats?: {
|
|
1871
|
-
count: number;
|
|
1872
|
-
firstAt: string | null;
|
|
1873
|
-
lastAt: string | null;
|
|
1874
|
-
} | undefined;
|
|
1875
|
-
verified: boolean;
|
|
1876
|
-
} | undefined;
|
|
1877
1868
|
receipt?: {
|
|
1878
1869
|
blockHash: `0x${string}` | null;
|
|
1879
1870
|
blockNumber: number;
|
|
1880
1871
|
contractAddress: `0x${string}` | null;
|
|
1881
1872
|
cumulativeGasUsed: number;
|
|
1882
1873
|
effectiveGasPrice: string;
|
|
1883
|
-
feeAmount:
|
|
1874
|
+
feeAmount: {
|
|
1875
|
+
baseUnits: string;
|
|
1876
|
+
currency: string;
|
|
1877
|
+
decimals: number;
|
|
1878
|
+
formatted: string;
|
|
1879
|
+
valuation?: {
|
|
1880
|
+
amount: string;
|
|
1881
|
+
currency: string;
|
|
1882
|
+
} | null | undefined;
|
|
1883
|
+
};
|
|
1884
1884
|
feePayer?: `0x${string}` | undefined;
|
|
1885
|
-
feeToken?:
|
|
1885
|
+
feeToken?: {
|
|
1886
|
+
address: `0x${string}`;
|
|
1887
|
+
currency: string;
|
|
1888
|
+
decimals: number;
|
|
1889
|
+
logoUri?: string | undefined;
|
|
1890
|
+
name: string;
|
|
1891
|
+
symbol: string;
|
|
1892
|
+
verified?: boolean | undefined;
|
|
1893
|
+
} | undefined;
|
|
1886
1894
|
gasUsed: number;
|
|
1887
1895
|
id: `0x${string}`;
|
|
1888
1896
|
logs: {
|
|
@@ -1899,25 +1907,10 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1899
1907
|
transactionIndex: `0x${string}` | null;
|
|
1900
1908
|
}[];
|
|
1901
1909
|
meta: {
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
createdAt?: string | undefined;
|
|
1907
|
-
decimals: number;
|
|
1908
|
-
holderCount?: number | undefined;
|
|
1909
|
-
id: string;
|
|
1910
|
-
logoUri?: string | undefined;
|
|
1911
|
-
name: string;
|
|
1912
|
-
quoteToken?: `0x${string}` | undefined;
|
|
1913
|
-
symbol: string;
|
|
1914
|
-
totalSupply?: string | undefined;
|
|
1915
|
-
transferStats?: {
|
|
1916
|
-
count: number;
|
|
1917
|
-
firstAt: string | null;
|
|
1918
|
-
lastAt: string | null;
|
|
1919
|
-
} | undefined;
|
|
1920
|
-
verified: boolean;
|
|
1910
|
+
pricing?: {
|
|
1911
|
+
asOf: string;
|
|
1912
|
+
basis: "nominal";
|
|
1913
|
+
source: string;
|
|
1921
1914
|
} | undefined;
|
|
1922
1915
|
rpc: {
|
|
1923
1916
|
[x: string]: import("hono/utils/types").JSONValue;
|