tapimo 0.2.0 → 0.3.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/README.md +31 -3
- package/dist/ApiKey.d.ts +1 -0
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +5 -2
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +28 -1
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +34 -1
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +7167 -4507
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +8 -0
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +11 -2
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +14 -3
- package/dist/Scope.js.map +1 -1
- package/dist/admin/App.d.ts +128 -118
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +7 -0
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/scopes.d.ts +8 -0
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/scopes.js +3 -0
- package/dist/admin/apps/scopes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +57 -57
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +13 -13
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +151 -0
- package/dist/analytics/Analytics.d.ts.map +1 -0
- package/dist/analytics/Analytics.js +212 -0
- package/dist/analytics/Analytics.js.map +1 -0
- package/dist/analytics/tables/requestEvents.d.ts +215 -0
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -0
- package/dist/analytics/tables/requestEvents.js +264 -0
- package/dist/analytics/tables/requestEvents.js.map +1 -0
- package/dist/apps/data/App.d.ts +1024 -624
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +36 -0
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +45 -45
- package/dist/apps/data/routes/coingecko.d.ts +176 -176
- package/dist/apps/data/routes/exchanges.d.ts +455 -455
- package/dist/apps/data/routes/fee-amm.d.ts +101 -101
- package/dist/apps/data/routes/funding.d.ts +765 -0
- package/dist/apps/data/routes/funding.d.ts.map +1 -0
- package/dist/apps/data/routes/funding.js +383 -0
- package/dist/apps/data/routes/funding.js.map +1 -0
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +2 -8
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +29 -36
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +29 -1
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +36 -36
- package/dist/apps/data/routes/transfers.d.ts +56 -56
- package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
- package/dist/apps/data/routes/webhooks.d.ts +45 -45
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +8 -8
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/docs/App.d.ts +4 -2
- package/dist/apps/docs/App.d.ts.map +1 -1
- package/dist/apps/docs/App.js +27 -95
- package/dist/apps/docs/App.js.map +1 -1
- package/dist/apps/docs/reference.d.ts +21 -0
- package/dist/apps/docs/reference.d.ts.map +1 -0
- package/dist/apps/docs/reference.js +112 -0
- package/dist/apps/docs/reference.js.map +1 -0
- package/dist/apps/index.d.ts +1 -0
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +1 -0
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/mcp.d.ts +76 -0
- package/dist/apps/mcp.d.ts.map +1 -0
- package/dist/apps/mcp.js +188 -0
- package/dist/apps/mcp.js.map +1 -0
- package/dist/apps/platform/App.d.ts +3005 -728
- package/dist/apps/platform/App.d.ts.map +1 -1
- package/dist/apps/platform/App.js +13 -3
- package/dist/apps/platform/App.js.map +1 -1
- package/dist/apps/platform/Billing.d.ts +279 -0
- package/dist/apps/platform/Billing.d.ts.map +1 -0
- package/dist/apps/platform/Billing.js +477 -0
- package/dist/apps/platform/Billing.js.map +1 -0
- package/dist/apps/platform/index.d.ts +1 -0
- package/dist/apps/platform/index.d.ts.map +1 -1
- package/dist/apps/platform/index.js +1 -0
- package/dist/apps/platform/index.js.map +1 -1
- package/dist/apps/platform/routes/api-keys.d.ts +341 -49
- package/dist/apps/platform/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/platform/routes/api-keys.js +115 -13
- package/dist/apps/platform/routes/api-keys.js.map +1 -1
- package/dist/apps/platform/routes/billing.d.ts +1520 -0
- package/dist/apps/platform/routes/billing.d.ts.map +1 -0
- package/dist/apps/platform/routes/billing.js +795 -0
- package/dist/apps/platform/routes/billing.js.map +1 -0
- package/dist/apps/platform/routes/invitations.d.ts +201 -83
- package/dist/apps/platform/routes/invitations.d.ts.map +1 -1
- package/dist/apps/platform/routes/invitations.js +58 -0
- package/dist/apps/platform/routes/invitations.js.map +1 -1
- package/dist/apps/platform/routes/me.d.ts +17 -17
- package/dist/apps/platform/routes/orgs.d.ts +50 -36
- package/dist/apps/platform/routes/orgs.d.ts.map +1 -1
- package/dist/apps/platform/routes/orgs.js +14 -3
- package/dist/apps/platform/routes/orgs.js.map +1 -1
- package/dist/apps/platform/routes/projects.d.ts +97 -97
- package/dist/apps/platform/routes/scopes.d.ts +107 -0
- package/dist/apps/platform/routes/scopes.d.ts.map +1 -0
- package/dist/apps/platform/routes/scopes.js +66 -0
- package/dist/apps/platform/routes/scopes.js.map +1 -0
- package/dist/apps/platform/routes/usage.d.ts +588 -0
- package/dist/apps/platform/routes/usage.d.ts.map +1 -0
- package/dist/apps/platform/routes/usage.js +391 -0
- package/dist/apps/platform/routes/usage.js.map +1 -0
- package/dist/apps/relay/App.d.ts +4 -1
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +118 -10
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +2 -1
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/cli/Cli.d.ts +8 -1
- package/dist/cli/Cli.d.ts.map +1 -1
- package/dist/cli/Cli.js +11 -3
- package/dist/cli/Cli.js.map +1 -1
- package/dist/cli/commands/admin.d.ts +4 -0
- package/dist/cli/commands/admin.d.ts.map +1 -1
- package/dist/cli/commands/admin.js +80 -1
- package/dist/cli/commands/admin.js.map +1 -1
- package/dist/db/Db.d.ts +7 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +126 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +79 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +88 -2
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/billingSettings.d.ts +55 -0
- package/dist/db/tables/billingSettings.d.ts.map +1 -0
- package/dist/db/tables/billingSettings.js +70 -0
- package/dist/db/tables/billingSettings.js.map +1 -0
- package/dist/db/tables/invitations.js +2 -2
- package/dist/db/tables/invitations.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +6 -2
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +10 -4
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.js +2 -2
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +121 -0
- package/dist/db/tables/requestUsage.d.ts.map +1 -0
- package/dist/db/tables/requestUsage.js +150 -0
- package/dist/db/tables/requestUsage.js.map +1 -0
- package/dist/db/tables/sponsoredTransactions.d.ts +119 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +155 -2
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/stripeCustomers.d.ts +81 -0
- package/dist/db/tables/stripeCustomers.d.ts.map +1 -0
- package/dist/db/tables/stripeCustomers.js +120 -0
- package/dist/db/tables/stripeCustomers.js.map +1 -0
- package/dist/db/tables/users.js +2 -2
- package/dist/db/tables/users.js.map +1 -1
- package/dist/handlers/internal/sponsorship.d.ts +5 -2
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -1
- package/dist/handlers/internal/sponsorship.js +19 -5
- package/dist/handlers/internal/sponsorship.js.map +1 -1
- package/dist/handlers/internal/utils.d.ts +10 -3
- package/dist/handlers/internal/utils.d.ts.map +1 -1
- package/dist/handlers/internal/utils.js +14 -6
- package/dist/handlers/internal/utils.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/internal/Auth.d.ts +18 -4
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +148 -76
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +4 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +10 -0
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +39 -8
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/Fees.d.ts +27 -0
- package/dist/internal/Fees.d.ts.map +1 -0
- package/dist/internal/Fees.js +48 -0
- package/dist/internal/Fees.js.map +1 -0
- package/dist/internal/FundingRoutes.d.ts +183 -0
- package/dist/internal/FundingRoutes.d.ts.map +1 -0
- package/dist/internal/FundingRoutes.js +490 -0
- package/dist/internal/FundingRoutes.js.map +1 -0
- package/dist/internal/Id.d.ts +15 -0
- package/dist/internal/Id.d.ts.map +1 -0
- package/dist/internal/Id.js +22 -0
- package/dist/internal/Id.js.map +1 -0
- package/dist/internal/Log.d.ts +2 -0
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +3 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +10 -1
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +8 -1
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +25 -0
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +51 -0
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Response.d.ts +1 -1
- package/dist/internal/Response.d.ts.map +1 -1
- package/dist/internal/Schema.d.ts +8 -0
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +7 -0
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +3 -3
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +4 -3
- package/src/ApiKey.ts +9 -2
- package/src/ApiKeys.test.ts +51 -0
- package/src/ApiKeys.ts +50 -1
- package/src/App.test.ts +33 -86718
- package/src/App.ts +18 -0
- package/src/Client.test-d.ts +351 -0
- package/src/Scope.ts +16 -3
- package/src/admin/apps/scopes.test.ts +6 -0
- package/src/admin/apps/scopes.ts +3 -0
- package/src/admin/ui/src/components/Page.tsx +2 -3
- package/src/admin/ui/src/routes/__root.tsx +2 -2
- package/src/admin/ui/src/routes/api-keys.tsx +2 -2
- package/src/admin/ui.generated.ts +13 -13
- package/src/analytics/Analytics.test.ts +527 -0
- package/src/analytics/Analytics.ts +318 -0
- package/src/analytics/tables/requestEvents.ts +523 -0
- package/src/apps/data/App.test.ts +72 -0
- package/src/apps/data/App.ts +35 -0
- package/src/apps/data/routes/funding.test.ts +214 -0
- package/src/apps/data/routes/funding.ts +584 -0
- package/src/apps/data/routes/receipts.ts +2 -9
- package/src/apps/data/routes/rpc.test.ts +78 -2
- package/src/apps/data/routes/rpc.ts +31 -1
- package/src/apps/data/routes/webhooks.test.ts +1 -1
- package/src/apps/data/routes/webhooks.ts +11 -8
- package/src/apps/docs/App.ts +29 -100
- package/src/apps/docs/reference.ts +132 -0
- package/src/apps/index.ts +1 -0
- package/src/apps/mcp.test.ts +206 -0
- package/src/apps/mcp.ts +250 -0
- package/src/apps/platform/App.ts +43 -4
- package/src/apps/platform/Billing.test.ts +530 -0
- package/src/apps/platform/Billing.ts +682 -0
- package/src/apps/platform/index.ts +1 -0
- package/src/apps/platform/routes/api-keys.test.ts +172 -9
- package/src/apps/platform/routes/api-keys.ts +136 -20
- package/src/apps/platform/routes/billing.test.ts +1100 -0
- package/src/apps/platform/routes/billing.ts +966 -0
- package/src/apps/platform/routes/invitations.test.ts +55 -7
- package/src/apps/platform/routes/invitations.ts +68 -0
- package/src/apps/platform/routes/me.test.ts +230 -0
- package/src/apps/platform/routes/orgs.ts +26 -4
- package/src/apps/platform/routes/scopes.test.ts +29 -0
- package/src/apps/platform/routes/scopes.ts +85 -0
- package/src/apps/platform/routes/usage.test.ts +422 -0
- package/src/apps/platform/routes/usage.ts +527 -0
- package/src/apps/relay/App.test.ts +457 -8
- package/src/apps/relay/App.ts +120 -12
- package/src/apps/relay/Sponsorships.test.ts +1 -1
- package/src/apps/relay/Sponsorships.ts +2 -1
- package/src/cli/Cli.test.ts +25 -2
- package/src/cli/Cli.ts +17 -2
- package/src/cli/commands/admin.test.ts +83 -0
- package/src/cli/commands/admin.ts +89 -1
- package/src/db/Db.ts +137 -0
- package/src/db/Schema.ts +104 -2
- package/src/db/tables/billingSettings.test.ts +87 -0
- package/src/db/tables/billingSettings.ts +108 -0
- package/src/db/tables/invitations.ts +2 -2
- package/src/db/tables/organizations.test.ts +1 -1
- package/src/db/tables/organizations.ts +15 -5
- package/src/db/tables/projects.ts +2 -2
- package/src/db/tables/requestUsage.ts +231 -0
- package/src/db/tables/sponsoredTransactions.test.ts +108 -1
- package/src/db/tables/sponsoredTransactions.ts +230 -2
- package/src/db/tables/stripeCustomers.test.ts +109 -0
- package/src/db/tables/stripeCustomers.ts +162 -0
- package/src/db/tables/users.ts +2 -2
- package/src/handlers/internal/sponsorship.ts +34 -7
- package/src/handlers/internal/utils.ts +19 -7
- package/src/index.ts +1 -0
- package/src/internal/Auth.test.ts +175 -25
- package/src/internal/Auth.ts +175 -86
- package/src/internal/Cache.ts +5 -1
- package/src/internal/EdgeCache.test.ts +27 -4
- package/src/internal/EdgeCache.ts +47 -9
- package/src/internal/Fees.test.ts +32 -0
- package/src/internal/Fees.ts +51 -0
- package/src/internal/FundingRoutes.ts +583 -0
- package/src/internal/Id.test.ts +17 -0
- package/src/internal/Id.ts +24 -0
- package/src/internal/Log.test.ts +1 -0
- package/src/internal/Log.ts +5 -0
- package/src/internal/OpenApi.ts +12 -1
- package/src/internal/RateLimit.test.ts +84 -0
- package/src/internal/RateLimit.ts +70 -0
- package/src/internal/Response.ts +1 -1
- package/src/internal/Schema.ts +8 -0
- package/src/internal/Webhooks.test.ts +3 -3
- package/src/internal/Webhooks.ts +3 -3
package/dist/admin/App.d.ts
CHANGED
|
@@ -33,21 +33,27 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
33
33
|
data: readonly [{
|
|
34
34
|
readonly description: 'Read public chain data: tokens, transactions, transfers, blocks, and receipts.';
|
|
35
35
|
readonly scope: 'data:read';
|
|
36
|
+
readonly selfServe: true;
|
|
36
37
|
}, {
|
|
37
38
|
readonly description: 'Run ad-hoc queries against the raw indexer passthrough.';
|
|
38
39
|
readonly scope: 'indexer:query';
|
|
40
|
+
readonly selfServe: true;
|
|
39
41
|
}, {
|
|
40
42
|
readonly description: 'Fill and submit transactions through the relay.';
|
|
41
43
|
readonly scope: 'rpc-relay:read';
|
|
44
|
+
readonly selfServe: true;
|
|
42
45
|
}, {
|
|
43
46
|
readonly description: 'Sponsor transaction fees through the relay as the managed fee payer.';
|
|
44
47
|
readonly scope: 'rpc-relay:sponsor';
|
|
48
|
+
readonly selfServe: true;
|
|
45
49
|
}, {
|
|
46
50
|
readonly description: 'Read webhook subscriptions.';
|
|
47
51
|
readonly scope: 'webhooks:read';
|
|
52
|
+
readonly selfServe: false;
|
|
48
53
|
}, {
|
|
49
54
|
readonly description: 'Create, update, and delete webhook subscriptions.';
|
|
50
55
|
readonly scope: 'webhooks:write';
|
|
56
|
+
readonly selfServe: false;
|
|
51
57
|
}];
|
|
52
58
|
};
|
|
53
59
|
outputFormat: "json";
|
|
@@ -71,6 +77,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
71
77
|
"/": {
|
|
72
78
|
$post: {
|
|
73
79
|
output: {
|
|
80
|
+
billingActive?: boolean | undefined;
|
|
74
81
|
environment: "production" | "sandbox";
|
|
75
82
|
id: string;
|
|
76
83
|
name?: string | undefined;
|
|
@@ -92,6 +99,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
92
99
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
93
100
|
input: {
|
|
94
101
|
json: {
|
|
102
|
+
billingActive?: boolean | undefined;
|
|
95
103
|
environment?: "production" | "sandbox" | undefined;
|
|
96
104
|
name?: string | undefined;
|
|
97
105
|
projectId?: string | undefined;
|
|
@@ -110,6 +118,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
110
118
|
$get: {
|
|
111
119
|
output: {
|
|
112
120
|
data: {
|
|
121
|
+
billingActive?: boolean | undefined;
|
|
113
122
|
environment: "production" | "sandbox";
|
|
114
123
|
id: string;
|
|
115
124
|
name?: string | undefined;
|
|
@@ -192,6 +201,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
192
201
|
};
|
|
193
202
|
} | {
|
|
194
203
|
output: {
|
|
204
|
+
billingActive?: boolean | undefined;
|
|
195
205
|
environment: "production" | "sandbox";
|
|
196
206
|
id: string;
|
|
197
207
|
name?: string | undefined;
|
|
@@ -251,14 +261,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
251
261
|
$post: {
|
|
252
262
|
output: {
|
|
253
263
|
error: {
|
|
254
|
-
code:
|
|
264
|
+
code: "assets_not_enabled";
|
|
255
265
|
details?: readonly Response.error.Detail[] | undefined;
|
|
256
266
|
message: string;
|
|
257
267
|
};
|
|
258
268
|
requestId: string;
|
|
259
269
|
};
|
|
260
270
|
outputFormat: "json";
|
|
261
|
-
status:
|
|
271
|
+
status: 404;
|
|
262
272
|
input: {
|
|
263
273
|
json: {
|
|
264
274
|
address: `0x${string}`;
|
|
@@ -274,14 +284,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
274
284
|
} | {
|
|
275
285
|
output: {
|
|
276
286
|
error: {
|
|
277
|
-
code: "
|
|
287
|
+
code: "verified_token_not_found";
|
|
278
288
|
details?: readonly Response.error.Detail[] | undefined;
|
|
279
289
|
message: string;
|
|
280
290
|
};
|
|
281
291
|
requestId: string;
|
|
282
292
|
};
|
|
283
293
|
outputFormat: "json";
|
|
284
|
-
status:
|
|
294
|
+
status: 404;
|
|
285
295
|
input: {
|
|
286
296
|
json: {
|
|
287
297
|
address: `0x${string}`;
|
|
@@ -297,14 +307,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
297
307
|
} | {
|
|
298
308
|
output: {
|
|
299
309
|
error: {
|
|
300
|
-
code: "
|
|
310
|
+
code: "duplicate_address";
|
|
301
311
|
details?: readonly Response.error.Detail[] | undefined;
|
|
302
312
|
message: string;
|
|
303
313
|
};
|
|
304
314
|
requestId: string;
|
|
305
315
|
};
|
|
306
316
|
outputFormat: "json";
|
|
307
|
-
status:
|
|
317
|
+
status: 409;
|
|
308
318
|
input: {
|
|
309
319
|
json: {
|
|
310
320
|
address: `0x${string}`;
|
|
@@ -320,14 +330,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
320
330
|
} | {
|
|
321
331
|
output: {
|
|
322
332
|
error: {
|
|
323
|
-
code: "
|
|
333
|
+
code: "duplicate_symbol";
|
|
324
334
|
details?: readonly Response.error.Detail[] | undefined;
|
|
325
335
|
message: string;
|
|
326
336
|
};
|
|
327
337
|
requestId: string;
|
|
328
338
|
};
|
|
329
339
|
outputFormat: "json";
|
|
330
|
-
status:
|
|
340
|
+
status: 409;
|
|
331
341
|
input: {
|
|
332
342
|
json: {
|
|
333
343
|
address: `0x${string}`;
|
|
@@ -342,19 +352,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
342
352
|
};
|
|
343
353
|
} | {
|
|
344
354
|
output: {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
logoUri?: string | undefined;
|
|
350
|
-
name: string;
|
|
351
|
-
symbol: string;
|
|
352
|
-
id: string;
|
|
355
|
+
error: {
|
|
356
|
+
code: "version_mismatch";
|
|
357
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
358
|
+
message: string;
|
|
353
359
|
};
|
|
354
|
-
|
|
360
|
+
requestId: string;
|
|
355
361
|
};
|
|
356
362
|
outputFormat: "json";
|
|
357
|
-
status:
|
|
363
|
+
status: 412;
|
|
358
364
|
input: {
|
|
359
365
|
json: {
|
|
360
366
|
address: `0x${string}`;
|
|
@@ -370,14 +376,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
370
376
|
} | {
|
|
371
377
|
output: {
|
|
372
378
|
error: {
|
|
373
|
-
code: "
|
|
379
|
+
code: "upstream_error";
|
|
374
380
|
details?: readonly Response.error.Detail[] | undefined;
|
|
375
381
|
message: string;
|
|
376
382
|
};
|
|
377
383
|
requestId: string;
|
|
378
384
|
};
|
|
379
385
|
outputFormat: "json";
|
|
380
|
-
status:
|
|
386
|
+
status: 502;
|
|
381
387
|
input: {
|
|
382
388
|
json: {
|
|
383
389
|
address: `0x${string}`;
|
|
@@ -392,15 +398,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
392
398
|
};
|
|
393
399
|
} | {
|
|
394
400
|
output: {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
401
|
+
data: {
|
|
402
|
+
address: `0x${string}`;
|
|
403
|
+
currency: string;
|
|
404
|
+
decimals: number;
|
|
405
|
+
logoUri?: string | undefined;
|
|
406
|
+
name: string;
|
|
407
|
+
symbol: string;
|
|
408
|
+
id: string;
|
|
399
409
|
};
|
|
400
|
-
|
|
410
|
+
version: string;
|
|
401
411
|
};
|
|
402
412
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
413
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
404
414
|
input: {
|
|
405
415
|
json: {
|
|
406
416
|
address: `0x${string}`;
|
|
@@ -416,14 +426,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
416
426
|
} | {
|
|
417
427
|
output: {
|
|
418
428
|
error: {
|
|
419
|
-
code:
|
|
429
|
+
code: string;
|
|
420
430
|
details?: readonly Response.error.Detail[] | undefined;
|
|
421
431
|
message: string;
|
|
422
432
|
};
|
|
423
433
|
requestId: string;
|
|
424
434
|
};
|
|
425
435
|
outputFormat: "json";
|
|
426
|
-
status:
|
|
436
|
+
status: 400 | 413 | 415;
|
|
427
437
|
input: {
|
|
428
438
|
json: {
|
|
429
439
|
address: `0x${string}`;
|
|
@@ -443,14 +453,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
443
453
|
$put: {
|
|
444
454
|
output: {
|
|
445
455
|
error: {
|
|
446
|
-
code:
|
|
456
|
+
code: "verified_token_not_found";
|
|
447
457
|
details?: readonly Response.error.Detail[] | undefined;
|
|
448
458
|
message: string;
|
|
449
459
|
};
|
|
450
460
|
requestId: string;
|
|
451
461
|
};
|
|
452
462
|
outputFormat: "json";
|
|
453
|
-
status:
|
|
463
|
+
status: 404;
|
|
454
464
|
input: {
|
|
455
465
|
query: {
|
|
456
466
|
chainId: string | string[];
|
|
@@ -470,14 +480,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
470
480
|
} | {
|
|
471
481
|
output: {
|
|
472
482
|
error: {
|
|
473
|
-
code: "
|
|
483
|
+
code: "duplicate_address";
|
|
474
484
|
details?: readonly Response.error.Detail[] | undefined;
|
|
475
485
|
message: string;
|
|
476
486
|
};
|
|
477
487
|
requestId: string;
|
|
478
488
|
};
|
|
479
489
|
outputFormat: "json";
|
|
480
|
-
status:
|
|
490
|
+
status: 409;
|
|
481
491
|
input: {
|
|
482
492
|
query: {
|
|
483
493
|
chainId: string | string[];
|
|
@@ -497,14 +507,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
497
507
|
} | {
|
|
498
508
|
output: {
|
|
499
509
|
error: {
|
|
500
|
-
code: "
|
|
510
|
+
code: "duplicate_symbol";
|
|
501
511
|
details?: readonly Response.error.Detail[] | undefined;
|
|
502
512
|
message: string;
|
|
503
513
|
};
|
|
504
514
|
requestId: string;
|
|
505
515
|
};
|
|
506
516
|
outputFormat: "json";
|
|
507
|
-
status:
|
|
517
|
+
status: 409;
|
|
508
518
|
input: {
|
|
509
519
|
query: {
|
|
510
520
|
chainId: string | string[];
|
|
@@ -524,14 +534,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
524
534
|
} | {
|
|
525
535
|
output: {
|
|
526
536
|
error: {
|
|
527
|
-
code: "
|
|
537
|
+
code: "version_mismatch";
|
|
528
538
|
details?: readonly Response.error.Detail[] | undefined;
|
|
529
539
|
message: string;
|
|
530
540
|
};
|
|
531
541
|
requestId: string;
|
|
532
542
|
};
|
|
533
543
|
outputFormat: "json";
|
|
534
|
-
status:
|
|
544
|
+
status: 412;
|
|
535
545
|
input: {
|
|
536
546
|
query: {
|
|
537
547
|
chainId: string | string[];
|
|
@@ -551,14 +561,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
551
561
|
} | {
|
|
552
562
|
output: {
|
|
553
563
|
error: {
|
|
554
|
-
code: "
|
|
564
|
+
code: "upstream_error";
|
|
555
565
|
details?: readonly Response.error.Detail[] | undefined;
|
|
556
566
|
message: string;
|
|
557
567
|
};
|
|
558
568
|
requestId: string;
|
|
559
569
|
};
|
|
560
570
|
outputFormat: "json";
|
|
561
|
-
status:
|
|
571
|
+
status: 502;
|
|
562
572
|
input: {
|
|
563
573
|
query: {
|
|
564
574
|
chainId: string | string[];
|
|
@@ -577,15 +587,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
577
587
|
};
|
|
578
588
|
} | {
|
|
579
589
|
output: {
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
590
|
+
data: {
|
|
591
|
+
address: `0x${string}`;
|
|
592
|
+
currency: string;
|
|
593
|
+
decimals: number;
|
|
594
|
+
logoUri?: string | undefined;
|
|
595
|
+
name: string;
|
|
596
|
+
symbol: string;
|
|
597
|
+
id: string;
|
|
598
|
+
}[];
|
|
599
|
+
version: string;
|
|
586
600
|
};
|
|
587
601
|
outputFormat: "json";
|
|
588
|
-
status:
|
|
602
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
589
603
|
input: {
|
|
590
604
|
query: {
|
|
591
605
|
chainId: string | string[];
|
|
@@ -604,19 +618,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
604
618
|
};
|
|
605
619
|
} | {
|
|
606
620
|
output: {
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
symbol: string;
|
|
614
|
-
id: string;
|
|
615
|
-
}[];
|
|
616
|
-
version: string;
|
|
621
|
+
error: {
|
|
622
|
+
code: string;
|
|
623
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
624
|
+
message: string;
|
|
625
|
+
};
|
|
626
|
+
requestId: string;
|
|
617
627
|
};
|
|
618
628
|
outputFormat: "json";
|
|
619
|
-
status:
|
|
629
|
+
status: 400 | 413 | 415;
|
|
620
630
|
input: {
|
|
621
631
|
query: {
|
|
622
632
|
chainId: string | string[];
|
|
@@ -640,14 +650,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
640
650
|
$patch: {
|
|
641
651
|
output: {
|
|
642
652
|
error: {
|
|
643
|
-
code:
|
|
653
|
+
code: "verified_token_not_found";
|
|
644
654
|
details?: readonly Response.error.Detail[] | undefined;
|
|
645
655
|
message: string;
|
|
646
656
|
};
|
|
647
657
|
requestId: string;
|
|
648
658
|
};
|
|
649
659
|
outputFormat: "json";
|
|
650
|
-
status:
|
|
660
|
+
status: 404;
|
|
651
661
|
input: {
|
|
652
662
|
param: {
|
|
653
663
|
address: `0x${string}`;
|
|
@@ -668,14 +678,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
668
678
|
} | {
|
|
669
679
|
output: {
|
|
670
680
|
error: {
|
|
671
|
-
code: "
|
|
681
|
+
code: "duplicate_address";
|
|
672
682
|
details?: readonly Response.error.Detail[] | undefined;
|
|
673
683
|
message: string;
|
|
674
684
|
};
|
|
675
685
|
requestId: string;
|
|
676
686
|
};
|
|
677
687
|
outputFormat: "json";
|
|
678
|
-
status:
|
|
688
|
+
status: 409;
|
|
679
689
|
input: {
|
|
680
690
|
param: {
|
|
681
691
|
address: `0x${string}`;
|
|
@@ -696,14 +706,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
696
706
|
} | {
|
|
697
707
|
output: {
|
|
698
708
|
error: {
|
|
699
|
-
code: "
|
|
709
|
+
code: "duplicate_symbol";
|
|
700
710
|
details?: readonly Response.error.Detail[] | undefined;
|
|
701
711
|
message: string;
|
|
702
712
|
};
|
|
703
713
|
requestId: string;
|
|
704
714
|
};
|
|
705
715
|
outputFormat: "json";
|
|
706
|
-
status:
|
|
716
|
+
status: 409;
|
|
707
717
|
input: {
|
|
708
718
|
param: {
|
|
709
719
|
address: `0x${string}`;
|
|
@@ -723,19 +733,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
723
733
|
};
|
|
724
734
|
} | {
|
|
725
735
|
output: {
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
logoUri?: string | undefined;
|
|
731
|
-
name: string;
|
|
732
|
-
symbol: string;
|
|
733
|
-
id: string;
|
|
736
|
+
error: {
|
|
737
|
+
code: "version_mismatch";
|
|
738
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
739
|
+
message: string;
|
|
734
740
|
};
|
|
735
|
-
|
|
741
|
+
requestId: string;
|
|
736
742
|
};
|
|
737
743
|
outputFormat: "json";
|
|
738
|
-
status:
|
|
744
|
+
status: 412;
|
|
739
745
|
input: {
|
|
740
746
|
param: {
|
|
741
747
|
address: `0x${string}`;
|
|
@@ -756,14 +762,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
756
762
|
} | {
|
|
757
763
|
output: {
|
|
758
764
|
error: {
|
|
759
|
-
code: "
|
|
765
|
+
code: "upstream_error";
|
|
760
766
|
details?: readonly Response.error.Detail[] | undefined;
|
|
761
767
|
message: string;
|
|
762
768
|
};
|
|
763
769
|
requestId: string;
|
|
764
770
|
};
|
|
765
771
|
outputFormat: "json";
|
|
766
|
-
status:
|
|
772
|
+
status: 502;
|
|
767
773
|
input: {
|
|
768
774
|
param: {
|
|
769
775
|
address: `0x${string}`;
|
|
@@ -783,15 +789,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
783
789
|
};
|
|
784
790
|
} | {
|
|
785
791
|
output: {
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
792
|
+
data: {
|
|
793
|
+
address: `0x${string}`;
|
|
794
|
+
currency: string;
|
|
795
|
+
decimals: number;
|
|
796
|
+
logoUri?: string | undefined;
|
|
797
|
+
name: string;
|
|
798
|
+
symbol: string;
|
|
799
|
+
id: string;
|
|
790
800
|
};
|
|
791
|
-
|
|
801
|
+
version: string;
|
|
792
802
|
};
|
|
793
803
|
outputFormat: "json";
|
|
794
|
-
status:
|
|
804
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
795
805
|
input: {
|
|
796
806
|
param: {
|
|
797
807
|
address: `0x${string}`;
|
|
@@ -812,14 +822,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
812
822
|
} | {
|
|
813
823
|
output: {
|
|
814
824
|
error: {
|
|
815
|
-
code:
|
|
825
|
+
code: string;
|
|
816
826
|
details?: readonly Response.error.Detail[] | undefined;
|
|
817
827
|
message: string;
|
|
818
828
|
};
|
|
819
829
|
requestId: string;
|
|
820
830
|
};
|
|
821
831
|
outputFormat: "json";
|
|
822
|
-
status:
|
|
832
|
+
status: 400 | 413 | 415;
|
|
823
833
|
input: {
|
|
824
834
|
param: {
|
|
825
835
|
address: `0x${string}`;
|
|
@@ -844,14 +854,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
844
854
|
$delete: {
|
|
845
855
|
output: {
|
|
846
856
|
error: {
|
|
847
|
-
code:
|
|
857
|
+
code: "verified_token_not_found";
|
|
848
858
|
details?: readonly Response.error.Detail[] | undefined;
|
|
849
859
|
message: string;
|
|
850
860
|
};
|
|
851
861
|
requestId: string;
|
|
852
862
|
};
|
|
853
863
|
outputFormat: "json";
|
|
854
|
-
status:
|
|
864
|
+
status: 404;
|
|
855
865
|
input: {
|
|
856
866
|
param: {
|
|
857
867
|
address: `0x${string}`;
|
|
@@ -864,14 +874,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
864
874
|
} | {
|
|
865
875
|
output: {
|
|
866
876
|
error: {
|
|
867
|
-
code: "
|
|
877
|
+
code: "duplicate_address";
|
|
868
878
|
details?: readonly Response.error.Detail[] | undefined;
|
|
869
879
|
message: string;
|
|
870
880
|
};
|
|
871
881
|
requestId: string;
|
|
872
882
|
};
|
|
873
883
|
outputFormat: "json";
|
|
874
|
-
status:
|
|
884
|
+
status: 409;
|
|
875
885
|
input: {
|
|
876
886
|
param: {
|
|
877
887
|
address: `0x${string}`;
|
|
@@ -884,14 +894,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
884
894
|
} | {
|
|
885
895
|
output: {
|
|
886
896
|
error: {
|
|
887
|
-
code: "
|
|
897
|
+
code: "duplicate_symbol";
|
|
888
898
|
details?: readonly Response.error.Detail[] | undefined;
|
|
889
899
|
message: string;
|
|
890
900
|
};
|
|
891
901
|
requestId: string;
|
|
892
902
|
};
|
|
893
903
|
outputFormat: "json";
|
|
894
|
-
status:
|
|
904
|
+
status: 409;
|
|
895
905
|
input: {
|
|
896
906
|
param: {
|
|
897
907
|
address: `0x${string}`;
|
|
@@ -904,14 +914,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
904
914
|
} | {
|
|
905
915
|
output: {
|
|
906
916
|
error: {
|
|
907
|
-
code: "
|
|
917
|
+
code: "version_mismatch";
|
|
908
918
|
details?: readonly Response.error.Detail[] | undefined;
|
|
909
919
|
message: string;
|
|
910
920
|
};
|
|
911
921
|
requestId: string;
|
|
912
922
|
};
|
|
913
923
|
outputFormat: "json";
|
|
914
|
-
status:
|
|
924
|
+
status: 412;
|
|
915
925
|
input: {
|
|
916
926
|
param: {
|
|
917
927
|
address: `0x${string}`;
|
|
@@ -924,14 +934,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
924
934
|
} | {
|
|
925
935
|
output: {
|
|
926
936
|
error: {
|
|
927
|
-
code: "
|
|
937
|
+
code: "upstream_error";
|
|
928
938
|
details?: readonly Response.error.Detail[] | undefined;
|
|
929
939
|
message: string;
|
|
930
940
|
};
|
|
931
941
|
requestId: string;
|
|
932
942
|
};
|
|
933
943
|
outputFormat: "json";
|
|
934
|
-
status:
|
|
944
|
+
status: 502;
|
|
935
945
|
input: {
|
|
936
946
|
param: {
|
|
937
947
|
address: `0x${string}`;
|
|
@@ -943,15 +953,10 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
943
953
|
};
|
|
944
954
|
} | {
|
|
945
955
|
output: {
|
|
946
|
-
|
|
947
|
-
code: "version_mismatch";
|
|
948
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
949
|
-
message: string;
|
|
950
|
-
};
|
|
951
|
-
requestId: string;
|
|
956
|
+
version: string;
|
|
952
957
|
};
|
|
953
958
|
outputFormat: "json";
|
|
954
|
-
status:
|
|
959
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
955
960
|
input: {
|
|
956
961
|
param: {
|
|
957
962
|
address: `0x${string}`;
|
|
@@ -963,10 +968,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
963
968
|
};
|
|
964
969
|
} | {
|
|
965
970
|
output: {
|
|
966
|
-
|
|
971
|
+
error: {
|
|
972
|
+
code: string;
|
|
973
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
974
|
+
message: string;
|
|
975
|
+
};
|
|
976
|
+
requestId: string;
|
|
967
977
|
};
|
|
968
978
|
outputFormat: "json";
|
|
969
|
-
status:
|
|
979
|
+
status: 400 | 413 | 415;
|
|
970
980
|
input: {
|
|
971
981
|
param: {
|
|
972
982
|
address: `0x${string}`;
|
|
@@ -981,19 +991,6 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
981
991
|
} & {
|
|
982
992
|
"/:address/logo": {
|
|
983
993
|
$get: {
|
|
984
|
-
output: ArrayBuffer;
|
|
985
|
-
outputFormat: "body";
|
|
986
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
987
|
-
input: {
|
|
988
|
-
param: {
|
|
989
|
-
address: `0x${string}`;
|
|
990
|
-
};
|
|
991
|
-
} & {
|
|
992
|
-
query: {
|
|
993
|
-
chainId: string | string[];
|
|
994
|
-
};
|
|
995
|
-
};
|
|
996
|
-
} | {
|
|
997
994
|
output: {
|
|
998
995
|
error: {
|
|
999
996
|
code: "logo_not_found";
|
|
@@ -1013,6 +1010,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1013
1010
|
chainId: string | string[];
|
|
1014
1011
|
};
|
|
1015
1012
|
};
|
|
1013
|
+
} | {
|
|
1014
|
+
output: ArrayBuffer;
|
|
1015
|
+
outputFormat: "body";
|
|
1016
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1017
|
+
input: {
|
|
1018
|
+
param: {
|
|
1019
|
+
address: `0x${string}`;
|
|
1020
|
+
};
|
|
1021
|
+
} & {
|
|
1022
|
+
query: {
|
|
1023
|
+
chainId: string | string[];
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1016
1026
|
};
|
|
1017
1027
|
};
|
|
1018
1028
|
} & {
|
|
@@ -1060,14 +1070,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1060
1070
|
} | {
|
|
1061
1071
|
output: {
|
|
1062
1072
|
error: {
|
|
1063
|
-
code: "
|
|
1073
|
+
code: "payload_too_large";
|
|
1064
1074
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1065
1075
|
message: string;
|
|
1066
1076
|
};
|
|
1067
1077
|
requestId: string;
|
|
1068
1078
|
};
|
|
1069
1079
|
outputFormat: "json";
|
|
1070
|
-
status:
|
|
1080
|
+
status: 413;
|
|
1071
1081
|
input: {
|
|
1072
1082
|
param: {
|
|
1073
1083
|
address: `0x${string}`;
|
|
@@ -1080,14 +1090,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1080
1090
|
} | {
|
|
1081
1091
|
output: {
|
|
1082
1092
|
error: {
|
|
1083
|
-
code: "
|
|
1093
|
+
code: "unsupported_media_type";
|
|
1084
1094
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1085
1095
|
message: string;
|
|
1086
1096
|
};
|
|
1087
1097
|
requestId: string;
|
|
1088
1098
|
};
|
|
1089
1099
|
outputFormat: "json";
|
|
1090
|
-
status:
|
|
1100
|
+
status: 415;
|
|
1091
1101
|
input: {
|
|
1092
1102
|
param: {
|
|
1093
1103
|
address: `0x${string}`;
|