tapimo 0.7.2 → 0.9.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 (300) hide show
  1. package/README.md +10 -7
  2. package/dist/ApiKey.d.ts +3 -0
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +10 -0
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +7 -3
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +9 -2
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +20117 -19183
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +61 -4
  13. package/dist/App.js.map +1 -1
  14. package/dist/admin/App.d.ts +84 -74
  15. package/dist/admin/App.d.ts.map +1 -1
  16. package/dist/admin/apps/api-keys.d.ts +14 -1
  17. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  18. package/dist/admin/apps/api-keys.js +6 -2
  19. package/dist/admin/apps/api-keys.js.map +1 -1
  20. package/dist/admin/apps/organizations.d.ts +2 -0
  21. package/dist/admin/apps/organizations.d.ts.map +1 -1
  22. package/dist/admin/apps/verified-tokens.d.ts +11 -11
  23. package/dist/admin/ui.generated.d.ts +1 -1
  24. package/dist/admin/ui.generated.js +67 -67
  25. package/dist/admin/ui.generated.js.map +1 -1
  26. package/dist/analytics/Analytics.d.ts +2 -0
  27. package/dist/analytics/Analytics.d.ts.map +1 -1
  28. package/dist/analytics/Analytics.js +3 -0
  29. package/dist/analytics/Analytics.js.map +1 -1
  30. package/dist/apps/data/App.d.ts +11696 -13937
  31. package/dist/apps/data/App.d.ts.map +1 -1
  32. package/dist/apps/data/App.js +4 -8
  33. package/dist/apps/data/App.js.map +1 -1
  34. package/dist/apps/data/routes/activities.d.ts +271 -271
  35. package/dist/apps/data/routes/addresses.d.ts +398 -167
  36. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  37. package/dist/apps/data/routes/balances.d.ts +278 -8
  38. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  39. package/dist/apps/data/routes/balances.js +114 -2
  40. package/dist/apps/data/routes/balances.js.map +1 -1
  41. package/dist/apps/data/routes/blocks.d.ts +123 -123
  42. package/dist/apps/data/routes/coingecko.d.ts +170 -170
  43. package/dist/apps/data/routes/earn.d.ts +498 -6
  44. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  45. package/dist/apps/data/routes/earn.js +876 -4
  46. package/dist/apps/data/routes/earn.js.map +1 -1
  47. package/dist/apps/data/routes/exchanges.d.ts +10 -10
  48. package/dist/apps/data/routes/fee-amm.d.ts +2 -2
  49. package/dist/apps/data/routes/indexer.d.ts +6 -6
  50. package/dist/apps/data/routes/indexer.js +4 -1
  51. package/dist/apps/data/routes/indexer.js.map +1 -1
  52. package/dist/apps/data/routes/receipts.d.ts +235 -235
  53. package/dist/apps/data/routes/rpc.d.ts +31 -31
  54. package/dist/apps/data/routes/rpc.js +4 -1
  55. package/dist/apps/data/routes/rpc.js.map +1 -1
  56. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  57. package/dist/apps/data/routes/tokens.d.ts +449 -449
  58. package/dist/apps/data/routes/transactions.d.ts +2 -2
  59. package/dist/apps/data/routes/transfers.d.ts +81 -81
  60. package/dist/apps/data/routes/valuation.d.ts +1 -1
  61. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  62. package/dist/apps/data/routes/webhooks.d.ts +9 -9
  63. package/dist/apps/data/routes/zones.d.ts +14 -14
  64. package/dist/apps/funding/Access.d.ts +16 -0
  65. package/dist/apps/funding/Access.d.ts.map +1 -0
  66. package/dist/apps/funding/Access.js +22 -0
  67. package/dist/apps/funding/Access.js.map +1 -0
  68. package/dist/apps/{data/routes/funding.d.ts → funding/App.d.ts} +1640 -3217
  69. package/dist/apps/funding/App.d.ts.map +1 -0
  70. package/dist/apps/funding/App.js +61 -0
  71. package/dist/apps/funding/App.js.map +1 -0
  72. package/dist/apps/funding/Inventory.d.ts +5 -0
  73. package/dist/apps/funding/Inventory.d.ts.map +1 -0
  74. package/dist/apps/funding/Inventory.js +25 -0
  75. package/dist/apps/funding/Inventory.js.map +1 -0
  76. package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
  77. package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
  78. package/dist/apps/funding/ProviderAttempts.js +24 -0
  79. package/dist/apps/funding/ProviderAttempts.js.map +1 -0
  80. package/dist/apps/funding/index.d.ts +2 -0
  81. package/dist/apps/funding/index.d.ts.map +1 -0
  82. package/dist/apps/funding/index.js +2 -0
  83. package/dist/apps/funding/index.js.map +1 -0
  84. package/dist/apps/funding/routes/chains.d.ts +169 -0
  85. package/dist/apps/funding/routes/chains.d.ts.map +1 -0
  86. package/dist/apps/funding/routes/chains.js +80 -0
  87. package/dist/apps/funding/routes/chains.js.map +1 -0
  88. package/dist/apps/funding/routes/deposit-addresses.d.ts +1997 -0
  89. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
  90. package/dist/apps/funding/routes/deposit-addresses.js +778 -0
  91. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
  92. package/dist/apps/funding/routes/providers.d.ts +91 -0
  93. package/dist/apps/funding/routes/providers.d.ts.map +1 -0
  94. package/dist/apps/funding/routes/providers.js +56 -0
  95. package/dist/apps/funding/routes/providers.js.map +1 -0
  96. package/dist/apps/funding/routes/quotes.d.ts +426 -0
  97. package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
  98. package/dist/apps/funding/routes/quotes.js +188 -0
  99. package/dist/apps/funding/routes/quotes.js.map +1 -0
  100. package/dist/apps/funding/routes/transfers.d.ts +1999 -0
  101. package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
  102. package/dist/apps/funding/routes/transfers.js +614 -0
  103. package/dist/apps/funding/routes/transfers.js.map +1 -0
  104. package/dist/apps/index.d.ts +1 -0
  105. package/dist/apps/index.d.ts.map +1 -1
  106. package/dist/apps/index.js +1 -0
  107. package/dist/apps/index.js.map +1 -1
  108. package/dist/apps/management/App.d.ts +430 -165
  109. package/dist/apps/management/App.d.ts.map +1 -1
  110. package/dist/apps/management/routes/api-keys.d.ts +298 -21
  111. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  112. package/dist/apps/management/routes/api-keys.js +75 -1
  113. package/dist/apps/management/routes/api-keys.js.map +1 -1
  114. package/dist/apps/management/routes/billing.d.ts +6 -6
  115. package/dist/apps/management/routes/faucet.d.ts +35 -35
  116. package/dist/apps/management/routes/invitations.d.ts +122 -122
  117. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  118. package/dist/apps/management/routes/members.d.ts +69 -69
  119. package/dist/apps/management/routes/orgs.d.ts +99 -99
  120. package/dist/apps/management/routes/projects.d.ts +25 -25
  121. package/dist/apps/management/routes/scopes.d.ts +1 -1
  122. package/dist/apps/management/routes/usage.d.ts +72 -72
  123. package/dist/apps/management/routes/verified-token-requests.d.ts +77 -77
  124. package/dist/apps/management/routes/webhooks.d.ts +128 -128
  125. package/dist/apps/mcp.d.ts +2 -3
  126. package/dist/apps/mcp.d.ts.map +1 -1
  127. package/dist/apps/mcp.js +16 -14
  128. package/dist/apps/mcp.js.map +1 -1
  129. package/dist/apps/metadata.d.ts +4 -0
  130. package/dist/apps/metadata.d.ts.map +1 -1
  131. package/dist/apps/metadata.js +10 -0
  132. package/dist/apps/metadata.js.map +1 -1
  133. package/dist/apps/mpp/App.d.ts +44 -44
  134. package/dist/cloudflare.d.ts +50 -0
  135. package/dist/cloudflare.d.ts.map +1 -1
  136. package/dist/cloudflare.js +178 -0
  137. package/dist/cloudflare.js.map +1 -1
  138. package/dist/db/Db.d.ts +2 -0
  139. package/dist/db/Db.d.ts.map +1 -1
  140. package/dist/db/Db.js +45 -0
  141. package/dist/db/Db.js.map +1 -1
  142. package/dist/db/Schema.d.ts +12 -0
  143. package/dist/db/Schema.d.ts.map +1 -1
  144. package/dist/db/Schema.js +20 -0
  145. package/dist/db/Schema.js.map +1 -1
  146. package/dist/db/tables/fundingDepositAddresses.d.ts +13 -0
  147. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
  148. package/dist/db/tables/fundingDepositAddresses.js +12 -0
  149. package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
  150. package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
  151. package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
  152. package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
  153. package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
  154. package/dist/db/tables/fundingDeposits.d.ts +74 -1
  155. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  156. package/dist/db/tables/fundingDeposits.js +126 -0
  157. package/dist/db/tables/fundingDeposits.js.map +1 -1
  158. package/dist/internal/Auth.d.ts +15 -11
  159. package/dist/internal/Auth.d.ts.map +1 -1
  160. package/dist/internal/Auth.js +52 -17
  161. package/dist/internal/Auth.js.map +1 -1
  162. package/dist/internal/Cache.js +1 -1
  163. package/dist/internal/Cache.js.map +1 -1
  164. package/dist/internal/EdgeCache.d.ts +2 -2
  165. package/dist/internal/EdgeCache.d.ts.map +1 -1
  166. package/dist/internal/EdgeCache.js +10 -4
  167. package/dist/internal/EdgeCache.js.map +1 -1
  168. package/dist/internal/IpAllowlist.d.ts +15 -0
  169. package/dist/internal/IpAllowlist.d.ts.map +1 -0
  170. package/dist/internal/IpAllowlist.js +27 -0
  171. package/dist/internal/IpAllowlist.js.map +1 -0
  172. package/dist/internal/OpenApi.d.ts +1 -1
  173. package/dist/internal/OpenApi.js +1 -1
  174. package/dist/internal/OpenApi.js.map +1 -1
  175. package/dist/internal/Tidx.d.ts +6 -0
  176. package/dist/internal/Tidx.d.ts.map +1 -1
  177. package/dist/internal/Tidx.js +13 -3
  178. package/dist/internal/Tidx.js.map +1 -1
  179. package/dist/internal/Viem.d.ts +8 -0
  180. package/dist/internal/Viem.d.ts.map +1 -1
  181. package/dist/internal/Viem.js +12 -5
  182. package/dist/internal/Viem.js.map +1 -1
  183. package/dist/internal/funding/Deposit.d.ts +42 -0
  184. package/dist/internal/funding/Deposit.d.ts.map +1 -1
  185. package/dist/internal/funding/Deposit.js +37 -5
  186. package/dist/internal/funding/Deposit.js.map +1 -1
  187. package/dist/internal/funding/Evidence.d.ts +1 -5
  188. package/dist/internal/funding/Evidence.d.ts.map +1 -1
  189. package/dist/internal/funding/Evidence.js +4 -3
  190. package/dist/internal/funding/Evidence.js.map +1 -1
  191. package/dist/internal/funding/Provider.d.ts +102 -0
  192. package/dist/internal/funding/Provider.d.ts.map +1 -1
  193. package/dist/internal/funding/Provider.js +5 -0
  194. package/dist/internal/funding/Provider.js.map +1 -1
  195. package/dist/internal/funding/Reconciliation.d.ts +16 -2
  196. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  197. package/dist/internal/funding/Reconciliation.js +348 -54
  198. package/dist/internal/funding/Reconciliation.js.map +1 -1
  199. package/dist/internal/funding/SourceObservation.d.ts +108 -0
  200. package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
  201. package/dist/internal/funding/SourceObservation.js +143 -0
  202. package/dist/internal/funding/SourceObservation.js.map +1 -0
  203. package/dist/internal/funding/Subsidy.d.ts +2 -2
  204. package/dist/internal/funding/Subsidy.d.ts.map +1 -1
  205. package/dist/internal/funding/Subsidy.js +1 -1
  206. package/dist/internal/funding/Subsidy.js.map +1 -1
  207. package/dist/internal/funding/index.d.ts +1 -0
  208. package/dist/internal/funding/index.d.ts.map +1 -1
  209. package/dist/internal/funding/index.js +1 -0
  210. package/dist/internal/funding/index.js.map +1 -1
  211. package/dist/internal/funding/providers/relay.d.ts +43 -1
  212. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  213. package/dist/internal/funding/providers/relay.js +438 -27
  214. package/dist/internal/funding/providers/relay.js.map +1 -1
  215. package/package.json +3 -3
  216. package/src/ApiKey.test.ts +35 -0
  217. package/src/ApiKey.ts +27 -0
  218. package/src/ApiKeys.test.ts +29 -0
  219. package/src/ApiKeys.ts +11 -3
  220. package/src/App.test.ts +55 -5
  221. package/src/App.ts +79 -5
  222. package/src/Client.test-d.ts +203 -28
  223. package/src/admin/apps/api-keys.test.ts +25 -1
  224. package/src/admin/apps/api-keys.ts +6 -2
  225. package/src/admin/ui.generated.ts +67 -67
  226. package/src/analytics/Analytics.ts +4 -0
  227. package/src/apps/composition.test.ts +130 -3
  228. package/src/apps/data/App.test.ts +0 -12
  229. package/src/apps/data/App.ts +4 -8
  230. package/src/apps/data/routes/balances.test.ts +42 -0
  231. package/src/apps/data/routes/balances.ts +218 -85
  232. package/src/apps/data/routes/earn.test.ts +363 -0
  233. package/src/apps/data/routes/earn.ts +1141 -3
  234. package/src/apps/data/routes/indexer.ts +2 -1
  235. package/src/apps/data/routes/rpc.ts +2 -0
  236. package/src/apps/data/routes/tokens.test.ts +6 -8
  237. package/src/apps/funding/Access.ts +26 -0
  238. package/src/apps/funding/App.test.ts +78 -0
  239. package/src/apps/funding/App.ts +78 -0
  240. package/src/apps/funding/Inventory.ts +30 -0
  241. package/src/apps/funding/ProviderAttempts.ts +26 -0
  242. package/src/apps/funding/index.ts +1 -0
  243. package/src/apps/funding/routes/chains.test.ts +78 -0
  244. package/src/apps/funding/routes/chains.ts +101 -0
  245. package/src/apps/funding/routes/deposit-addresses.test.ts +1649 -0
  246. package/src/apps/funding/routes/deposit-addresses.ts +932 -0
  247. package/src/apps/funding/routes/providers.test.ts +165 -0
  248. package/src/apps/funding/routes/providers.ts +73 -0
  249. package/src/apps/funding/routes/quotes.test.ts +511 -0
  250. package/src/apps/funding/routes/quotes.ts +205 -0
  251. package/src/apps/funding/routes/transfers.test.ts +1236 -0
  252. package/src/apps/funding/routes/transfers.ts +704 -0
  253. package/src/apps/index.ts +1 -0
  254. package/src/apps/management/routes/api-keys.test.ts +98 -0
  255. package/src/apps/management/routes/api-keys.ts +96 -1
  256. package/src/apps/mcp.test.ts +17 -2
  257. package/src/apps/mcp.ts +18 -13
  258. package/src/apps/metadata.ts +12 -0
  259. package/src/apps/mpp/internal/Policy.test.ts +7 -1
  260. package/src/cloudflare.ts +279 -0
  261. package/src/db/Db.ts +71 -0
  262. package/src/db/Schema.ts +24 -0
  263. package/src/db/tables/fundingDepositAddresses.ts +28 -0
  264. package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
  265. package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
  266. package/src/db/tables/fundingDeposits.test.ts +239 -0
  267. package/src/db/tables/fundingDeposits.ts +214 -1
  268. package/src/internal/Auth.test.ts +205 -5
  269. package/src/internal/Auth.ts +63 -19
  270. package/src/internal/Cache.test.ts +37 -3
  271. package/src/internal/Cache.ts +1 -1
  272. package/src/internal/EdgeCache.test.ts +7 -7
  273. package/src/internal/EdgeCache.ts +13 -4
  274. package/src/internal/IpAllowlist.test.ts +52 -0
  275. package/src/internal/IpAllowlist.ts +39 -0
  276. package/src/internal/Log.test.ts +7 -1
  277. package/src/internal/OpenApi.ts +1 -1
  278. package/src/internal/Tidx.test.ts +28 -0
  279. package/src/internal/Tidx.ts +19 -3
  280. package/src/internal/Viem.test.ts +28 -0
  281. package/src/internal/Viem.ts +21 -5
  282. package/src/internal/funding/Deposit.ts +74 -5
  283. package/src/internal/funding/Evidence.test.ts +2 -2
  284. package/src/internal/funding/Evidence.ts +4 -9
  285. package/src/internal/funding/Provider.ts +115 -0
  286. package/src/internal/funding/Reconciliation.local.test.ts +7 -0
  287. package/src/internal/funding/Reconciliation.test.ts +1364 -109
  288. package/src/internal/funding/Reconciliation.ts +467 -88
  289. package/src/internal/funding/SourceObservation.test.ts +301 -0
  290. package/src/internal/funding/SourceObservation.ts +267 -0
  291. package/src/internal/funding/Subsidy.ts +2 -2
  292. package/src/internal/funding/index.test.ts +1 -0
  293. package/src/internal/funding/index.ts +1 -0
  294. package/src/internal/funding/providers/relay.test.ts +94 -4
  295. package/src/internal/funding/providers/relay.ts +533 -27
  296. package/dist/apps/data/routes/funding.d.ts.map +0 -1
  297. package/dist/apps/data/routes/funding.js +0 -1557
  298. package/dist/apps/data/routes/funding.js.map +0 -1
  299. package/src/apps/data/routes/funding.test.ts +0 -2994
  300. package/src/apps/data/routes/funding.ts +0 -1821
