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.
Files changed (313) hide show
  1. package/README.md +31 -3
  2. package/dist/ApiKey.d.ts +1 -0
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +5 -2
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +28 -1
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +34 -1
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +7167 -4507
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +8 -0
  13. package/dist/App.js.map +1 -1
  14. package/dist/Scope.d.ts +11 -2
  15. package/dist/Scope.d.ts.map +1 -1
  16. package/dist/Scope.js +14 -3
  17. package/dist/Scope.js.map +1 -1
  18. package/dist/admin/App.d.ts +128 -118
  19. package/dist/admin/App.d.ts.map +1 -1
  20. package/dist/admin/apps/api-keys.d.ts +7 -0
  21. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  22. package/dist/admin/apps/scopes.d.ts +8 -0
  23. package/dist/admin/apps/scopes.d.ts.map +1 -1
  24. package/dist/admin/apps/scopes.js +3 -0
  25. package/dist/admin/apps/scopes.js.map +1 -1
  26. package/dist/admin/apps/verified-tokens.d.ts +57 -57
  27. package/dist/admin/ui.generated.d.ts +1 -1
  28. package/dist/admin/ui.generated.js +13 -13
  29. package/dist/admin/ui.generated.js.map +1 -1
  30. package/dist/analytics/Analytics.d.ts +151 -0
  31. package/dist/analytics/Analytics.d.ts.map +1 -0
  32. package/dist/analytics/Analytics.js +212 -0
  33. package/dist/analytics/Analytics.js.map +1 -0
  34. package/dist/analytics/tables/requestEvents.d.ts +215 -0
  35. package/dist/analytics/tables/requestEvents.d.ts.map +1 -0
  36. package/dist/analytics/tables/requestEvents.js +264 -0
  37. package/dist/analytics/tables/requestEvents.js.map +1 -0
  38. package/dist/apps/data/App.d.ts +1024 -624
  39. package/dist/apps/data/App.d.ts.map +1 -1
  40. package/dist/apps/data/App.js +36 -0
  41. package/dist/apps/data/App.js.map +1 -1
  42. package/dist/apps/data/routes/balances.d.ts +45 -45
  43. package/dist/apps/data/routes/coingecko.d.ts +176 -176
  44. package/dist/apps/data/routes/exchanges.d.ts +455 -455
  45. package/dist/apps/data/routes/fee-amm.d.ts +101 -101
  46. package/dist/apps/data/routes/funding.d.ts +765 -0
  47. package/dist/apps/data/routes/funding.d.ts.map +1 -0
  48. package/dist/apps/data/routes/funding.js +383 -0
  49. package/dist/apps/data/routes/funding.js.map +1 -0
  50. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  51. package/dist/apps/data/routes/receipts.js +2 -8
  52. package/dist/apps/data/routes/receipts.js.map +1 -1
  53. package/dist/apps/data/routes/rpc.d.ts +29 -36
  54. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  55. package/dist/apps/data/routes/rpc.js +29 -1
  56. package/dist/apps/data/routes/rpc.js.map +1 -1
  57. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  58. package/dist/apps/data/routes/transfers.d.ts +56 -56
  59. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  60. package/dist/apps/data/routes/webhooks.d.ts +45 -45
  61. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  62. package/dist/apps/data/routes/webhooks.js +8 -8
  63. package/dist/apps/data/routes/webhooks.js.map +1 -1
  64. package/dist/apps/docs/App.d.ts +4 -2
  65. package/dist/apps/docs/App.d.ts.map +1 -1
  66. package/dist/apps/docs/App.js +27 -95
  67. package/dist/apps/docs/App.js.map +1 -1
  68. package/dist/apps/docs/reference.d.ts +21 -0
  69. package/dist/apps/docs/reference.d.ts.map +1 -0
  70. package/dist/apps/docs/reference.js +112 -0
  71. package/dist/apps/docs/reference.js.map +1 -0
  72. package/dist/apps/index.d.ts +1 -0
  73. package/dist/apps/index.d.ts.map +1 -1
  74. package/dist/apps/index.js +1 -0
  75. package/dist/apps/index.js.map +1 -1
  76. package/dist/apps/mcp.d.ts +76 -0
  77. package/dist/apps/mcp.d.ts.map +1 -0
  78. package/dist/apps/mcp.js +188 -0
  79. package/dist/apps/mcp.js.map +1 -0
  80. package/dist/apps/platform/App.d.ts +3005 -728
  81. package/dist/apps/platform/App.d.ts.map +1 -1
  82. package/dist/apps/platform/App.js +13 -3
  83. package/dist/apps/platform/App.js.map +1 -1
  84. package/dist/apps/platform/Billing.d.ts +279 -0
  85. package/dist/apps/platform/Billing.d.ts.map +1 -0
  86. package/dist/apps/platform/Billing.js +477 -0
  87. package/dist/apps/platform/Billing.js.map +1 -0
  88. package/dist/apps/platform/index.d.ts +1 -0
  89. package/dist/apps/platform/index.d.ts.map +1 -1
  90. package/dist/apps/platform/index.js +1 -0
  91. package/dist/apps/platform/index.js.map +1 -1
  92. package/dist/apps/platform/routes/api-keys.d.ts +341 -49
  93. package/dist/apps/platform/routes/api-keys.d.ts.map +1 -1
  94. package/dist/apps/platform/routes/api-keys.js +115 -13
  95. package/dist/apps/platform/routes/api-keys.js.map +1 -1
  96. package/dist/apps/platform/routes/billing.d.ts +1520 -0
  97. package/dist/apps/platform/routes/billing.d.ts.map +1 -0
  98. package/dist/apps/platform/routes/billing.js +795 -0
  99. package/dist/apps/platform/routes/billing.js.map +1 -0
  100. package/dist/apps/platform/routes/invitations.d.ts +201 -83
  101. package/dist/apps/platform/routes/invitations.d.ts.map +1 -1
  102. package/dist/apps/platform/routes/invitations.js +58 -0
  103. package/dist/apps/platform/routes/invitations.js.map +1 -1
  104. package/dist/apps/platform/routes/me.d.ts +17 -17
  105. package/dist/apps/platform/routes/orgs.d.ts +50 -36
  106. package/dist/apps/platform/routes/orgs.d.ts.map +1 -1
  107. package/dist/apps/platform/routes/orgs.js +14 -3
  108. package/dist/apps/platform/routes/orgs.js.map +1 -1
  109. package/dist/apps/platform/routes/projects.d.ts +97 -97
  110. package/dist/apps/platform/routes/scopes.d.ts +107 -0
  111. package/dist/apps/platform/routes/scopes.d.ts.map +1 -0
  112. package/dist/apps/platform/routes/scopes.js +66 -0
  113. package/dist/apps/platform/routes/scopes.js.map +1 -0
  114. package/dist/apps/platform/routes/usage.d.ts +588 -0
  115. package/dist/apps/platform/routes/usage.d.ts.map +1 -0
  116. package/dist/apps/platform/routes/usage.js +391 -0
  117. package/dist/apps/platform/routes/usage.js.map +1 -0
  118. package/dist/apps/relay/App.d.ts +4 -1
  119. package/dist/apps/relay/App.d.ts.map +1 -1
  120. package/dist/apps/relay/App.js +118 -10
  121. package/dist/apps/relay/App.js.map +1 -1
  122. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  123. package/dist/apps/relay/Sponsorships.js +2 -1
  124. package/dist/apps/relay/Sponsorships.js.map +1 -1
  125. package/dist/cli/Cli.d.ts +8 -1
  126. package/dist/cli/Cli.d.ts.map +1 -1
  127. package/dist/cli/Cli.js +11 -3
  128. package/dist/cli/Cli.js.map +1 -1
  129. package/dist/cli/commands/admin.d.ts +4 -0
  130. package/dist/cli/commands/admin.d.ts.map +1 -1
  131. package/dist/cli/commands/admin.js +80 -1
  132. package/dist/cli/commands/admin.js.map +1 -1
  133. package/dist/db/Db.d.ts +7 -0
  134. package/dist/db/Db.d.ts.map +1 -1
  135. package/dist/db/Db.js +126 -0
  136. package/dist/db/Db.js.map +1 -1
  137. package/dist/db/Schema.d.ts +79 -0
  138. package/dist/db/Schema.d.ts.map +1 -1
  139. package/dist/db/Schema.js +88 -2
  140. package/dist/db/Schema.js.map +1 -1
  141. package/dist/db/tables/billingSettings.d.ts +55 -0
  142. package/dist/db/tables/billingSettings.d.ts.map +1 -0
  143. package/dist/db/tables/billingSettings.js +70 -0
  144. package/dist/db/tables/billingSettings.js.map +1 -0
  145. package/dist/db/tables/invitations.js +2 -2
  146. package/dist/db/tables/invitations.js.map +1 -1
  147. package/dist/db/tables/organizations.d.ts +6 -2
  148. package/dist/db/tables/organizations.d.ts.map +1 -1
  149. package/dist/db/tables/organizations.js +10 -4
  150. package/dist/db/tables/organizations.js.map +1 -1
  151. package/dist/db/tables/projects.js +2 -2
  152. package/dist/db/tables/projects.js.map +1 -1
  153. package/dist/db/tables/requestUsage.d.ts +121 -0
  154. package/dist/db/tables/requestUsage.d.ts.map +1 -0
  155. package/dist/db/tables/requestUsage.js +150 -0
  156. package/dist/db/tables/requestUsage.js.map +1 -0
  157. package/dist/db/tables/sponsoredTransactions.d.ts +119 -0
  158. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  159. package/dist/db/tables/sponsoredTransactions.js +155 -2
  160. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  161. package/dist/db/tables/stripeCustomers.d.ts +81 -0
  162. package/dist/db/tables/stripeCustomers.d.ts.map +1 -0
  163. package/dist/db/tables/stripeCustomers.js +120 -0
  164. package/dist/db/tables/stripeCustomers.js.map +1 -0
  165. package/dist/db/tables/users.js +2 -2
  166. package/dist/db/tables/users.js.map +1 -1
  167. package/dist/handlers/internal/sponsorship.d.ts +5 -2
  168. package/dist/handlers/internal/sponsorship.d.ts.map +1 -1
  169. package/dist/handlers/internal/sponsorship.js +19 -5
  170. package/dist/handlers/internal/sponsorship.js.map +1 -1
  171. package/dist/handlers/internal/utils.d.ts +10 -3
  172. package/dist/handlers/internal/utils.d.ts.map +1 -1
  173. package/dist/handlers/internal/utils.js +14 -6
  174. package/dist/handlers/internal/utils.js.map +1 -1
  175. package/dist/index.d.ts +1 -0
  176. package/dist/index.d.ts.map +1 -1
  177. package/dist/index.js +1 -0
  178. package/dist/index.js.map +1 -1
  179. package/dist/internal/Auth.d.ts +18 -4
  180. package/dist/internal/Auth.d.ts.map +1 -1
  181. package/dist/internal/Auth.js +148 -76
  182. package/dist/internal/Auth.js.map +1 -1
  183. package/dist/internal/Cache.d.ts.map +1 -1
  184. package/dist/internal/Cache.js +4 -1
  185. package/dist/internal/Cache.js.map +1 -1
  186. package/dist/internal/EdgeCache.d.ts +10 -0
  187. package/dist/internal/EdgeCache.d.ts.map +1 -1
  188. package/dist/internal/EdgeCache.js +39 -8
  189. package/dist/internal/EdgeCache.js.map +1 -1
  190. package/dist/internal/Fees.d.ts +27 -0
  191. package/dist/internal/Fees.d.ts.map +1 -0
  192. package/dist/internal/Fees.js +48 -0
  193. package/dist/internal/Fees.js.map +1 -0
  194. package/dist/internal/FundingRoutes.d.ts +183 -0
  195. package/dist/internal/FundingRoutes.d.ts.map +1 -0
  196. package/dist/internal/FundingRoutes.js +490 -0
  197. package/dist/internal/FundingRoutes.js.map +1 -0
  198. package/dist/internal/Id.d.ts +15 -0
  199. package/dist/internal/Id.d.ts.map +1 -0
  200. package/dist/internal/Id.js +22 -0
  201. package/dist/internal/Id.js.map +1 -0
  202. package/dist/internal/Log.d.ts +2 -0
  203. package/dist/internal/Log.d.ts.map +1 -1
  204. package/dist/internal/Log.js +3 -0
  205. package/dist/internal/Log.js.map +1 -1
  206. package/dist/internal/OpenApi.d.ts +10 -1
  207. package/dist/internal/OpenApi.d.ts.map +1 -1
  208. package/dist/internal/OpenApi.js +8 -1
  209. package/dist/internal/OpenApi.js.map +1 -1
  210. package/dist/internal/RateLimit.d.ts +25 -0
  211. package/dist/internal/RateLimit.d.ts.map +1 -1
  212. package/dist/internal/RateLimit.js +51 -0
  213. package/dist/internal/RateLimit.js.map +1 -1
  214. package/dist/internal/Response.d.ts +1 -1
  215. package/dist/internal/Response.d.ts.map +1 -1
  216. package/dist/internal/Schema.d.ts +8 -0
  217. package/dist/internal/Schema.d.ts.map +1 -1
  218. package/dist/internal/Schema.js +7 -0
  219. package/dist/internal/Schema.js.map +1 -1
  220. package/dist/internal/Webhooks.d.ts.map +1 -1
  221. package/dist/internal/Webhooks.js +3 -3
  222. package/dist/internal/Webhooks.js.map +1 -1
  223. package/package.json +4 -3
  224. package/src/ApiKey.ts +9 -2
  225. package/src/ApiKeys.test.ts +51 -0
  226. package/src/ApiKeys.ts +50 -1
  227. package/src/App.test.ts +33 -86718
  228. package/src/App.ts +18 -0
  229. package/src/Client.test-d.ts +351 -0
  230. package/src/Scope.ts +16 -3
  231. package/src/admin/apps/scopes.test.ts +6 -0
  232. package/src/admin/apps/scopes.ts +3 -0
  233. package/src/admin/ui/src/components/Page.tsx +2 -3
  234. package/src/admin/ui/src/routes/__root.tsx +2 -2
  235. package/src/admin/ui/src/routes/api-keys.tsx +2 -2
  236. package/src/admin/ui.generated.ts +13 -13
  237. package/src/analytics/Analytics.test.ts +527 -0
  238. package/src/analytics/Analytics.ts +318 -0
  239. package/src/analytics/tables/requestEvents.ts +523 -0
  240. package/src/apps/data/App.test.ts +72 -0
  241. package/src/apps/data/App.ts +35 -0
  242. package/src/apps/data/routes/funding.test.ts +214 -0
  243. package/src/apps/data/routes/funding.ts +584 -0
  244. package/src/apps/data/routes/receipts.ts +2 -9
  245. package/src/apps/data/routes/rpc.test.ts +78 -2
  246. package/src/apps/data/routes/rpc.ts +31 -1
  247. package/src/apps/data/routes/webhooks.test.ts +1 -1
  248. package/src/apps/data/routes/webhooks.ts +11 -8
  249. package/src/apps/docs/App.ts +29 -100
  250. package/src/apps/docs/reference.ts +132 -0
  251. package/src/apps/index.ts +1 -0
  252. package/src/apps/mcp.test.ts +206 -0
  253. package/src/apps/mcp.ts +250 -0
  254. package/src/apps/platform/App.ts +43 -4
  255. package/src/apps/platform/Billing.test.ts +530 -0
  256. package/src/apps/platform/Billing.ts +682 -0
  257. package/src/apps/platform/index.ts +1 -0
  258. package/src/apps/platform/routes/api-keys.test.ts +172 -9
  259. package/src/apps/platform/routes/api-keys.ts +136 -20
  260. package/src/apps/platform/routes/billing.test.ts +1100 -0
  261. package/src/apps/platform/routes/billing.ts +966 -0
  262. package/src/apps/platform/routes/invitations.test.ts +55 -7
  263. package/src/apps/platform/routes/invitations.ts +68 -0
  264. package/src/apps/platform/routes/me.test.ts +230 -0
  265. package/src/apps/platform/routes/orgs.ts +26 -4
  266. package/src/apps/platform/routes/scopes.test.ts +29 -0
  267. package/src/apps/platform/routes/scopes.ts +85 -0
  268. package/src/apps/platform/routes/usage.test.ts +422 -0
  269. package/src/apps/platform/routes/usage.ts +527 -0
  270. package/src/apps/relay/App.test.ts +457 -8
  271. package/src/apps/relay/App.ts +120 -12
  272. package/src/apps/relay/Sponsorships.test.ts +1 -1
  273. package/src/apps/relay/Sponsorships.ts +2 -1
  274. package/src/cli/Cli.test.ts +25 -2
  275. package/src/cli/Cli.ts +17 -2
  276. package/src/cli/commands/admin.test.ts +83 -0
  277. package/src/cli/commands/admin.ts +89 -1
  278. package/src/db/Db.ts +137 -0
  279. package/src/db/Schema.ts +104 -2
  280. package/src/db/tables/billingSettings.test.ts +87 -0
  281. package/src/db/tables/billingSettings.ts +108 -0
  282. package/src/db/tables/invitations.ts +2 -2
  283. package/src/db/tables/organizations.test.ts +1 -1
  284. package/src/db/tables/organizations.ts +15 -5
  285. package/src/db/tables/projects.ts +2 -2
  286. package/src/db/tables/requestUsage.ts +231 -0
  287. package/src/db/tables/sponsoredTransactions.test.ts +108 -1
  288. package/src/db/tables/sponsoredTransactions.ts +230 -2
  289. package/src/db/tables/stripeCustomers.test.ts +109 -0
  290. package/src/db/tables/stripeCustomers.ts +162 -0
  291. package/src/db/tables/users.ts +2 -2
  292. package/src/handlers/internal/sponsorship.ts +34 -7
  293. package/src/handlers/internal/utils.ts +19 -7
  294. package/src/index.ts +1 -0
  295. package/src/internal/Auth.test.ts +175 -25
  296. package/src/internal/Auth.ts +175 -86
  297. package/src/internal/Cache.ts +5 -1
  298. package/src/internal/EdgeCache.test.ts +27 -4
  299. package/src/internal/EdgeCache.ts +47 -9
  300. package/src/internal/Fees.test.ts +32 -0
  301. package/src/internal/Fees.ts +51 -0
  302. package/src/internal/FundingRoutes.ts +583 -0
  303. package/src/internal/Id.test.ts +17 -0
  304. package/src/internal/Id.ts +24 -0
  305. package/src/internal/Log.test.ts +1 -0
  306. package/src/internal/Log.ts +5 -0
  307. package/src/internal/OpenApi.ts +12 -1
  308. package/src/internal/RateLimit.test.ts +84 -0
  309. package/src/internal/RateLimit.ts +70 -0
  310. package/src/internal/Response.ts +1 -1
  311. package/src/internal/Schema.ts +8 -0
  312. package/src/internal/Webhooks.test.ts +3 -3
  313. package/src/internal/Webhooks.ts +3 -3
