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
@@ -13,29 +13,17 @@ import * as Viem from '../../internal/Viem.js';
13
13
  * ```
14
14
  */
15
15
  export declare function data(options?: data.Options): import("hono/hono-base").HonoBase<App.Environment, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
16
- "/v1/transfers": {
16
+ "/v1/indexer/query": {
17
17
  $get: {
18
18
  output: null;
19
19
  outputFormat: "body";
20
20
  status: 402;
21
- input: {
22
- query?: {
23
- recipient?: string | string[];
24
- sender?: string | string[];
25
- token?: string | string[];
26
- address?: string | string[];
27
- 'blockNumber.from'?: string | string[];
28
- 'blockNumber.to'?: string | string[];
29
- chainId?: string | string[];
30
- cursor?: string | string[];
31
- include?: string | string[];
32
- limit?: string | string[];
33
- order?: string | string[];
34
- page?: string | string[];
35
- 'timestamp.from'?: string | string[];
36
- 'timestamp.to'?: string | string[];
37
- } | undefined;
38
- };
21
+ input: {};
22
+ } | {
23
+ output: never;
24
+ outputFormat: never;
25
+ status: never;
26
+ input: {};
39
27
  } | {
40
28
  output: {
41
29
  error: {
@@ -47,24 +35,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
47
35
  };
48
36
  outputFormat: "json";
49
37
  status: 400;
50
- input: {
51
- query?: {
52
- recipient?: string | string[];
53
- sender?: string | string[];
54
- token?: string | string[];
55
- address?: string | string[];
56
- 'blockNumber.from'?: string | string[];
57
- 'blockNumber.to'?: string | string[];
58
- chainId?: string | string[];
59
- cursor?: string | string[];
60
- include?: string | string[];
61
- limit?: string | string[];
62
- order?: string | string[];
63
- page?: string | string[];
64
- 'timestamp.from'?: string | string[];
65
- 'timestamp.to'?: string | string[];
66
- } | undefined;
67
- };
38
+ input: {};
68
39
  } | {
69
40
  output: {
70
41
  error: {
@@ -76,24 +47,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
76
47
  };
77
48
  outputFormat: "json";
78
49
  status: 401;
79
- input: {
80
- query?: {
81
- recipient?: string | string[];
82
- sender?: string | string[];
83
- token?: string | string[];
84
- address?: string | string[];
85
- 'blockNumber.from'?: string | string[];
86
- 'blockNumber.to'?: string | string[];
87
- chainId?: string | string[];
88
- cursor?: string | string[];
89
- include?: string | string[];
90
- limit?: string | string[];
91
- order?: string | string[];
92
- page?: string | string[];
93
- 'timestamp.from'?: string | string[];
94
- 'timestamp.to'?: string | string[];
95
- } | undefined;
96
- };
50
+ input: {};
97
51
  } | {
98
52
  output: {
99
53
  error: {
@@ -105,24 +59,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
105
59
  };
106
60
  outputFormat: "json";
107
61
  status: 403;
108
- input: {
109
- query?: {
110
- recipient?: string | string[];
111
- sender?: string | string[];
112
- token?: string | string[];
113
- address?: string | string[];
114
- 'blockNumber.from'?: string | string[];
115
- 'blockNumber.to'?: string | string[];
116
- chainId?: string | string[];
117
- cursor?: string | string[];
118
- include?: string | string[];
119
- limit?: string | string[];
120
- order?: string | string[];
121
- page?: string | string[];
122
- 'timestamp.from'?: string | string[];
123
- 'timestamp.to'?: string | string[];
124
- } | undefined;
125
- };
62
+ input: {};
126
63
  } | {
127
64
  output: {
128
65
  error: {
@@ -134,28 +71,52 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
134
71
  };
135
72
  outputFormat: "json";
136
73
  status: 429;
74
+ input: {};
75
+ } | {
76
+ output: {
77
+ ok: boolean;
78
+ columns: string[];
79
+ rows: import("hono/utils/types").JSONValue[][];
80
+ row_count: number;
81
+ engine?: "clickhouse" | "postgres" | undefined;
82
+ query_time_ms?: number | undefined;
83
+ };
84
+ outputFormat: "json";
85
+ status: 200;
86
+ input: {};
87
+ } | {
88
+ output: {
89
+ ok: false;
90
+ error: string;
91
+ };
92
+ outputFormat: "json";
93
+ status: 400;
94
+ input: {};
95
+ } | {
96
+ output: {
97
+ ok: false;
98
+ error: string;
99
+ };
100
+ outputFormat: "json";
101
+ status: 422;
102
+ input: {};
103
+ };
104
+ };
105
+ }, "/"> | import("hono/types").MergeSchemaPath<{
106
+ "/v1/tokenlist": {
107
+ $get: {
108
+ output: null;
109
+ outputFormat: "body";
110
+ status: 402;
137
111
  input: {
138
112
  query?: {
139
- recipient?: string | string[];
140
- sender?: string | string[];
141
- token?: string | string[];
142
- address?: string | string[];
143
- 'blockNumber.from'?: string | string[];
144
- 'blockNumber.to'?: string | string[];
145
113
  chainId?: string | string[];
146
- cursor?: string | string[];
147
- include?: string | string[];
148
- limit?: string | string[];
149
- order?: string | string[];
150
- page?: string | string[];
151
- 'timestamp.from'?: string | string[];
152
- 'timestamp.to'?: string | string[];
153
114
  } | undefined;
154
115
  };
155
116
  } | {
156
117
  output: {
157
118
  error: {
158
- code: "query_invalid";
119
+ code: "api_key_malformed";
159
120
  details?: readonly Response.error.Detail[] | undefined;
160
121
  message: string;
161
122
  };
@@ -165,293 +126,73 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
165
126
  status: 400;
166
127
  input: {
167
128
  query?: {
168
- recipient?: string | string[];
169
- sender?: string | string[];
170
- token?: string | string[];
171
- address?: string | string[];
172
- 'blockNumber.from'?: string | string[];
173
- 'blockNumber.to'?: string | string[];
174
129
  chainId?: string | string[];
175
- cursor?: string | string[];
176
- include?: string | string[];
177
- limit?: string | string[];
178
- order?: string | string[];
179
- page?: string | string[];
180
- 'timestamp.from'?: string | string[];
181
- 'timestamp.to'?: string | string[];
182
130
  } | undefined;
183
131
  };
184
132
  } | {
185
133
  output: {
186
- data: {
187
- attribution?: string | undefined;
188
- blockNumber: number;
189
- destinationToken?: {
190
- address: `0x${string}`;
191
- amount: string;
192
- currency?: string | undefined;
193
- decimals?: number | undefined;
194
- logoUri?: string | undefined;
195
- name?: string | undefined;
196
- symbol?: string | undefined;
197
- verified?: boolean | undefined;
198
- } | undefined;
199
- id: string;
200
- logIndex: number;
201
- memo?: string | undefined;
202
- recipient: `0x${string}`;
203
- sender: `0x${string}`;
204
- sourceToken: {
205
- address: `0x${string}`;
206
- amount: string;
207
- currency?: string | undefined;
208
- decimals?: number | undefined;
209
- logoUri?: string | undefined;
210
- name?: string | undefined;
211
- symbol?: string | undefined;
212
- verified?: boolean | undefined;
213
- };
214
- timestamp: string;
215
- transactionHash: `0x${string}`;
216
- }[];
217
- meta?: {
218
- totalCountCapped: boolean;
219
- totalCount: number;
220
- } | undefined;
221
- nextCursor: string | null;
134
+ error: {
135
+ code: "api_key_invalid" | "api_key_missing";
136
+ details?: readonly Response.error.Detail[] | undefined;
137
+ message: string;
138
+ };
139
+ requestId: string;
222
140
  };
223
141
  outputFormat: "json";
224
- status: 200;
142
+ status: 401;
225
143
  input: {
226
144
  query?: {
227
- recipient?: string | string[];
228
- sender?: string | string[];
229
- token?: string | string[];
230
- address?: string | string[];
231
- 'blockNumber.from'?: string | string[];
232
- 'blockNumber.to'?: string | string[];
233
145
  chainId?: string | string[];
234
- cursor?: string | string[];
235
- include?: string | string[];
236
- limit?: string | string[];
237
- order?: string | string[];
238
- page?: string | string[];
239
- 'timestamp.from'?: string | string[];
240
- 'timestamp.to'?: string | string[];
241
146
  } | undefined;
242
147
  };
243
148
  } | {
244
149
  output: {
245
150
  error: {
246
- code: "upstream_error";
151
+ code: "api_key_forbidden";
247
152
  details?: readonly Response.error.Detail[] | undefined;
248
153
  message: string;
249
154
  };
250
155
  requestId: string;
251
156
  };
252
157
  outputFormat: "json";
253
- status: 502;
158
+ status: 403;
254
159
  input: {
255
160
  query?: {
256
- recipient?: string | string[];
257
- sender?: string | string[];
258
- token?: string | string[];
259
- address?: string | string[];
260
- 'blockNumber.from'?: string | string[];
261
- 'blockNumber.to'?: string | string[];
262
161
  chainId?: string | string[];
263
- cursor?: string | string[];
264
- include?: string | string[];
265
- limit?: string | string[];
266
- order?: string | string[];
267
- page?: string | string[];
268
- 'timestamp.from'?: string | string[];
269
- 'timestamp.to'?: string | string[];
270
162
  } | undefined;
271
163
  };
272
- };
273
- };
274
- }, "/"> | import("hono/types").MergeSchemaPath<{
275
- "/v1/indexer/query": {
276
- $get: {
277
- output: null;
278
- outputFormat: "body";
279
- status: 402;
280
- input: {};
281
- } | {
282
- output: never;
283
- outputFormat: never;
284
- status: never;
285
- input: {};
286
164
  } | {
287
165
  output: {
288
166
  error: {
289
- code: "api_key_malformed";
167
+ code: "payment_required" | "rate_limit_exceeded";
290
168
  details?: readonly Response.error.Detail[] | undefined;
291
169
  message: string;
292
170
  };
293
171
  requestId: string;
294
172
  };
295
173
  outputFormat: "json";
296
- status: 400;
297
- input: {};
174
+ status: 429;
175
+ input: {
176
+ query?: {
177
+ chainId?: string | string[];
178
+ } | undefined;
179
+ };
298
180
  } | {
299
181
  output: {
300
182
  error: {
301
- code: "api_key_invalid" | "api_key_missing";
183
+ code: "query_invalid";
302
184
  details?: readonly Response.error.Detail[] | undefined;
303
185
  message: string;
304
186
  };
305
187
  requestId: string;
306
188
  };
307
189
  outputFormat: "json";
308
- status: 401;
309
- input: {};
310
- } | {
311
- output: {
312
- error: {
313
- code: "api_key_forbidden";
314
- details?: readonly Response.error.Detail[] | undefined;
315
- message: string;
316
- };
317
- requestId: string;
318
- };
319
- outputFormat: "json";
320
- status: 403;
321
- input: {};
322
- } | {
323
- output: {
324
- error: {
325
- code: "payment_required" | "rate_limit_exceeded";
326
- details?: readonly Response.error.Detail[] | undefined;
327
- message: string;
328
- };
329
- requestId: string;
330
- };
331
- outputFormat: "json";
332
- status: 429;
333
- input: {};
334
- } | {
335
- output: {
336
- ok: boolean;
337
- columns: string[];
338
- rows: import("hono/utils/types").JSONValue[][];
339
- row_count: number;
340
- engine?: "clickhouse" | "postgres" | undefined;
341
- query_time_ms?: number | undefined;
342
- };
343
- outputFormat: "json";
344
- status: 200;
345
- input: {};
346
- } | {
347
- output: {
348
- ok: false;
349
- error: string;
350
- };
351
- outputFormat: "json";
352
- status: 400;
353
- input: {};
354
- } | {
355
- output: {
356
- ok: false;
357
- error: string;
358
- };
359
- outputFormat: "json";
360
- status: 422;
361
- input: {};
362
- };
363
- };
364
- }, "/"> | import("hono/types").MergeSchemaPath<{
365
- "/v1/tokenlist": {
366
- $get: {
367
- output: null;
368
- outputFormat: "body";
369
- status: 402;
370
- input: {
371
- query?: {
372
- chainId?: string | string[];
373
- } | undefined;
374
- };
375
- } | {
376
- output: {
377
- error: {
378
- code: "api_key_malformed";
379
- details?: readonly Response.error.Detail[] | undefined;
380
- message: string;
381
- };
382
- requestId: string;
383
- };
384
- outputFormat: "json";
385
- status: 400;
386
- input: {
387
- query?: {
388
- chainId?: string | string[];
389
- } | undefined;
390
- };
391
- } | {
392
- output: {
393
- error: {
394
- code: "api_key_invalid" | "api_key_missing";
395
- details?: readonly Response.error.Detail[] | undefined;
396
- message: string;
397
- };
398
- requestId: string;
399
- };
400
- outputFormat: "json";
401
- status: 401;
402
- input: {
403
- query?: {
404
- chainId?: string | string[];
405
- } | undefined;
406
- };
407
- } | {
408
- output: {
409
- error: {
410
- code: "api_key_forbidden";
411
- details?: readonly Response.error.Detail[] | undefined;
412
- message: string;
413
- };
414
- requestId: string;
415
- };
416
- outputFormat: "json";
417
- status: 403;
418
- input: {
419
- query?: {
420
- chainId?: string | string[];
421
- } | undefined;
422
- };
423
- } | {
424
- output: {
425
- error: {
426
- code: "payment_required" | "rate_limit_exceeded";
427
- details?: readonly Response.error.Detail[] | undefined;
428
- message: string;
429
- };
430
- requestId: string;
431
- };
432
- outputFormat: "json";
433
- status: 429;
434
- input: {
435
- query?: {
436
- chainId?: string | string[];
437
- } | undefined;
438
- };
439
- } | {
440
- output: {
441
- error: {
442
- code: "query_invalid";
443
- details?: readonly Response.error.Detail[] | undefined;
444
- message: string;
445
- };
446
- requestId: string;
447
- };
448
- outputFormat: "json";
449
- status: 400;
450
- input: {
451
- query?: {
452
- chainId?: string | string[];
453
- } | undefined;
454
- };
190
+ status: 400;
191
+ input: {
192
+ query?: {
193
+ chainId?: string | string[];
194
+ } | undefined;
195
+ };
455
196
  } | {
456
197
  output: {
457
198
  error: {
@@ -2284,13 +2025,28 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2284
2025
  };
2285
2026
  };
2286
2027
  }, "/"> | import("hono/types").MergeSchemaPath<{
2287
- "/rpc/:chain{(mainnet|testnet|[0-9]+)}?": {
2288
- $post: {
2289
- output: never;
2290
- outputFormat: never;
2291
- status: never;
2028
+ "/v1/transfers": {
2029
+ $get: {
2030
+ output: null;
2031
+ outputFormat: "body";
2032
+ status: 402;
2292
2033
  input: {
2293
- param: Record<"chain", string | undefined>;
2034
+ query?: {
2035
+ recipient?: string | string[];
2036
+ sender?: string | string[];
2037
+ token?: string | string[];
2038
+ address?: string | string[];
2039
+ 'blockNumber.from'?: string | string[];
2040
+ 'blockNumber.to'?: string | string[];
2041
+ chainId?: string | string[];
2042
+ cursor?: string | string[];
2043
+ include?: string | string[];
2044
+ limit?: string | string[];
2045
+ order?: string | string[];
2046
+ page?: string | string[];
2047
+ 'timestamp.from'?: string | string[];
2048
+ 'timestamp.to'?: string | string[];
2049
+ } | undefined;
2294
2050
  };
2295
2051
  } | {
2296
2052
  output: {
@@ -2304,7 +2060,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2304
2060
  outputFormat: "json";
2305
2061
  status: 400;
2306
2062
  input: {
2307
- param: Record<"chain", string | undefined>;
2063
+ query?: {
2064
+ recipient?: string | string[];
2065
+ sender?: string | string[];
2066
+ token?: string | string[];
2067
+ address?: string | string[];
2068
+ 'blockNumber.from'?: string | string[];
2069
+ 'blockNumber.to'?: string | string[];
2070
+ chainId?: string | string[];
2071
+ cursor?: string | string[];
2072
+ include?: string | string[];
2073
+ limit?: string | string[];
2074
+ order?: string | string[];
2075
+ page?: string | string[];
2076
+ 'timestamp.from'?: string | string[];
2077
+ 'timestamp.to'?: string | string[];
2078
+ } | undefined;
2308
2079
  };
2309
2080
  } | {
2310
2081
  output: {
@@ -2318,7 +2089,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2318
2089
  outputFormat: "json";
2319
2090
  status: 401;
2320
2091
  input: {
2321
- param: Record<"chain", string | undefined>;
2092
+ query?: {
2093
+ recipient?: string | string[];
2094
+ sender?: string | string[];
2095
+ token?: string | string[];
2096
+ address?: string | string[];
2097
+ 'blockNumber.from'?: string | string[];
2098
+ 'blockNumber.to'?: string | string[];
2099
+ chainId?: string | string[];
2100
+ cursor?: string | string[];
2101
+ include?: string | string[];
2102
+ limit?: string | string[];
2103
+ order?: string | string[];
2104
+ page?: string | string[];
2105
+ 'timestamp.from'?: string | string[];
2106
+ 'timestamp.to'?: string | string[];
2107
+ } | undefined;
2322
2108
  };
2323
2109
  } | {
2324
2110
  output: {
@@ -2332,7 +2118,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2332
2118
  outputFormat: "json";
2333
2119
  status: 403;
2334
2120
  input: {
2335
- param: Record<"chain", string | undefined>;
2121
+ query?: {
2122
+ recipient?: string | string[];
2123
+ sender?: string | string[];
2124
+ token?: string | string[];
2125
+ address?: string | string[];
2126
+ 'blockNumber.from'?: string | string[];
2127
+ 'blockNumber.to'?: string | string[];
2128
+ chainId?: string | string[];
2129
+ cursor?: string | string[];
2130
+ include?: string | string[];
2131
+ limit?: string | string[];
2132
+ order?: string | string[];
2133
+ page?: string | string[];
2134
+ 'timestamp.from'?: string | string[];
2135
+ 'timestamp.to'?: string | string[];
2136
+ } | undefined;
2336
2137
  };
2337
2138
  } | {
2338
2139
  output: {
@@ -2346,12 +2147,27 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2346
2147
  outputFormat: "json";
2347
2148
  status: 429;
2348
2149
  input: {
2349
- param: Record<"chain", string | undefined>;
2150
+ query?: {
2151
+ recipient?: string | string[];
2152
+ sender?: string | string[];
2153
+ token?: string | string[];
2154
+ address?: string | string[];
2155
+ 'blockNumber.from'?: string | string[];
2156
+ 'blockNumber.to'?: string | string[];
2157
+ chainId?: string | string[];
2158
+ cursor?: string | string[];
2159
+ include?: string | string[];
2160
+ limit?: string | string[];
2161
+ order?: string | string[];
2162
+ page?: string | string[];
2163
+ 'timestamp.from'?: string | string[];
2164
+ 'timestamp.to'?: string | string[];
2165
+ } | undefined;
2350
2166
  };
2351
2167
  } | {
2352
2168
  output: {
2353
2169
  error: {
2354
- code: "chain_id_invalid";
2170
+ code: "query_invalid";
2355
2171
  details?: readonly Response.error.Detail[] | undefined;
2356
2172
  message: string;
2357
2173
  };
@@ -2360,20 +2176,197 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2360
2176
  outputFormat: "json";
2361
2177
  status: 400;
2362
2178
  input: {
2363
- param: Record<"chain", string | undefined>;
2364
- };
2365
- } | {
2366
- output: {
2367
- error?: {
2368
- code: number;
2369
- data?: import("hono/utils/types").JSONValue;
2370
- message: string;
2371
- } | undefined;
2372
- id?: string | number | null | undefined;
2373
- jsonrpc: "2.0";
2374
- result?: import("hono/utils/types").JSONValue;
2375
- }[] | {
2376
- error?: {
2179
+ query?: {
2180
+ recipient?: string | string[];
2181
+ sender?: string | string[];
2182
+ token?: string | string[];
2183
+ address?: string | string[];
2184
+ 'blockNumber.from'?: string | string[];
2185
+ 'blockNumber.to'?: string | string[];
2186
+ chainId?: string | string[];
2187
+ cursor?: string | string[];
2188
+ include?: string | string[];
2189
+ limit?: string | string[];
2190
+ order?: string | string[];
2191
+ page?: string | string[];
2192
+ 'timestamp.from'?: string | string[];
2193
+ 'timestamp.to'?: string | string[];
2194
+ } | undefined;
2195
+ };
2196
+ } | {
2197
+ output: {
2198
+ error: {
2199
+ code: "upstream_error";
2200
+ details?: readonly Response.error.Detail[] | undefined;
2201
+ message: string;
2202
+ };
2203
+ requestId: string;
2204
+ };
2205
+ outputFormat: "json";
2206
+ status: 502;
2207
+ input: {
2208
+ query?: {
2209
+ recipient?: string | string[];
2210
+ sender?: string | string[];
2211
+ token?: string | string[];
2212
+ address?: string | string[];
2213
+ 'blockNumber.from'?: string | string[];
2214
+ 'blockNumber.to'?: string | string[];
2215
+ chainId?: string | string[];
2216
+ cursor?: string | string[];
2217
+ include?: string | string[];
2218
+ limit?: string | string[];
2219
+ order?: string | string[];
2220
+ page?: string | string[];
2221
+ 'timestamp.from'?: string | string[];
2222
+ 'timestamp.to'?: string | string[];
2223
+ } | undefined;
2224
+ };
2225
+ } | {
2226
+ output: {
2227
+ data: {
2228
+ attribution?: string | undefined;
2229
+ blockNumber: number;
2230
+ destinationToken?: {
2231
+ address: `0x${string}`;
2232
+ amount: string;
2233
+ currency?: string | undefined;
2234
+ decimals?: number | undefined;
2235
+ logoUri?: string | undefined;
2236
+ name?: string | undefined;
2237
+ symbol?: string | undefined;
2238
+ verified?: boolean | undefined;
2239
+ } | undefined;
2240
+ id: string;
2241
+ logIndex: number;
2242
+ memo?: string | undefined;
2243
+ recipient: `0x${string}`;
2244
+ sender: `0x${string}`;
2245
+ sourceToken: {
2246
+ address: `0x${string}`;
2247
+ amount: string;
2248
+ currency?: string | undefined;
2249
+ decimals?: number | undefined;
2250
+ logoUri?: string | undefined;
2251
+ name?: string | undefined;
2252
+ symbol?: string | undefined;
2253
+ verified?: boolean | undefined;
2254
+ };
2255
+ timestamp: string;
2256
+ transactionHash: `0x${string}`;
2257
+ }[];
2258
+ meta?: {
2259
+ totalCountCapped: boolean;
2260
+ totalCount: number;
2261
+ } | undefined;
2262
+ nextCursor: string | null;
2263
+ };
2264
+ outputFormat: "json";
2265
+ status: 200;
2266
+ input: {
2267
+ query?: {
2268
+ recipient?: string | string[];
2269
+ sender?: string | string[];
2270
+ token?: string | string[];
2271
+ address?: string | string[];
2272
+ 'blockNumber.from'?: string | string[];
2273
+ 'blockNumber.to'?: string | string[];
2274
+ chainId?: string | string[];
2275
+ cursor?: string | string[];
2276
+ include?: string | string[];
2277
+ limit?: string | string[];
2278
+ order?: string | string[];
2279
+ page?: string | string[];
2280
+ 'timestamp.from'?: string | string[];
2281
+ 'timestamp.to'?: string | string[];
2282
+ } | undefined;
2283
+ };
2284
+ };
2285
+ };
2286
+ }, "/"> | import("hono/types").MergeSchemaPath<{
2287
+ "/rpc/:chain{(mainnet|testnet|[0-9]+)}?": {
2288
+ $post: {
2289
+ output: {
2290
+ error: {
2291
+ code: "api_key_malformed";
2292
+ details?: readonly Response.error.Detail[] | undefined;
2293
+ message: string;
2294
+ };
2295
+ requestId: string;
2296
+ };
2297
+ outputFormat: "json";
2298
+ status: 400;
2299
+ input: {
2300
+ param: Record<"chain", string | undefined>;
2301
+ };
2302
+ } | {
2303
+ output: {
2304
+ error: {
2305
+ code: "api_key_invalid" | "api_key_missing";
2306
+ details?: readonly Response.error.Detail[] | undefined;
2307
+ message: string;
2308
+ };
2309
+ requestId: string;
2310
+ };
2311
+ outputFormat: "json";
2312
+ status: 401;
2313
+ input: {
2314
+ param: Record<"chain", string | undefined>;
2315
+ };
2316
+ } | {
2317
+ output: {
2318
+ error: {
2319
+ code: "api_key_forbidden";
2320
+ details?: readonly Response.error.Detail[] | undefined;
2321
+ message: string;
2322
+ };
2323
+ requestId: string;
2324
+ };
2325
+ outputFormat: "json";
2326
+ status: 403;
2327
+ input: {
2328
+ param: Record<"chain", string | undefined>;
2329
+ };
2330
+ } | {
2331
+ output: {
2332
+ error: {
2333
+ code: "payment_required" | "rate_limit_exceeded";
2334
+ details?: readonly Response.error.Detail[] | undefined;
2335
+ message: string;
2336
+ };
2337
+ requestId: string;
2338
+ };
2339
+ outputFormat: "json";
2340
+ status: 429;
2341
+ input: {
2342
+ param: Record<"chain", string | undefined>;
2343
+ };
2344
+ } | {
2345
+ output: {
2346
+ error: {
2347
+ code: "chain_id_invalid";
2348
+ details?: readonly Response.error.Detail[] | undefined;
2349
+ message: string;
2350
+ };
2351
+ requestId: string;
2352
+ };
2353
+ outputFormat: "json";
2354
+ status: 400;
2355
+ input: {
2356
+ param: Record<"chain", string | undefined>;
2357
+ };
2358
+ } | {
2359
+ output: {
2360
+ error?: {
2361
+ code: number;
2362
+ data?: import("hono/utils/types").JSONValue;
2363
+ message: string;
2364
+ } | undefined;
2365
+ id?: string | number | null | undefined;
2366
+ jsonrpc: "2.0";
2367
+ result?: import("hono/utils/types").JSONValue;
2368
+ }[] | {
2369
+ error?: {
2377
2370
  code: number;
2378
2371
  data?: import("hono/utils/types").JSONValue;
2379
2372
  message: string;
@@ -2595,7 +2588,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2595
2588
  };
2596
2589
  };
2597
2590
  }, "/"> | import("hono/types").MergeSchemaPath<{
2598
- "/v1/blocks": {
2591
+ "/v1/fee-amm/pools": {
2599
2592
  $get: {
2600
2593
  output: null;
2601
2594
  outputFormat: "body";
@@ -2604,8 +2597,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2604
2597
  query?: {
2605
2598
  chainId?: string | string[];
2606
2599
  cursor?: string | string[];
2600
+ include?: string | string[];
2607
2601
  limit?: string | string[];
2608
- order?: string | string[];
2609
2602
  page?: string | string[];
2610
2603
  } | undefined;
2611
2604
  };
@@ -2624,8 +2617,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2624
2617
  query?: {
2625
2618
  chainId?: string | string[];
2626
2619
  cursor?: string | string[];
2620
+ include?: string | string[];
2627
2621
  limit?: string | string[];
2628
- order?: string | string[];
2629
2622
  page?: string | string[];
2630
2623
  } | undefined;
2631
2624
  };
@@ -2644,8 +2637,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2644
2637
  query?: {
2645
2638
  chainId?: string | string[];
2646
2639
  cursor?: string | string[];
2640
+ include?: string | string[];
2647
2641
  limit?: string | string[];
2648
- order?: string | string[];
2649
2642
  page?: string | string[];
2650
2643
  } | undefined;
2651
2644
  };
@@ -2664,8 +2657,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2664
2657
  query?: {
2665
2658
  chainId?: string | string[];
2666
2659
  cursor?: string | string[];
2660
+ include?: string | string[];
2667
2661
  limit?: string | string[];
2668
- order?: string | string[];
2669
2662
  page?: string | string[];
2670
2663
  } | undefined;
2671
2664
  };
@@ -2684,8 +2677,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2684
2677
  query?: {
2685
2678
  chainId?: string | string[];
2686
2679
  cursor?: string | string[];
2680
+ include?: string | string[];
2687
2681
  limit?: string | string[];
2688
- order?: string | string[];
2689
2682
  page?: string | string[];
2690
2683
  } | undefined;
2691
2684
  };
@@ -2704,8 +2697,52 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2704
2697
  query?: {
2705
2698
  chainId?: string | string[];
2706
2699
  cursor?: string | string[];
2700
+ include?: string | string[];
2701
+ limit?: string | string[];
2702
+ page?: string | string[];
2703
+ } | undefined;
2704
+ };
2705
+ } | {
2706
+ output: {
2707
+ data: {
2708
+ createdAt: string;
2709
+ id: `0x${string}`;
2710
+ lastMintAt: string;
2711
+ mintCount: number;
2712
+ poolId: `0x${string}`;
2713
+ userToken: {
2714
+ address: `0x${string}`;
2715
+ currency?: string | undefined;
2716
+ decimals?: number | undefined;
2717
+ logoUri?: string | undefined;
2718
+ name?: string | undefined;
2719
+ symbol?: string | undefined;
2720
+ verified?: boolean | undefined;
2721
+ amount?: string | undefined;
2722
+ formatted?: string | undefined;
2723
+ };
2724
+ validatorToken: {
2725
+ address: `0x${string}`;
2726
+ currency?: string | undefined;
2727
+ decimals?: number | undefined;
2728
+ logoUri?: string | undefined;
2729
+ name?: string | undefined;
2730
+ symbol?: string | undefined;
2731
+ verified?: boolean | undefined;
2732
+ amount?: string | undefined;
2733
+ formatted?: string | undefined;
2734
+ };
2735
+ }[];
2736
+ nextCursor: string | null;
2737
+ };
2738
+ outputFormat: "json";
2739
+ status: 200;
2740
+ input: {
2741
+ query?: {
2742
+ chainId?: string | string[];
2743
+ cursor?: string | string[];
2744
+ include?: string | string[];
2707
2745
  limit?: string | string[];
2708
- order?: string | string[];
2709
2746
  page?: string | string[];
2710
2747
  } | undefined;
2711
2748
  };
@@ -2724,48 +2761,29 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2724
2761
  query?: {
2725
2762
  chainId?: string | string[];
2726
2763
  cursor?: string | string[];
2764
+ include?: string | string[];
2727
2765
  limit?: string | string[];
2728
- order?: string | string[];
2729
- page?: string | string[];
2730
- } | undefined;
2731
- };
2732
- } | {
2733
- output: {
2734
- data: {
2735
- hash: `0x${string}`;
2736
- id: `0x${string}`;
2737
- number: number;
2738
- timestamp: string;
2739
- transactionCount: number;
2740
- }[];
2741
- nextCursor: string | null;
2742
- };
2743
- outputFormat: "json";
2744
- status: 200;
2745
- input: {
2746
- query?: {
2747
- chainId?: string | string[];
2748
- cursor?: string | string[];
2749
- limit?: string | string[];
2750
- order?: string | string[];
2751
2766
  page?: string | string[];
2752
2767
  } | undefined;
2753
2768
  };
2754
2769
  };
2755
2770
  };
2756
2771
  } & {
2757
- "/v1/blocks/:block": {
2772
+ "/v1/fee-amm/mints": {
2758
2773
  $get: {
2759
2774
  output: null;
2760
2775
  outputFormat: "body";
2761
2776
  status: 402;
2762
2777
  input: {
2763
- param: {
2764
- block: string;
2765
- };
2766
- } & {
2767
2778
  query?: {
2768
2779
  chainId?: string | string[];
2780
+ cursor?: string | string[];
2781
+ include?: string | string[];
2782
+ limit?: string | string[];
2783
+ order?: string | string[];
2784
+ page?: string | string[];
2785
+ userToken?: string | string[];
2786
+ validatorToken?: string | string[];
2769
2787
  } | undefined;
2770
2788
  };
2771
2789
  } | {
@@ -2780,12 +2798,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2780
2798
  outputFormat: "json";
2781
2799
  status: 400;
2782
2800
  input: {
2783
- param: {
2784
- block: string;
2785
- };
2786
- } & {
2787
2801
  query?: {
2788
2802
  chainId?: string | string[];
2803
+ cursor?: string | string[];
2804
+ include?: string | string[];
2805
+ limit?: string | string[];
2806
+ order?: string | string[];
2807
+ page?: string | string[];
2808
+ userToken?: string | string[];
2809
+ validatorToken?: string | string[];
2789
2810
  } | undefined;
2790
2811
  };
2791
2812
  } | {
@@ -2800,12 +2821,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2800
2821
  outputFormat: "json";
2801
2822
  status: 401;
2802
2823
  input: {
2803
- param: {
2804
- block: string;
2805
- };
2806
- } & {
2807
2824
  query?: {
2808
2825
  chainId?: string | string[];
2826
+ cursor?: string | string[];
2827
+ include?: string | string[];
2828
+ limit?: string | string[];
2829
+ order?: string | string[];
2830
+ page?: string | string[];
2831
+ userToken?: string | string[];
2832
+ validatorToken?: string | string[];
2809
2833
  } | undefined;
2810
2834
  };
2811
2835
  } | {
@@ -2820,12 +2844,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2820
2844
  outputFormat: "json";
2821
2845
  status: 403;
2822
2846
  input: {
2823
- param: {
2824
- block: string;
2825
- };
2826
- } & {
2827
2847
  query?: {
2828
2848
  chainId?: string | string[];
2849
+ cursor?: string | string[];
2850
+ include?: string | string[];
2851
+ limit?: string | string[];
2852
+ order?: string | string[];
2853
+ page?: string | string[];
2854
+ userToken?: string | string[];
2855
+ validatorToken?: string | string[];
2829
2856
  } | undefined;
2830
2857
  };
2831
2858
  } | {
@@ -2840,12 +2867,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2840
2867
  outputFormat: "json";
2841
2868
  status: 429;
2842
2869
  input: {
2843
- param: {
2844
- block: string;
2845
- };
2846
- } & {
2847
2870
  query?: {
2848
2871
  chainId?: string | string[];
2872
+ cursor?: string | string[];
2873
+ include?: string | string[];
2874
+ limit?: string | string[];
2875
+ order?: string | string[];
2876
+ page?: string | string[];
2877
+ userToken?: string | string[];
2878
+ validatorToken?: string | string[];
2849
2879
  } | undefined;
2850
2880
  };
2851
2881
  } | {
@@ -2860,12 +2890,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2860
2890
  outputFormat: "json";
2861
2891
  status: 400;
2862
2892
  input: {
2863
- param: {
2864
- block: string;
2865
- };
2866
- } & {
2867
2893
  query?: {
2868
2894
  chainId?: string | string[];
2895
+ cursor?: string | string[];
2896
+ include?: string | string[];
2897
+ limit?: string | string[];
2898
+ order?: string | string[];
2899
+ page?: string | string[];
2900
+ userToken?: string | string[];
2901
+ validatorToken?: string | string[];
2869
2902
  } | undefined;
2870
2903
  };
2871
2904
  } | {
@@ -2880,113 +2913,73 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2880
2913
  outputFormat: "json";
2881
2914
  status: 502;
2882
2915
  input: {
2883
- param: {
2884
- block: string;
2885
- };
2886
- } & {
2887
- query?: {
2888
- chainId?: string | string[];
2889
- } | undefined;
2890
- };
2891
- } | {
2892
- output: {
2893
- error: {
2894
- code: "block_invalid";
2895
- details?: readonly Response.error.Detail[] | undefined;
2896
- message: string;
2897
- };
2898
- requestId: string;
2899
- };
2900
- outputFormat: "json";
2901
- status: 400;
2902
- input: {
2903
- param: {
2904
- block: string;
2905
- };
2906
- } & {
2907
- query?: {
2908
- chainId?: string | string[];
2909
- } | undefined;
2910
- };
2911
- } | {
2912
- output: {
2913
- error: {
2914
- code: "block_not_found";
2915
- details?: readonly Response.error.Detail[] | undefined;
2916
- message: string;
2917
- };
2918
- requestId: string;
2919
- };
2920
- outputFormat: "json";
2921
- status: 404;
2922
- input: {
2923
- param: {
2924
- block: string;
2925
- };
2926
- } & {
2927
2916
  query?: {
2928
2917
  chainId?: string | string[];
2918
+ cursor?: string | string[];
2919
+ include?: string | string[];
2920
+ limit?: string | string[];
2921
+ order?: string | string[];
2922
+ page?: string | string[];
2923
+ userToken?: string | string[];
2924
+ validatorToken?: string | string[];
2929
2925
  } | undefined;
2930
2926
  };
2931
2927
  } | {
2932
2928
  output: {
2933
- baseFeePerGas: string | null;
2934
- gasLimit: number;
2935
- gasUsed: number;
2936
- hash: `0x${string}`;
2937
- id: `0x${string}`;
2938
- meta: {
2939
- rpc: {
2940
- [x: string]: import("hono/utils/types").JSONValue;
2941
- baseFeePerGas?: `0x${string}` | null | undefined;
2942
- difficulty?: `0x${string}` | undefined;
2943
- extraData?: `0x${string}` | undefined;
2944
- gasLimit: `0x${string}`;
2945
- gasUsed: `0x${string}`;
2946
- hash: `0x${string}` | null;
2947
- logsBloom?: `0x${string}` | null | undefined;
2948
- miner: `0x${string}`;
2949
- mixHash?: `0x${string}` | undefined;
2950
- nonce?: `0x${string}` | null | undefined;
2951
- number: `0x${string}` | null;
2952
- parentHash: `0x${string}`;
2953
- receiptsRoot: `0x${string}`;
2954
- sha3Uncles?: `0x${string}` | undefined;
2955
- size: `0x${string}`;
2956
- stateRoot: `0x${string}`;
2957
- timestamp: `0x${string}`;
2958
- totalDifficulty?: `0x${string}` | undefined;
2959
- transactions: `0x${string}`[];
2960
- transactionsRoot: `0x${string}`;
2961
- uncles?: `0x${string}`[] | undefined;
2962
- withdrawals?: {
2963
- [x: string]: import("hono/utils/types").JSONValue;
2964
- }[] | undefined;
2965
- withdrawalsRoot?: `0x${string}` | undefined;
2929
+ data: {
2930
+ amountUserToken?: string | undefined;
2931
+ amountValidatorToken: string;
2932
+ blockNumber: number;
2933
+ id: string;
2934
+ liquidity: string;
2935
+ logIndex: number;
2936
+ minter: `0x${string}`;
2937
+ recipient?: `0x${string}` | undefined;
2938
+ timestamp: string;
2939
+ transactionHash: `0x${string}`;
2940
+ userToken: {
2941
+ address: `0x${string}`;
2942
+ currency?: string | undefined;
2943
+ decimals?: number | undefined;
2944
+ logoUri?: string | undefined;
2945
+ name?: string | undefined;
2946
+ symbol?: string | undefined;
2947
+ verified?: boolean | undefined;
2966
2948
  };
2967
- };
2968
- miner: `0x${string}`;
2969
- number: number;
2970
- parentHash: `0x${string}`;
2971
- size: number;
2972
- timestamp: string;
2973
- transactionCount: number;
2949
+ validatorToken: {
2950
+ address: `0x${string}`;
2951
+ currency?: string | undefined;
2952
+ decimals?: number | undefined;
2953
+ logoUri?: string | undefined;
2954
+ name?: string | undefined;
2955
+ symbol?: string | undefined;
2956
+ verified?: boolean | undefined;
2957
+ };
2958
+ }[];
2959
+ meta?: {
2960
+ totalCountCapped: boolean;
2961
+ totalCount: number;
2962
+ } | undefined;
2963
+ nextCursor: string | null;
2974
2964
  };
2975
2965
  outputFormat: "json";
2976
2966
  status: 200;
2977
2967
  input: {
2978
- param: {
2979
- block: string;
2980
- };
2981
- } & {
2982
2968
  query?: {
2983
2969
  chainId?: string | string[];
2970
+ cursor?: string | string[];
2971
+ include?: string | string[];
2972
+ limit?: string | string[];
2973
+ order?: string | string[];
2974
+ page?: string | string[];
2975
+ userToken?: string | string[];
2976
+ validatorToken?: string | string[];
2984
2977
  } | undefined;
2985
2978
  };
2986
2979
  };
2987
2980
  };
2988
2981
  }, "/"> | import("hono/types").MergeSchemaPath<{
2989
- "/v1/fee-amm/pools": {
2982
+ "/v1/blocks": {
2990
2983
  $get: {
2991
2984
  output: null;
2992
2985
  outputFormat: "body";
@@ -2995,8 +2988,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2995
2988
  query?: {
2996
2989
  chainId?: string | string[];
2997
2990
  cursor?: string | string[];
2998
- include?: string | string[];
2999
2991
  limit?: string | string[];
2992
+ order?: string | string[];
3000
2993
  page?: string | string[];
3001
2994
  } | undefined;
3002
2995
  };
@@ -3015,8 +3008,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3015
3008
  query?: {
3016
3009
  chainId?: string | string[];
3017
3010
  cursor?: string | string[];
3018
- include?: string | string[];
3019
3011
  limit?: string | string[];
3012
+ order?: string | string[];
3020
3013
  page?: string | string[];
3021
3014
  } | undefined;
3022
3015
  };
@@ -3035,8 +3028,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3035
3028
  query?: {
3036
3029
  chainId?: string | string[];
3037
3030
  cursor?: string | string[];
3038
- include?: string | string[];
3039
3031
  limit?: string | string[];
3032
+ order?: string | string[];
3040
3033
  page?: string | string[];
3041
3034
  } | undefined;
3042
3035
  };
@@ -3055,8 +3048,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3055
3048
  query?: {
3056
3049
  chainId?: string | string[];
3057
3050
  cursor?: string | string[];
3058
- include?: string | string[];
3059
3051
  limit?: string | string[];
3052
+ order?: string | string[];
3060
3053
  page?: string | string[];
3061
3054
  } | undefined;
3062
3055
  };
@@ -3075,8 +3068,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3075
3068
  query?: {
3076
3069
  chainId?: string | string[];
3077
3070
  cursor?: string | string[];
3078
- include?: string | string[];
3079
3071
  limit?: string | string[];
3072
+ order?: string | string[];
3080
3073
  page?: string | string[];
3081
3074
  } | undefined;
3082
3075
  };
@@ -3095,8 +3088,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3095
3088
  query?: {
3096
3089
  chainId?: string | string[];
3097
3090
  cursor?: string | string[];
3098
- include?: string | string[];
3099
3091
  limit?: string | string[];
3092
+ order?: string | string[];
3100
3093
  page?: string | string[];
3101
3094
  } | undefined;
3102
3095
  };
@@ -3115,41 +3108,19 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3115
3108
  query?: {
3116
3109
  chainId?: string | string[];
3117
3110
  cursor?: string | string[];
3118
- include?: string | string[];
3119
3111
  limit?: string | string[];
3112
+ order?: string | string[];
3120
3113
  page?: string | string[];
3121
3114
  } | undefined;
3122
3115
  };
3123
3116
  } | {
3124
3117
  output: {
3125
3118
  data: {
3126
- createdAt: string;
3119
+ hash: `0x${string}`;
3127
3120
  id: `0x${string}`;
3128
- lastMintAt: string;
3129
- mintCount: number;
3130
- poolId: `0x${string}`;
3131
- userToken: {
3132
- address: `0x${string}`;
3133
- currency?: string | undefined;
3134
- decimals?: number | undefined;
3135
- logoUri?: string | undefined;
3136
- name?: string | undefined;
3137
- symbol?: string | undefined;
3138
- verified?: boolean | undefined;
3139
- amount?: string | undefined;
3140
- formatted?: string | undefined;
3141
- };
3142
- validatorToken: {
3143
- address: `0x${string}`;
3144
- currency?: string | undefined;
3145
- decimals?: number | undefined;
3146
- logoUri?: string | undefined;
3147
- name?: string | undefined;
3148
- symbol?: string | undefined;
3149
- verified?: boolean | undefined;
3150
- amount?: string | undefined;
3151
- formatted?: string | undefined;
3152
- };
3121
+ number: number;
3122
+ timestamp: string;
3123
+ transactionCount: number;
3153
3124
  }[];
3154
3125
  nextCursor: string | null;
3155
3126
  };
@@ -3159,29 +3130,26 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3159
3130
  query?: {
3160
3131
  chainId?: string | string[];
3161
3132
  cursor?: string | string[];
3162
- include?: string | string[];
3163
3133
  limit?: string | string[];
3134
+ order?: string | string[];
3164
3135
  page?: string | string[];
3165
3136
  } | undefined;
3166
3137
  };
3167
3138
  };
3168
3139
  };
3169
3140
  } & {
3170
- "/v1/fee-amm/mints": {
3141
+ "/v1/blocks/:block": {
3171
3142
  $get: {
3172
3143
  output: null;
3173
3144
  outputFormat: "body";
3174
3145
  status: 402;
3175
3146
  input: {
3147
+ param: {
3148
+ block: string;
3149
+ };
3150
+ } & {
3176
3151
  query?: {
3177
3152
  chainId?: string | string[];
3178
- cursor?: string | string[];
3179
- include?: string | string[];
3180
- limit?: string | string[];
3181
- order?: string | string[];
3182
- page?: string | string[];
3183
- userToken?: string | string[];
3184
- validatorToken?: string | string[];
3185
3153
  } | undefined;
3186
3154
  };
3187
3155
  } | {
@@ -3196,15 +3164,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3196
3164
  outputFormat: "json";
3197
3165
  status: 400;
3198
3166
  input: {
3167
+ param: {
3168
+ block: string;
3169
+ };
3170
+ } & {
3199
3171
  query?: {
3200
3172
  chainId?: string | string[];
3201
- cursor?: string | string[];
3202
- include?: string | string[];
3203
- limit?: string | string[];
3204
- order?: string | string[];
3205
- page?: string | string[];
3206
- userToken?: string | string[];
3207
- validatorToken?: string | string[];
3208
3173
  } | undefined;
3209
3174
  };
3210
3175
  } | {
@@ -3219,15 +3184,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3219
3184
  outputFormat: "json";
3220
3185
  status: 401;
3221
3186
  input: {
3187
+ param: {
3188
+ block: string;
3189
+ };
3190
+ } & {
3222
3191
  query?: {
3223
3192
  chainId?: string | string[];
3224
- cursor?: string | string[];
3225
- include?: string | string[];
3226
- limit?: string | string[];
3227
- order?: string | string[];
3228
- page?: string | string[];
3229
- userToken?: string | string[];
3230
- validatorToken?: string | string[];
3231
3193
  } | undefined;
3232
3194
  };
3233
3195
  } | {
@@ -3242,15 +3204,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3242
3204
  outputFormat: "json";
3243
3205
  status: 403;
3244
3206
  input: {
3207
+ param: {
3208
+ block: string;
3209
+ };
3210
+ } & {
3245
3211
  query?: {
3246
3212
  chainId?: string | string[];
3247
- cursor?: string | string[];
3248
- include?: string | string[];
3249
- limit?: string | string[];
3250
- order?: string | string[];
3251
- page?: string | string[];
3252
- userToken?: string | string[];
3253
- validatorToken?: string | string[];
3254
3213
  } | undefined;
3255
3214
  };
3256
3215
  } | {
@@ -3265,15 +3224,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3265
3224
  outputFormat: "json";
3266
3225
  status: 429;
3267
3226
  input: {
3227
+ param: {
3228
+ block: string;
3229
+ };
3230
+ } & {
3268
3231
  query?: {
3269
3232
  chainId?: string | string[];
3270
- cursor?: string | string[];
3271
- include?: string | string[];
3272
- limit?: string | string[];
3273
- order?: string | string[];
3274
- page?: string | string[];
3275
- userToken?: string | string[];
3276
- validatorToken?: string | string[];
3277
3233
  } | undefined;
3278
3234
  };
3279
3235
  } | {
@@ -3288,15 +3244,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3288
3244
  outputFormat: "json";
3289
3245
  status: 400;
3290
3246
  input: {
3247
+ param: {
3248
+ block: string;
3249
+ };
3250
+ } & {
3291
3251
  query?: {
3292
3252
  chainId?: string | string[];
3293
- cursor?: string | string[];
3294
- include?: string | string[];
3295
- limit?: string | string[];
3296
- order?: string | string[];
3297
- page?: string | string[];
3298
- userToken?: string | string[];
3299
- validatorToken?: string | string[];
3300
3253
  } | undefined;
3301
3254
  };
3302
3255
  } | {
@@ -3311,67 +3264,107 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3311
3264
  outputFormat: "json";
3312
3265
  status: 502;
3313
3266
  input: {
3267
+ param: {
3268
+ block: string;
3269
+ };
3270
+ } & {
3314
3271
  query?: {
3315
3272
  chainId?: string | string[];
3316
- cursor?: string | string[];
3317
- include?: string | string[];
3318
- limit?: string | string[];
3319
- order?: string | string[];
3320
- page?: string | string[];
3321
- userToken?: string | string[];
3322
- validatorToken?: string | string[];
3323
3273
  } | undefined;
3324
3274
  };
3325
3275
  } | {
3326
3276
  output: {
3327
- data: {
3328
- amountUserToken?: string | undefined;
3329
- amountValidatorToken: string;
3330
- blockNumber: number;
3331
- id: string;
3332
- liquidity: string;
3333
- logIndex: number;
3334
- minter: `0x${string}`;
3335
- recipient?: `0x${string}` | undefined;
3336
- timestamp: string;
3337
- transactionHash: `0x${string}`;
3338
- userToken: {
3339
- address: `0x${string}`;
3340
- currency?: string | undefined;
3341
- decimals?: number | undefined;
3342
- logoUri?: string | undefined;
3343
- name?: string | undefined;
3344
- symbol?: string | undefined;
3345
- verified?: boolean | undefined;
3346
- };
3347
- validatorToken: {
3348
- address: `0x${string}`;
3349
- currency?: string | undefined;
3350
- decimals?: number | undefined;
3351
- logoUri?: string | undefined;
3352
- name?: string | undefined;
3353
- symbol?: string | undefined;
3354
- verified?: boolean | undefined;
3355
- };
3356
- }[];
3357
- meta?: {
3358
- totalCountCapped: boolean;
3359
- totalCount: number;
3277
+ error: {
3278
+ code: "block_invalid";
3279
+ details?: readonly Response.error.Detail[] | undefined;
3280
+ message: string;
3281
+ };
3282
+ requestId: string;
3283
+ };
3284
+ outputFormat: "json";
3285
+ status: 400;
3286
+ input: {
3287
+ param: {
3288
+ block: string;
3289
+ };
3290
+ } & {
3291
+ query?: {
3292
+ chainId?: string | string[];
3360
3293
  } | undefined;
3361
- nextCursor: string | null;
3294
+ };
3295
+ } | {
3296
+ output: {
3297
+ error: {
3298
+ code: "block_not_found";
3299
+ details?: readonly Response.error.Detail[] | undefined;
3300
+ message: string;
3301
+ };
3302
+ requestId: string;
3303
+ };
3304
+ outputFormat: "json";
3305
+ status: 404;
3306
+ input: {
3307
+ param: {
3308
+ block: string;
3309
+ };
3310
+ } & {
3311
+ query?: {
3312
+ chainId?: string | string[];
3313
+ } | undefined;
3314
+ };
3315
+ } | {
3316
+ output: {
3317
+ baseFeePerGas: string | null;
3318
+ gasLimit: number;
3319
+ gasUsed: number;
3320
+ hash: `0x${string}`;
3321
+ id: `0x${string}`;
3322
+ meta: {
3323
+ rpc: {
3324
+ [x: string]: import("hono/utils/types").JSONValue;
3325
+ baseFeePerGas?: `0x${string}` | null | undefined;
3326
+ difficulty?: `0x${string}` | undefined;
3327
+ extraData?: `0x${string}` | undefined;
3328
+ gasLimit: `0x${string}`;
3329
+ gasUsed: `0x${string}`;
3330
+ hash: `0x${string}` | null;
3331
+ logsBloom?: `0x${string}` | null | undefined;
3332
+ miner: `0x${string}`;
3333
+ mixHash?: `0x${string}` | undefined;
3334
+ nonce?: `0x${string}` | null | undefined;
3335
+ number: `0x${string}` | null;
3336
+ parentHash: `0x${string}`;
3337
+ receiptsRoot: `0x${string}`;
3338
+ sha3Uncles?: `0x${string}` | undefined;
3339
+ size: `0x${string}`;
3340
+ stateRoot: `0x${string}`;
3341
+ timestamp: `0x${string}`;
3342
+ totalDifficulty?: `0x${string}` | undefined;
3343
+ transactions: `0x${string}`[];
3344
+ transactionsRoot: `0x${string}`;
3345
+ uncles?: `0x${string}`[] | undefined;
3346
+ withdrawals?: {
3347
+ [x: string]: import("hono/utils/types").JSONValue;
3348
+ }[] | undefined;
3349
+ withdrawalsRoot?: `0x${string}` | undefined;
3350
+ };
3351
+ };
3352
+ miner: `0x${string}`;
3353
+ number: number;
3354
+ parentHash: `0x${string}`;
3355
+ size: number;
3356
+ timestamp: string;
3357
+ transactionCount: number;
3362
3358
  };
3363
3359
  outputFormat: "json";
3364
3360
  status: 200;
3365
3361
  input: {
3362
+ param: {
3363
+ block: string;
3364
+ };
3365
+ } & {
3366
3366
  query?: {
3367
3367
  chainId?: string | string[];
3368
- cursor?: string | string[];
3369
- include?: string | string[];
3370
- limit?: string | string[];
3371
- order?: string | string[];
3372
- page?: string | string[];
3373
- userToken?: string | string[];
3374
- validatorToken?: string | string[];
3375
3368
  } | undefined;
3376
3369
  };
3377
3370
  };
@@ -4832,6 +4825,413 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
4832
4825
  };
4833
4826
  };
4834
4827
  };
4828
+ }, "/"> | import("hono/types").MergeSchemaPath<{
4829
+ "/v1/funding/routes": {
4830
+ $get: {
4831
+ output: null;
4832
+ outputFormat: "body";
4833
+ status: 402;
4834
+ input: {
4835
+ query: {
4836
+ destinationToken?: string | string[];
4837
+ limit?: string | string[];
4838
+ provider?: string | string[];
4839
+ sourceAmount: string | string[];
4840
+ sourceAmountUnits?: string | string[];
4841
+ sourceChain: string | string[];
4842
+ sourceToken: string | string[];
4843
+ };
4844
+ };
4845
+ } | {
4846
+ output: {
4847
+ error: {
4848
+ code: "api_key_malformed";
4849
+ details?: readonly Response.error.Detail[] | undefined;
4850
+ message: string;
4851
+ };
4852
+ requestId: string;
4853
+ };
4854
+ outputFormat: "json";
4855
+ status: 400;
4856
+ input: {
4857
+ query: {
4858
+ destinationToken?: string | string[];
4859
+ limit?: string | string[];
4860
+ provider?: string | string[];
4861
+ sourceAmount: string | string[];
4862
+ sourceAmountUnits?: string | string[];
4863
+ sourceChain: string | string[];
4864
+ sourceToken: string | string[];
4865
+ };
4866
+ };
4867
+ } | {
4868
+ output: {
4869
+ error: {
4870
+ code: "api_key_invalid" | "api_key_missing";
4871
+ details?: readonly Response.error.Detail[] | undefined;
4872
+ message: string;
4873
+ };
4874
+ requestId: string;
4875
+ };
4876
+ outputFormat: "json";
4877
+ status: 401;
4878
+ input: {
4879
+ query: {
4880
+ destinationToken?: string | string[];
4881
+ limit?: string | string[];
4882
+ provider?: string | string[];
4883
+ sourceAmount: string | string[];
4884
+ sourceAmountUnits?: string | string[];
4885
+ sourceChain: string | string[];
4886
+ sourceToken: string | string[];
4887
+ };
4888
+ };
4889
+ } | {
4890
+ output: {
4891
+ error: {
4892
+ code: "api_key_forbidden";
4893
+ details?: readonly Response.error.Detail[] | undefined;
4894
+ message: string;
4895
+ };
4896
+ requestId: string;
4897
+ };
4898
+ outputFormat: "json";
4899
+ status: 403;
4900
+ input: {
4901
+ query: {
4902
+ destinationToken?: string | string[];
4903
+ limit?: string | string[];
4904
+ provider?: string | string[];
4905
+ sourceAmount: string | string[];
4906
+ sourceAmountUnits?: string | string[];
4907
+ sourceChain: string | string[];
4908
+ sourceToken: string | string[];
4909
+ };
4910
+ };
4911
+ } | {
4912
+ output: {
4913
+ error: {
4914
+ code: "payment_required" | "rate_limit_exceeded";
4915
+ details?: readonly Response.error.Detail[] | undefined;
4916
+ message: string;
4917
+ };
4918
+ requestId: string;
4919
+ };
4920
+ outputFormat: "json";
4921
+ status: 429;
4922
+ input: {
4923
+ query: {
4924
+ destinationToken?: string | string[];
4925
+ limit?: string | string[];
4926
+ provider?: string | string[];
4927
+ sourceAmount: string | string[];
4928
+ sourceAmountUnits?: string | string[];
4929
+ sourceChain: string | string[];
4930
+ sourceToken: string | string[];
4931
+ };
4932
+ };
4933
+ } | {
4934
+ output: {
4935
+ error: {
4936
+ code: "query_invalid";
4937
+ details?: readonly Response.error.Detail[] | undefined;
4938
+ message: string;
4939
+ };
4940
+ requestId: string;
4941
+ };
4942
+ outputFormat: "json";
4943
+ status: 400;
4944
+ input: {
4945
+ query: {
4946
+ destinationToken?: string | string[];
4947
+ limit?: string | string[];
4948
+ provider?: string | string[];
4949
+ sourceAmount: string | string[];
4950
+ sourceAmountUnits?: string | string[];
4951
+ sourceChain: string | string[];
4952
+ sourceToken: string | string[];
4953
+ };
4954
+ };
4955
+ } | {
4956
+ output: {
4957
+ data: {
4958
+ destinationChain: {
4959
+ addressFormat: "evm" | "solana" | "tron";
4960
+ id: string;
4961
+ kind: "evm" | "solana" | "tron";
4962
+ name: string;
4963
+ providerIds?: {
4964
+ [x: string]: string;
4965
+ } | undefined;
4966
+ };
4967
+ destinationToken: {
4968
+ address: string;
4969
+ decimals: number;
4970
+ metadata: {
4971
+ [x: string]: string;
4972
+ };
4973
+ name: string;
4974
+ standard: string;
4975
+ symbol: string;
4976
+ tokenKey: string;
4977
+ verified: boolean;
4978
+ };
4979
+ id: string;
4980
+ provider: {
4981
+ id: string;
4982
+ kind: string;
4983
+ name: string;
4984
+ requiresApiKey: boolean;
4985
+ };
4986
+ quality: {
4987
+ availableVolumeUsd: string | null;
4988
+ estimatedSeconds: number | null;
4989
+ feeBps: number | null;
4990
+ historicalVolumeUsd24h: string | null;
4991
+ instantVolumeUsd: string | null;
4992
+ liquiditySource: string;
4993
+ score: number | null;
4994
+ tier: "error" | "liquid" | "thin" | "unavailable" | "unknown";
4995
+ };
4996
+ sourceAmount: {
4997
+ amount: string;
4998
+ formatted: string;
4999
+ usd: string | null;
5000
+ };
5001
+ sourceChain: {
5002
+ addressFormat: "evm" | "solana" | "tron";
5003
+ id: string;
5004
+ kind: "evm" | "solana" | "tron";
5005
+ name: string;
5006
+ providerIds?: {
5007
+ [x: string]: string;
5008
+ } | undefined;
5009
+ };
5010
+ sourceToken: {
5011
+ address: string;
5012
+ decimals: number;
5013
+ metadata: {
5014
+ [x: string]: string;
5015
+ };
5016
+ name: string;
5017
+ standard: string;
5018
+ symbol: string;
5019
+ tokenKey: string;
5020
+ verified: boolean;
5021
+ };
5022
+ status: "available" | "error" | "thin" | "unavailable" | "unknown";
5023
+ }[];
5024
+ };
5025
+ outputFormat: "json";
5026
+ status: 200;
5027
+ input: {
5028
+ query: {
5029
+ destinationToken?: string | string[];
5030
+ limit?: string | string[];
5031
+ provider?: string | string[];
5032
+ sourceAmount: string | string[];
5033
+ sourceAmountUnits?: string | string[];
5034
+ sourceChain: string | string[];
5035
+ sourceToken: string | string[];
5036
+ };
5037
+ };
5038
+ };
5039
+ };
5040
+ } & {
5041
+ "/v1/funding/chains": {
5042
+ $get: {
5043
+ output: null;
5044
+ outputFormat: "body";
5045
+ status: 402;
5046
+ input: {};
5047
+ } | {
5048
+ output: {
5049
+ error: {
5050
+ code: "api_key_malformed";
5051
+ details?: readonly Response.error.Detail[] | undefined;
5052
+ message: string;
5053
+ };
5054
+ requestId: string;
5055
+ };
5056
+ outputFormat: "json";
5057
+ status: 400;
5058
+ input: {};
5059
+ } | {
5060
+ output: {
5061
+ error: {
5062
+ code: "api_key_invalid" | "api_key_missing";
5063
+ details?: readonly Response.error.Detail[] | undefined;
5064
+ message: string;
5065
+ };
5066
+ requestId: string;
5067
+ };
5068
+ outputFormat: "json";
5069
+ status: 401;
5070
+ input: {};
5071
+ } | {
5072
+ output: {
5073
+ error: {
5074
+ code: "api_key_forbidden";
5075
+ details?: readonly Response.error.Detail[] | undefined;
5076
+ message: string;
5077
+ };
5078
+ requestId: string;
5079
+ };
5080
+ outputFormat: "json";
5081
+ status: 403;
5082
+ input: {};
5083
+ } | {
5084
+ output: {
5085
+ error: {
5086
+ code: "payment_required" | "rate_limit_exceeded";
5087
+ details?: readonly Response.error.Detail[] | undefined;
5088
+ message: string;
5089
+ };
5090
+ requestId: string;
5091
+ };
5092
+ outputFormat: "json";
5093
+ status: 429;
5094
+ input: {};
5095
+ } | {
5096
+ output: {
5097
+ data: {
5098
+ addressFormat: "evm" | "solana" | "tron";
5099
+ id: string;
5100
+ kind: "evm" | "solana" | "tron";
5101
+ name: string;
5102
+ providerIds?: {
5103
+ [x: string]: string;
5104
+ } | undefined;
5105
+ tokens: {
5106
+ address: string;
5107
+ decimals: number;
5108
+ metadata: {
5109
+ [x: string]: string;
5110
+ };
5111
+ name: string;
5112
+ standard: string;
5113
+ symbol: string;
5114
+ tokenKey: string;
5115
+ verified: boolean;
5116
+ }[];
5117
+ }[];
5118
+ };
5119
+ outputFormat: "json";
5120
+ status: 200;
5121
+ input: {};
5122
+ };
5123
+ };
5124
+ } & {
5125
+ "/v1/providers": {
5126
+ $get: {
5127
+ output: null;
5128
+ outputFormat: "body";
5129
+ status: 402;
5130
+ input: {
5131
+ query?: {
5132
+ capability?: string | string[];
5133
+ } | undefined;
5134
+ };
5135
+ } | {
5136
+ output: {
5137
+ error: {
5138
+ code: "api_key_malformed";
5139
+ details?: readonly Response.error.Detail[] | undefined;
5140
+ message: string;
5141
+ };
5142
+ requestId: string;
5143
+ };
5144
+ outputFormat: "json";
5145
+ status: 400;
5146
+ input: {
5147
+ query?: {
5148
+ capability?: string | string[];
5149
+ } | undefined;
5150
+ };
5151
+ } | {
5152
+ output: {
5153
+ error: {
5154
+ code: "api_key_invalid" | "api_key_missing";
5155
+ details?: readonly Response.error.Detail[] | undefined;
5156
+ message: string;
5157
+ };
5158
+ requestId: string;
5159
+ };
5160
+ outputFormat: "json";
5161
+ status: 401;
5162
+ input: {
5163
+ query?: {
5164
+ capability?: string | string[];
5165
+ } | undefined;
5166
+ };
5167
+ } | {
5168
+ output: {
5169
+ error: {
5170
+ code: "api_key_forbidden";
5171
+ details?: readonly Response.error.Detail[] | undefined;
5172
+ message: string;
5173
+ };
5174
+ requestId: string;
5175
+ };
5176
+ outputFormat: "json";
5177
+ status: 403;
5178
+ input: {
5179
+ query?: {
5180
+ capability?: string | string[];
5181
+ } | undefined;
5182
+ };
5183
+ } | {
5184
+ output: {
5185
+ error: {
5186
+ code: "payment_required" | "rate_limit_exceeded";
5187
+ details?: readonly Response.error.Detail[] | undefined;
5188
+ message: string;
5189
+ };
5190
+ requestId: string;
5191
+ };
5192
+ outputFormat: "json";
5193
+ status: 429;
5194
+ input: {
5195
+ query?: {
5196
+ capability?: string | string[];
5197
+ } | undefined;
5198
+ };
5199
+ } | {
5200
+ output: {
5201
+ error: {
5202
+ code: "query_invalid";
5203
+ details?: readonly Response.error.Detail[] | undefined;
5204
+ message: string;
5205
+ };
5206
+ requestId: string;
5207
+ };
5208
+ outputFormat: "json";
5209
+ status: 400;
5210
+ input: {
5211
+ query?: {
5212
+ capability?: string | string[];
5213
+ } | undefined;
5214
+ };
5215
+ } | {
5216
+ output: {
5217
+ data: {
5218
+ capabilities: "fundingRoutes"[];
5219
+ id: string;
5220
+ kind: string;
5221
+ name: string;
5222
+ requiresApiKey: boolean;
5223
+ status: "configured" | "inventoryOnly" | "planned";
5224
+ }[];
5225
+ };
5226
+ outputFormat: "json";
5227
+ status: 200;
5228
+ input: {
5229
+ query?: {
5230
+ capability?: string | string[];
5231
+ } | undefined;
5232
+ };
5233
+ };
5234
+ };
4835
5235
  }, "/"> | import("hono/types").MergeSchemaPath<{
4836
5236
  "/v1/verified-tokens": {
4837
5237
  $get: {