tapimo 0.1.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 (520) hide show
  1. package/README.md +57 -16
  2. package/dist/ApiKey.d.ts +4 -1
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +6 -2
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +98 -3
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +150 -1
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +7917 -2315
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +141 -329
  13. package/dist/App.js.map +1 -1
  14. package/dist/Scope.d.ts +20 -4
  15. package/dist/Scope.d.ts.map +1 -1
  16. package/dist/Scope.js +23 -4
  17. package/dist/Scope.js.map +1 -1
  18. package/dist/Webhooks.d.ts +2 -2
  19. package/dist/Webhooks.d.ts.map +1 -1
  20. package/dist/Webhooks.js +2 -2
  21. package/dist/Webhooks.js.map +1 -1
  22. package/dist/admin/App.d.ts +203 -120
  23. package/dist/admin/App.d.ts.map +1 -1
  24. package/dist/admin/apps/api-keys.d.ts +111 -6
  25. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  26. package/dist/admin/apps/api-keys.js +67 -0
  27. package/dist/admin/apps/api-keys.js.map +1 -1
  28. package/dist/admin/apps/scopes.d.ts +12 -1
  29. package/dist/admin/apps/scopes.d.ts.map +1 -1
  30. package/dist/admin/apps/scopes.js +3 -0
  31. package/dist/admin/apps/scopes.js.map +1 -1
  32. package/dist/admin/apps/verified-tokens.d.ts +116 -116
  33. package/dist/admin/apps/verified-tokens.js +1 -1
  34. package/dist/admin/apps/verified-tokens.js.map +1 -1
  35. package/dist/admin/ui.generated.d.ts +1 -1
  36. package/dist/admin/ui.generated.js +13 -13
  37. package/dist/admin/ui.generated.js.map +1 -1
  38. package/dist/analytics/Analytics.d.ts +151 -0
  39. package/dist/analytics/Analytics.d.ts.map +1 -0
  40. package/dist/analytics/Analytics.js +212 -0
  41. package/dist/analytics/Analytics.js.map +1 -0
  42. package/dist/analytics/tables/requestEvents.d.ts +215 -0
  43. package/dist/analytics/tables/requestEvents.d.ts.map +1 -0
  44. package/dist/analytics/tables/requestEvents.js +264 -0
  45. package/dist/analytics/tables/requestEvents.js.map +1 -0
  46. package/dist/apps/data/App.d.ts +19576 -0
  47. package/dist/apps/data/App.d.ts.map +1 -0
  48. package/dist/apps/data/App.js +272 -0
  49. package/dist/apps/data/App.js.map +1 -0
  50. package/dist/apps/data/index.d.ts +3 -0
  51. package/dist/apps/data/index.d.ts.map +1 -0
  52. package/dist/apps/data/index.js +3 -0
  53. package/dist/apps/data/index.js.map +1 -0
  54. package/dist/apps/{activities.d.ts → data/routes/activities.d.ts} +32 -32
  55. package/dist/apps/{activities.d.ts.map → data/routes/activities.d.ts.map} +1 -1
  56. package/dist/apps/{activities.js → data/routes/activities.js} +13 -13
  57. package/dist/apps/data/routes/activities.js.map +1 -0
  58. package/dist/apps/{addresses.d.ts → data/routes/addresses.d.ts} +22 -22
  59. package/dist/apps/{addresses.d.ts.map → data/routes/addresses.d.ts.map} +1 -1
  60. package/dist/apps/{addresses.js → data/routes/addresses.js} +5 -5
  61. package/dist/apps/data/routes/addresses.js.map +1 -0
  62. package/dist/apps/{balances.d.ts → data/routes/balances.d.ts} +4 -4
  63. package/dist/apps/data/routes/balances.d.ts.map +1 -0
  64. package/dist/apps/{balances.js → data/routes/balances.js} +42 -11
  65. package/dist/apps/data/routes/balances.js.map +1 -0
  66. package/dist/apps/{blocks.d.ts → data/routes/blocks.d.ts} +47 -47
  67. package/dist/apps/data/routes/blocks.d.ts.map +1 -0
  68. package/dist/apps/{blocks.js → data/routes/blocks.js} +13 -13
  69. package/dist/apps/data/routes/blocks.js.map +1 -0
  70. package/dist/apps/{coingecko.d.ts → data/routes/coingecko.d.ts} +8 -8
  71. package/dist/apps/data/routes/coingecko.d.ts.map +1 -0
  72. package/dist/apps/{coingecko.js → data/routes/coingecko.js} +13 -13
  73. package/dist/apps/data/routes/coingecko.js.map +1 -0
  74. package/dist/apps/{exchanges.d.ts → data/routes/exchanges.d.ts} +108 -108
  75. package/dist/apps/data/routes/exchanges.d.ts.map +1 -0
  76. package/dist/apps/{exchanges.js → data/routes/exchanges.js} +19 -19
  77. package/dist/apps/data/routes/exchanges.js.map +1 -0
  78. package/dist/apps/{fee-amm.d.ts → data/routes/fee-amm.d.ts} +39 -39
  79. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -0
  80. package/dist/apps/{fee-amm.js → data/routes/fee-amm.js} +17 -17
  81. package/dist/apps/data/routes/fee-amm.js.map +1 -0
  82. package/dist/apps/data/routes/funding.d.ts +765 -0
  83. package/dist/apps/data/routes/funding.d.ts.map +1 -0
  84. package/dist/apps/data/routes/funding.js +383 -0
  85. package/dist/apps/data/routes/funding.js.map +1 -0
  86. package/dist/apps/{indexer.d.ts → data/routes/indexer.d.ts} +4 -4
  87. package/dist/apps/data/routes/indexer.d.ts.map +1 -0
  88. package/dist/apps/{indexer.js → data/routes/indexer.js} +13 -9
  89. package/dist/apps/data/routes/indexer.js.map +1 -0
  90. package/dist/apps/{receipts.d.ts → data/routes/receipts.d.ts} +49 -49
  91. package/dist/apps/data/routes/receipts.d.ts.map +1 -0
  92. package/dist/apps/{receipts.js → data/routes/receipts.js} +14 -20
  93. package/dist/apps/data/routes/receipts.js.map +1 -0
  94. package/dist/apps/{rpc.d.ts → data/routes/rpc.d.ts} +33 -40
  95. package/dist/apps/data/routes/rpc.d.ts.map +1 -0
  96. package/dist/apps/{rpc.js → data/routes/rpc.js} +35 -7
  97. package/dist/apps/data/routes/rpc.js.map +1 -0
  98. package/dist/apps/{tokenlist.d.ts → data/routes/tokenlist.d.ts} +40 -40
  99. package/dist/apps/data/routes/tokenlist.d.ts.map +1 -0
  100. package/dist/apps/{tokenlist.js → data/routes/tokenlist.js} +8 -8
  101. package/dist/apps/data/routes/tokenlist.js.map +1 -0
  102. package/dist/apps/{tokens.d.ts → data/routes/tokens.d.ts} +468 -468
  103. package/dist/apps/data/routes/tokens.d.ts.map +1 -0
  104. package/dist/apps/{tokens.js → data/routes/tokens.js} +19 -19
  105. package/dist/apps/data/routes/tokens.js.map +1 -0
  106. package/dist/apps/{transactions.d.ts → data/routes/transactions.d.ts} +304 -304
  107. package/dist/apps/data/routes/transactions.d.ts.map +1 -0
  108. package/dist/apps/{transactions.js → data/routes/transactions.js} +13 -13
  109. package/dist/apps/data/routes/transactions.js.map +1 -0
  110. package/dist/apps/{transfers.d.ts → data/routes/transfers.d.ts} +62 -62
  111. package/dist/apps/data/routes/transfers.d.ts.map +1 -0
  112. package/dist/apps/{transfers.js → data/routes/transfers.js} +13 -13
  113. package/dist/apps/data/routes/transfers.js.map +1 -0
  114. package/dist/apps/{verified-tokens.d.ts → data/routes/verified-tokens.d.ts} +6 -6
  115. package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -0
  116. package/dist/apps/{verified-tokens.js → data/routes/verified-tokens.js} +9 -9
  117. package/dist/apps/data/routes/verified-tokens.js.map +1 -0
  118. package/dist/apps/{webhooks.d.ts → data/routes/webhooks.d.ts} +17 -17
  119. package/dist/apps/{webhooks.d.ts.map → data/routes/webhooks.d.ts.map} +1 -1
  120. package/dist/apps/{webhooks.js → data/routes/webhooks.js} +38 -34
  121. package/dist/apps/data/routes/webhooks.js.map +1 -0
  122. package/dist/apps/docs/App.d.ts +29 -0
  123. package/dist/apps/docs/App.d.ts.map +1 -0
  124. package/dist/apps/docs/App.js +54 -0
  125. package/dist/apps/docs/App.js.map +1 -0
  126. package/dist/{internal/OpenApi.fonts.d.ts → apps/docs/fonts.d.ts} +1 -1
  127. package/dist/apps/docs/fonts.d.ts.map +1 -0
  128. package/dist/{internal/OpenApi.fonts.js → apps/docs/fonts.js} +1 -1
  129. package/dist/apps/docs/fonts.js.map +1 -0
  130. package/dist/apps/docs/index.d.ts +2 -0
  131. package/dist/apps/docs/index.d.ts.map +1 -0
  132. package/dist/apps/docs/index.js +2 -0
  133. package/dist/apps/docs/index.js.map +1 -0
  134. package/dist/{internal/OpenApi.logo.d.ts → apps/docs/logo.d.ts} +1 -1
  135. package/dist/apps/docs/logo.d.ts.map +1 -0
  136. package/dist/{internal/OpenApi.logo.js → apps/docs/logo.js} +1 -1
  137. package/dist/apps/docs/logo.js.map +1 -0
  138. package/dist/apps/docs/reference.d.ts +21 -0
  139. package/dist/apps/docs/reference.d.ts.map +1 -0
  140. package/dist/apps/docs/reference.js +112 -0
  141. package/dist/apps/docs/reference.js.map +1 -0
  142. package/dist/apps/index.d.ts +5 -0
  143. package/dist/apps/index.d.ts.map +1 -0
  144. package/dist/apps/index.js +5 -0
  145. package/dist/apps/index.js.map +1 -0
  146. package/dist/apps/mcp.d.ts +76 -0
  147. package/dist/apps/mcp.d.ts.map +1 -0
  148. package/dist/apps/mcp.js +188 -0
  149. package/dist/apps/mcp.js.map +1 -0
  150. package/dist/apps/metadata.d.ts +7 -0
  151. package/dist/apps/metadata.d.ts.map +1 -0
  152. package/dist/apps/metadata.js +15 -0
  153. package/dist/apps/metadata.js.map +1 -0
  154. package/dist/apps/platform/App.d.ts +5262 -0
  155. package/dist/apps/platform/App.d.ts.map +1 -0
  156. package/dist/apps/platform/App.js +84 -0
  157. package/dist/apps/platform/App.js.map +1 -0
  158. package/dist/apps/platform/Billing.d.ts +279 -0
  159. package/dist/apps/platform/Billing.d.ts.map +1 -0
  160. package/dist/apps/platform/Billing.js +477 -0
  161. package/dist/apps/platform/Billing.js.map +1 -0
  162. package/dist/apps/platform/index.d.ts +3 -0
  163. package/dist/apps/platform/index.d.ts.map +1 -0
  164. package/dist/apps/platform/index.js +3 -0
  165. package/dist/apps/platform/index.js.map +1 -0
  166. package/dist/apps/platform/routes/api-keys.d.ts +973 -0
  167. package/dist/apps/platform/routes/api-keys.d.ts.map +1 -0
  168. package/dist/apps/platform/routes/api-keys.js +430 -0
  169. package/dist/apps/platform/routes/api-keys.js.map +1 -0
  170. package/dist/apps/platform/routes/billing.d.ts +1520 -0
  171. package/dist/apps/platform/routes/billing.d.ts.map +1 -0
  172. package/dist/apps/platform/routes/billing.js +795 -0
  173. package/dist/apps/platform/routes/billing.js.map +1 -0
  174. package/dist/apps/platform/routes/invitations.d.ts +851 -0
  175. package/dist/apps/platform/routes/invitations.d.ts.map +1 -0
  176. package/dist/apps/platform/routes/invitations.js +471 -0
  177. package/dist/apps/platform/routes/invitations.js.map +1 -0
  178. package/dist/apps/platform/routes/me.d.ts +95 -0
  179. package/dist/apps/platform/routes/me.d.ts.map +1 -0
  180. package/dist/apps/platform/routes/me.js +81 -0
  181. package/dist/apps/platform/routes/me.js.map +1 -0
  182. package/dist/apps/platform/routes/members.d.ts +554 -0
  183. package/dist/apps/platform/routes/members.d.ts.map +1 -0
  184. package/dist/apps/platform/routes/members.js +251 -0
  185. package/dist/apps/platform/routes/members.js.map +1 -0
  186. package/dist/apps/platform/routes/orgs.d.ts +596 -0
  187. package/dist/apps/platform/routes/orgs.d.ts.map +1 -0
  188. package/dist/apps/platform/routes/orgs.js +276 -0
  189. package/dist/apps/platform/routes/orgs.js.map +1 -0
  190. package/dist/apps/platform/routes/projects.d.ts +740 -0
  191. package/dist/apps/platform/routes/projects.d.ts.map +1 -0
  192. package/dist/apps/platform/routes/projects.js +286 -0
  193. package/dist/apps/platform/routes/projects.js.map +1 -0
  194. package/dist/apps/platform/routes/scopes.d.ts +107 -0
  195. package/dist/apps/platform/routes/scopes.d.ts.map +1 -0
  196. package/dist/apps/platform/routes/scopes.js +66 -0
  197. package/dist/apps/platform/routes/scopes.js.map +1 -0
  198. package/dist/apps/platform/routes/usage.d.ts +588 -0
  199. package/dist/apps/platform/routes/usage.d.ts.map +1 -0
  200. package/dist/apps/platform/routes/usage.js +391 -0
  201. package/dist/apps/platform/routes/usage.js.map +1 -0
  202. package/dist/apps/relay/App.d.ts +44 -0
  203. package/dist/apps/relay/App.d.ts.map +1 -0
  204. package/dist/apps/relay/App.js +211 -0
  205. package/dist/apps/relay/App.js.map +1 -0
  206. package/dist/apps/relay/Sponsorships.d.ts +107 -0
  207. package/dist/apps/relay/Sponsorships.d.ts.map +1 -0
  208. package/dist/apps/relay/Sponsorships.js +194 -0
  209. package/dist/apps/relay/Sponsorships.js.map +1 -0
  210. package/dist/apps/relay/index.d.ts +3 -0
  211. package/dist/apps/relay/index.d.ts.map +1 -0
  212. package/dist/apps/relay/index.js +3 -0
  213. package/dist/apps/relay/index.js.map +1 -0
  214. package/dist/cli/Cli.d.ts +9 -2
  215. package/dist/cli/Cli.d.ts.map +1 -1
  216. package/dist/cli/Cli.js +12 -4
  217. package/dist/cli/Cli.js.map +1 -1
  218. package/dist/cli/commands/admin.d.ts +5 -1
  219. package/dist/cli/commands/admin.d.ts.map +1 -1
  220. package/dist/cli/commands/admin.js +82 -3
  221. package/dist/cli/commands/admin.js.map +1 -1
  222. package/dist/db/Db.d.ts +17 -0
  223. package/dist/db/Db.d.ts.map +1 -1
  224. package/dist/db/Db.js +254 -0
  225. package/dist/db/Db.js.map +1 -1
  226. package/dist/db/Schema.d.ts +159 -0
  227. package/dist/db/Schema.d.ts.map +1 -1
  228. package/dist/db/Schema.js +187 -2
  229. package/dist/db/Schema.js.map +1 -1
  230. package/dist/db/tables/billingSettings.d.ts +55 -0
  231. package/dist/db/tables/billingSettings.d.ts.map +1 -0
  232. package/dist/db/tables/billingSettings.js +70 -0
  233. package/dist/db/tables/billingSettings.js.map +1 -0
  234. package/dist/db/tables/invitations.d.ts +84 -0
  235. package/dist/db/tables/invitations.d.ts.map +1 -0
  236. package/dist/db/tables/invitations.js +165 -0
  237. package/dist/db/tables/invitations.js.map +1 -0
  238. package/dist/db/tables/memberships.d.ts +108 -0
  239. package/dist/db/tables/memberships.d.ts.map +1 -0
  240. package/dist/db/tables/memberships.js +153 -0
  241. package/dist/db/tables/memberships.js.map +1 -0
  242. package/dist/db/tables/organizations.d.ts +48 -0
  243. package/dist/db/tables/organizations.d.ts.map +1 -1
  244. package/dist/db/tables/organizations.js +97 -2
  245. package/dist/db/tables/organizations.js.map +1 -1
  246. package/dist/db/tables/projects.d.ts +65 -0
  247. package/dist/db/tables/projects.d.ts.map +1 -0
  248. package/dist/db/tables/projects.js +75 -0
  249. package/dist/db/tables/projects.js.map +1 -0
  250. package/dist/db/tables/requestUsage.d.ts +121 -0
  251. package/dist/db/tables/requestUsage.d.ts.map +1 -0
  252. package/dist/db/tables/requestUsage.js +150 -0
  253. package/dist/db/tables/requestUsage.js.map +1 -0
  254. package/dist/db/tables/sponsoredTransactions.d.ts +239 -0
  255. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -0
  256. package/dist/db/tables/sponsoredTransactions.js +314 -0
  257. package/dist/db/tables/sponsoredTransactions.js.map +1 -0
  258. package/dist/db/tables/stripeCustomers.d.ts +81 -0
  259. package/dist/db/tables/stripeCustomers.d.ts.map +1 -0
  260. package/dist/db/tables/stripeCustomers.js +120 -0
  261. package/dist/db/tables/stripeCustomers.js.map +1 -0
  262. package/dist/db/tables/users.d.ts +48 -0
  263. package/dist/db/tables/users.d.ts.map +1 -0
  264. package/dist/db/tables/users.js +65 -0
  265. package/dist/db/tables/users.js.map +1 -0
  266. package/dist/handlers/internal/executionError.d.ts.map +1 -1
  267. package/dist/handlers/internal/executionError.js +2 -0
  268. package/dist/handlers/internal/executionError.js.map +1 -1
  269. package/dist/handlers/internal/multisig.d.ts +2 -6
  270. package/dist/handlers/internal/multisig.d.ts.map +1 -1
  271. package/dist/handlers/internal/multisig.js +11 -36
  272. package/dist/handlers/internal/multisig.js.map +1 -1
  273. package/dist/handlers/internal/sponsorship.d.ts +35 -2
  274. package/dist/handlers/internal/sponsorship.d.ts.map +1 -1
  275. package/dist/handlers/internal/sponsorship.js +53 -14
  276. package/dist/handlers/internal/sponsorship.js.map +1 -1
  277. package/dist/handlers/internal/utils.d.ts +10 -3
  278. package/dist/handlers/internal/utils.d.ts.map +1 -1
  279. package/dist/handlers/internal/utils.js +14 -6
  280. package/dist/handlers/internal/utils.js.map +1 -1
  281. package/dist/handlers/relay.d.ts +6 -2
  282. package/dist/handlers/relay.d.ts.map +1 -1
  283. package/dist/handlers/relay.js +16 -2
  284. package/dist/handlers/relay.js.map +1 -1
  285. package/dist/index.d.ts +1 -0
  286. package/dist/index.d.ts.map +1 -1
  287. package/dist/index.js +1 -0
  288. package/dist/index.js.map +1 -1
  289. package/dist/internal/Auth.d.ts +222 -6
  290. package/dist/internal/Auth.d.ts.map +1 -1
  291. package/dist/internal/Auth.js +625 -74
  292. package/dist/internal/Auth.js.map +1 -1
  293. package/dist/internal/Cache.d.ts.map +1 -1
  294. package/dist/internal/Cache.js +4 -1
  295. package/dist/internal/Cache.js.map +1 -1
  296. package/dist/internal/EdgeCache.d.ts +10 -0
  297. package/dist/internal/EdgeCache.d.ts.map +1 -1
  298. package/dist/internal/EdgeCache.js +39 -8
  299. package/dist/internal/EdgeCache.js.map +1 -1
  300. package/dist/internal/Fees.d.ts +27 -0
  301. package/dist/internal/Fees.d.ts.map +1 -0
  302. package/dist/internal/Fees.js +48 -0
  303. package/dist/internal/Fees.js.map +1 -0
  304. package/dist/internal/FundingRoutes.d.ts +183 -0
  305. package/dist/internal/FundingRoutes.d.ts.map +1 -0
  306. package/dist/internal/FundingRoutes.js +490 -0
  307. package/dist/internal/FundingRoutes.js.map +1 -0
  308. package/dist/internal/Id.d.ts +15 -0
  309. package/dist/internal/Id.d.ts.map +1 -0
  310. package/dist/internal/Id.js +22 -0
  311. package/dist/internal/Id.js.map +1 -0
  312. package/dist/internal/Log.d.ts +9 -3
  313. package/dist/internal/Log.d.ts.map +1 -1
  314. package/dist/internal/Log.js +7 -0
  315. package/dist/internal/Log.js.map +1 -1
  316. package/dist/internal/OpenApi.d.ts +10 -20
  317. package/dist/internal/OpenApi.d.ts.map +1 -1
  318. package/dist/internal/OpenApi.js +8 -58
  319. package/dist/internal/OpenApi.js.map +1 -1
  320. package/dist/internal/RateLimit.d.ts +25 -0
  321. package/dist/internal/RateLimit.d.ts.map +1 -1
  322. package/dist/internal/RateLimit.js +51 -0
  323. package/dist/internal/RateLimit.js.map +1 -1
  324. package/dist/internal/Response.d.ts +1 -1
  325. package/dist/internal/Response.d.ts.map +1 -1
  326. package/dist/internal/Schema.d.ts +8 -0
  327. package/dist/internal/Schema.d.ts.map +1 -1
  328. package/dist/internal/Schema.js +7 -0
  329. package/dist/internal/Schema.js.map +1 -1
  330. package/dist/internal/Store.d.ts +7 -1
  331. package/dist/internal/Store.d.ts.map +1 -1
  332. package/dist/internal/Store.js +16 -2
  333. package/dist/internal/Store.js.map +1 -1
  334. package/dist/internal/Viem.d.ts +84 -0
  335. package/dist/internal/Viem.d.ts.map +1 -1
  336. package/dist/internal/Webhooks.d.ts +1 -1
  337. package/dist/internal/Webhooks.d.ts.map +1 -1
  338. package/dist/internal/Webhooks.js +3 -3
  339. package/dist/internal/Webhooks.js.map +1 -1
  340. package/package.json +33 -6
  341. package/src/ApiKey.ts +10 -2
  342. package/src/ApiKeys.test.ts +155 -1
  343. package/src/ApiKeys.ts +203 -1
  344. package/src/App.test.ts +64 -75741
  345. package/src/App.ts +218 -420
  346. package/src/Client.test-d.ts +657 -15
  347. package/src/Scope.ts +26 -4
  348. package/src/Webhooks.ts +2 -2
  349. package/src/admin/apps/api-keys.test.ts +51 -0
  350. package/src/admin/apps/api-keys.ts +84 -0
  351. package/src/admin/apps/scopes.test.ts +11 -1
  352. package/src/admin/apps/scopes.ts +3 -0
  353. package/src/admin/apps/verified-tokens.ts +1 -1
  354. package/src/admin/ui/src/components/Page.tsx +2 -3
  355. package/src/admin/ui/src/routes/__root.tsx +2 -2
  356. package/src/admin/ui/src/routes/api-keys.tsx +2 -2
  357. package/src/admin/ui.generated.ts +13 -13
  358. package/src/analytics/Analytics.test.ts +527 -0
  359. package/src/analytics/Analytics.ts +318 -0
  360. package/src/analytics/tables/requestEvents.ts +523 -0
  361. package/src/apps/composition.test.ts +66 -0
  362. package/src/apps/data/App.test.ts +72 -0
  363. package/src/apps/data/App.ts +330 -0
  364. package/src/apps/data/index.ts +2 -0
  365. package/src/apps/{activities.test.ts → data/routes/activities.test.ts} +3 -3
  366. package/src/apps/{activities.ts → data/routes/activities.ts} +15 -15
  367. package/src/apps/{addresses.ts → data/routes/addresses.ts} +6 -6
  368. package/src/apps/{balances.test.ts → data/routes/balances.test.ts} +2 -2
  369. package/src/apps/{balances.ts → data/routes/balances.ts} +46 -12
  370. package/src/apps/{blocks.test.ts → data/routes/blocks.test.ts} +3 -3
  371. package/src/apps/{blocks.ts → data/routes/blocks.ts} +14 -14
  372. package/src/apps/{coingecko.test.ts → data/routes/coingecko.test.ts} +2 -2
  373. package/src/apps/{coingecko.ts → data/routes/coingecko.ts} +14 -14
  374. package/src/apps/{exchanges.test.ts → data/routes/exchanges.test.ts} +1 -1
  375. package/src/apps/{exchanges.ts → data/routes/exchanges.ts} +20 -20
  376. package/src/apps/{fee-amm.test.ts → data/routes/fee-amm.test.ts} +3 -3
  377. package/src/apps/{fee-amm.ts → data/routes/fee-amm.ts} +18 -18
  378. package/src/apps/data/routes/funding.test.ts +214 -0
  379. package/src/apps/data/routes/funding.ts +584 -0
  380. package/src/apps/{indexer.test.ts → data/routes/indexer.test.ts} +26 -5
  381. package/src/apps/{indexer.ts → data/routes/indexer.ts} +13 -10
  382. package/src/apps/{receipts.test.ts → data/routes/receipts.test.ts} +3 -3
  383. package/src/apps/{receipts.ts → data/routes/receipts.ts} +15 -22
  384. package/src/apps/{rpc.test.ts → data/routes/rpc.test.ts} +122 -7
  385. package/src/apps/{rpc.ts → data/routes/rpc.ts} +38 -8
  386. package/src/apps/{tokenlist.test.ts → data/routes/tokenlist.test.ts} +3 -3
  387. package/src/apps/{tokenlist.ts → data/routes/tokenlist.ts} +9 -9
  388. package/src/apps/{tokens.test.ts → data/routes/tokens.test.ts} +2 -2
  389. package/src/apps/{tokens.ts → data/routes/tokens.ts} +20 -20
  390. package/src/apps/{transactions.test.ts → data/routes/transactions.test.ts} +3 -3
  391. package/src/apps/{transactions.ts → data/routes/transactions.ts} +15 -15
  392. package/src/apps/{transfers.test.ts → data/routes/transfers.test.ts} +2 -2
  393. package/src/apps/{transfers.ts → data/routes/transfers.ts} +15 -15
  394. package/src/apps/{verified-tokens.test.ts → data/routes/verified-tokens.test.ts} +3 -3
  395. package/src/apps/{verified-tokens.ts → data/routes/verified-tokens.ts} +10 -10
  396. package/src/apps/{webhooks.test.ts → data/routes/webhooks.test.ts} +7 -7
  397. package/src/apps/{webhooks.ts → data/routes/webhooks.ts} +50 -43
  398. package/src/apps/docs/App.ts +65 -0
  399. package/src/apps/docs/index.ts +1 -0
  400. package/src/apps/docs/reference.ts +132 -0
  401. package/src/apps/index.ts +4 -0
  402. package/src/apps/mcp.test.ts +206 -0
  403. package/src/apps/mcp.ts +250 -0
  404. package/src/apps/metadata.ts +23 -0
  405. package/src/apps/platform/App.ts +169 -0
  406. package/src/apps/platform/Billing.test.ts +530 -0
  407. package/src/apps/platform/Billing.ts +682 -0
  408. package/src/apps/platform/index.ts +2 -0
  409. package/src/apps/platform/routes/api-keys.test.ts +493 -0
  410. package/src/apps/platform/routes/api-keys.ts +543 -0
  411. package/src/apps/platform/routes/billing.test.ts +1100 -0
  412. package/src/apps/platform/routes/billing.ts +966 -0
  413. package/src/apps/platform/routes/invitations.test.ts +409 -0
  414. package/src/apps/platform/routes/invitations.ts +587 -0
  415. package/src/apps/platform/routes/me.test.ts +351 -0
  416. package/src/apps/platform/routes/me.ts +106 -0
  417. package/src/apps/platform/routes/members.test.ts +195 -0
  418. package/src/apps/platform/routes/members.ts +313 -0
  419. package/src/apps/platform/routes/orgs.test.ts +313 -0
  420. package/src/apps/platform/routes/orgs.ts +365 -0
  421. package/src/apps/platform/routes/projects.test.ts +181 -0
  422. package/src/apps/platform/routes/projects.ts +367 -0
  423. package/src/apps/platform/routes/scopes.test.ts +29 -0
  424. package/src/apps/platform/routes/scopes.ts +85 -0
  425. package/src/apps/platform/routes/usage.test.ts +422 -0
  426. package/src/apps/platform/routes/usage.ts +527 -0
  427. package/src/apps/relay/App.test.ts +933 -0
  428. package/src/apps/relay/App.ts +236 -0
  429. package/src/apps/relay/Sponsorships.test.ts +375 -0
  430. package/src/apps/relay/Sponsorships.ts +306 -0
  431. package/src/apps/relay/index.ts +2 -0
  432. package/src/cli/Cli.test.ts +25 -2
  433. package/src/cli/Cli.ts +18 -3
  434. package/src/cli/commands/admin.test.ts +83 -0
  435. package/src/cli/commands/admin.ts +91 -3
  436. package/src/db/Db.ts +296 -0
  437. package/src/db/Schema.ts +241 -2
  438. package/src/db/tables/billingSettings.test.ts +87 -0
  439. package/src/db/tables/billingSettings.ts +108 -0
  440. package/src/db/tables/invitations.ts +198 -0
  441. package/src/db/tables/memberships.ts +208 -0
  442. package/src/db/tables/organizations.test.ts +38 -2
  443. package/src/db/tables/organizations.ts +117 -2
  444. package/src/db/tables/projects.ts +107 -0
  445. package/src/db/tables/requestUsage.ts +231 -0
  446. package/src/db/tables/sponsoredTransactions.test.ts +325 -0
  447. package/src/db/tables/sponsoredTransactions.ts +464 -0
  448. package/src/db/tables/stripeCustomers.test.ts +109 -0
  449. package/src/db/tables/stripeCustomers.ts +162 -0
  450. package/src/db/tables/users.ts +85 -0
  451. package/src/handlers/internal/executionError.ts +2 -0
  452. package/src/handlers/internal/multisig.test.ts +84 -10
  453. package/src/handlers/internal/multisig.ts +15 -50
  454. package/src/handlers/internal/sponsorship.ts +106 -20
  455. package/src/handlers/internal/utils.ts +19 -7
  456. package/src/handlers/{internal/relay.localnet.test.ts → relay.test.ts} +2 -2
  457. package/src/handlers/relay.ts +23 -5
  458. package/src/index.ts +1 -0
  459. package/src/internal/Auth.test.ts +491 -25
  460. package/src/internal/Auth.ts +839 -84
  461. package/src/internal/Cache.ts +5 -1
  462. package/src/internal/Cursor.test.ts +3 -2
  463. package/src/internal/EdgeCache.test.ts +27 -4
  464. package/src/internal/EdgeCache.ts +47 -9
  465. package/src/internal/Fees.test.ts +32 -0
  466. package/src/internal/Fees.ts +51 -0
  467. package/src/internal/FundingRoutes.ts +583 -0
  468. package/src/internal/Id.test.ts +17 -0
  469. package/src/internal/Id.ts +24 -0
  470. package/src/internal/Log.test.ts +2 -1
  471. package/src/internal/Log.ts +16 -3
  472. package/src/internal/MetricSink.ts +1 -1
  473. package/src/internal/OpenApi.ts +12 -60
  474. package/src/internal/RateLimit.test.ts +84 -0
  475. package/src/internal/RateLimit.ts +70 -0
  476. package/src/internal/Response.ts +1 -1
  477. package/src/internal/Schema.ts +8 -0
  478. package/src/internal/Store.test.ts +52 -0
  479. package/src/internal/Store.ts +24 -5
  480. package/src/internal/Tidx.local.test.ts +1 -1
  481. package/src/internal/VerifiedTokens.test.ts +1 -1
  482. package/src/internal/WebhookDestination.test.ts +1 -1
  483. package/src/internal/Webhooks.test.ts +7 -7
  484. package/src/internal/Webhooks.ts +4 -4
  485. package/dist/apps/activities.js.map +0 -1
  486. package/dist/apps/addresses.js.map +0 -1
  487. package/dist/apps/balances.d.ts.map +0 -1
  488. package/dist/apps/balances.js.map +0 -1
  489. package/dist/apps/blocks.d.ts.map +0 -1
  490. package/dist/apps/blocks.js.map +0 -1
  491. package/dist/apps/coingecko.d.ts.map +0 -1
  492. package/dist/apps/coingecko.js.map +0 -1
  493. package/dist/apps/exchanges.d.ts.map +0 -1
  494. package/dist/apps/exchanges.js.map +0 -1
  495. package/dist/apps/fee-amm.d.ts.map +0 -1
  496. package/dist/apps/fee-amm.js.map +0 -1
  497. package/dist/apps/indexer.d.ts.map +0 -1
  498. package/dist/apps/indexer.js.map +0 -1
  499. package/dist/apps/receipts.d.ts.map +0 -1
  500. package/dist/apps/receipts.js.map +0 -1
  501. package/dist/apps/rpc.d.ts.map +0 -1
  502. package/dist/apps/rpc.js.map +0 -1
  503. package/dist/apps/tokenlist.d.ts.map +0 -1
  504. package/dist/apps/tokenlist.js.map +0 -1
  505. package/dist/apps/tokens.d.ts.map +0 -1
  506. package/dist/apps/tokens.js.map +0 -1
  507. package/dist/apps/transactions.d.ts.map +0 -1
  508. package/dist/apps/transactions.js.map +0 -1
  509. package/dist/apps/transfers.d.ts.map +0 -1
  510. package/dist/apps/transfers.js.map +0 -1
  511. package/dist/apps/verified-tokens.d.ts.map +0 -1
  512. package/dist/apps/verified-tokens.js.map +0 -1
  513. package/dist/apps/webhooks.js.map +0 -1
  514. package/dist/internal/OpenApi.fonts.d.ts.map +0 -1
  515. package/dist/internal/OpenApi.fonts.js.map +0 -1
  516. package/dist/internal/OpenApi.logo.d.ts.map +0 -1
  517. package/dist/internal/OpenApi.logo.js.map +0 -1
  518. package/src/handlers/internal/multisig.localnet.test.ts +0 -146
  519. /package/src/{internal/OpenApi.fonts.ts → apps/docs/fonts.ts} +0 -0
  520. /package/src/{internal/OpenApi.logo.ts → apps/docs/logo.ts} +0 -0