@@ -539,9 +539,31 @@ export declare namespace schema {
539
539
  export declare function tokens(): import("hono/hono-base").HonoBase<App.Environment, {
540
540
  "/v1/tokens": {
541
541
  $get: {
542
- output: null;
543
- outputFormat: "body";
544
- status: 402;
542
+ output: {
543
+ data: {
544
+ address: `0x${string}`;
545
+ admin?: `0x${string}` | undefined;
546
+ currency: string;
547
+ createdAt?: string | undefined;
548
+ decimals: number;
549
+ holderCount?: number | undefined;
550
+ id: string;
551
+ logoUri?: string | undefined;
552
+ name: string;
553
+ quoteToken?: `0x${string}` | undefined;
554
+ symbol: string;
555
+ totalSupply?: string | undefined;
556
+ transferStats?: {
557
+ count: number;
558
+ firstAt: string | null;
559
+ lastAt: string | null;
560
+ } | undefined;
561
+ verified: boolean;
562
+ }[];
563
+ nextCursor: string | null;
564
+ };
565
+ outputFormat: "json";
566
+ status: 200;
545
567
  input: {
546
568
  query?: {
547
569
  addresses?: string | string[];
@@ -582,14 +604,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
582
604
  } | {
583
605
  output: {
584
606
  error: {
585
- code: "api_key_invalid" | "api_key_missing";
607
+ code: "query_invalid";
586
608
  details?: readonly Response.error.Detail[] | undefined;
587
609
  message: string;
588
610
  };
589
611
  requestId: string;
590
612
  };
591
613
  outputFormat: "json";
592
- status: 401;
614
+ status: 400;
593
615
  input: {
594
616
  query?: {
595
617
  addresses?: string | string[];
@@ -606,14 +628,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
606
628
  } | {
607
629
  output: {
608
630
  error: {
609
- code: "api_key_forbidden";
631
+ code: "api_key_invalid" | "api_key_missing";
610
632
  details?: readonly Response.error.Detail[] | undefined;
611
633
  message: string;
612
634
  };
613
635
  requestId: string;
614
636
  };
615
637
  outputFormat: "json";
616
- status: 403;
638
+ status: 401;
617
639
  input: {
618
640
  query?: {
619
641
  addresses?: string | string[];
@@ -628,16 +650,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
628
650
  } | undefined;
629
651
  };
630
652
  } | {
631
- output: {
632
- error: {
633
- code: "payment_required" | "rate_limit_exceeded";
634
- details?: readonly Response.error.Detail[] | undefined;
635
- message: string;
636
- };
637
- requestId: string;
638
- };
639
- outputFormat: "json";
640
- status: 429;
653
+ output: null;
654
+ outputFormat: "body";
655
+ status: 402;
641
656
  input: {
642
657
  query?: {
643
658
  addresses?: string | string[];
@@ -654,14 +669,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
654
669
  } | {
655
670
  output: {
656
671
  error: {
657
- code: "query_invalid";
672
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
658
673
  details?: readonly Response.error.Detail[] | undefined;
659
674
  message: string;
660
675
  };
661
676
  requestId: string;
662
677
  };
663
678
  outputFormat: "json";
664
- status: 400;
679
+ status: 403;
665
680
  input: {
666
681
  query?: {
667
682
  addresses?: string | string[];
@@ -677,30 +692,15 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
677
692
  };
678
693
  } | {
679
694
  output: {
680
- data: {
681
- address: `0x${string}`;
682
- admin?: `0x${string}` | undefined;
683
- currency: string;
684
- createdAt?: string | undefined;
685
- decimals: number;
686
- holderCount?: number | undefined;
687
- id: string;
688
- logoUri?: string | undefined;
689
- name: string;
690
- quoteToken?: `0x${string}` | undefined;
691
- symbol: string;
692
- totalSupply?: string | undefined;
693
- transferStats?: {
694
- count: number;
695
- firstAt: string | null;
696
- lastAt: string | null;
697
- } | undefined;
698
- verified: boolean;
699
- }[];
700
- nextCursor: string | null;
695
+ error: {
696
+ code: "payment_required" | "rate_limit_exceeded";
697
+ details?: readonly Response.error.Detail[] | undefined;
698
+ message: string;
699
+ };
700
+ requestId: string;
701
701
  };
702
702
  outputFormat: "json";
703
- status: 200;
703
+ status: 429;
704
704
  input: {
705
705
  query?: {
706
706
  addresses?: string | string[];
@@ -743,9 +743,28 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
743
743
  } & {
744
744
  "/v1/tokens/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
745
745
  $get: {
746
- output: null;
747
- outputFormat: "body";
748
- status: 402;
746
+ output: {
747
+ address: `0x${string}`;
748
+ admin?: `0x${string}` | undefined;
749
+ currency: string;
750
+ createdAt?: string | undefined;
751
+ decimals: number;
752
+ holderCount?: number | undefined;
753
+ id: string;
754
+ logoUri?: string | undefined;
755
+ name: string;
756
+ quoteToken?: `0x${string}` | undefined;
757
+ symbol: string;
758
+ totalSupply?: string | undefined;
759
+ transferStats?: {
760
+ count: number;
761
+ firstAt: string | null;
762
+ lastAt: string | null;
763
+ } | undefined;
764
+ verified: boolean;
765
+ };
766
+ outputFormat: "json";
767
+ status: 200;
749
768
  input: {
750
769
  param: {
751
770
  symbol: string;
@@ -780,14 +799,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
780
799
  } | {
781
800
  output: {
782
801
  error: {
783
- code: "api_key_invalid" | "api_key_missing";
802
+ code: "query_invalid";
784
803
  details?: readonly Response.error.Detail[] | undefined;
785
804
  message: string;
786
805
  };
787
806
  requestId: string;
788
807
  };
789
808
  outputFormat: "json";
790
- status: 401;
809
+ status: 400;
791
810
  input: {
792
811
  param: {
793
812
  symbol: string;
@@ -801,14 +820,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
801
820
  } | {
802
821
  output: {
803
822
  error: {
804
- code: "api_key_forbidden";
823
+ code: "symbol_invalid";
805
824
  details?: readonly Response.error.Detail[] | undefined;
806
825
  message: string;
807
826
  };
808
827
  requestId: string;
809
828
  };
810
829
  outputFormat: "json";
811
- status: 403;
830
+ status: 400;
812
831
  input: {
813
832
  param: {
814
833
  symbol: string;
@@ -822,14 +841,28 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
822
841
  } | {
823
842
  output: {
824
843
  error: {
825
- code: "payment_required" | "rate_limit_exceeded";
844
+ code: "api_key_invalid" | "api_key_missing";
826
845
  details?: readonly Response.error.Detail[] | undefined;
827
846
  message: string;
828
847
  };
829
848
  requestId: string;
830
849
  };
831
850
  outputFormat: "json";
832
- status: 429;
851
+ status: 401;
852
+ input: {
853
+ param: {
854
+ symbol: string;
855
+ };
856
+ } & {
857
+ query?: {
858
+ chainId?: string | string[];
859
+ include?: string | string[];
860
+ } | undefined;
861
+ };
862
+ } | {
863
+ output: null;
864
+ outputFormat: "body";
865
+ status: 402;
833
866
  input: {
834
867
  param: {
835
868
  symbol: string;
@@ -843,14 +876,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
843
876
  } | {
844
877
  output: {
845
878
  error: {
846
- code: "query_invalid";
879
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
847
880
  details?: readonly Response.error.Detail[] | undefined;
848
881
  message: string;
849
882
  };
850
883
  requestId: string;
851
884
  };
852
885
  outputFormat: "json";
853
- status: 400;
886
+ status: 403;
854
887
  input: {
855
888
  param: {
856
889
  symbol: string;
@@ -864,14 +897,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
864
897
  } | {
865
898
  output: {
866
899
  error: {
867
- code: "upstream_error";
900
+ code: "token_not_found";
868
901
  details?: readonly Response.error.Detail[] | undefined;
869
902
  message: string;
870
903
  };
871
904
  requestId: string;
872
905
  };
873
906
  outputFormat: "json";
874
- status: 502;
907
+ status: 404;
875
908
  input: {
876
909
  param: {
877
910
  symbol: string;
@@ -885,14 +918,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
885
918
  } | {
886
919
  output: {
887
920
  error: {
888
- code: "symbol_invalid";
921
+ code: "payment_required" | "rate_limit_exceeded";
889
922
  details?: readonly Response.error.Detail[] | undefined;
890
923
  message: string;
891
924
  };
892
925
  requestId: string;
893
926
  };
894
927
  outputFormat: "json";
895
- status: 400;
928
+ status: 429;
896
929
  input: {
897
930
  param: {
898
931
  symbol: string;
@@ -904,6 +937,31 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
904
937
  } | undefined;
905
938
  };
906
939
  } | {
940
+ output: {
941
+ error: {
942
+ code: "upstream_error";
943
+ details?: readonly Response.error.Detail[] | undefined;
944
+ message: string;
945
+ };
946
+ requestId: string;
947
+ };
948
+ outputFormat: "json";
949
+ status: 502;
950
+ input: {
951
+ param: {
952
+ symbol: string;
953
+ };
954
+ } & {
955
+ query?: {
956
+ chainId?: string | string[];
957
+ include?: string | string[];
958
+ } | undefined;
959
+ };
960
+ };
961
+ };
962
+ } & {
963
+ "/v1/tokens/:token": {
964
+ $get: {
907
965
  output: {
908
966
  address: `0x${string}`;
909
967
  admin?: `0x${string}` | undefined;
@@ -928,7 +986,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
928
986
  status: 200;
929
987
  input: {
930
988
  param: {
931
- symbol: string;
989
+ token: `0x${string}`;
932
990
  };
933
991
  } & {
934
992
  query?: {
@@ -939,17 +997,17 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
939
997
  } | {
940
998
  output: {
941
999
  error: {
942
- code: "token_not_found";
1000
+ code: "api_key_malformed";
943
1001
  details?: readonly Response.error.Detail[] | undefined;
944
1002
  message: string;
945
1003
  };
946
1004
  requestId: string;
947
1005
  };
948
1006
  outputFormat: "json";
949
- status: 404;
1007
+ status: 400;
950
1008
  input: {
951
1009
  param: {
952
- symbol: string;
1010
+ token: `0x${string}`;
953
1011
  };
954
1012
  } & {
955
1013
  query?: {
@@ -957,14 +1015,17 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
957
1015
  include?: string | string[];
958
1016
  } | undefined;
959
1017
  };
960
- };
961
- };
962
- } & {
963
- "/v1/tokens/:token": {
964
- $get: {
965
- output: null;
966
- outputFormat: "body";
967
- status: 402;
1018
+ } | {
1019
+ output: {
1020
+ error: {
1021
+ code: "query_invalid";
1022
+ details?: readonly Response.error.Detail[] | undefined;
1023
+ message: string;
1024
+ };
1025
+ requestId: string;
1026
+ };
1027
+ outputFormat: "json";
1028
+ status: 400;
968
1029
  input: {
969
1030
  param: {
970
1031
  token: `0x${string}`;
@@ -978,7 +1039,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
978
1039
  } | {
979
1040
  output: {
980
1041
  error: {
981
- code: "api_key_malformed";
1042
+ code: "token_invalid";
982
1043
  details?: readonly Response.error.Detail[] | undefined;
983
1044
  message: string;
984
1045
  };
@@ -1017,10 +1078,24 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1017
1078
  include?: string | string[];
1018
1079
  } | undefined;
1019
1080
  };
1081
+ } | {
1082
+ output: null;
1083
+ outputFormat: "body";
1084
+ status: 402;
1085
+ input: {
1086
+ param: {
1087
+ token: `0x${string}`;
1088
+ };
1089
+ } & {
1090
+ query?: {
1091
+ chainId?: string | string[];
1092
+ include?: string | string[];
1093
+ } | undefined;
1094
+ };
1020
1095
  } | {
1021
1096
  output: {
1022
1097
  error: {
1023
- code: "api_key_forbidden";
1098
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1024
1099
  details?: readonly Response.error.Detail[] | undefined;
1025
1100
  message: string;
1026
1101
  };
@@ -1041,14 +1116,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1041
1116
  } | {
1042
1117
  output: {
1043
1118
  error: {
1044
- code: "payment_required" | "rate_limit_exceeded";
1119
+ code: "token_not_found";
1045
1120
  details?: readonly Response.error.Detail[] | undefined;
1046
1121
  message: string;
1047
1122
  };
1048
1123
  requestId: string;
1049
1124
  };
1050
1125
  outputFormat: "json";
1051
- status: 429;
1126
+ status: 404;
1052
1127
  input: {
1053
1128
  param: {
1054
1129
  token: `0x${string}`;
@@ -1062,14 +1137,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1062
1137
  } | {
1063
1138
  output: {
1064
1139
  error: {
1065
- code: "query_invalid";
1140
+ code: "payment_required" | "rate_limit_exceeded";
1066
1141
  details?: readonly Response.error.Detail[] | undefined;
1067
1142
  message: string;
1068
1143
  };
1069
1144
  requestId: string;
1070
1145
  };
1071
1146
  outputFormat: "json";
1072
- status: 400;
1147
+ status: 429;
1073
1148
  input: {
1074
1149
  param: {
1075
1150
  token: `0x${string}`;
@@ -1101,28 +1176,13 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1101
1176
  include?: string | string[];
1102
1177
  } | undefined;
1103
1178
  };
1104
- } | {
1105
- output: {
1106
- address: `0x${string}`;
1107
- admin?: `0x${string}` | undefined;
1108
- currency: string;
1109
- createdAt?: string | undefined;
1110
- decimals: number;
1111
- holderCount?: number | undefined;
1112
- id: string;
1113
- logoUri?: string | undefined;
1114
- name: string;
1115
- quoteToken?: `0x${string}` | undefined;
1116
- symbol: string;
1117
- totalSupply?: string | undefined;
1118
- transferStats?: {
1119
- count: number;
1120
- firstAt: string | null;
1121
- lastAt: string | null;
1122
- } | undefined;
1123
- verified: boolean;
1124
- };
1125
- outputFormat: "json";
1179
+ };
1180
+ };
1181
+ } & {
1182
+ "/v1/tokens/:token/logo": {
1183
+ $get: {
1184
+ output: ArrayBuffer;
1185
+ outputFormat: "body";
1126
1186
  status: 200;
1127
1187
  input: {
1128
1188
  param: {
@@ -1131,20 +1191,19 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1131
1191
  } & {
1132
1192
  query?: {
1133
1193
  chainId?: string | string[];
1134
- include?: string | string[];
1135
1194
  } | undefined;
1136
1195
  };
1137
1196
  } | {
1138
1197
  output: {
1139
1198
  error: {
1140
- code: "token_not_found";
1199
+ code: "api_key_malformed";
1141
1200
  details?: readonly Response.error.Detail[] | undefined;
1142
1201
  message: string;
1143
1202
  };
1144
1203
  requestId: string;
1145
1204
  };
1146
1205
  outputFormat: "json";
1147
- status: 404;
1206
+ status: 400;
1148
1207
  input: {
1149
1208
  param: {
1150
1209
  token: `0x${string}`;
@@ -1152,13 +1211,12 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1152
1211
  } & {
1153
1212
  query?: {
1154
1213
  chainId?: string | string[];
1155
- include?: string | string[];
1156
1214
  } | undefined;
1157
1215
  };
1158
1216
  } | {
1159
1217
  output: {
1160
1218
  error: {
1161
- code: "token_invalid";
1219
+ code: "query_invalid";
1162
1220
  details?: readonly Response.error.Detail[] | undefined;
1163
1221
  message: string;
1164
1222
  };
@@ -1166,37 +1224,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1166
1224
  };
1167
1225
  outputFormat: "json";
1168
1226
  status: 400;
1169
- input: {
1170
- param: {
1171
- token: `0x${string}`;
1172
- };
1173
- } & {
1174
- query?: {
1175
- chainId?: string | string[];
1176
- include?: string | string[];
1177
- } | undefined;
1178
- };
1179
- };
1180
- };
1181
- } & {
1182
- "/v1/tokens/:token/logo": {
1183
- $get: {
1184
- output: null;
1185
- outputFormat: "body";
1186
- status: 402;
1187
- input: {
1188
- param: {
1189
- token: `0x${string}`;
1190
- };
1191
- } & {
1192
- query?: {
1193
- chainId?: string | string[];
1194
- } | undefined;
1195
- };
1196
- } | {
1197
- output: ArrayBuffer;
1198
- outputFormat: "body";
1199
- status: 200;
1200
1227
  input: {
1201
1228
  param: {
1202
1229
  token: `0x${string}`;
@@ -1209,7 +1236,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1209
1236
  } | {
1210
1237
  output: {
1211
1238
  error: {
1212
- code: "api_key_malformed";
1239
+ code: "token_invalid";
1213
1240
  details?: readonly Response.error.Detail[] | undefined;
1214
1241
  message: string;
1215
1242
  };
@@ -1247,36 +1274,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1247
1274
  } | undefined;
1248
1275
  };
1249
1276
  } | {
1250
- output: {
1251
- error: {
1252
- code: "api_key_forbidden";
1253
- details?: readonly Response.error.Detail[] | undefined;
1254
- message: string;
1255
- };
1256
- requestId: string;
1257
- };
1258
- outputFormat: "json";
1259
- status: 403;
1260
- input: {
1261
- param: {
1262
- token: `0x${string}`;
1263
- };
1264
- } & {
1265
- query?: {
1266
- chainId?: string | string[];
1267
- } | undefined;
1268
- };
1269
- } | {
1270
- output: {
1271
- error: {
1272
- code: "payment_required" | "rate_limit_exceeded";
1273
- details?: readonly Response.error.Detail[] | undefined;
1274
- message: string;
1275
- };
1276
- requestId: string;
1277
- };
1278
- outputFormat: "json";
1279
- status: 429;
1277
+ output: null;
1278
+ outputFormat: "body";
1279
+ status: 402;
1280
1280
  input: {
1281
1281
  param: {
1282
1282
  token: `0x${string}`;
@@ -1289,14 +1289,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1289
1289
  } | {
1290
1290
  output: {
1291
1291
  error: {
1292
- code: "query_invalid";
1292
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1293
1293
  details?: readonly Response.error.Detail[] | undefined;
1294
1294
  message: string;
1295
1295
  };
1296
1296
  requestId: string;
1297
1297
  };
1298
1298
  outputFormat: "json";
1299
- status: 400;
1299
+ status: 403;
1300
1300
  input: {
1301
1301
  param: {
1302
1302
  token: `0x${string}`;
@@ -1309,14 +1309,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1309
1309
  } | {
1310
1310
  output: {
1311
1311
  error: {
1312
- code: "upstream_error";
1312
+ code: "token_logo_not_found";
1313
1313
  details?: readonly Response.error.Detail[] | undefined;
1314
1314
  message: string;
1315
1315
  };
1316
1316
  requestId: string;
1317
1317
  };
1318
1318
  outputFormat: "json";
1319
- status: 502;
1319
+ status: 404;
1320
1320
  input: {
1321
1321
  param: {
1322
1322
  token: `0x${string}`;
@@ -1329,14 +1329,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1329
1329
  } | {
1330
1330
  output: {
1331
1331
  error: {
1332
- code: "token_invalid";
1332
+ code: "payment_required" | "rate_limit_exceeded";
1333
1333
  details?: readonly Response.error.Detail[] | undefined;
1334
1334
  message: string;
1335
1335
  };
1336
1336
  requestId: string;
1337
1337
  };
1338
1338
  outputFormat: "json";
1339
- status: 400;
1339
+ status: 429;
1340
1340
  input: {
1341
1341
  param: {
1342
1342
  token: `0x${string}`;
@@ -1349,14 +1349,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1349
1349
  } | {
1350
1350
  output: {
1351
1351
  error: {
1352
- code: "token_logo_not_found";
1352
+ code: "upstream_error";
1353
1353
  details?: readonly Response.error.Detail[] | undefined;
1354
1354
  message: string;
1355
1355
  };
1356
1356
  requestId: string;
1357
1357
  };
1358
1358
  outputFormat: "json";
1359
- status: 404;
1359
+ status: 502;
1360
1360
  input: {
1361
1361
  param: {
1362
1362
  token: `0x${string}`;
@@ -1371,81 +1371,30 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1371
1371
  } & {
1372
1372
  "/v1/tokens/:token/holders": {
1373
1373
  $get: {
1374
- output: null;
1375
- outputFormat: "body";
1376
- status: 402;
1377
- input: {
1378
- param: {
1379
- token: `0x${string}`;
1380
- };
1381
- } & {
1382
- query?: {
1383
- chainId?: string | string[];
1384
- cursor?: string | string[];
1385
- include?: string | string[];
1386
- limit?: string | string[];
1387
- page?: string | string[];
1388
- } | undefined;
1389
- };
1390
- } | {
1391
- output: {
1392
- error: {
1393
- code: "api_key_malformed";
1394
- details?: readonly Response.error.Detail[] | undefined;
1395
- message: string;
1396
- };
1397
- requestId: string;
1398
- };
1399
- outputFormat: "json";
1400
- status: 400;
1401
- input: {
1402
- param: {
1403
- token: `0x${string}`;
1404
- };
1405
- } & {
1406
- query?: {
1407
- chainId?: string | string[];
1408
- cursor?: string | string[];
1409
- include?: string | string[];
1410
- limit?: string | string[];
1411
- page?: string | string[];
1412
- } | undefined;
1413
- };
1414
- } | {
1415
1374
  output: {
1416
- error: {
1417
- code: "api_key_invalid" | "api_key_missing";
1418
- details?: readonly Response.error.Detail[] | undefined;
1419
- message: string;
1420
- };
1421
- requestId: string;
1422
- };
1423
- outputFormat: "json";
1424
- status: 401;
1425
- input: {
1426
- param: {
1427
- token: `0x${string}`;
1428
- };
1429
- } & {
1430
- query?: {
1431
- chainId?: string | string[];
1432
- cursor?: string | string[];
1433
- include?: string | string[];
1434
- limit?: string | string[];
1435
- page?: string | string[];
1375
+ data: {
1376
+ address: `0x${string}`;
1377
+ balance: string;
1378
+ id: string;
1379
+ }[];
1380
+ meta?: {
1381
+ totalCountCapped?: boolean | undefined;
1382
+ token?: {
1383
+ address: `0x${string}`;
1384
+ currency: string;
1385
+ decimals: number;
1386
+ id: string;
1387
+ logoUri?: string | undefined;
1388
+ name: string;
1389
+ symbol: string;
1390
+ verified: boolean;
1391
+ } | undefined;
1392
+ totalCount?: number | undefined;
1436
1393
  } | undefined;
1437
- };
1438
- } | {
1439
- output: {
1440
- error: {
1441
- code: "api_key_forbidden";
1442
- details?: readonly Response.error.Detail[] | undefined;
1443
- message: string;
1444
- };
1445
- requestId: string;
1394
+ nextCursor: string | null;
1446
1395
  };
1447
1396
  outputFormat: "json";
1448
- status: 403;
1397
+ status: 200;
1449
1398
  input: {
1450
1399
  param: {
1451
1400
  token: `0x${string}`;
@@ -1462,14 +1411,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1462
1411
  } | {
1463
1412
  output: {
1464
1413
  error: {
1465
- code: "payment_required" | "rate_limit_exceeded";
1414
+ code: "api_key_malformed";
1466
1415
  details?: readonly Response.error.Detail[] | undefined;
1467
1416
  message: string;
1468
1417
  };
1469
1418
  requestId: string;
1470
1419
  };
1471
1420
  outputFormat: "json";
1472
- status: 429;
1421
+ status: 400;
1473
1422
  input: {
1474
1423
  param: {
1475
1424
  token: `0x${string}`;
@@ -1510,14 +1459,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1510
1459
  } | {
1511
1460
  output: {
1512
1461
  error: {
1513
- code: "upstream_error";
1462
+ code: "token_invalid";
1514
1463
  details?: readonly Response.error.Detail[] | undefined;
1515
1464
  message: string;
1516
1465
  };
1517
1466
  requestId: string;
1518
1467
  };
1519
1468
  outputFormat: "json";
1520
- status: 502;
1469
+ status: 400;
1521
1470
  input: {
1522
1471
  param: {
1523
1472
  token: `0x${string}`;
@@ -1534,14 +1483,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1534
1483
  } | {
1535
1484
  output: {
1536
1485
  error: {
1537
- code: "token_invalid";
1486
+ code: "api_key_invalid" | "api_key_missing";
1538
1487
  details?: readonly Response.error.Detail[] | undefined;
1539
1488
  message: string;
1540
1489
  };
1541
1490
  requestId: string;
1542
1491
  };
1543
1492
  outputFormat: "json";
1544
- status: 400;
1493
+ status: 401;
1545
1494
  input: {
1546
1495
  param: {
1547
1496
  token: `0x${string}`;
@@ -1556,48 +1505,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1556
1505
  } | undefined;
1557
1506
  };
1558
1507
  } | {
1559
- output: {
1560
- data: {
1561
- address: `0x${string}`;
1562
- balance: string;
1563
- id: string;
1564
- }[];
1565
- meta?: {
1566
- totalCountCapped?: boolean | undefined;
1567
- token?: {
1568
- address: `0x${string}`;
1569
- currency: string;
1570
- decimals: number;
1571
- id: string;
1572
- logoUri?: string | undefined;
1573
- name: string;
1574
- symbol: string;
1575
- verified: boolean;
1576
- } | undefined;
1577
- totalCount?: number | undefined;
1578
- } | undefined;
1579
- nextCursor: string | null;
1580
- };
1581
- outputFormat: "json";
1582
- status: 200;
1583
- input: {
1584
- param: {
1585
- token: `0x${string}`;
1586
- };
1587
- } & {
1588
- query?: {
1589
- chainId?: string | string[];
1590
- cursor?: string | string[];
1591
- include?: string | string[];
1592
- limit?: string | string[];
1593
- page?: string | string[];
1594
- } | undefined;
1595
- };
1596
- };
1597
- };
1598
- } & {
1599
- "/v1/tokens/:token/transactions": {
1600
- $get: {
1601
1508
  output: null;
1602
1509
  outputFormat: "body";
1603
1510
  status: 402;
@@ -1607,238 +1514,90 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
1607
1514
  };
1608
1515
  } & {
1609
1516
  query?: {
1610
- 'blockNumber.from'?: string | string[];
1611
- 'blockNumber.to'?: string | string[];
1612
1517
  chainId?: string | string[];
1613
1518
  cursor?: string | string[];
1614
- feePayer?: string | string[];
1615
- feeToken?: string | string[];
1616
1519
  include?: string | string[];
1617
1520
  limit?: string | string[];
1618
- order?: string | string[];
1619
1521
  page?: string | string[];
1620
- 'timestamp.from'?: string | string[];
1621
- 'timestamp.to'?: string | string[];
1622
1522
  } | undefined;
1623
1523
  };
1624
1524
  } | {
1625
1525
  output: {
1626
1526
  error: {
1627
- code: "api_key_malformed";
1527
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1628
1528
  details?: readonly Response.error.Detail[] | undefined;
1629
1529
  message: string;
1630
1530
  };
1631
1531
  requestId: string;
1632
1532
  };
1633
1533
  outputFormat: "json";
1634
- status: 400;
1534
+ status: 403;
1635
1535
  input: {
1636
1536
  param: {
1637
1537
  token: `0x${string}`;
1638
1538
  };
1639
1539
  } & {
1640
1540
  query?: {
1641
- 'blockNumber.from'?: string | string[];
1642
- 'blockNumber.to'?: string | string[];
1643
1541
  chainId?: string | string[];
1644
1542
  cursor?: string | string[];
1645
- feePayer?: string | string[];
1646
- feeToken?: string | string[];
1647
1543
  include?: string | string[];
1648
1544
  limit?: string | string[];
1649
- order?: string | string[];
1650
1545
  page?: string | string[];
1651
- 'timestamp.from'?: string | string[];
1652
- 'timestamp.to'?: string | string[];
1653
1546
  } | undefined;
1654
1547
  };
1655
1548
  } | {
1656
1549
  output: {
1657
1550
  error: {
1658
- code: "api_key_invalid" | "api_key_missing";
1551
+ code: "payment_required" | "rate_limit_exceeded";
1659
1552
  details?: readonly Response.error.Detail[] | undefined;
1660
1553
  message: string;
1661
1554
  };
1662
1555
  requestId: string;
1663
1556
  };
1664
1557
  outputFormat: "json";
1665
- status: 401;
1558
+ status: 429;
1666
1559
  input: {
1667
1560
  param: {
1668
1561
  token: `0x${string}`;
1669
1562
  };
1670
1563
  } & {
1671
1564
  query?: {
1672
- 'blockNumber.from'?: string | string[];
1673
- 'blockNumber.to'?: string | string[];
1674
1565
  chainId?: string | string[];
1675
1566
  cursor?: string | string[];
1676
- feePayer?: string | string[];
1677
- feeToken?: string | string[];
1678
1567
  include?: string | string[];
1679
1568
  limit?: string | string[];
1680
- order?: string | string[];
1681
1569
  page?: string | string[];
1682
- 'timestamp.from'?: string | string[];
1683
- 'timestamp.to'?: string | string[];
1684
1570
  } | undefined;
1685
1571
  };
1686
1572
  } | {
1687
1573
  output: {
1688
1574
  error: {
1689
- code: "api_key_forbidden";
1575
+ code: "upstream_error";
1690
1576
  details?: readonly Response.error.Detail[] | undefined;
1691
1577
  message: string;
1692
1578
  };
1693
1579
  requestId: string;
1694
1580
  };
1695
1581
  outputFormat: "json";
1696
- status: 403;
1582
+ status: 502;
1697
1583
  input: {
1698
1584
  param: {
1699
1585
  token: `0x${string}`;
1700
1586
  };
1701
1587
  } & {
1702
1588
  query?: {
1703
- 'blockNumber.from'?: string | string[];
1704
- 'blockNumber.to'?: string | string[];
1705
1589
  chainId?: string | string[];
1706
1590
  cursor?: string | string[];
1707
- feePayer?: string | string[];
1708
- feeToken?: string | string[];
1709
- include?: string | string[];
1710
- limit?: string | string[];
1711
- order?: string | string[];
1712
- page?: string | string[];
1713
- 'timestamp.from'?: string | string[];
1714
- 'timestamp.to'?: string | string[];
1715
- } | undefined;
1716
- };
1717
- } | {
1718
- output: {
1719
- error: {
1720
- code: "payment_required" | "rate_limit_exceeded";
1721
- details?: readonly Response.error.Detail[] | undefined;
1722
- message: string;
1723
- };
1724
- requestId: string;
1725
- };
1726
- outputFormat: "json";
1727
- status: 429;
1728
- input: {
1729
- param: {
1730
- token: `0x${string}`;
1731
- };
1732
- } & {
1733
- query?: {
1734
- 'blockNumber.from'?: string | string[];
1735
- 'blockNumber.to'?: string | string[];
1736
- chainId?: string | string[];
1737
- cursor?: string | string[];
1738
- feePayer?: string | string[];
1739
- feeToken?: string | string[];
1740
- include?: string | string[];
1741
- limit?: string | string[];
1742
- order?: string | string[];
1743
- page?: string | string[];
1744
- 'timestamp.from'?: string | string[];
1745
- 'timestamp.to'?: string | string[];
1746
- } | undefined;
1747
- };
1748
- } | {
1749
- output: {
1750
- error: {
1751
- code: "query_invalid";
1752
- details?: readonly Response.error.Detail[] | undefined;
1753
- message: string;
1754
- };
1755
- requestId: string;
1756
- };
1757
- outputFormat: "json";
1758
- status: 400;
1759
- input: {
1760
- param: {
1761
- token: `0x${string}`;
1762
- };
1763
- } & {
1764
- query?: {
1765
- 'blockNumber.from'?: string | string[];
1766
- 'blockNumber.to'?: string | string[];
1767
- chainId?: string | string[];
1768
- cursor?: string | string[];
1769
- feePayer?: string | string[];
1770
- feeToken?: string | string[];
1771
1591
  include?: string | string[];
1772
1592
  limit?: string | string[];
1773
- order?: string | string[];
1774
1593
  page?: string | string[];
1775
- 'timestamp.from'?: string | string[];
1776
- 'timestamp.to'?: string | string[];
1777
1594
  } | undefined;
1778
1595
  };
1779
- } | {
1780
- output: {
1781
- error: {
1782
- code: "upstream_error";
1783
- details?: readonly Response.error.Detail[] | undefined;
1784
- message: string;
1785
- };
1786
- requestId: string;
1787
- };
1788
- outputFormat: "json";
1789
- status: 502;
1790
- input: {
1791
- param: {
1792
- token: `0x${string}`;
1793
- };
1794
- } & {
1795
- query?: {
1796
- 'blockNumber.from'?: string | string[];
1797
- 'blockNumber.to'?: string | string[];
1798
- chainId?: string | string[];
1799
- cursor?: string | string[];
1800
- feePayer?: string | string[];
1801
- feeToken?: string | string[];
1802
- include?: string | string[];
1803
- limit?: string | string[];
1804
- order?: string | string[];
1805
- page?: string | string[];
1806
- 'timestamp.from'?: string | string[];
1807
- 'timestamp.to'?: string | string[];
1808
- } | undefined;
1809
- };
1810
- } | {
1811
- output: {
1812
- error: {
1813
- code: "token_invalid";
1814
- details?: readonly Response.error.Detail[] | undefined;
1815
- message: string;
1816
- };
1817
- requestId: string;
1818
- };
1819
- outputFormat: "json";
1820
- status: 400;
1821
- input: {
1822
- param: {
1823
- token: `0x${string}`;
1824
- };
1825
- } & {
1826
- query?: {
1827
- 'blockNumber.from'?: string | string[];
1828
- 'blockNumber.to'?: string | string[];
1829
- chainId?: string | string[];
1830
- cursor?: string | string[];
1831
- feePayer?: string | string[];
1832
- feeToken?: string | string[];
1833
- include?: string | string[];
1834
- limit?: string | string[];
1835
- order?: string | string[];
1836
- page?: string | string[];
1837
- 'timestamp.from'?: string | string[];
1838
- 'timestamp.to'?: string | string[];
1839
- } | undefined;
1840
- };
1841
- } | {
1596
+ };
1597
+ };
1598
+ } & {
1599
+ "/v1/tokens/:token/transactions": {
1600
+ $get: {
1842
1601
  output: {
1843
1602
  data: {
1844
1603
  blockHash: `0x${string}` | null;
@@ -2064,6 +1823,247 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
2064
1823
  'timestamp.to'?: string | string[];
2065
1824
  } | undefined;
2066
1825
  };
1826
+ } | {
1827
+ output: {
1828
+ error: {
1829
+ code: "api_key_malformed";
1830
+ details?: readonly Response.error.Detail[] | undefined;
1831
+ message: string;
1832
+ };
1833
+ requestId: string;
1834
+ };
1835
+ outputFormat: "json";
1836
+ status: 400;
1837
+ input: {
1838
+ param: {
1839
+ token: `0x${string}`;
1840
+ };
1841
+ } & {
1842
+ query?: {
1843
+ 'blockNumber.from'?: string | string[];
1844
+ 'blockNumber.to'?: string | string[];
1845
+ chainId?: string | string[];
1846
+ cursor?: string | string[];
1847
+ feePayer?: string | string[];
1848
+ feeToken?: string | string[];
1849
+ include?: string | string[];
1850
+ limit?: string | string[];
1851
+ order?: string | string[];
1852
+ page?: string | string[];
1853
+ 'timestamp.from'?: string | string[];
1854
+ 'timestamp.to'?: string | string[];
1855
+ } | undefined;
1856
+ };
1857
+ } | {
1858
+ output: {
1859
+ error: {
1860
+ code: "query_invalid";
1861
+ details?: readonly Response.error.Detail[] | undefined;
1862
+ message: string;
1863
+ };
1864
+ requestId: string;
1865
+ };
1866
+ outputFormat: "json";
1867
+ status: 400;
1868
+ input: {
1869
+ param: {
1870
+ token: `0x${string}`;
1871
+ };
1872
+ } & {
1873
+ query?: {
1874
+ 'blockNumber.from'?: string | string[];
1875
+ 'blockNumber.to'?: string | string[];
1876
+ chainId?: string | string[];
1877
+ cursor?: string | string[];
1878
+ feePayer?: string | string[];
1879
+ feeToken?: string | string[];
1880
+ include?: string | string[];
1881
+ limit?: string | string[];
1882
+ order?: string | string[];
1883
+ page?: string | string[];
1884
+ 'timestamp.from'?: string | string[];
1885
+ 'timestamp.to'?: string | string[];
1886
+ } | undefined;
1887
+ };
1888
+ } | {
1889
+ output: {
1890
+ error: {
1891
+ code: "token_invalid";
1892
+ details?: readonly Response.error.Detail[] | undefined;
1893
+ message: string;
1894
+ };
1895
+ requestId: string;
1896
+ };
1897
+ outputFormat: "json";
1898
+ status: 400;
1899
+ input: {
1900
+ param: {
1901
+ token: `0x${string}`;
1902
+ };
1903
+ } & {
1904
+ query?: {
1905
+ 'blockNumber.from'?: string | string[];
1906
+ 'blockNumber.to'?: string | string[];
1907
+ chainId?: string | string[];
1908
+ cursor?: string | string[];
1909
+ feePayer?: string | string[];
1910
+ feeToken?: string | string[];
1911
+ include?: string | string[];
1912
+ limit?: string | string[];
1913
+ order?: string | string[];
1914
+ page?: string | string[];
1915
+ 'timestamp.from'?: string | string[];
1916
+ 'timestamp.to'?: string | string[];
1917
+ } | undefined;
1918
+ };
1919
+ } | {
1920
+ output: {
1921
+ error: {
1922
+ code: "api_key_invalid" | "api_key_missing";
1923
+ details?: readonly Response.error.Detail[] | undefined;
1924
+ message: string;
1925
+ };
1926
+ requestId: string;
1927
+ };
1928
+ outputFormat: "json";
1929
+ status: 401;
1930
+ input: {
1931
+ param: {
1932
+ token: `0x${string}`;
1933
+ };
1934
+ } & {
1935
+ query?: {
1936
+ 'blockNumber.from'?: string | string[];
1937
+ 'blockNumber.to'?: string | string[];
1938
+ chainId?: string | string[];
1939
+ cursor?: string | string[];
1940
+ feePayer?: string | string[];
1941
+ feeToken?: string | string[];
1942
+ include?: string | string[];
1943
+ limit?: string | string[];
1944
+ order?: string | string[];
1945
+ page?: string | string[];
1946
+ 'timestamp.from'?: string | string[];
1947
+ 'timestamp.to'?: string | string[];
1948
+ } | undefined;
1949
+ };
1950
+ } | {
1951
+ output: null;
1952
+ outputFormat: "body";
1953
+ status: 402;
1954
+ input: {
1955
+ param: {
1956
+ token: `0x${string}`;
1957
+ };
1958
+ } & {
1959
+ query?: {
1960
+ 'blockNumber.from'?: string | string[];
1961
+ 'blockNumber.to'?: string | string[];
1962
+ chainId?: string | string[];
1963
+ cursor?: string | string[];
1964
+ feePayer?: string | string[];
1965
+ feeToken?: string | string[];
1966
+ include?: string | string[];
1967
+ limit?: string | string[];
1968
+ order?: string | string[];
1969
+ page?: string | string[];
1970
+ 'timestamp.from'?: string | string[];
1971
+ 'timestamp.to'?: string | string[];
1972
+ } | undefined;
1973
+ };
1974
+ } | {
1975
+ output: {
1976
+ error: {
1977
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1978
+ details?: readonly Response.error.Detail[] | undefined;
1979
+ message: string;
1980
+ };
1981
+ requestId: string;
1982
+ };
1983
+ outputFormat: "json";
1984
+ status: 403;
1985
+ input: {
1986
+ param: {
1987
+ token: `0x${string}`;
1988
+ };
1989
+ } & {
1990
+ query?: {
1991
+ 'blockNumber.from'?: string | string[];
1992
+ 'blockNumber.to'?: string | string[];
1993
+ chainId?: string | string[];
1994
+ cursor?: string | string[];
1995
+ feePayer?: string | string[];
1996
+ feeToken?: string | string[];
1997
+ include?: string | string[];
1998
+ limit?: string | string[];
1999
+ order?: string | string[];
2000
+ page?: string | string[];
2001
+ 'timestamp.from'?: string | string[];
2002
+ 'timestamp.to'?: string | string[];
2003
+ } | undefined;
2004
+ };
2005
+ } | {
2006
+ output: {
2007
+ error: {
2008
+ code: "payment_required" | "rate_limit_exceeded";
2009
+ details?: readonly Response.error.Detail[] | undefined;
2010
+ message: string;
2011
+ };
2012
+ requestId: string;
2013
+ };
2014
+ outputFormat: "json";
2015
+ status: 429;
2016
+ input: {
2017
+ param: {
2018
+ token: `0x${string}`;
2019
+ };
2020
+ } & {
2021
+ query?: {
2022
+ 'blockNumber.from'?: string | string[];
2023
+ 'blockNumber.to'?: string | string[];
2024
+ chainId?: string | string[];
2025
+ cursor?: string | string[];
2026
+ feePayer?: string | string[];
2027
+ feeToken?: string | string[];
2028
+ include?: string | string[];
2029
+ limit?: string | string[];
2030
+ order?: string | string[];
2031
+ page?: string | string[];
2032
+ 'timestamp.from'?: string | string[];
2033
+ 'timestamp.to'?: string | string[];
2034
+ } | undefined;
2035
+ };
2036
+ } | {
2037
+ output: {
2038
+ error: {
2039
+ code: "upstream_error";
2040
+ details?: readonly Response.error.Detail[] | undefined;
2041
+ message: string;
2042
+ };
2043
+ requestId: string;
2044
+ };
2045
+ outputFormat: "json";
2046
+ status: 502;
2047
+ input: {
2048
+ param: {
2049
+ token: `0x${string}`;
2050
+ };
2051
+ } & {
2052
+ query?: {
2053
+ 'blockNumber.from'?: string | string[];
2054
+ 'blockNumber.to'?: string | string[];
2055
+ chainId?: string | string[];
2056
+ cursor?: string | string[];
2057
+ feePayer?: string | string[];
2058
+ feeToken?: string | string[];
2059
+ include?: string | string[];
2060
+ limit?: string | string[];
2061
+ order?: string | string[];
2062
+ page?: string | string[];
2063
+ 'timestamp.from'?: string | string[];
2064
+ 'timestamp.to'?: string | string[];
2065
+ } | undefined;
2066
+ };
2067
2067
  };
2068
2068
  };
2069
2069
  }, "/", "/v1/tokens/:token/transactions">;