@@ -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: string;
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: 400 | 413 | 415;
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: "upstream_error";
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: 502;
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: "verified_token_not_found";
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: 404;
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: "assets_not_enabled";
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: 404;
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
- data: {
346
- address: `0x${string}`;
347
- currency: string;
348
- decimals: number;
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
- version: string;
360
+ requestId: string;
355
361
  };
356
362
  outputFormat: "json";
357
- status: import("hono/utils/http-status").ContentfulStatusCode;
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: "duplicate_address";
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: 409;
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
- error: {
396
- code: "duplicate_symbol";
397
- details?: readonly Response.error.Detail[] | undefined;
398
- message: string;
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
- requestId: string;
410
+ version: string;
401
411
  };
402
412
  outputFormat: "json";
403
- status: 409;
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: "version_mismatch";
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: 412;
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: string;
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: 400 | 413 | 415;
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: "upstream_error";
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: 502;
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: "verified_token_not_found";
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: 404;
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: "duplicate_address";
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: 409;
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: "duplicate_symbol";
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: 409;
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
- error: {
581
- code: "version_mismatch";
582
- details?: readonly Response.error.Detail[] | undefined;
583
- message: string;
584
- };
585
- requestId: string;
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: 412;
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
- data: {
608
- address: `0x${string}`;
609
- currency: string;
610
- decimals: number;
611
- logoUri?: string | undefined;
612
- name: string;
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: import("hono/utils/http-status").ContentfulStatusCode;
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: string;
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: 400 | 413 | 415;
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: "upstream_error";
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: 502;
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: "verified_token_not_found";
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: 404;
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
- data: {
727
- address: `0x${string}`;
728
- currency: string;
729
- decimals: number;
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
- version: string;
741
+ requestId: string;
736
742
  };
737
743
  outputFormat: "json";
738
- status: import("hono/utils/http-status").ContentfulStatusCode;
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: "duplicate_address";
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: 409;
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
- error: {
787
- code: "duplicate_symbol";
788
- details?: readonly Response.error.Detail[] | undefined;
789
- message: string;
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
- requestId: string;
801
+ version: string;
792
802
  };
793
803
  outputFormat: "json";
794
- status: 409;
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: "version_mismatch";
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: 412;
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: string;
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: 400 | 413 | 415;
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: "upstream_error";
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: 502;
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: "verified_token_not_found";
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: 404;
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: "duplicate_address";
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: 409;
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: "duplicate_symbol";
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: 409;
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
- error: {
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: 412;
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
- version: string;
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: import("hono/utils/http-status").ContentfulStatusCode;
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: "unsupported_media_type";
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: 415;
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: "payload_too_large";
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: 413;
1100
+ status: 415;
1091
1101
  input: {
1092
1102
  param: {
1093
1103
  address: `0x${string}`;