@@ -1,9 +1,9 @@
1
1
  import { type Context } from 'hono';
2
2
  import * as z from 'zod/mini';
3
- import type * as App from '../App.js';
4
- import * as Response from '../internal/Response.js';
5
- import * as Schema from '../internal/Schema.js';
6
- import * as VerifiedTokens from '../internal/VerifiedTokens.js';
3
+ import type * as App from '../../../App.js';
4
+ import * as Response from '../../../internal/Response.js';
5
+ import * as Schema from '../../../internal/Schema.js';
6
+ import * as VerifiedTokens from '../../../internal/VerifiedTokens.js';
7
7
  /** Zod schemas owned by the token handlers. */
8
8
  export declare namespace schema {
9
9
  /** Schemas for the getToken operation. */
@@ -534,33 +534,11 @@ export declare namespace schema {
534
534
  }
535
535
  /** Creates token handlers. */
536
536
  export declare function tokens(): import("hono/hono-base").HonoBase<App.Environment, {
537
- "/": {
537
+ "/v1/tokens": {
538
538
  $get: {
539
- output: {
540
- data: {
541
- address: `0x${string}`;
542
- admin?: `0x${string}` | undefined;
543
- currency: string;
544
- createdAt?: string | undefined;
545
- decimals: number;
546
- holderCount?: number | undefined;
547
- id: string;
548
- logoUri?: string | undefined;
549
- name: string;
550
- quoteToken?: `0x${string}` | undefined;
551
- symbol: string;
552
- totalSupply?: string | undefined;
553
- transferStats?: {
554
- count: number;
555
- firstAt: string | null;
556
- lastAt: string | null;
557
- } | undefined;
558
- verified: boolean;
559
- }[];
560
- nextCursor: string | null;
561
- };
562
- outputFormat: "json";
563
- status: 200;
539
+ output: null;
540
+ outputFormat: "body";
541
+ status: 402;
564
542
  input: {
565
543
  query?: {
566
544
  addresses?: string | string[];
@@ -601,14 +579,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
601
579
  } | {
602
580
  output: {
603
581
  error: {
604
- code: "query_invalid";
582
+ code: "api_key_invalid" | "api_key_missing";
605
583
  details?: readonly Response.error.Detail[] | undefined;
606
584
  message: string;
607
585
  };
608
586
  requestId: string;
609
587
  };
610
588
  outputFormat: "json";
611
- status: 400;
589
+ status: 401;
612
590
  input: {
613
591
  query?: {
614
592
  addresses?: string | string[];
@@ -625,14 +603,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
625
603
  } | {
626
604
  output: {
627
605
  error: {
628
- code: "api_key_invalid" | "api_key_missing";
606
+ code: "api_key_forbidden";
629
607
  details?: readonly Response.error.Detail[] | undefined;
630
608
  message: string;
631
609
  };
632
610
  requestId: string;
633
611
  };
634
612
  outputFormat: "json";
635
- status: 401;
613
+ status: 403;
636
614
  input: {
637
615
  query?: {
638
616
  addresses?: string | string[];
@@ -647,9 +625,16 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
647
625
  } | undefined;
648
626
  };
649
627
  } | {
650
- output: null;
651
- outputFormat: "body";
652
- status: 402;
628
+ output: {
629
+ error: {
630
+ code: "payment_required" | "rate_limit_exceeded";
631
+ details?: readonly Response.error.Detail[] | undefined;
632
+ message: string;
633
+ };
634
+ requestId: string;
635
+ };
636
+ outputFormat: "json";
637
+ status: 429;
653
638
  input: {
654
639
  query?: {
655
640
  addresses?: string | string[];
@@ -666,14 +651,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
666
651
  } | {
667
652
  output: {
668
653
  error: {
669
- code: "api_key_forbidden";
654
+ code: "query_invalid";
670
655
  details?: readonly Response.error.Detail[] | undefined;
671
656
  message: string;
672
657
  };
673
658
  requestId: string;
674
659
  };
675
660
  outputFormat: "json";
676
- status: 403;
661
+ status: 400;
677
662
  input: {
678
663
  query?: {
679
664
  addresses?: string | string[];
@@ -689,15 +674,30 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
689
674
  };
690
675
  } | {
691
676
  output: {
692
- error: {
693
- code: "payment_required" | "rate_limit_exceeded";
694
- details?: readonly Response.error.Detail[] | undefined;
695
- message: string;
696
- };
697
- requestId: string;
677
+ data: {
678
+ address: `0x${string}`;
679
+ admin?: `0x${string}` | undefined;
680
+ currency: string;
681
+ createdAt?: string | undefined;
682
+ decimals: number;
683
+ holderCount?: number | undefined;
684
+ id: string;
685
+ logoUri?: string | undefined;
686
+ name: string;
687
+ quoteToken?: `0x${string}` | undefined;
688
+ symbol: string;
689
+ totalSupply?: string | undefined;
690
+ transferStats?: {
691
+ count: number;
692
+ firstAt: string | null;
693
+ lastAt: string | null;
694
+ } | undefined;
695
+ verified: boolean;
696
+ }[];
697
+ nextCursor: string | null;
698
698
  };
699
699
  outputFormat: "json";
700
- status: 429;
700
+ status: 200;
701
701
  input: {
702
702
  query?: {
703
703
  addresses?: string | string[];
@@ -738,30 +738,11 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
738
738
  };
739
739
  };
740
740
  } & {
741
- "/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
741
+ "/v1/tokens/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
742
742
  $get: {
743
- output: {
744
- address: `0x${string}`;
745
- admin?: `0x${string}` | undefined;
746
- currency: string;
747
- createdAt?: string | undefined;
748
- decimals: number;
749
- holderCount?: number | undefined;
750
- id: string;
751
- logoUri?: string | undefined;
752
- name: string;
753
- quoteToken?: `0x${string}` | undefined;
754
- symbol: string;
755
- totalSupply?: string | undefined;
756
- transferStats?: {
757
- count: number;
758
- firstAt: string | null;
759
- lastAt: string | null;
760
- } | undefined;
761
- verified: boolean;
762
- };
763
- outputFormat: "json";
764
- status: 200;
743
+ output: null;
744
+ outputFormat: "body";
745
+ status: 402;
765
746
  input: {
766
747
  param: {
767
748
  symbol: string;
@@ -796,14 +777,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
796
777
  } | {
797
778
  output: {
798
779
  error: {
799
- code: "query_invalid";
780
+ code: "api_key_invalid" | "api_key_missing";
800
781
  details?: readonly Response.error.Detail[] | undefined;
801
782
  message: string;
802
783
  };
803
784
  requestId: string;
804
785
  };
805
786
  outputFormat: "json";
806
- status: 400;
787
+ status: 401;
807
788
  input: {
808
789
  param: {
809
790
  symbol: string;
@@ -817,14 +798,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
817
798
  } | {
818
799
  output: {
819
800
  error: {
820
- code: "symbol_invalid";
801
+ code: "api_key_forbidden";
821
802
  details?: readonly Response.error.Detail[] | undefined;
822
803
  message: string;
823
804
  };
824
805
  requestId: string;
825
806
  };
826
807
  outputFormat: "json";
827
- status: 400;
808
+ status: 403;
828
809
  input: {
829
810
  param: {
830
811
  symbol: string;
@@ -838,28 +819,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
838
819
  } | {
839
820
  output: {
840
821
  error: {
841
- code: "api_key_invalid" | "api_key_missing";
822
+ code: "payment_required" | "rate_limit_exceeded";
842
823
  details?: readonly Response.error.Detail[] | undefined;
843
824
  message: string;
844
825
  };
845
826
  requestId: string;
846
827
  };
847
828
  outputFormat: "json";
848
- status: 401;
849
- input: {
850
- param: {
851
- symbol: string;
852
- };
853
- } & {
854
- query?: {
855
- chainId?: string | string[];
856
- include?: string | string[];
857
- } | undefined;
858
- };
859
- } | {
860
- output: null;
861
- outputFormat: "body";
862
- status: 402;
829
+ status: 429;
863
830
  input: {
864
831
  param: {
865
832
  symbol: string;
@@ -873,14 +840,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
873
840
  } | {
874
841
  output: {
875
842
  error: {
876
- code: "api_key_forbidden";
843
+ code: "query_invalid";
877
844
  details?: readonly Response.error.Detail[] | undefined;
878
845
  message: string;
879
846
  };
880
847
  requestId: string;
881
848
  };
882
849
  outputFormat: "json";
883
- status: 403;
850
+ status: 400;
884
851
  input: {
885
852
  param: {
886
853
  symbol: string;
@@ -894,14 +861,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
894
861
  } | {
895
862
  output: {
896
863
  error: {
897
- code: "token_not_found";
864
+ code: "upstream_error";
898
865
  details?: readonly Response.error.Detail[] | undefined;
899
866
  message: string;
900
867
  };
901
868
  requestId: string;
902
869
  };
903
870
  outputFormat: "json";
904
- status: 404;
871
+ status: 502;
905
872
  input: {
906
873
  param: {
907
874
  symbol: string;
@@ -915,14 +882,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
915
882
  } | {
916
883
  output: {
917
884
  error: {
918
- code: "payment_required" | "rate_limit_exceeded";
885
+ code: "symbol_invalid";
919
886
  details?: readonly Response.error.Detail[] | undefined;
920
887
  message: string;
921
888
  };
922
889
  requestId: string;
923
890
  };
924
891
  outputFormat: "json";
925
- status: 429;
892
+ status: 400;
926
893
  input: {
927
894
  param: {
928
895
  symbol: string;
@@ -934,31 +901,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
934
901
  } | undefined;
935
902
  };
936
903
  } | {
937
- output: {
938
- error: {
939
- code: "upstream_error";
940
- details?: readonly Response.error.Detail[] | undefined;
941
- message: string;
942
- };
943
- requestId: string;
944
- };
945
- outputFormat: "json";
946
- status: 502;
947
- input: {
948
- param: {
949
- symbol: string;
950
- };
951
- } & {
952
- query?: {
953
- chainId?: string | string[];
954
- include?: string | string[];
955
- } | undefined;
956
- };
957
- };
958
- };
959
- } & {
960
- "/:token": {
961
- $get: {
962
904
  output: {
963
905
  address: `0x${string}`;
964
906
  admin?: `0x${string}` | undefined;
@@ -983,7 +925,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
983
925
  status: 200;
984
926
  input: {
985
927
  param: {
986
- token: `0x${string}`;
928
+ symbol: string;
987
929
  };
988
930
  } & {
989
931
  query?: {
@@ -994,17 +936,17 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
994
936
  } | {
995
937
  output: {
996
938
  error: {
997
- code: "api_key_malformed";
939
+ code: "token_not_found";
998
940
  details?: readonly Response.error.Detail[] | undefined;
999
941
  message: string;
1000
942
  };
1001
943
  requestId: string;
1002
944
  };
1003
945
  outputFormat: "json";
1004
- status: 400;
946
+ status: 404;
1005
947
  input: {
1006
948
  param: {
1007
- token: `0x${string}`;
949
+ symbol: string;
1008
950
  };
1009
951
  } & {
1010
952
  query?: {
@@ -1012,17 +954,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1012
954
  include?: string | string[];
1013
955
  } | undefined;
1014
956
  };
1015
- } | {
1016
- output: {
1017
- error: {
1018
- code: "query_invalid";
1019
- details?: readonly Response.error.Detail[] | undefined;
1020
- message: string;
1021
- };
1022
- requestId: string;
1023
- };
1024
- outputFormat: "json";
1025
- status: 400;
957
+ };
958
+ };
959
+ } & {
960
+ "/v1/tokens/:token": {
961
+ $get: {
962
+ output: null;
963
+ outputFormat: "body";
964
+ status: 402;
1026
965
  input: {
1027
966
  param: {
1028
967
  token: `0x${string}`;
@@ -1036,7 +975,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1036
975
  } | {
1037
976
  output: {
1038
977
  error: {
1039
- code: "token_invalid";
978
+ code: "api_key_malformed";
1040
979
  details?: readonly Response.error.Detail[] | undefined;
1041
980
  message: string;
1042
981
  };
@@ -1075,20 +1014,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1075
1014
  include?: string | string[];
1076
1015
  } | undefined;
1077
1016
  };
1078
- } | {
1079
- output: null;
1080
- outputFormat: "body";
1081
- status: 402;
1082
- input: {
1083
- param: {
1084
- token: `0x${string}`;
1085
- };
1086
- } & {
1087
- query?: {
1088
- chainId?: string | string[];
1089
- include?: string | string[];
1090
- } | undefined;
1091
- };
1092
1017
  } | {
1093
1018
  output: {
1094
1019
  error: {
@@ -1113,14 +1038,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1113
1038
  } | {
1114
1039
  output: {
1115
1040
  error: {
1116
- code: "token_not_found";
1041
+ code: "payment_required" | "rate_limit_exceeded";
1117
1042
  details?: readonly Response.error.Detail[] | undefined;
1118
1043
  message: string;
1119
1044
  };
1120
1045
  requestId: string;
1121
1046
  };
1122
1047
  outputFormat: "json";
1123
- status: 404;
1048
+ status: 429;
1124
1049
  input: {
1125
1050
  param: {
1126
1051
  token: `0x${string}`;
@@ -1134,14 +1059,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1134
1059
  } | {
1135
1060
  output: {
1136
1061
  error: {
1137
- code: "payment_required" | "rate_limit_exceeded";
1062
+ code: "query_invalid";
1138
1063
  details?: readonly Response.error.Detail[] | undefined;
1139
1064
  message: string;
1140
1065
  };
1141
1066
  requestId: string;
1142
1067
  };
1143
1068
  outputFormat: "json";
1144
- status: 429;
1069
+ status: 400;
1145
1070
  input: {
1146
1071
  param: {
1147
1072
  token: `0x${string}`;
@@ -1173,13 +1098,28 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1173
1098
  include?: string | string[];
1174
1099
  } | undefined;
1175
1100
  };
1176
- };
1177
- };
1178
- } & {
1179
- "/:token/logo": {
1180
- $get: {
1181
- output: ArrayBuffer;
1182
- outputFormat: "body";
1101
+ } | {
1102
+ output: {
1103
+ address: `0x${string}`;
1104
+ admin?: `0x${string}` | undefined;
1105
+ currency: string;
1106
+ createdAt?: string | undefined;
1107
+ decimals: number;
1108
+ holderCount?: number | undefined;
1109
+ id: string;
1110
+ logoUri?: string | undefined;
1111
+ name: string;
1112
+ quoteToken?: `0x${string}` | undefined;
1113
+ symbol: string;
1114
+ totalSupply?: string | undefined;
1115
+ transferStats?: {
1116
+ count: number;
1117
+ firstAt: string | null;
1118
+ lastAt: string | null;
1119
+ } | undefined;
1120
+ verified: boolean;
1121
+ };
1122
+ outputFormat: "json";
1183
1123
  status: 200;
1184
1124
  input: {
1185
1125
  param: {
@@ -1188,19 +1128,20 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1188
1128
  } & {
1189
1129
  query?: {
1190
1130
  chainId?: string | string[];
1131
+ include?: string | string[];
1191
1132
  } | undefined;
1192
1133
  };
1193
1134
  } | {
1194
1135
  output: {
1195
1136
  error: {
1196
- code: "api_key_malformed";
1137
+ code: "token_not_found";
1197
1138
  details?: readonly Response.error.Detail[] | undefined;
1198
1139
  message: string;
1199
1140
  };
1200
1141
  requestId: string;
1201
1142
  };
1202
1143
  outputFormat: "json";
1203
- status: 400;
1144
+ status: 404;
1204
1145
  input: {
1205
1146
  param: {
1206
1147
  token: `0x${string}`;
@@ -1208,12 +1149,13 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1208
1149
  } & {
1209
1150
  query?: {
1210
1151
  chainId?: string | string[];
1152
+ include?: string | string[];
1211
1153
  } | undefined;
1212
1154
  };
1213
1155
  } | {
1214
1156
  output: {
1215
1157
  error: {
1216
- code: "query_invalid";
1158
+ code: "token_invalid";
1217
1159
  details?: readonly Response.error.Detail[] | undefined;
1218
1160
  message: string;
1219
1161
  };
@@ -1221,6 +1163,37 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1221
1163
  };
1222
1164
  outputFormat: "json";
1223
1165
  status: 400;
1166
+ input: {
1167
+ param: {
1168
+ token: `0x${string}`;
1169
+ };
1170
+ } & {
1171
+ query?: {
1172
+ chainId?: string | string[];
1173
+ include?: string | string[];
1174
+ } | undefined;
1175
+ };
1176
+ };
1177
+ };
1178
+ } & {
1179
+ "/v1/tokens/:token/logo": {
1180
+ $get: {
1181
+ output: null;
1182
+ outputFormat: "body";
1183
+ status: 402;
1184
+ input: {
1185
+ param: {
1186
+ token: `0x${string}`;
1187
+ };
1188
+ } & {
1189
+ query?: {
1190
+ chainId?: string | string[];
1191
+ } | undefined;
1192
+ };
1193
+ } | {
1194
+ output: ArrayBuffer;
1195
+ outputFormat: "body";
1196
+ status: 200;
1224
1197
  input: {
1225
1198
  param: {
1226
1199
  token: `0x${string}`;
@@ -1233,7 +1206,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1233
1206
  } | {
1234
1207
  output: {
1235
1208
  error: {
1236
- code: "token_invalid";
1209
+ code: "api_key_malformed";
1237
1210
  details?: readonly Response.error.Detail[] | undefined;
1238
1211
  message: string;
1239
1212
  };
@@ -1271,9 +1244,16 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1271
1244
  } | undefined;
1272
1245
  };
1273
1246
  } | {
1274
- output: null;
1275
- outputFormat: "body";
1276
- status: 402;
1247
+ output: {
1248
+ error: {
1249
+ code: "api_key_forbidden";
1250
+ details?: readonly Response.error.Detail[] | undefined;
1251
+ message: string;
1252
+ };
1253
+ requestId: string;
1254
+ };
1255
+ outputFormat: "json";
1256
+ status: 403;
1277
1257
  input: {
1278
1258
  param: {
1279
1259
  token: `0x${string}`;
@@ -1286,14 +1266,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1286
1266
  } | {
1287
1267
  output: {
1288
1268
  error: {
1289
- code: "api_key_forbidden";
1269
+ code: "payment_required" | "rate_limit_exceeded";
1290
1270
  details?: readonly Response.error.Detail[] | undefined;
1291
1271
  message: string;
1292
1272
  };
1293
1273
  requestId: string;
1294
1274
  };
1295
1275
  outputFormat: "json";
1296
- status: 403;
1276
+ status: 429;
1297
1277
  input: {
1298
1278
  param: {
1299
1279
  token: `0x${string}`;
@@ -1306,14 +1286,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1306
1286
  } | {
1307
1287
  output: {
1308
1288
  error: {
1309
- code: "token_logo_not_found";
1289
+ code: "query_invalid";
1310
1290
  details?: readonly Response.error.Detail[] | undefined;
1311
1291
  message: string;
1312
1292
  };
1313
1293
  requestId: string;
1314
1294
  };
1315
1295
  outputFormat: "json";
1316
- status: 404;
1296
+ status: 400;
1317
1297
  input: {
1318
1298
  param: {
1319
1299
  token: `0x${string}`;
@@ -1326,14 +1306,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1326
1306
  } | {
1327
1307
  output: {
1328
1308
  error: {
1329
- code: "payment_required" | "rate_limit_exceeded";
1309
+ code: "upstream_error";
1330
1310
  details?: readonly Response.error.Detail[] | undefined;
1331
1311
  message: string;
1332
1312
  };
1333
1313
  requestId: string;
1334
1314
  };
1335
1315
  outputFormat: "json";
1336
- status: 429;
1316
+ status: 502;
1337
1317
  input: {
1338
1318
  param: {
1339
1319
  token: `0x${string}`;
@@ -1346,14 +1326,34 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1346
1326
  } | {
1347
1327
  output: {
1348
1328
  error: {
1349
- code: "upstream_error";
1329
+ code: "token_invalid";
1350
1330
  details?: readonly Response.error.Detail[] | undefined;
1351
1331
  message: string;
1352
1332
  };
1353
1333
  requestId: string;
1354
1334
  };
1355
1335
  outputFormat: "json";
1356
- status: 502;
1336
+ status: 400;
1337
+ input: {
1338
+ param: {
1339
+ token: `0x${string}`;
1340
+ };
1341
+ } & {
1342
+ query?: {
1343
+ chainId?: string | string[];
1344
+ } | undefined;
1345
+ };
1346
+ } | {
1347
+ output: {
1348
+ error: {
1349
+ code: "token_logo_not_found";
1350
+ details?: readonly Response.error.Detail[] | undefined;
1351
+ message: string;
1352
+ };
1353
+ requestId: string;
1354
+ };
1355
+ outputFormat: "json";
1356
+ status: 404;
1357
1357
  input: {
1358
1358
  param: {
1359
1359
  token: `0x${string}`;
@@ -1366,32 +1366,35 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1366
1366
  };
1367
1367
  };
1368
1368
  } & {
1369
- "/:token/holders": {
1369
+ "/v1/tokens/:token/holders": {
1370
1370
  $get: {
1371
- output: {
1372
- data: {
1373
- address: `0x${string}`;
1374
- balance: string;
1375
- id: string;
1376
- }[];
1377
- meta?: {
1378
- totalCountCapped?: boolean | undefined;
1379
- token?: {
1380
- address: `0x${string}`;
1381
- currency: string;
1382
- decimals: number;
1383
- id: string;
1384
- logoUri?: string | undefined;
1385
- name: string;
1386
- symbol: string;
1387
- verified: boolean;
1388
- } | undefined;
1389
- totalCount?: number | undefined;
1371
+ output: null;
1372
+ outputFormat: "body";
1373
+ status: 402;
1374
+ input: {
1375
+ param: {
1376
+ token: `0x${string}`;
1377
+ };
1378
+ } & {
1379
+ query?: {
1380
+ chainId?: string | string[];
1381
+ cursor?: string | string[];
1382
+ include?: string | string[];
1383
+ limit?: string | string[];
1384
+ page?: string | string[];
1390
1385
  } | undefined;
1391
- nextCursor: string | null;
1386
+ };
1387
+ } | {
1388
+ output: {
1389
+ error: {
1390
+ code: "api_key_malformed";
1391
+ details?: readonly Response.error.Detail[] | undefined;
1392
+ message: string;
1393
+ };
1394
+ requestId: string;
1392
1395
  };
1393
1396
  outputFormat: "json";
1394
- status: 200;
1397
+ status: 400;
1395
1398
  input: {
1396
1399
  param: {
1397
1400
  token: `0x${string}`;
@@ -1408,14 +1411,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1408
1411
  } | {
1409
1412
  output: {
1410
1413
  error: {
1411
- code: "api_key_malformed";
1414
+ code: "api_key_invalid" | "api_key_missing";
1412
1415
  details?: readonly Response.error.Detail[] | undefined;
1413
1416
  message: string;
1414
1417
  };
1415
1418
  requestId: string;
1416
1419
  };
1417
1420
  outputFormat: "json";
1418
- status: 400;
1421
+ status: 401;
1419
1422
  input: {
1420
1423
  param: {
1421
1424
  token: `0x${string}`;
@@ -1432,14 +1435,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1432
1435
  } | {
1433
1436
  output: {
1434
1437
  error: {
1435
- code: "query_invalid";
1438
+ code: "api_key_forbidden";
1436
1439
  details?: readonly Response.error.Detail[] | undefined;
1437
1440
  message: string;
1438
1441
  };
1439
1442
  requestId: string;
1440
1443
  };
1441
1444
  outputFormat: "json";
1442
- status: 400;
1445
+ status: 403;
1443
1446
  input: {
1444
1447
  param: {
1445
1448
  token: `0x${string}`;
@@ -1456,14 +1459,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1456
1459
  } | {
1457
1460
  output: {
1458
1461
  error: {
1459
- code: "token_invalid";
1462
+ code: "payment_required" | "rate_limit_exceeded";
1460
1463
  details?: readonly Response.error.Detail[] | undefined;
1461
1464
  message: string;
1462
1465
  };
1463
1466
  requestId: string;
1464
1467
  };
1465
1468
  outputFormat: "json";
1466
- status: 400;
1469
+ status: 429;
1467
1470
  input: {
1468
1471
  param: {
1469
1472
  token: `0x${string}`;
@@ -1480,14 +1483,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1480
1483
  } | {
1481
1484
  output: {
1482
1485
  error: {
1483
- code: "api_key_invalid" | "api_key_missing";
1486
+ code: "query_invalid";
1484
1487
  details?: readonly Response.error.Detail[] | undefined;
1485
1488
  message: string;
1486
1489
  };
1487
1490
  requestId: string;
1488
1491
  };
1489
1492
  outputFormat: "json";
1490
- status: 401;
1493
+ status: 400;
1491
1494
  input: {
1492
1495
  param: {
1493
1496
  token: `0x${string}`;
@@ -1502,9 +1505,16 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1502
1505
  } | undefined;
1503
1506
  };
1504
1507
  } | {
1505
- output: null;
1506
- outputFormat: "body";
1507
- status: 402;
1508
+ output: {
1509
+ error: {
1510
+ code: "upstream_error";
1511
+ details?: readonly Response.error.Detail[] | undefined;
1512
+ message: string;
1513
+ };
1514
+ requestId: string;
1515
+ };
1516
+ outputFormat: "json";
1517
+ status: 502;
1508
1518
  input: {
1509
1519
  param: {
1510
1520
  token: `0x${string}`;
@@ -1521,87 +1531,318 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1521
1531
  } | {
1522
1532
  output: {
1523
1533
  error: {
1524
- code: "api_key_forbidden";
1534
+ code: "token_invalid";
1525
1535
  details?: readonly Response.error.Detail[] | undefined;
1526
1536
  message: string;
1527
1537
  };
1528
1538
  requestId: string;
1529
1539
  };
1530
1540
  outputFormat: "json";
1531
- status: 403;
1541
+ status: 400;
1542
+ input: {
1543
+ param: {
1544
+ token: `0x${string}`;
1545
+ };
1546
+ } & {
1547
+ query?: {
1548
+ chainId?: string | string[];
1549
+ cursor?: string | string[];
1550
+ include?: string | string[];
1551
+ limit?: string | string[];
1552
+ page?: string | string[];
1553
+ } | undefined;
1554
+ };
1555
+ } | {
1556
+ output: {
1557
+ data: {
1558
+ address: `0x${string}`;
1559
+ balance: string;
1560
+ id: string;
1561
+ }[];
1562
+ meta?: {
1563
+ totalCountCapped?: boolean | undefined;
1564
+ token?: {
1565
+ address: `0x${string}`;
1566
+ currency: string;
1567
+ decimals: number;
1568
+ id: string;
1569
+ logoUri?: string | undefined;
1570
+ name: string;
1571
+ symbol: string;
1572
+ verified: boolean;
1573
+ } | undefined;
1574
+ totalCount?: number | undefined;
1575
+ } | undefined;
1576
+ nextCursor: string | null;
1577
+ };
1578
+ outputFormat: "json";
1579
+ status: 200;
1580
+ input: {
1581
+ param: {
1582
+ token: `0x${string}`;
1583
+ };
1584
+ } & {
1585
+ query?: {
1586
+ chainId?: string | string[];
1587
+ cursor?: string | string[];
1588
+ include?: string | string[];
1589
+ limit?: string | string[];
1590
+ page?: string | string[];
1591
+ } | undefined;
1592
+ };
1593
+ };
1594
+ };
1595
+ } & {
1596
+ "/v1/tokens/:token/transactions": {
1597
+ $get: {
1598
+ output: null;
1599
+ outputFormat: "body";
1600
+ status: 402;
1532
1601
  input: {
1533
1602
  param: {
1534
1603
  token: `0x${string}`;
1535
1604
  };
1536
1605
  } & {
1537
1606
  query?: {
1607
+ 'blockNumber.from'?: string | string[];
1608
+ 'blockNumber.to'?: string | string[];
1538
1609
  chainId?: string | string[];
1539
1610
  cursor?: string | string[];
1611
+ feePayer?: string | string[];
1612
+ feeToken?: string | string[];
1540
1613
  include?: string | string[];
1541
1614
  limit?: string | string[];
1615
+ order?: string | string[];
1542
1616
  page?: string | string[];
1617
+ 'timestamp.from'?: string | string[];
1618
+ 'timestamp.to'?: string | string[];
1543
1619
  } | undefined;
1544
1620
  };
1545
1621
  } | {
1546
1622
  output: {
1547
1623
  error: {
1548
- code: "payment_required" | "rate_limit_exceeded";
1624
+ code: "api_key_malformed";
1549
1625
  details?: readonly Response.error.Detail[] | undefined;
1550
1626
  message: string;
1551
1627
  };
1552
1628
  requestId: string;
1553
1629
  };
1554
1630
  outputFormat: "json";
1555
- status: 429;
1631
+ status: 400;
1556
1632
  input: {
1557
1633
  param: {
1558
1634
  token: `0x${string}`;
1559
1635
  };
1560
1636
  } & {
1561
1637
  query?: {
1638
+ 'blockNumber.from'?: string | string[];
1639
+ 'blockNumber.to'?: string | string[];
1562
1640
  chainId?: string | string[];
1563
1641
  cursor?: string | string[];
1642
+ feePayer?: string | string[];
1643
+ feeToken?: string | string[];
1564
1644
  include?: string | string[];
1565
1645
  limit?: string | string[];
1646
+ order?: string | string[];
1566
1647
  page?: string | string[];
1648
+ 'timestamp.from'?: string | string[];
1649
+ 'timestamp.to'?: string | string[];
1567
1650
  } | undefined;
1568
1651
  };
1569
1652
  } | {
1570
1653
  output: {
1571
1654
  error: {
1572
- code: "upstream_error";
1655
+ code: "api_key_invalid" | "api_key_missing";
1573
1656
  details?: readonly Response.error.Detail[] | undefined;
1574
1657
  message: string;
1575
1658
  };
1576
1659
  requestId: string;
1577
1660
  };
1578
1661
  outputFormat: "json";
1579
- status: 502;
1662
+ status: 401;
1580
1663
  input: {
1581
1664
  param: {
1582
1665
  token: `0x${string}`;
1583
1666
  };
1584
1667
  } & {
1585
1668
  query?: {
1669
+ 'blockNumber.from'?: string | string[];
1670
+ 'blockNumber.to'?: string | string[];
1586
1671
  chainId?: string | string[];
1587
1672
  cursor?: string | string[];
1673
+ feePayer?: string | string[];
1674
+ feeToken?: string | string[];
1588
1675
  include?: string | string[];
1589
1676
  limit?: string | string[];
1677
+ order?: string | string[];
1590
1678
  page?: string | string[];
1679
+ 'timestamp.from'?: string | string[];
1680
+ 'timestamp.to'?: string | string[];
1591
1681
  } | undefined;
1592
1682
  };
1593
- };
1594
- };
1595
- } & {
1596
- "/:token/transactions": {
1597
- $get: {
1683
+ } | {
1598
1684
  output: {
1599
- data: {
1600
- blockHash: `0x${string}` | null;
1601
- blockNumber: number | null;
1602
- calls?: {
1603
- data?: `0x${string}` | undefined;
1604
- to: `0x${string}` | null;
1685
+ error: {
1686
+ code: "api_key_forbidden";
1687
+ details?: readonly Response.error.Detail[] | undefined;
1688
+ message: string;
1689
+ };
1690
+ requestId: string;
1691
+ };
1692
+ outputFormat: "json";
1693
+ status: 403;
1694
+ input: {
1695
+ param: {
1696
+ token: `0x${string}`;
1697
+ };
1698
+ } & {
1699
+ query?: {
1700
+ 'blockNumber.from'?: string | string[];
1701
+ 'blockNumber.to'?: string | string[];
1702
+ chainId?: string | string[];
1703
+ cursor?: string | string[];
1704
+ feePayer?: string | string[];
1705
+ feeToken?: string | string[];
1706
+ include?: string | string[];
1707
+ limit?: string | string[];
1708
+ order?: string | string[];
1709
+ page?: string | string[];
1710
+ 'timestamp.from'?: string | string[];
1711
+ 'timestamp.to'?: string | string[];
1712
+ } | undefined;
1713
+ };
1714
+ } | {
1715
+ output: {
1716
+ error: {
1717
+ code: "payment_required" | "rate_limit_exceeded";
1718
+ details?: readonly Response.error.Detail[] | undefined;
1719
+ message: string;
1720
+ };
1721
+ requestId: string;
1722
+ };
1723
+ outputFormat: "json";
1724
+ status: 429;
1725
+ input: {
1726
+ param: {
1727
+ token: `0x${string}`;
1728
+ };
1729
+ } & {
1730
+ query?: {
1731
+ 'blockNumber.from'?: string | string[];
1732
+ 'blockNumber.to'?: string | string[];
1733
+ chainId?: string | string[];
1734
+ cursor?: string | string[];
1735
+ feePayer?: string | string[];
1736
+ feeToken?: string | string[];
1737
+ include?: string | string[];
1738
+ limit?: string | string[];
1739
+ order?: string | string[];
1740
+ page?: string | string[];
1741
+ 'timestamp.from'?: string | string[];
1742
+ 'timestamp.to'?: string | string[];
1743
+ } | undefined;
1744
+ };
1745
+ } | {
1746
+ output: {
1747
+ error: {
1748
+ code: "query_invalid";
1749
+ details?: readonly Response.error.Detail[] | undefined;
1750
+ message: string;
1751
+ };
1752
+ requestId: string;
1753
+ };
1754
+ outputFormat: "json";
1755
+ status: 400;
1756
+ input: {
1757
+ param: {
1758
+ token: `0x${string}`;
1759
+ };
1760
+ } & {
1761
+ query?: {
1762
+ 'blockNumber.from'?: string | string[];
1763
+ 'blockNumber.to'?: string | string[];
1764
+ chainId?: string | string[];
1765
+ cursor?: string | string[];
1766
+ feePayer?: string | string[];
1767
+ feeToken?: string | string[];
1768
+ include?: string | string[];
1769
+ limit?: string | string[];
1770
+ order?: string | string[];
1771
+ page?: string | string[];
1772
+ 'timestamp.from'?: string | string[];
1773
+ 'timestamp.to'?: string | string[];
1774
+ } | undefined;
1775
+ };
1776
+ } | {
1777
+ output: {
1778
+ error: {
1779
+ code: "upstream_error";
1780
+ details?: readonly Response.error.Detail[] | undefined;
1781
+ message: string;
1782
+ };
1783
+ requestId: string;
1784
+ };
1785
+ outputFormat: "json";
1786
+ status: 502;
1787
+ input: {
1788
+ param: {
1789
+ token: `0x${string}`;
1790
+ };
1791
+ } & {
1792
+ query?: {
1793
+ 'blockNumber.from'?: string | string[];
1794
+ 'blockNumber.to'?: string | string[];
1795
+ chainId?: string | string[];
1796
+ cursor?: string | string[];
1797
+ feePayer?: string | string[];
1798
+ feeToken?: string | string[];
1799
+ include?: string | string[];
1800
+ limit?: string | string[];
1801
+ order?: string | string[];
1802
+ page?: string | string[];
1803
+ 'timestamp.from'?: string | string[];
1804
+ 'timestamp.to'?: string | string[];
1805
+ } | undefined;
1806
+ };
1807
+ } | {
1808
+ output: {
1809
+ error: {
1810
+ code: "token_invalid";
1811
+ details?: readonly Response.error.Detail[] | undefined;
1812
+ message: string;
1813
+ };
1814
+ requestId: string;
1815
+ };
1816
+ outputFormat: "json";
1817
+ status: 400;
1818
+ input: {
1819
+ param: {
1820
+ token: `0x${string}`;
1821
+ };
1822
+ } & {
1823
+ query?: {
1824
+ 'blockNumber.from'?: string | string[];
1825
+ 'blockNumber.to'?: string | string[];
1826
+ chainId?: string | string[];
1827
+ cursor?: string | string[];
1828
+ feePayer?: string | string[];
1829
+ feeToken?: string | string[];
1830
+ include?: string | string[];
1831
+ limit?: string | string[];
1832
+ order?: string | string[];
1833
+ page?: string | string[];
1834
+ 'timestamp.from'?: string | string[];
1835
+ 'timestamp.to'?: string | string[];
1836
+ } | undefined;
1837
+ };
1838
+ } | {
1839
+ output: {
1840
+ data: {
1841
+ blockHash: `0x${string}` | null;
1842
+ blockNumber: number | null;
1843
+ calls?: {
1844
+ data?: `0x${string}` | undefined;
1845
+ to: `0x${string}` | null;
1605
1846
  }[] | undefined;
1606
1847
  chainId?: number | undefined;
1607
1848
  feeToken?: `0x${string}` | undefined;
@@ -1830,250 +2071,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1830
2071
  'timestamp.to'?: string | string[];
1831
2072
  } | undefined;
1832
2073
  };
1833
- } | {
1834
- output: {
1835
- error: {
1836
- code: "api_key_malformed";
1837
- details?: readonly Response.error.Detail[] | undefined;
1838
- message: string;
1839
- };
1840
- requestId: string;
1841
- };
1842
- outputFormat: "json";
1843
- status: 400;
1844
- input: {
1845
- param: {
1846
- token: `0x${string}`;
1847
- };
1848
- } & {
1849
- query?: {
1850
- 'blockNumber.from'?: string | string[];
1851
- 'blockNumber.to'?: string | string[];
1852
- chainId?: string | string[];
1853
- cursor?: string | string[];
1854
- feePayer?: string | string[];
1855
- feeToken?: string | string[];
1856
- include?: string | string[];
1857
- limit?: string | string[];
1858
- order?: string | string[];
1859
- page?: string | string[];
1860
- 'timestamp.from'?: string | string[];
1861
- 'timestamp.to'?: string | string[];
1862
- } | undefined;
1863
- };
1864
- } | {
1865
- output: {
1866
- error: {
1867
- code: "query_invalid";
1868
- details?: readonly Response.error.Detail[] | undefined;
1869
- message: string;
1870
- };
1871
- requestId: string;
1872
- };
1873
- outputFormat: "json";
1874
- status: 400;
1875
- input: {
1876
- param: {
1877
- token: `0x${string}`;
1878
- };
1879
- } & {
1880
- query?: {
1881
- 'blockNumber.from'?: string | string[];
1882
- 'blockNumber.to'?: string | string[];
1883
- chainId?: string | string[];
1884
- cursor?: string | string[];
1885
- feePayer?: string | string[];
1886
- feeToken?: string | string[];
1887
- include?: string | string[];
1888
- limit?: string | string[];
1889
- order?: string | string[];
1890
- page?: string | string[];
1891
- 'timestamp.from'?: string | string[];
1892
- 'timestamp.to'?: string | string[];
1893
- } | undefined;
1894
- };
1895
- } | {
1896
- output: {
1897
- error: {
1898
- code: "token_invalid";
1899
- details?: readonly Response.error.Detail[] | undefined;
1900
- message: string;
1901
- };
1902
- requestId: string;
1903
- };
1904
- outputFormat: "json";
1905
- status: 400;
1906
- input: {
1907
- param: {
1908
- token: `0x${string}`;
1909
- };
1910
- } & {
1911
- query?: {
1912
- 'blockNumber.from'?: string | string[];
1913
- 'blockNumber.to'?: string | string[];
1914
- chainId?: string | string[];
1915
- cursor?: string | string[];
1916
- feePayer?: string | string[];
1917
- feeToken?: string | string[];
1918
- include?: string | string[];
1919
- limit?: string | string[];
1920
- order?: string | string[];
1921
- page?: string | string[];
1922
- 'timestamp.from'?: string | string[];
1923
- 'timestamp.to'?: string | string[];
1924
- } | undefined;
1925
- };
1926
- } | {
1927
- output: {
1928
- error: {
1929
- code: "api_key_invalid" | "api_key_missing";
1930
- details?: readonly Response.error.Detail[] | undefined;
1931
- message: string;
1932
- };
1933
- requestId: string;
1934
- };
1935
- outputFormat: "json";
1936
- status: 401;
1937
- input: {
1938
- param: {
1939
- token: `0x${string}`;
1940
- };
1941
- } & {
1942
- query?: {
1943
- 'blockNumber.from'?: string | string[];
1944
- 'blockNumber.to'?: string | string[];
1945
- chainId?: string | string[];
1946
- cursor?: string | string[];
1947
- feePayer?: string | string[];
1948
- feeToken?: string | string[];
1949
- include?: string | string[];
1950
- limit?: string | string[];
1951
- order?: string | string[];
1952
- page?: string | string[];
1953
- 'timestamp.from'?: string | string[];
1954
- 'timestamp.to'?: string | string[];
1955
- } | undefined;
1956
- };
1957
- } | {
1958
- output: null;
1959
- outputFormat: "body";
1960
- status: 402;
1961
- input: {
1962
- param: {
1963
- token: `0x${string}`;
1964
- };
1965
- } & {
1966
- query?: {
1967
- 'blockNumber.from'?: string | string[];
1968
- 'blockNumber.to'?: string | string[];
1969
- chainId?: string | string[];
1970
- cursor?: string | string[];
1971
- feePayer?: string | string[];
1972
- feeToken?: string | string[];
1973
- include?: string | string[];
1974
- limit?: string | string[];
1975
- order?: string | string[];
1976
- page?: string | string[];
1977
- 'timestamp.from'?: string | string[];
1978
- 'timestamp.to'?: string | string[];
1979
- } | undefined;
1980
- };
1981
- } | {
1982
- output: {
1983
- error: {
1984
- code: "api_key_forbidden";
1985
- details?: readonly Response.error.Detail[] | undefined;
1986
- message: string;
1987
- };
1988
- requestId: string;
1989
- };
1990
- outputFormat: "json";
1991
- status: 403;
1992
- input: {
1993
- param: {
1994
- token: `0x${string}`;
1995
- };
1996
- } & {
1997
- query?: {
1998
- 'blockNumber.from'?: string | string[];
1999
- 'blockNumber.to'?: string | string[];
2000
- chainId?: string | string[];
2001
- cursor?: string | string[];
2002
- feePayer?: string | string[];
2003
- feeToken?: string | string[];
2004
- include?: string | string[];
2005
- limit?: string | string[];
2006
- order?: string | string[];
2007
- page?: string | string[];
2008
- 'timestamp.from'?: string | string[];
2009
- 'timestamp.to'?: string | string[];
2010
- } | undefined;
2011
- };
2012
- } | {
2013
- output: {
2014
- error: {
2015
- code: "payment_required" | "rate_limit_exceeded";
2016
- details?: readonly Response.error.Detail[] | undefined;
2017
- message: string;
2018
- };
2019
- requestId: string;
2020
- };
2021
- outputFormat: "json";
2022
- status: 429;
2023
- input: {
2024
- param: {
2025
- token: `0x${string}`;
2026
- };
2027
- } & {
2028
- query?: {
2029
- 'blockNumber.from'?: string | string[];
2030
- 'blockNumber.to'?: string | string[];
2031
- chainId?: string | string[];
2032
- cursor?: string | string[];
2033
- feePayer?: string | string[];
2034
- feeToken?: string | string[];
2035
- include?: string | string[];
2036
- limit?: string | string[];
2037
- order?: string | string[];
2038
- page?: string | string[];
2039
- 'timestamp.from'?: string | string[];
2040
- 'timestamp.to'?: string | string[];
2041
- } | undefined;
2042
- };
2043
- } | {
2044
- output: {
2045
- error: {
2046
- code: "upstream_error";
2047
- details?: readonly Response.error.Detail[] | undefined;
2048
- message: string;
2049
- };
2050
- requestId: string;
2051
- };
2052
- outputFormat: "json";
2053
- status: 502;
2054
- input: {
2055
- param: {
2056
- token: `0x${string}`;
2057
- };
2058
- } & {
2059
- query?: {
2060
- 'blockNumber.from'?: string | string[];
2061
- 'blockNumber.to'?: string | string[];
2062
- chainId?: string | string[];
2063
- cursor?: string | string[];
2064
- feePayer?: string | string[];
2065
- feeToken?: string | string[];
2066
- include?: string | string[];
2067
- limit?: string | string[];
2068
- order?: string | string[];
2069
- page?: string | string[];
2070
- 'timestamp.from'?: string | string[];
2071
- 'timestamp.to'?: string | string[];
2072
- } | undefined;
2073
- };
2074
2074
  };
2075
2075
  };
2076
- }, "/", "/:token/transactions">;
2076
+ }, "/", "/v1/tokens/:token/transactions">;
2077
2077
  declare function getToken(c: Context<App.Environment>, options: getToken.Options): Promise<(Response & import("hono").TypedResponse<{
2078
2078
  error: {
2079
2079
  code: "token_not_found";