tapimo 0.4.1 → 0.4.4

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 (263) hide show
  1. package/README.md +1 -1
  2. package/dist/ApiKey.d.ts +1 -9
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +2 -3
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +53 -27
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +32 -17
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +1990 -1442
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +23 -9
  13. package/dist/App.js.map +1 -1
  14. package/dist/Assets.d.ts +10 -0
  15. package/dist/Assets.d.ts.map +1 -1
  16. package/dist/Assets.js +4 -0
  17. package/dist/Assets.js.map +1 -1
  18. package/dist/Auth.d.ts +2 -1
  19. package/dist/Auth.d.ts.map +1 -1
  20. package/dist/Auth.js +2 -1
  21. package/dist/Auth.js.map +1 -1
  22. package/dist/Scope.d.ts +40 -15
  23. package/dist/Scope.d.ts.map +1 -1
  24. package/dist/Scope.js +44 -13
  25. package/dist/Scope.js.map +1 -1
  26. package/dist/admin/App.d.ts +560 -9
  27. package/dist/admin/App.d.ts.map +1 -1
  28. package/dist/admin/App.js +38 -6
  29. package/dist/admin/App.js.map +1 -1
  30. package/dist/admin/apps/api-keys.d.ts +10 -24
  31. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  32. package/dist/admin/apps/api-keys.js +10 -3
  33. package/dist/admin/apps/api-keys.js.map +1 -1
  34. package/dist/admin/apps/organizations.d.ts +833 -0
  35. package/dist/admin/apps/organizations.d.ts.map +1 -0
  36. package/dist/admin/apps/organizations.js +733 -0
  37. package/dist/admin/apps/organizations.js.map +1 -0
  38. package/dist/admin/apps/scopes.d.ts +8 -0
  39. package/dist/admin/apps/scopes.d.ts.map +1 -1
  40. package/dist/admin/apps/verified-tokens.d.ts +57 -57
  41. package/dist/admin/ui.generated.d.ts +1 -1
  42. package/dist/admin/ui.generated.d.ts.map +1 -1
  43. package/dist/admin/ui.generated.js +53 -13
  44. package/dist/admin/ui.generated.js.map +1 -1
  45. package/dist/analytics/Analytics.d.ts +10 -0
  46. package/dist/analytics/Analytics.d.ts.map +1 -1
  47. package/dist/analytics/Analytics.js +8 -0
  48. package/dist/analytics/Analytics.js.map +1 -1
  49. package/dist/analytics/tables/requestEvents.d.ts +9 -0
  50. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  51. package/dist/analytics/tables/requestEvents.js +14 -0
  52. package/dist/analytics/tables/requestEvents.js.map +1 -1
  53. package/dist/apps/data/App.d.ts +1304 -1304
  54. package/dist/apps/data/FundingRouteProviders.d.ts +4 -22
  55. package/dist/apps/data/FundingRouteProviders.d.ts.map +1 -1
  56. package/dist/apps/data/FundingRouteProviders.js +10 -120
  57. package/dist/apps/data/FundingRouteProviders.js.map +1 -1
  58. package/dist/apps/data/routes/activities.d.ts +38 -38
  59. package/dist/apps/data/routes/addresses.d.ts +24 -24
  60. package/dist/apps/data/routes/blocks.d.ts +39 -39
  61. package/dist/apps/data/routes/fee-amm.d.ts +20 -20
  62. package/dist/apps/data/routes/funding.js +7 -7
  63. package/dist/apps/data/routes/funding.js.map +1 -1
  64. package/dist/apps/data/routes/indexer.d.ts +5 -5
  65. package/dist/apps/data/routes/tokenlist.d.ts +12 -12
  66. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  67. package/dist/apps/management/App.d.ts +808 -267
  68. package/dist/apps/management/App.d.ts.map +1 -1
  69. package/dist/apps/management/App.js +2 -2
  70. package/dist/apps/management/Billing.d.ts +3 -0
  71. package/dist/apps/management/Billing.d.ts.map +1 -1
  72. package/dist/apps/management/Billing.js +7 -2
  73. package/dist/apps/management/Billing.js.map +1 -1
  74. package/dist/apps/management/routes/api-keys.d.ts +116 -100
  75. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  76. package/dist/apps/management/routes/api-keys.js +41 -30
  77. package/dist/apps/management/routes/api-keys.js.map +1 -1
  78. package/dist/apps/management/routes/billing.d.ts +182 -50
  79. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  80. package/dist/apps/management/routes/billing.js +14 -14
  81. package/dist/apps/management/routes/billing.js.map +1 -1
  82. package/dist/apps/management/routes/invitations.d.ts +93 -20
  83. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  84. package/dist/apps/management/routes/invitations.js +12 -15
  85. package/dist/apps/management/routes/invitations.js.map +1 -1
  86. package/dist/apps/management/routes/members.d.ts +89 -18
  87. package/dist/apps/management/routes/members.d.ts.map +1 -1
  88. package/dist/apps/management/routes/members.js +10 -10
  89. package/dist/apps/management/routes/members.js.map +1 -1
  90. package/dist/apps/management/routes/orgs.d.ts +100 -40
  91. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  92. package/dist/apps/management/routes/orgs.js +19 -19
  93. package/dist/apps/management/routes/orgs.js.map +1 -1
  94. package/dist/apps/management/routes/projects.d.ts +122 -33
  95. package/dist/apps/management/routes/projects.d.ts.map +1 -1
  96. package/dist/apps/management/routes/projects.js +12 -13
  97. package/dist/apps/management/routes/projects.js.map +1 -1
  98. package/dist/apps/management/routes/scopes.d.ts +4 -18
  99. package/dist/apps/management/routes/scopes.d.ts.map +1 -1
  100. package/dist/apps/management/routes/scopes.js +6 -7
  101. package/dist/apps/management/routes/scopes.js.map +1 -1
  102. package/dist/apps/management/routes/usage.d.ts +63 -19
  103. package/dist/apps/management/routes/usage.d.ts.map +1 -1
  104. package/dist/apps/management/routes/usage.js +9 -10
  105. package/dist/apps/management/routes/usage.js.map +1 -1
  106. package/dist/apps/mcp.d.ts.map +1 -1
  107. package/dist/apps/mcp.js +38 -4
  108. package/dist/apps/mcp.js.map +1 -1
  109. package/dist/apps/relay/App.d.ts +26 -4
  110. package/dist/apps/relay/App.d.ts.map +1 -1
  111. package/dist/apps/relay/App.js +17 -14
  112. package/dist/apps/relay/App.js.map +1 -1
  113. package/dist/cloudflare.d.ts +2 -0
  114. package/dist/cloudflare.d.ts.map +1 -1
  115. package/dist/cloudflare.js +4 -0
  116. package/dist/cloudflare.js.map +1 -1
  117. package/dist/db/Db.d.ts +5 -3
  118. package/dist/db/Db.d.ts.map +1 -1
  119. package/dist/db/Db.js +52 -0
  120. package/dist/db/Db.js.map +1 -1
  121. package/dist/db/Schema.d.ts +13 -0
  122. package/dist/db/Schema.d.ts.map +1 -1
  123. package/dist/db/Schema.js +16 -1
  124. package/dist/db/Schema.js.map +1 -1
  125. package/dist/db/tables/adminAuditLogs.d.ts +27 -0
  126. package/dist/db/tables/adminAuditLogs.d.ts.map +1 -0
  127. package/dist/db/tables/adminAuditLogs.js +19 -0
  128. package/dist/db/tables/adminAuditLogs.js.map +1 -0
  129. package/dist/db/tables/invitations.d.ts +1 -1
  130. package/dist/db/tables/invitations.d.ts.map +1 -1
  131. package/dist/db/tables/memberships.d.ts +32 -4
  132. package/dist/db/tables/memberships.d.ts.map +1 -1
  133. package/dist/db/tables/memberships.js +31 -0
  134. package/dist/db/tables/memberships.js.map +1 -1
  135. package/dist/db/tables/organizations.d.ts +43 -1
  136. package/dist/db/tables/organizations.d.ts.map +1 -1
  137. package/dist/db/tables/organizations.js +103 -0
  138. package/dist/db/tables/organizations.js.map +1 -1
  139. package/dist/db/tables/projects.d.ts +25 -0
  140. package/dist/db/tables/projects.d.ts.map +1 -1
  141. package/dist/db/tables/projects.js +22 -0
  142. package/dist/db/tables/projects.js.map +1 -1
  143. package/dist/db/tables/webhookDeliveries.d.ts +26 -0
  144. package/dist/db/tables/webhookDeliveries.d.ts.map +1 -1
  145. package/dist/db/tables/webhookDeliveries.js +37 -0
  146. package/dist/db/tables/webhookDeliveries.js.map +1 -1
  147. package/dist/internal/Auth.d.ts +46 -40
  148. package/dist/internal/Auth.d.ts.map +1 -1
  149. package/dist/internal/Auth.js +118 -69
  150. package/dist/internal/Auth.js.map +1 -1
  151. package/dist/internal/Cursor.d.ts +1 -1
  152. package/dist/internal/Cursor.d.ts.map +1 -1
  153. package/dist/internal/Cursor.js +4 -0
  154. package/dist/internal/Cursor.js.map +1 -1
  155. package/dist/internal/EdgeCache.d.ts.map +1 -1
  156. package/dist/internal/EdgeCache.js +2 -0
  157. package/dist/internal/EdgeCache.js.map +1 -1
  158. package/dist/internal/Errors.d.ts +6 -0
  159. package/dist/internal/Errors.d.ts.map +1 -0
  160. package/dist/internal/Errors.js +16 -0
  161. package/dist/internal/Errors.js.map +1 -0
  162. package/dist/internal/FundingRoutes.d.ts +15 -43
  163. package/dist/internal/FundingRoutes.d.ts.map +1 -1
  164. package/dist/internal/FundingRoutes.js +8 -17
  165. package/dist/internal/FundingRoutes.js.map +1 -1
  166. package/dist/internal/Log.d.ts +16 -1
  167. package/dist/internal/Log.d.ts.map +1 -1
  168. package/dist/internal/Log.js +5 -3
  169. package/dist/internal/Log.js.map +1 -1
  170. package/dist/internal/Store.d.ts +61 -16
  171. package/dist/internal/Store.d.ts.map +1 -1
  172. package/dist/internal/Store.js +72 -17
  173. package/dist/internal/Store.js.map +1 -1
  174. package/dist/internal/Viem.d.ts +1 -1
  175. package/dist/internal/index.d.ts +27 -0
  176. package/dist/internal/index.d.ts.map +1 -0
  177. package/dist/internal/index.js +27 -0
  178. package/dist/internal/index.js.map +1 -0
  179. package/package.json +8 -3
  180. package/src/ApiKey.ts +2 -3
  181. package/src/ApiKeys.ts +95 -17
  182. package/src/App.test.ts +104 -6
  183. package/src/App.ts +29 -9
  184. package/src/Assets.ts +8 -0
  185. package/src/Auth.test-d.ts +36 -0
  186. package/src/Auth.ts +20 -1
  187. package/src/Client.test-d.ts +17 -17
  188. package/src/Scope.test.ts +34 -0
  189. package/src/Scope.ts +53 -17
  190. package/src/admin/App.test.ts +33 -3
  191. package/src/admin/App.ts +49 -14
  192. package/src/admin/apps/api-keys.ts +10 -3
  193. package/src/admin/apps/organizations.test.ts +455 -0
  194. package/src/admin/apps/organizations.ts +953 -0
  195. package/src/admin/apps/scopes.test.ts +10 -0
  196. package/src/admin/ui/plugin.ts +1 -1
  197. package/src/admin/ui/src/components/MobileProfile.tsx +2 -0
  198. package/src/admin/ui/src/components/ThemeToggle.tsx +20 -0
  199. package/src/admin/ui/src/lib/api-keys.ts +36 -19
  200. package/src/admin/ui/src/lib/config.ts +2 -3
  201. package/src/admin/ui/src/lib/organizations.test.ts +89 -0
  202. package/src/admin/ui/src/lib/organizations.ts +262 -0
  203. package/src/admin/ui/src/lib/query-client.ts +3 -1
  204. package/src/admin/ui/src/lib/theme.ts +57 -0
  205. package/src/admin/ui/src/routeTree.gen.ts +47 -4
  206. package/src/admin/ui/src/routes/__root.tsx +18 -3
  207. package/src/admin/ui/src/routes/api-keys.tsx +52 -7
  208. package/src/admin/ui/src/routes/index.tsx +1 -1
  209. package/src/admin/ui/src/routes/organizations.tsx +158 -0
  210. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +710 -0
  211. package/src/admin/ui/src/start.ts +6 -0
  212. package/src/admin/ui.generated.ts +63 -13
  213. package/src/analytics/Analytics.ts +25 -0
  214. package/src/analytics/tables/requestEvents.ts +33 -0
  215. package/src/apps/composition.test.ts +82 -2
  216. package/src/apps/data/FundingRouteProviders.test.ts +37 -93
  217. package/src/apps/data/FundingRouteProviders.ts +14 -161
  218. package/src/apps/data/routes/funding.test.ts +7 -42
  219. package/src/apps/data/routes/funding.ts +8 -8
  220. package/src/apps/data/routes/indexer.test.ts +2 -2
  221. package/src/apps/data/routes/webhooks.test.ts +2 -2
  222. package/src/apps/management/App.ts +2 -2
  223. package/src/apps/management/Billing.ts +10 -2
  224. package/src/apps/management/routes/api-keys.test.ts +137 -1
  225. package/src/apps/management/routes/api-keys.ts +63 -38
  226. package/src/apps/management/routes/billing.ts +14 -14
  227. package/src/apps/management/routes/invitations.test.ts +102 -1
  228. package/src/apps/management/routes/invitations.ts +13 -15
  229. package/src/apps/management/routes/members.ts +10 -10
  230. package/src/apps/management/routes/orgs.test.ts +78 -16
  231. package/src/apps/management/routes/orgs.ts +21 -20
  232. package/src/apps/management/routes/projects.ts +12 -13
  233. package/src/apps/management/routes/scopes.test.ts +16 -0
  234. package/src/apps/management/routes/scopes.ts +6 -7
  235. package/src/apps/management/routes/usage.ts +9 -14
  236. package/src/apps/mcp.test.ts +72 -7
  237. package/src/apps/mcp.ts +46 -4
  238. package/src/apps/relay/App.test.ts +23 -18
  239. package/src/apps/relay/App.ts +35 -14
  240. package/src/cloudflare.ts +5 -0
  241. package/src/db/Db.ts +59 -3
  242. package/src/db/Schema.ts +20 -1
  243. package/src/db/tables/adminAuditLogs.ts +47 -0
  244. package/src/db/tables/invitations.ts +1 -1
  245. package/src/db/tables/memberships.ts +59 -3
  246. package/src/db/tables/organizations.ts +148 -1
  247. package/src/db/tables/projects.ts +47 -0
  248. package/src/db/tables/webhookDeliveries.ts +83 -0
  249. package/src/internal/Auth.test.ts +571 -23
  250. package/src/internal/Auth.ts +166 -94
  251. package/src/internal/Cursor.test.ts +10 -0
  252. package/src/internal/Cursor.ts +5 -1
  253. package/src/internal/EdgeCache.test.ts +11 -0
  254. package/src/internal/EdgeCache.ts +2 -0
  255. package/src/internal/FundingRoutes.test.ts +8 -8
  256. package/src/internal/FundingRoutes.ts +25 -29
  257. package/src/internal/Log.test.ts +41 -3
  258. package/src/internal/Log.ts +23 -4
  259. package/src/internal/Store.test-d.ts +15 -0
  260. package/src/internal/Store.test.ts +153 -2
  261. package/src/internal/Store.ts +157 -41
  262. package/src/internal/index.test.ts +34 -0
  263. package/src/internal/index.ts +26 -0
@@ -14,104 +14,27 @@ import { funding } from './routes/funding.js';
14
14
  * ```
15
15
  */
16
16
  export declare function data(options?: data.Options): import("hono/hono-base").HonoBase<App.Environment, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
17
- "/v1/indexer/query": {
18
- $get: {
19
- output: null;
20
- outputFormat: "body";
21
- status: 402;
22
- input: {};
23
- } | {
24
- output: {
25
- error: {
26
- code: "api_key_malformed";
27
- details?: readonly Response.error.Detail[] | undefined;
28
- message: string;
29
- };
30
- requestId: string;
31
- };
32
- outputFormat: "json";
33
- status: 400;
34
- input: {};
35
- } | {
36
- output: {
37
- error: {
38
- code: "api_key_invalid" | "api_key_missing";
39
- details?: readonly Response.error.Detail[] | undefined;
40
- message: string;
41
- };
42
- requestId: string;
43
- };
44
- outputFormat: "json";
45
- status: 401;
46
- input: {};
47
- } | {
48
- output: {
49
- error: {
50
- code: "api_key_forbidden";
51
- details?: readonly Response.error.Detail[] | undefined;
52
- message: string;
53
- };
54
- requestId: string;
55
- };
56
- outputFormat: "json";
57
- status: 403;
58
- input: {};
59
- } | {
60
- output: {
61
- error: {
62
- code: "payment_required" | "rate_limit_exceeded";
63
- details?: readonly Response.error.Detail[] | undefined;
64
- message: string;
65
- };
66
- requestId: string;
67
- };
68
- outputFormat: "json";
69
- status: 429;
70
- input: {};
71
- } | {
72
- output: {
73
- ok: boolean;
74
- columns: string[];
75
- rows: import("hono/utils/types").JSONValue[][];
76
- row_count: number;
77
- engine?: "clickhouse" | "postgres" | undefined;
78
- query_time_ms?: number | undefined;
79
- };
80
- outputFormat: "json";
81
- status: 200;
82
- input: {};
83
- } | {
84
- output: {
85
- ok: false;
86
- error: string;
87
- };
88
- outputFormat: "json";
89
- status: 400;
90
- input: {};
91
- } | {
92
- output: {
93
- ok: false;
94
- error: string;
95
- };
96
- outputFormat: "json";
97
- status: 422;
98
- input: {};
99
- } | {
100
- output: never;
101
- outputFormat: never;
102
- status: never;
103
- input: {};
104
- };
105
- };
106
- }, "/"> | import("hono/types").MergeSchemaPath<{
107
- "/v1/tokenlist": {
17
+ "/v1/transfers": {
108
18
  $get: {
109
19
  output: null;
110
20
  outputFormat: "body";
111
21
  status: 402;
112
22
  input: {
113
23
  query?: {
24
+ recipient?: string | string[];
25
+ sender?: string | string[];
26
+ token?: string | string[];
27
+ address?: string | string[];
28
+ 'blockNumber.from'?: string | string[];
29
+ 'blockNumber.to'?: string | string[];
114
30
  chainId?: string | string[];
31
+ cursor?: string | string[];
32
+ include?: string | string[];
33
+ limit?: string | string[];
34
+ order?: string | string[];
35
+ page?: string | string[];
36
+ 'timestamp.from'?: string | string[];
37
+ 'timestamp.to'?: string | string[];
115
38
  } | undefined;
116
39
  };
117
40
  } | {
@@ -127,7 +50,20 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
127
50
  status: 400;
128
51
  input: {
129
52
  query?: {
53
+ recipient?: string | string[];
54
+ sender?: string | string[];
55
+ token?: string | string[];
56
+ address?: string | string[];
57
+ 'blockNumber.from'?: string | string[];
58
+ 'blockNumber.to'?: string | string[];
130
59
  chainId?: string | string[];
60
+ cursor?: string | string[];
61
+ include?: string | string[];
62
+ limit?: string | string[];
63
+ order?: string | string[];
64
+ page?: string | string[];
65
+ 'timestamp.from'?: string | string[];
66
+ 'timestamp.to'?: string | string[];
131
67
  } | undefined;
132
68
  };
133
69
  } | {
@@ -143,7 +79,20 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
143
79
  status: 401;
144
80
  input: {
145
81
  query?: {
82
+ recipient?: string | string[];
83
+ sender?: string | string[];
84
+ token?: string | string[];
85
+ address?: string | string[];
86
+ 'blockNumber.from'?: string | string[];
87
+ 'blockNumber.to'?: string | string[];
146
88
  chainId?: string | string[];
89
+ cursor?: string | string[];
90
+ include?: string | string[];
91
+ limit?: string | string[];
92
+ order?: string | string[];
93
+ page?: string | string[];
94
+ 'timestamp.from'?: string | string[];
95
+ 'timestamp.to'?: string | string[];
147
96
  } | undefined;
148
97
  };
149
98
  } | {
@@ -159,7 +108,20 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
159
108
  status: 403;
160
109
  input: {
161
110
  query?: {
111
+ recipient?: string | string[];
112
+ sender?: string | string[];
113
+ token?: string | string[];
114
+ address?: string | string[];
115
+ 'blockNumber.from'?: string | string[];
116
+ 'blockNumber.to'?: string | string[];
162
117
  chainId?: string | string[];
118
+ cursor?: string | string[];
119
+ include?: string | string[];
120
+ limit?: string | string[];
121
+ order?: string | string[];
122
+ page?: string | string[];
123
+ 'timestamp.from'?: string | string[];
124
+ 'timestamp.to'?: string | string[];
163
125
  } | undefined;
164
126
  };
165
127
  } | {
@@ -175,7 +137,20 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
175
137
  status: 429;
176
138
  input: {
177
139
  query?: {
140
+ recipient?: string | string[];
141
+ sender?: string | string[];
142
+ token?: string | string[];
143
+ address?: string | string[];
144
+ 'blockNumber.from'?: string | string[];
145
+ 'blockNumber.to'?: string | string[];
178
146
  chainId?: string | string[];
147
+ cursor?: string | string[];
148
+ include?: string | string[];
149
+ limit?: string | string[];
150
+ order?: string | string[];
151
+ page?: string | string[];
152
+ 'timestamp.from'?: string | string[];
153
+ 'timestamp.to'?: string | string[];
179
154
  } | undefined;
180
155
  };
181
156
  } | {
@@ -191,7 +166,20 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
191
166
  status: 400;
192
167
  input: {
193
168
  query?: {
169
+ recipient?: string | string[];
170
+ sender?: string | string[];
171
+ token?: string | string[];
172
+ address?: string | string[];
173
+ 'blockNumber.from'?: string | string[];
174
+ 'blockNumber.to'?: string | string[];
194
175
  chainId?: string | string[];
176
+ cursor?: string | string[];
177
+ include?: string | string[];
178
+ limit?: string | string[];
179
+ order?: string | string[];
180
+ page?: string | string[];
181
+ 'timestamp.from'?: string | string[];
182
+ 'timestamp.to'?: string | string[];
195
183
  } | undefined;
196
184
  };
197
185
  } | {
@@ -207,51 +195,322 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
207
195
  status: 502;
208
196
  input: {
209
197
  query?: {
198
+ recipient?: string | string[];
199
+ sender?: string | string[];
200
+ token?: string | string[];
201
+ address?: string | string[];
202
+ 'blockNumber.from'?: string | string[];
203
+ 'blockNumber.to'?: string | string[];
210
204
  chainId?: string | string[];
205
+ cursor?: string | string[];
206
+ include?: string | string[];
207
+ limit?: string | string[];
208
+ order?: string | string[];
209
+ page?: string | string[];
210
+ 'timestamp.from'?: string | string[];
211
+ 'timestamp.to'?: string | string[];
211
212
  } | undefined;
212
213
  };
213
214
  } | {
214
215
  output: {
215
- name: string;
216
- timestamp: string;
217
- version: {
218
- major: number;
219
- minor: number;
220
- patch: number;
221
- };
222
- tokens: {
223
- chainId: number;
224
- address: `0x${string}`;
225
- name: string;
226
- symbol: string;
227
- decimals: number;
228
- logoURI?: string | undefined;
216
+ data: {
217
+ attribution?: string | undefined;
218
+ blockNumber: number;
219
+ destinationToken?: {
220
+ address: `0x${string}`;
221
+ amount: string;
222
+ currency?: string | undefined;
223
+ decimals?: number | undefined;
224
+ logoUri?: string | undefined;
225
+ name?: string | undefined;
226
+ symbol?: string | undefined;
227
+ verified?: boolean | undefined;
228
+ } | undefined;
229
+ id: string;
230
+ logIndex: number;
231
+ memo?: string | undefined;
232
+ recipient: `0x${string}`;
233
+ sender: `0x${string}`;
234
+ sourceToken: {
235
+ address: `0x${string}`;
236
+ amount: string;
237
+ currency?: string | undefined;
238
+ decimals?: number | undefined;
239
+ logoUri?: string | undefined;
240
+ name?: string | undefined;
241
+ symbol?: string | undefined;
242
+ verified?: boolean | undefined;
243
+ };
244
+ timestamp: string;
245
+ transactionHash: `0x${string}`;
229
246
  }[];
247
+ meta?: {
248
+ totalCountCapped: boolean;
249
+ totalCount: number;
250
+ } | undefined;
251
+ nextCursor: string | null;
230
252
  };
231
253
  outputFormat: "json";
232
254
  status: 200;
233
255
  input: {
234
256
  query?: {
257
+ recipient?: string | string[];
258
+ sender?: string | string[];
259
+ token?: string | string[];
260
+ address?: string | string[];
261
+ 'blockNumber.from'?: string | string[];
262
+ 'blockNumber.to'?: string | string[];
235
263
  chainId?: string | string[];
264
+ cursor?: string | string[];
265
+ include?: string | string[];
266
+ limit?: string | string[];
267
+ order?: string | string[];
268
+ page?: string | string[];
269
+ 'timestamp.from'?: string | string[];
270
+ 'timestamp.to'?: string | string[];
236
271
  } | undefined;
237
272
  };
238
273
  };
239
274
  };
240
275
  }, "/"> | import("hono/types").MergeSchemaPath<{
241
- "/v1/transactions/:transactionHash/activities": {
276
+ "/v1/indexer/query": {
242
277
  $get: {
243
278
  output: null;
244
279
  outputFormat: "body";
245
280
  status: 402;
246
- input: {
247
- param: {
248
- transactionHash: `0x${string}`;
249
- };
250
- } & {
251
- query?: {
252
- chainId?: string | string[];
253
- logs?: string | string[];
254
- } | undefined;
281
+ input: {};
282
+ } | {
283
+ output: never;
284
+ outputFormat: never;
285
+ status: never;
286
+ input: {};
287
+ } | {
288
+ output: {
289
+ error: {
290
+ code: "api_key_malformed";
291
+ details?: readonly Response.error.Detail[] | undefined;
292
+ message: string;
293
+ };
294
+ requestId: string;
295
+ };
296
+ outputFormat: "json";
297
+ status: 400;
298
+ input: {};
299
+ } | {
300
+ output: {
301
+ error: {
302
+ code: "api_key_invalid" | "api_key_missing";
303
+ details?: readonly Response.error.Detail[] | undefined;
304
+ message: string;
305
+ };
306
+ requestId: string;
307
+ };
308
+ outputFormat: "json";
309
+ status: 401;
310
+ input: {};
311
+ } | {
312
+ output: {
313
+ error: {
314
+ code: "api_key_forbidden";
315
+ details?: readonly Response.error.Detail[] | undefined;
316
+ message: string;
317
+ };
318
+ requestId: string;
319
+ };
320
+ outputFormat: "json";
321
+ status: 403;
322
+ input: {};
323
+ } | {
324
+ output: {
325
+ error: {
326
+ code: "payment_required" | "rate_limit_exceeded";
327
+ details?: readonly Response.error.Detail[] | undefined;
328
+ message: string;
329
+ };
330
+ requestId: string;
331
+ };
332
+ outputFormat: "json";
333
+ status: 429;
334
+ input: {};
335
+ } | {
336
+ output: {
337
+ ok: boolean;
338
+ columns: string[];
339
+ rows: import("hono/utils/types").JSONValue[][];
340
+ row_count: number;
341
+ engine?: "clickhouse" | "postgres" | undefined;
342
+ query_time_ms?: number | undefined;
343
+ };
344
+ outputFormat: "json";
345
+ status: 200;
346
+ input: {};
347
+ } | {
348
+ output: {
349
+ ok: false;
350
+ error: string;
351
+ };
352
+ outputFormat: "json";
353
+ status: 400;
354
+ input: {};
355
+ } | {
356
+ output: {
357
+ ok: false;
358
+ error: string;
359
+ };
360
+ outputFormat: "json";
361
+ status: 422;
362
+ input: {};
363
+ };
364
+ };
365
+ }, "/"> | import("hono/types").MergeSchemaPath<{
366
+ "/v1/tokenlist": {
367
+ $get: {
368
+ output: null;
369
+ outputFormat: "body";
370
+ status: 402;
371
+ input: {
372
+ query?: {
373
+ chainId?: string | string[];
374
+ } | undefined;
375
+ };
376
+ } | {
377
+ output: {
378
+ error: {
379
+ code: "api_key_malformed";
380
+ details?: readonly Response.error.Detail[] | undefined;
381
+ message: string;
382
+ };
383
+ requestId: string;
384
+ };
385
+ outputFormat: "json";
386
+ status: 400;
387
+ input: {
388
+ query?: {
389
+ chainId?: string | string[];
390
+ } | undefined;
391
+ };
392
+ } | {
393
+ output: {
394
+ error: {
395
+ code: "api_key_invalid" | "api_key_missing";
396
+ details?: readonly Response.error.Detail[] | undefined;
397
+ message: string;
398
+ };
399
+ requestId: string;
400
+ };
401
+ outputFormat: "json";
402
+ status: 401;
403
+ input: {
404
+ query?: {
405
+ chainId?: string | string[];
406
+ } | undefined;
407
+ };
408
+ } | {
409
+ output: {
410
+ error: {
411
+ code: "api_key_forbidden";
412
+ details?: readonly Response.error.Detail[] | undefined;
413
+ message: string;
414
+ };
415
+ requestId: string;
416
+ };
417
+ outputFormat: "json";
418
+ status: 403;
419
+ input: {
420
+ query?: {
421
+ chainId?: string | string[];
422
+ } | undefined;
423
+ };
424
+ } | {
425
+ output: {
426
+ error: {
427
+ code: "payment_required" | "rate_limit_exceeded";
428
+ details?: readonly Response.error.Detail[] | undefined;
429
+ message: string;
430
+ };
431
+ requestId: string;
432
+ };
433
+ outputFormat: "json";
434
+ status: 429;
435
+ input: {
436
+ query?: {
437
+ chainId?: string | string[];
438
+ } | undefined;
439
+ };
440
+ } | {
441
+ output: {
442
+ error: {
443
+ code: "query_invalid";
444
+ details?: readonly Response.error.Detail[] | undefined;
445
+ message: string;
446
+ };
447
+ requestId: string;
448
+ };
449
+ outputFormat: "json";
450
+ status: 400;
451
+ input: {
452
+ query?: {
453
+ chainId?: string | string[];
454
+ } | undefined;
455
+ };
456
+ } | {
457
+ output: {
458
+ error: {
459
+ code: "upstream_error";
460
+ details?: readonly Response.error.Detail[] | undefined;
461
+ message: string;
462
+ };
463
+ requestId: string;
464
+ };
465
+ outputFormat: "json";
466
+ status: 502;
467
+ input: {
468
+ query?: {
469
+ chainId?: string | string[];
470
+ } | undefined;
471
+ };
472
+ } | {
473
+ output: {
474
+ name: string;
475
+ timestamp: string;
476
+ version: {
477
+ major: number;
478
+ minor: number;
479
+ patch: number;
480
+ };
481
+ tokens: {
482
+ chainId: number;
483
+ address: `0x${string}`;
484
+ name: string;
485
+ symbol: string;
486
+ decimals: number;
487
+ logoURI?: string | undefined;
488
+ }[];
489
+ };
490
+ outputFormat: "json";
491
+ status: 200;
492
+ input: {
493
+ query?: {
494
+ chainId?: string | string[];
495
+ } | undefined;
496
+ };
497
+ };
498
+ };
499
+ }, "/"> | import("hono/types").MergeSchemaPath<{
500
+ "/v1/transactions/:transactionHash/activities": {
501
+ $get: {
502
+ output: null;
503
+ outputFormat: "body";
504
+ status: 402;
505
+ input: {
506
+ param: {
507
+ transactionHash: `0x${string}`;
508
+ };
509
+ } & {
510
+ query?: {
511
+ chainId?: string | string[];
512
+ logs?: string | string[];
513
+ } | undefined;
255
514
  };
256
515
  } | {
257
516
  output: {
@@ -2026,57 +2285,20 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2026
2285
  };
2027
2286
  };
2028
2287
  }, "/"> | import("hono/types").MergeSchemaPath<{
2029
- "/v1/transfers": {
2030
- $get: {
2031
- output: null;
2032
- outputFormat: "body";
2033
- status: 402;
2288
+ "/rpc/:chain{(mainnet|testnet|[0-9]+)}?": {
2289
+ $post: {
2290
+ output: {
2291
+ error: {
2292
+ code: "api_key_malformed";
2293
+ details?: readonly Response.error.Detail[] | undefined;
2294
+ message: string;
2295
+ };
2296
+ requestId: string;
2297
+ };
2298
+ outputFormat: "json";
2299
+ status: 400;
2034
2300
  input: {
2035
- query?: {
2036
- recipient?: string | string[];
2037
- sender?: string | string[];
2038
- token?: string | string[];
2039
- address?: string | string[];
2040
- 'blockNumber.from'?: string | string[];
2041
- 'blockNumber.to'?: string | string[];
2042
- chainId?: string | string[];
2043
- cursor?: string | string[];
2044
- include?: string | string[];
2045
- limit?: string | string[];
2046
- order?: string | string[];
2047
- page?: string | string[];
2048
- 'timestamp.from'?: string | string[];
2049
- 'timestamp.to'?: string | string[];
2050
- } | undefined;
2051
- };
2052
- } | {
2053
- output: {
2054
- error: {
2055
- code: "api_key_malformed";
2056
- details?: readonly Response.error.Detail[] | undefined;
2057
- message: string;
2058
- };
2059
- requestId: string;
2060
- };
2061
- outputFormat: "json";
2062
- status: 400;
2063
- input: {
2064
- query?: {
2065
- recipient?: string | string[];
2066
- sender?: string | string[];
2067
- token?: string | string[];
2068
- address?: string | string[];
2069
- 'blockNumber.from'?: string | string[];
2070
- 'blockNumber.to'?: string | string[];
2071
- chainId?: string | string[];
2072
- cursor?: string | string[];
2073
- include?: string | string[];
2074
- limit?: string | string[];
2075
- order?: string | string[];
2076
- page?: string | string[];
2077
- 'timestamp.from'?: string | string[];
2078
- 'timestamp.to'?: string | string[];
2079
- } | undefined;
2301
+ param: Record<"chain", string | undefined>;
2080
2302
  };
2081
2303
  } | {
2082
2304
  output: {
@@ -2090,22 +2312,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2090
2312
  outputFormat: "json";
2091
2313
  status: 401;
2092
2314
  input: {
2093
- query?: {
2094
- recipient?: string | string[];
2095
- sender?: string | string[];
2096
- token?: string | string[];
2097
- address?: string | string[];
2098
- 'blockNumber.from'?: string | string[];
2099
- 'blockNumber.to'?: string | string[];
2100
- chainId?: string | string[];
2101
- cursor?: string | string[];
2102
- include?: string | string[];
2103
- limit?: string | string[];
2104
- order?: string | string[];
2105
- page?: string | string[];
2106
- 'timestamp.from'?: string | string[];
2107
- 'timestamp.to'?: string | string[];
2108
- } | undefined;
2315
+ param: Record<"chain", string | undefined>;
2109
2316
  };
2110
2317
  } | {
2111
2318
  output: {
@@ -2119,22 +2326,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2119
2326
  outputFormat: "json";
2120
2327
  status: 403;
2121
2328
  input: {
2122
- query?: {
2123
- recipient?: string | string[];
2124
- sender?: string | string[];
2125
- token?: string | string[];
2126
- address?: string | string[];
2127
- 'blockNumber.from'?: string | string[];
2128
- 'blockNumber.to'?: string | string[];
2129
- chainId?: string | string[];
2130
- cursor?: string | string[];
2131
- include?: string | string[];
2132
- limit?: string | string[];
2133
- order?: string | string[];
2134
- page?: string | string[];
2135
- 'timestamp.from'?: string | string[];
2136
- 'timestamp.to'?: string | string[];
2137
- } | undefined;
2329
+ param: Record<"chain", string | undefined>;
2138
2330
  };
2139
2331
  } | {
2140
2332
  output: {
@@ -2148,27 +2340,12 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2148
2340
  outputFormat: "json";
2149
2341
  status: 429;
2150
2342
  input: {
2151
- query?: {
2152
- recipient?: string | string[];
2153
- sender?: string | string[];
2154
- token?: string | string[];
2155
- address?: string | string[];
2156
- 'blockNumber.from'?: string | string[];
2157
- 'blockNumber.to'?: string | string[];
2158
- chainId?: string | string[];
2159
- cursor?: string | string[];
2160
- include?: string | string[];
2161
- limit?: string | string[];
2162
- order?: string | string[];
2163
- page?: string | string[];
2164
- 'timestamp.from'?: string | string[];
2165
- 'timestamp.to'?: string | string[];
2166
- } | undefined;
2343
+ param: Record<"chain", string | undefined>;
2167
2344
  };
2168
2345
  } | {
2169
2346
  output: {
2170
2347
  error: {
2171
- code: "query_invalid";
2348
+ code: "chain_id_invalid";
2172
2349
  details?: readonly Response.error.Detail[] | undefined;
2173
2350
  message: string;
2174
2351
  };
@@ -2177,116 +2354,52 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2177
2354
  outputFormat: "json";
2178
2355
  status: 400;
2179
2356
  input: {
2180
- query?: {
2181
- recipient?: string | string[];
2182
- sender?: string | string[];
2183
- token?: string | string[];
2184
- address?: string | string[];
2185
- 'blockNumber.from'?: string | string[];
2186
- 'blockNumber.to'?: string | string[];
2187
- chainId?: string | string[];
2188
- cursor?: string | string[];
2189
- include?: string | string[];
2190
- limit?: string | string[];
2191
- order?: string | string[];
2192
- page?: string | string[];
2193
- 'timestamp.from'?: string | string[];
2194
- 'timestamp.to'?: string | string[];
2195
- } | undefined;
2357
+ param: Record<"chain", string | undefined>;
2196
2358
  };
2197
2359
  } | {
2198
2360
  output: {
2199
- error: {
2200
- code: "upstream_error";
2201
- details?: readonly Response.error.Detail[] | undefined;
2361
+ error?: {
2362
+ code: number;
2363
+ data?: import("hono/utils/types").JSONValue;
2202
2364
  message: string;
2203
- };
2204
- requestId: string;
2205
- };
2206
- outputFormat: "json";
2207
- status: 502;
2208
- input: {
2209
- query?: {
2210
- recipient?: string | string[];
2211
- sender?: string | string[];
2212
- token?: string | string[];
2213
- address?: string | string[];
2214
- 'blockNumber.from'?: string | string[];
2215
- 'blockNumber.to'?: string | string[];
2216
- chainId?: string | string[];
2217
- cursor?: string | string[];
2218
- include?: string | string[];
2219
- limit?: string | string[];
2220
- order?: string | string[];
2221
- page?: string | string[];
2222
- 'timestamp.from'?: string | string[];
2223
- 'timestamp.to'?: string | string[];
2224
2365
  } | undefined;
2225
- };
2226
- } | {
2227
- output: {
2228
- data: {
2229
- attribution?: string | undefined;
2230
- blockNumber: number;
2231
- destinationToken?: {
2232
- address: `0x${string}`;
2233
- amount: string;
2234
- currency?: string | undefined;
2235
- decimals?: number | undefined;
2236
- logoUri?: string | undefined;
2237
- name?: string | undefined;
2238
- symbol?: string | undefined;
2239
- verified?: boolean | undefined;
2240
- } | undefined;
2241
- id: string;
2242
- logIndex: number;
2243
- memo?: string | undefined;
2244
- recipient: `0x${string}`;
2245
- sender: `0x${string}`;
2246
- sourceToken: {
2247
- address: `0x${string}`;
2248
- amount: string;
2249
- currency?: string | undefined;
2250
- decimals?: number | undefined;
2251
- logoUri?: string | undefined;
2252
- name?: string | undefined;
2253
- symbol?: string | undefined;
2254
- verified?: boolean | undefined;
2255
- };
2256
- timestamp: string;
2257
- transactionHash: `0x${string}`;
2258
- }[];
2259
- meta?: {
2260
- totalCountCapped: boolean;
2261
- totalCount: number;
2366
+ id?: string | number | null | undefined;
2367
+ jsonrpc: "2.0";
2368
+ result?: import("hono/utils/types").JSONValue;
2369
+ }[] | {
2370
+ error?: {
2371
+ code: number;
2372
+ data?: import("hono/utils/types").JSONValue;
2373
+ message: string;
2262
2374
  } | undefined;
2263
- nextCursor: string | null;
2375
+ id?: string | number | null | undefined;
2376
+ jsonrpc: "2.0";
2377
+ result?: import("hono/utils/types").JSONValue;
2264
2378
  };
2265
2379
  outputFormat: "json";
2266
2380
  status: 200;
2267
2381
  input: {
2268
- query?: {
2269
- recipient?: string | string[];
2270
- sender?: string | string[];
2271
- token?: string | string[];
2272
- address?: string | string[];
2273
- 'blockNumber.from'?: string | string[];
2274
- 'blockNumber.to'?: string | string[];
2275
- chainId?: string | string[];
2276
- cursor?: string | string[];
2277
- include?: string | string[];
2278
- limit?: string | string[];
2279
- order?: string | string[];
2280
- page?: string | string[];
2281
- 'timestamp.from'?: string | string[];
2282
- 'timestamp.to'?: string | string[];
2283
- } | undefined;
2382
+ param: Record<"chain", string | undefined>;
2284
2383
  };
2285
2384
  };
2286
2385
  };
2287
2386
  }, "/"> | import("hono/types").MergeSchemaPath<{
2288
- "/rpc/:chain{(mainnet|testnet|[0-9]+)}?": {
2289
- $post: {
2387
+ "/chains/:chainId/blocks/by-timestamp": {
2388
+ $get: {
2389
+ output: null;
2390
+ outputFormat: "body";
2391
+ status: 402;
2392
+ input: {
2393
+ param: {
2394
+ chainId: string;
2395
+ };
2396
+ } & {
2397
+ query: {
2398
+ closest?: string | string[];
2399
+ timestamp: string | string[];
2400
+ };
2401
+ };
2402
+ } | {
2290
2403
  output: {
2291
2404
  error: {
2292
2405
  code: "api_key_malformed";
@@ -2298,7 +2411,14 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2298
2411
  outputFormat: "json";
2299
2412
  status: 400;
2300
2413
  input: {
2301
- param: Record<"chain", string | undefined>;
2414
+ param: {
2415
+ chainId: string;
2416
+ };
2417
+ } & {
2418
+ query: {
2419
+ closest?: string | string[];
2420
+ timestamp: string | string[];
2421
+ };
2302
2422
  };
2303
2423
  } | {
2304
2424
  output: {
@@ -2312,7 +2432,14 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2312
2432
  outputFormat: "json";
2313
2433
  status: 401;
2314
2434
  input: {
2315
- param: Record<"chain", string | undefined>;
2435
+ param: {
2436
+ chainId: string;
2437
+ };
2438
+ } & {
2439
+ query: {
2440
+ closest?: string | string[];
2441
+ timestamp: string | string[];
2442
+ };
2316
2443
  };
2317
2444
  } | {
2318
2445
  output: {
@@ -2326,141 +2453,14 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2326
2453
  outputFormat: "json";
2327
2454
  status: 403;
2328
2455
  input: {
2329
- param: Record<"chain", string | undefined>;
2330
- };
2331
- } | {
2332
- output: {
2333
- error: {
2334
- code: "payment_required" | "rate_limit_exceeded";
2335
- details?: readonly Response.error.Detail[] | undefined;
2336
- message: string;
2337
- };
2338
- requestId: string;
2339
- };
2340
- outputFormat: "json";
2341
- status: 429;
2342
- input: {
2343
- param: Record<"chain", string | undefined>;
2344
- };
2345
- } | {
2346
- output: {
2347
- error: {
2348
- code: "chain_id_invalid";
2349
- details?: readonly Response.error.Detail[] | undefined;
2350
- message: string;
2351
- };
2352
- requestId: string;
2353
- };
2354
- outputFormat: "json";
2355
- status: 400;
2356
- input: {
2357
- param: Record<"chain", string | undefined>;
2358
- };
2359
- } | {
2360
- output: {
2361
- error?: {
2362
- code: number;
2363
- data?: import("hono/utils/types").JSONValue;
2364
- message: string;
2365
- } | undefined;
2366
- id?: string | number | null | undefined;
2367
- jsonrpc: "2.0";
2368
- result?: import("hono/utils/types").JSONValue;
2369
- }[] | {
2370
- error?: {
2371
- code: number;
2372
- data?: import("hono/utils/types").JSONValue;
2373
- message: string;
2374
- } | undefined;
2375
- id?: string | number | null | undefined;
2376
- jsonrpc: "2.0";
2377
- result?: import("hono/utils/types").JSONValue;
2378
- };
2379
- outputFormat: "json";
2380
- status: 200;
2381
- input: {
2382
- param: Record<"chain", string | undefined>;
2383
- };
2384
- };
2385
- };
2386
- }, "/"> | import("hono/types").MergeSchemaPath<{
2387
- "/chains/:chainId/blocks/by-timestamp": {
2388
- $get: {
2389
- output: null;
2390
- outputFormat: "body";
2391
- status: 402;
2392
- input: {
2393
- param: {
2394
- chainId: string;
2395
- };
2396
- } & {
2397
- query: {
2398
- closest?: string | string[];
2399
- timestamp: string | string[];
2400
- };
2401
- };
2402
- } | {
2403
- output: {
2404
- error: {
2405
- code: "api_key_malformed";
2406
- details?: readonly Response.error.Detail[] | undefined;
2407
- message: string;
2408
- };
2409
- requestId: string;
2410
- };
2411
- outputFormat: "json";
2412
- status: 400;
2413
- input: {
2414
- param: {
2415
- chainId: string;
2416
- };
2417
- } & {
2418
- query: {
2419
- closest?: string | string[];
2420
- timestamp: string | string[];
2421
- };
2422
- };
2423
- } | {
2424
- output: {
2425
- error: {
2426
- code: "api_key_invalid" | "api_key_missing";
2427
- details?: readonly Response.error.Detail[] | undefined;
2428
- message: string;
2429
- };
2430
- requestId: string;
2431
- };
2432
- outputFormat: "json";
2433
- status: 401;
2434
- input: {
2435
- param: {
2436
- chainId: string;
2437
- };
2438
- } & {
2439
- query: {
2440
- closest?: string | string[];
2441
- timestamp: string | string[];
2442
- };
2443
- };
2444
- } | {
2445
- output: {
2446
- error: {
2447
- code: "api_key_forbidden";
2448
- details?: readonly Response.error.Detail[] | undefined;
2449
- message: string;
2450
- };
2451
- requestId: string;
2452
- };
2453
- outputFormat: "json";
2454
- status: 403;
2455
- input: {
2456
- param: {
2457
- chainId: string;
2458
- };
2459
- } & {
2460
- query: {
2461
- closest?: string | string[];
2462
- timestamp: string | string[];
2463
- };
2456
+ param: {
2457
+ chainId: string;
2458
+ };
2459
+ } & {
2460
+ query: {
2461
+ closest?: string | string[];
2462
+ timestamp: string | string[];
2463
+ };
2464
2464
  };
2465
2465
  } | {
2466
2466
  output: {
@@ -2589,18 +2589,29 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2589
2589
  };
2590
2590
  };
2591
2591
  }, "/"> | import("hono/types").MergeSchemaPath<{
2592
- "/v1/fee-amm/pools": {
2592
+ "/v1/transactions": {
2593
2593
  $get: {
2594
2594
  output: null;
2595
2595
  outputFormat: "body";
2596
2596
  status: 402;
2597
2597
  input: {
2598
2598
  query?: {
2599
+ address?: string | string[];
2600
+ 'blockNumber.from'?: string | string[];
2601
+ 'blockNumber.to'?: string | string[];
2599
2602
  chainId?: string | string[];
2600
2603
  cursor?: string | string[];
2604
+ feePayer?: string | string[];
2605
+ feeToken?: string | string[];
2601
2606
  include?: string | string[];
2602
2607
  limit?: string | string[];
2608
+ order?: string | string[];
2603
2609
  page?: string | string[];
2610
+ recipient?: string | string[];
2611
+ sender?: string | string[];
2612
+ status?: string | string[];
2613
+ 'timestamp.from'?: string | string[];
2614
+ 'timestamp.to'?: string | string[];
2604
2615
  } | undefined;
2605
2616
  };
2606
2617
  } | {
@@ -2616,11 +2627,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2616
2627
  status: 400;
2617
2628
  input: {
2618
2629
  query?: {
2630
+ address?: string | string[];
2631
+ 'blockNumber.from'?: string | string[];
2632
+ 'blockNumber.to'?: string | string[];
2619
2633
  chainId?: string | string[];
2620
2634
  cursor?: string | string[];
2635
+ feePayer?: string | string[];
2636
+ feeToken?: string | string[];
2621
2637
  include?: string | string[];
2622
2638
  limit?: string | string[];
2639
+ order?: string | string[];
2623
2640
  page?: string | string[];
2641
+ recipient?: string | string[];
2642
+ sender?: string | string[];
2643
+ status?: string | string[];
2644
+ 'timestamp.from'?: string | string[];
2645
+ 'timestamp.to'?: string | string[];
2624
2646
  } | undefined;
2625
2647
  };
2626
2648
  } | {
@@ -2636,11 +2658,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2636
2658
  status: 401;
2637
2659
  input: {
2638
2660
  query?: {
2661
+ address?: string | string[];
2662
+ 'blockNumber.from'?: string | string[];
2663
+ 'blockNumber.to'?: string | string[];
2639
2664
  chainId?: string | string[];
2640
2665
  cursor?: string | string[];
2666
+ feePayer?: string | string[];
2667
+ feeToken?: string | string[];
2641
2668
  include?: string | string[];
2642
2669
  limit?: string | string[];
2670
+ order?: string | string[];
2643
2671
  page?: string | string[];
2672
+ recipient?: string | string[];
2673
+ sender?: string | string[];
2674
+ status?: string | string[];
2675
+ 'timestamp.from'?: string | string[];
2676
+ 'timestamp.to'?: string | string[];
2644
2677
  } | undefined;
2645
2678
  };
2646
2679
  } | {
@@ -2656,11 +2689,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2656
2689
  status: 403;
2657
2690
  input: {
2658
2691
  query?: {
2692
+ address?: string | string[];
2693
+ 'blockNumber.from'?: string | string[];
2694
+ 'blockNumber.to'?: string | string[];
2659
2695
  chainId?: string | string[];
2660
2696
  cursor?: string | string[];
2697
+ feePayer?: string | string[];
2698
+ feeToken?: string | string[];
2661
2699
  include?: string | string[];
2662
2700
  limit?: string | string[];
2701
+ order?: string | string[];
2663
2702
  page?: string | string[];
2703
+ recipient?: string | string[];
2704
+ sender?: string | string[];
2705
+ status?: string | string[];
2706
+ 'timestamp.from'?: string | string[];
2707
+ 'timestamp.to'?: string | string[];
2664
2708
  } | undefined;
2665
2709
  };
2666
2710
  } | {
@@ -2676,11 +2720,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2676
2720
  status: 429;
2677
2721
  input: {
2678
2722
  query?: {
2723
+ address?: string | string[];
2724
+ 'blockNumber.from'?: string | string[];
2725
+ 'blockNumber.to'?: string | string[];
2679
2726
  chainId?: string | string[];
2680
2727
  cursor?: string | string[];
2728
+ feePayer?: string | string[];
2729
+ feeToken?: string | string[];
2681
2730
  include?: string | string[];
2682
2731
  limit?: string | string[];
2732
+ order?: string | string[];
2683
2733
  page?: string | string[];
2734
+ recipient?: string | string[];
2735
+ sender?: string | string[];
2736
+ status?: string | string[];
2737
+ 'timestamp.from'?: string | string[];
2738
+ 'timestamp.to'?: string | string[];
2684
2739
  } | undefined;
2685
2740
  };
2686
2741
  } | {
@@ -2696,95 +2751,297 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2696
2751
  status: 400;
2697
2752
  input: {
2698
2753
  query?: {
2754
+ address?: string | string[];
2755
+ 'blockNumber.from'?: string | string[];
2756
+ 'blockNumber.to'?: string | string[];
2699
2757
  chainId?: string | string[];
2700
2758
  cursor?: string | string[];
2759
+ feePayer?: string | string[];
2760
+ feeToken?: string | string[];
2701
2761
  include?: string | string[];
2702
2762
  limit?: string | string[];
2763
+ order?: string | string[];
2703
2764
  page?: string | string[];
2765
+ recipient?: string | string[];
2766
+ sender?: string | string[];
2767
+ status?: string | string[];
2768
+ 'timestamp.from'?: string | string[];
2769
+ 'timestamp.to'?: string | string[];
2704
2770
  } | undefined;
2705
2771
  };
2706
2772
  } | {
2707
2773
  output: {
2708
2774
  data: {
2709
- createdAt: string;
2775
+ blockHash: `0x${string}` | null;
2776
+ blockNumber: number | null;
2777
+ calls?: {
2778
+ data?: `0x${string}` | undefined;
2779
+ to: `0x${string}` | null;
2780
+ }[] | undefined;
2781
+ chainId?: number | undefined;
2782
+ feeToken?: `0x${string}` | undefined;
2783
+ gas: number;
2784
+ gasPrice?: string | undefined;
2785
+ hash: `0x${string}`;
2710
2786
  id: `0x${string}`;
2711
- lastMintAt: string;
2712
- mintCount: number;
2713
- poolId: `0x${string}`;
2714
- userToken: {
2715
- address: `0x${string}`;
2716
- currency?: string | undefined;
2717
- decimals?: number | undefined;
2718
- logoUri?: string | undefined;
2719
- name?: string | undefined;
2720
- symbol?: string | undefined;
2721
- verified?: boolean | undefined;
2722
- amount?: string | undefined;
2723
- formatted?: string | undefined;
2724
- };
2725
- validatorToken: {
2726
- address: `0x${string}`;
2727
- currency?: string | undefined;
2728
- decimals?: number | undefined;
2729
- logoUri?: string | undefined;
2730
- name?: string | undefined;
2731
- symbol?: string | undefined;
2732
- verified?: boolean | undefined;
2733
- amount?: string | undefined;
2734
- formatted?: string | undefined;
2735
- };
2736
- }[];
2737
- nextCursor: string | null;
2738
- };
2739
- outputFormat: "json";
2740
- status: 200;
2741
- input: {
2742
- query?: {
2743
- chainId?: string | string[];
2744
- cursor?: string | string[];
2745
- include?: string | string[];
2746
- limit?: string | string[];
2747
- page?: string | string[];
2748
- } | undefined;
2749
- };
2750
- } | {
2751
- output: {
2752
- error: {
2753
- code: "upstream_error";
2754
- details?: readonly Response.error.Detail[] | undefined;
2755
- message: string;
2756
- };
2757
- requestId: string;
2758
- };
2759
- outputFormat: "json";
2760
- status: 502;
2787
+ input?: `0x${string}` | undefined;
2788
+ maxFeePerGas?: string | undefined;
2789
+ maxPriorityFeePerGas?: string | undefined;
2790
+ meta: {
2791
+ feeToken?: {
2792
+ address: `0x${string}`;
2793
+ admin?: `0x${string}` | undefined;
2794
+ currency: string;
2795
+ createdAt?: string | undefined;
2796
+ decimals: number;
2797
+ holderCount?: number | undefined;
2798
+ id: string;
2799
+ logoUri?: string | undefined;
2800
+ name: string;
2801
+ quoteToken?: `0x${string}` | undefined;
2802
+ symbol: string;
2803
+ totalSupply?: string | undefined;
2804
+ transferStats?: {
2805
+ count: number;
2806
+ firstAt: string | null;
2807
+ lastAt: string | null;
2808
+ } | undefined;
2809
+ verified: boolean;
2810
+ } | undefined;
2811
+ receipt?: {
2812
+ blockHash: `0x${string}` | null;
2813
+ blockNumber: number;
2814
+ contractAddress: `0x${string}` | null;
2815
+ cumulativeGasUsed: number;
2816
+ effectiveGasPrice: string;
2817
+ feeAmount: string;
2818
+ feePayer?: `0x${string}` | undefined;
2819
+ feeToken?: `0x${string}` | undefined;
2820
+ gasUsed: number;
2821
+ id: `0x${string}`;
2822
+ logs: {
2823
+ [x: string]: import("hono/utils/types").JSONValue;
2824
+ address: `0x${string}`;
2825
+ blockHash: `0x${string}` | null;
2826
+ blockNumber: `0x${string}` | null;
2827
+ blockTimestamp?: `0x${string}` | null | undefined;
2828
+ data: `0x${string}`;
2829
+ logIndex: `0x${string}` | null;
2830
+ removed: boolean;
2831
+ topics: `0x${string}`[];
2832
+ transactionHash: `0x${string}` | null;
2833
+ transactionIndex: `0x${string}` | null;
2834
+ }[];
2835
+ meta: {
2836
+ feeToken?: {
2837
+ address: `0x${string}`;
2838
+ admin?: `0x${string}` | undefined;
2839
+ currency: string;
2840
+ createdAt?: string | undefined;
2841
+ decimals: number;
2842
+ holderCount?: number | undefined;
2843
+ id: string;
2844
+ logoUri?: string | undefined;
2845
+ name: string;
2846
+ quoteToken?: `0x${string}` | undefined;
2847
+ symbol: string;
2848
+ totalSupply?: string | undefined;
2849
+ transferStats?: {
2850
+ count: number;
2851
+ firstAt: string | null;
2852
+ lastAt: string | null;
2853
+ } | undefined;
2854
+ verified: boolean;
2855
+ } | undefined;
2856
+ rpc: {
2857
+ [x: string]: import("hono/utils/types").JSONValue;
2858
+ blobGasPrice?: `0x${string}` | undefined;
2859
+ blobGasUsed?: `0x${string}` | undefined;
2860
+ blockHash: `0x${string}` | null;
2861
+ blockNumber: `0x${string}`;
2862
+ blockTimestamp?: `0x${string}` | null | undefined;
2863
+ contractAddress?: `0x${string}` | null | undefined;
2864
+ cumulativeGasUsed: `0x${string}`;
2865
+ effectiveGasPrice: `0x${string}`;
2866
+ feePayer?: `0x${string}` | null | undefined;
2867
+ feeToken?: `0x${string}` | null | undefined;
2868
+ from: `0x${string}`;
2869
+ gasUsed: `0x${string}`;
2870
+ logs: {
2871
+ [x: string]: import("hono/utils/types").JSONValue;
2872
+ address: `0x${string}`;
2873
+ blockHash: `0x${string}` | null;
2874
+ blockNumber: `0x${string}` | null;
2875
+ blockTimestamp?: `0x${string}` | null | undefined;
2876
+ data: `0x${string}`;
2877
+ logIndex: `0x${string}` | null;
2878
+ removed: boolean;
2879
+ topics: `0x${string}`[];
2880
+ transactionHash: `0x${string}` | null;
2881
+ transactionIndex: `0x${string}` | null;
2882
+ }[];
2883
+ logsBloom?: `0x${string}` | undefined;
2884
+ root?: `0x${string}` | undefined;
2885
+ status: `0x${string}`;
2886
+ to: `0x${string}` | null;
2887
+ transactionHash: `0x${string}`;
2888
+ transactionIndex: `0x${string}`;
2889
+ type: `0x${string}`;
2890
+ };
2891
+ };
2892
+ recipient: `0x${string}` | null;
2893
+ sender: `0x${string}`;
2894
+ status: "reverted" | "success";
2895
+ timestamp: string | null;
2896
+ transactionHash: `0x${string}`;
2897
+ transactionIndex: number;
2898
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
2899
+ } | undefined;
2900
+ rpc: {
2901
+ [x: string]: import("hono/utils/types").JSONValue;
2902
+ aaAuthorizationList?: {
2903
+ [x: string]: import("hono/utils/types").JSONValue;
2904
+ }[] | undefined;
2905
+ accessList?: {
2906
+ [x: string]: import("hono/utils/types").JSONValue;
2907
+ address: `0x${string}`;
2908
+ storageKeys: `0x${string}`[];
2909
+ }[] | undefined;
2910
+ authorizationList?: {
2911
+ [x: string]: import("hono/utils/types").JSONValue;
2912
+ }[] | undefined;
2913
+ blobVersionedHashes?: `0x${string}`[] | undefined;
2914
+ blockHash: `0x${string}` | null;
2915
+ blockNumber: `0x${string}` | null;
2916
+ blockTimestamp?: `0x${string}` | null | undefined;
2917
+ calls?: {
2918
+ [x: string]: import("hono/utils/types").JSONValue;
2919
+ data?: `0x${string}` | null | undefined;
2920
+ input?: `0x${string}` | null | undefined;
2921
+ to?: `0x${string}` | null | undefined;
2922
+ value?: `0x${string}` | null | undefined;
2923
+ }[] | null | undefined;
2924
+ chainId?: `0x${string}` | undefined;
2925
+ feePayerSignature?: {
2926
+ [x: string]: import("hono/utils/types").JSONValue;
2927
+ type?: string | undefined;
2928
+ } | null | undefined;
2929
+ feeToken?: `0x${string}` | null | undefined;
2930
+ from: `0x${string}`;
2931
+ gas: `0x${string}`;
2932
+ gasPrice?: `0x${string}` | undefined;
2933
+ hash: `0x${string}`;
2934
+ input?: `0x${string}` | undefined;
2935
+ keyAuthorization?: {
2936
+ [x: string]: import("hono/utils/types").JSONValue;
2937
+ } | null | undefined;
2938
+ maxFeePerBlobGas?: `0x${string}` | undefined;
2939
+ maxFeePerGas?: `0x${string}` | undefined;
2940
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2941
+ nonce: `0x${string}`;
2942
+ nonceKey?: `0x${string}` | undefined;
2943
+ r?: `0x${string}` | undefined;
2944
+ s?: `0x${string}` | undefined;
2945
+ signature?: {
2946
+ [x: string]: import("hono/utils/types").JSONValue;
2947
+ type?: string | undefined;
2948
+ } | undefined;
2949
+ to?: `0x${string}` | null | undefined;
2950
+ transactionIndex: `0x${string}` | null;
2951
+ type: `0x${string}`;
2952
+ v?: `0x${string}` | undefined;
2953
+ validAfter?: `0x${string}` | null | undefined;
2954
+ validBefore?: `0x${string}` | null | undefined;
2955
+ value?: `0x${string}` | undefined;
2956
+ yParity?: `0x${string}` | undefined;
2957
+ };
2958
+ };
2959
+ nonce: number;
2960
+ nonceKey?: `0x${string}` | undefined;
2961
+ recipient: `0x${string}` | null;
2962
+ sender: `0x${string}`;
2963
+ timestamp: string | null;
2964
+ transactionIndex: number | null;
2965
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
2966
+ validAfter?: string | null | undefined;
2967
+ validBefore?: string | null | undefined;
2968
+ value: string;
2969
+ }[];
2970
+ meta?: {
2971
+ totalCountCapped: boolean;
2972
+ totalCount: number;
2973
+ } | undefined;
2974
+ nextCursor: string | null;
2975
+ };
2976
+ outputFormat: "json";
2977
+ status: 200;
2978
+ input: {
2979
+ query?: {
2980
+ address?: string | string[];
2981
+ 'blockNumber.from'?: string | string[];
2982
+ 'blockNumber.to'?: string | string[];
2983
+ chainId?: string | string[];
2984
+ cursor?: string | string[];
2985
+ feePayer?: string | string[];
2986
+ feeToken?: string | string[];
2987
+ include?: string | string[];
2988
+ limit?: string | string[];
2989
+ order?: string | string[];
2990
+ page?: string | string[];
2991
+ recipient?: string | string[];
2992
+ sender?: string | string[];
2993
+ status?: string | string[];
2994
+ 'timestamp.from'?: string | string[];
2995
+ 'timestamp.to'?: string | string[];
2996
+ } | undefined;
2997
+ };
2998
+ } | {
2999
+ output: {
3000
+ error: {
3001
+ code: "upstream_error";
3002
+ details?: readonly Response.error.Detail[] | undefined;
3003
+ message: string;
3004
+ };
3005
+ requestId: string;
3006
+ };
3007
+ outputFormat: "json";
3008
+ status: 502;
2761
3009
  input: {
2762
3010
  query?: {
3011
+ address?: string | string[];
3012
+ 'blockNumber.from'?: string | string[];
3013
+ 'blockNumber.to'?: string | string[];
2763
3014
  chainId?: string | string[];
2764
3015
  cursor?: string | string[];
3016
+ feePayer?: string | string[];
3017
+ feeToken?: string | string[];
2765
3018
  include?: string | string[];
2766
3019
  limit?: string | string[];
3020
+ order?: string | string[];
2767
3021
  page?: string | string[];
3022
+ recipient?: string | string[];
3023
+ sender?: string | string[];
3024
+ status?: string | string[];
3025
+ 'timestamp.from'?: string | string[];
3026
+ 'timestamp.to'?: string | string[];
2768
3027
  } | undefined;
2769
3028
  };
2770
3029
  };
2771
3030
  };
2772
3031
  } & {
2773
- "/v1/fee-amm/mints": {
3032
+ "/v1/transactions/:transactionHash": {
2774
3033
  $get: {
2775
3034
  output: null;
2776
3035
  outputFormat: "body";
2777
3036
  status: 402;
2778
3037
  input: {
3038
+ param: {
3039
+ transactionHash: `0x${string}`;
3040
+ };
3041
+ } & {
2779
3042
  query?: {
2780
3043
  chainId?: string | string[];
2781
- cursor?: string | string[];
2782
3044
  include?: string | string[];
2783
- limit?: string | string[];
2784
- order?: string | string[];
2785
- page?: string | string[];
2786
- userToken?: string | string[];
2787
- validatorToken?: string | string[];
2788
3045
  } | undefined;
2789
3046
  };
2790
3047
  } | {
@@ -2799,15 +3056,13 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2799
3056
  outputFormat: "json";
2800
3057
  status: 400;
2801
3058
  input: {
3059
+ param: {
3060
+ transactionHash: `0x${string}`;
3061
+ };
3062
+ } & {
2802
3063
  query?: {
2803
3064
  chainId?: string | string[];
2804
- cursor?: string | string[];
2805
3065
  include?: string | string[];
2806
- limit?: string | string[];
2807
- order?: string | string[];
2808
- page?: string | string[];
2809
- userToken?: string | string[];
2810
- validatorToken?: string | string[];
2811
3066
  } | undefined;
2812
3067
  };
2813
3068
  } | {
@@ -2822,67 +3077,103 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2822
3077
  outputFormat: "json";
2823
3078
  status: 401;
2824
3079
  input: {
3080
+ param: {
3081
+ transactionHash: `0x${string}`;
3082
+ };
3083
+ } & {
3084
+ query?: {
3085
+ chainId?: string | string[];
3086
+ include?: string | string[];
3087
+ } | undefined;
3088
+ };
3089
+ } | {
3090
+ output: {
3091
+ error: {
3092
+ code: "api_key_forbidden";
3093
+ details?: readonly Response.error.Detail[] | undefined;
3094
+ message: string;
3095
+ };
3096
+ requestId: string;
3097
+ };
3098
+ outputFormat: "json";
3099
+ status: 403;
3100
+ input: {
3101
+ param: {
3102
+ transactionHash: `0x${string}`;
3103
+ };
3104
+ } & {
3105
+ query?: {
3106
+ chainId?: string | string[];
3107
+ include?: string | string[];
3108
+ } | undefined;
3109
+ };
3110
+ } | {
3111
+ output: {
3112
+ error: {
3113
+ code: "payment_required" | "rate_limit_exceeded";
3114
+ details?: readonly Response.error.Detail[] | undefined;
3115
+ message: string;
3116
+ };
3117
+ requestId: string;
3118
+ };
3119
+ outputFormat: "json";
3120
+ status: 429;
3121
+ input: {
3122
+ param: {
3123
+ transactionHash: `0x${string}`;
3124
+ };
3125
+ } & {
2825
3126
  query?: {
2826
3127
  chainId?: string | string[];
2827
- cursor?: string | string[];
2828
3128
  include?: string | string[];
2829
- limit?: string | string[];
2830
- order?: string | string[];
2831
- page?: string | string[];
2832
- userToken?: string | string[];
2833
- validatorToken?: string | string[];
2834
3129
  } | undefined;
2835
3130
  };
2836
3131
  } | {
2837
3132
  output: {
2838
3133
  error: {
2839
- code: "api_key_forbidden";
3134
+ code: "query_invalid";
2840
3135
  details?: readonly Response.error.Detail[] | undefined;
2841
3136
  message: string;
2842
3137
  };
2843
3138
  requestId: string;
2844
3139
  };
2845
3140
  outputFormat: "json";
2846
- status: 403;
3141
+ status: 400;
2847
3142
  input: {
3143
+ param: {
3144
+ transactionHash: `0x${string}`;
3145
+ };
3146
+ } & {
2848
3147
  query?: {
2849
3148
  chainId?: string | string[];
2850
- cursor?: string | string[];
2851
3149
  include?: string | string[];
2852
- limit?: string | string[];
2853
- order?: string | string[];
2854
- page?: string | string[];
2855
- userToken?: string | string[];
2856
- validatorToken?: string | string[];
2857
3150
  } | undefined;
2858
3151
  };
2859
3152
  } | {
2860
3153
  output: {
2861
3154
  error: {
2862
- code: "payment_required" | "rate_limit_exceeded";
3155
+ code: "upstream_error";
2863
3156
  details?: readonly Response.error.Detail[] | undefined;
2864
3157
  message: string;
2865
3158
  };
2866
3159
  requestId: string;
2867
3160
  };
2868
3161
  outputFormat: "json";
2869
- status: 429;
3162
+ status: 502;
2870
3163
  input: {
3164
+ param: {
3165
+ transactionHash: `0x${string}`;
3166
+ };
3167
+ } & {
2871
3168
  query?: {
2872
3169
  chainId?: string | string[];
2873
- cursor?: string | string[];
2874
3170
  include?: string | string[];
2875
- limit?: string | string[];
2876
- order?: string | string[];
2877
- page?: string | string[];
2878
- userToken?: string | string[];
2879
- validatorToken?: string | string[];
2880
3171
  } | undefined;
2881
3172
  };
2882
3173
  } | {
2883
3174
  output: {
2884
3175
  error: {
2885
- code: "query_invalid";
3176
+ code: "transaction_invalid";
2886
3177
  details?: readonly Response.error.Detail[] | undefined;
2887
3178
  message: string;
2888
3179
  };
@@ -2891,96 +3182,249 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2891
3182
  outputFormat: "json";
2892
3183
  status: 400;
2893
3184
  input: {
3185
+ param: {
3186
+ transactionHash: `0x${string}`;
3187
+ };
3188
+ } & {
2894
3189
  query?: {
2895
3190
  chainId?: string | string[];
2896
- cursor?: string | string[];
2897
3191
  include?: string | string[];
2898
- limit?: string | string[];
2899
- order?: string | string[];
2900
- page?: string | string[];
2901
- userToken?: string | string[];
2902
- validatorToken?: string | string[];
2903
3192
  } | undefined;
2904
3193
  };
2905
3194
  } | {
2906
3195
  output: {
2907
3196
  error: {
2908
- code: "upstream_error";
3197
+ code: "transaction_not_found";
2909
3198
  details?: readonly Response.error.Detail[] | undefined;
2910
3199
  message: string;
2911
3200
  };
2912
3201
  requestId: string;
2913
3202
  };
2914
3203
  outputFormat: "json";
2915
- status: 502;
3204
+ status: 404;
2916
3205
  input: {
3206
+ param: {
3207
+ transactionHash: `0x${string}`;
3208
+ };
3209
+ } & {
2917
3210
  query?: {
2918
3211
  chainId?: string | string[];
2919
- cursor?: string | string[];
2920
3212
  include?: string | string[];
2921
- limit?: string | string[];
2922
- order?: string | string[];
2923
- page?: string | string[];
2924
- userToken?: string | string[];
2925
- validatorToken?: string | string[];
2926
3213
  } | undefined;
2927
3214
  };
2928
3215
  } | {
2929
3216
  output: {
2930
- data: {
2931
- amountUserToken?: string | undefined;
2932
- amountValidatorToken: string;
2933
- blockNumber: number;
2934
- id: string;
2935
- liquidity: string;
2936
- logIndex: number;
2937
- minter: `0x${string}`;
2938
- recipient?: `0x${string}` | undefined;
2939
- timestamp: string;
2940
- transactionHash: `0x${string}`;
2941
- userToken: {
2942
- address: `0x${string}`;
2943
- currency?: string | undefined;
2944
- decimals?: number | undefined;
2945
- logoUri?: string | undefined;
2946
- name?: string | undefined;
2947
- symbol?: string | undefined;
2948
- verified?: boolean | undefined;
2949
- };
2950
- validatorToken: {
3217
+ blockHash: `0x${string}` | null;
3218
+ blockNumber: number | null;
3219
+ calls?: {
3220
+ data?: `0x${string}` | undefined;
3221
+ to: `0x${string}` | null;
3222
+ }[] | undefined;
3223
+ chainId?: number | undefined;
3224
+ feeToken?: `0x${string}` | undefined;
3225
+ gas: number;
3226
+ gasPrice?: string | undefined;
3227
+ hash: `0x${string}`;
3228
+ id: `0x${string}`;
3229
+ input?: `0x${string}` | undefined;
3230
+ maxFeePerGas?: string | undefined;
3231
+ maxPriorityFeePerGas?: string | undefined;
3232
+ meta: {
3233
+ feeToken?: {
2951
3234
  address: `0x${string}`;
2952
- currency?: string | undefined;
2953
- decimals?: number | undefined;
3235
+ admin?: `0x${string}` | undefined;
3236
+ currency: string;
3237
+ createdAt?: string | undefined;
3238
+ decimals: number;
3239
+ holderCount?: number | undefined;
3240
+ id: string;
2954
3241
  logoUri?: string | undefined;
2955
- name?: string | undefined;
2956
- symbol?: string | undefined;
2957
- verified?: boolean | undefined;
3242
+ name: string;
3243
+ quoteToken?: `0x${string}` | undefined;
3244
+ symbol: string;
3245
+ totalSupply?: string | undefined;
3246
+ transferStats?: {
3247
+ count: number;
3248
+ firstAt: string | null;
3249
+ lastAt: string | null;
3250
+ } | undefined;
3251
+ verified: boolean;
3252
+ } | undefined;
3253
+ receipt?: {
3254
+ blockHash: `0x${string}` | null;
3255
+ blockNumber: number;
3256
+ contractAddress: `0x${string}` | null;
3257
+ cumulativeGasUsed: number;
3258
+ effectiveGasPrice: string;
3259
+ feeAmount: string;
3260
+ feePayer?: `0x${string}` | undefined;
3261
+ feeToken?: `0x${string}` | undefined;
3262
+ gasUsed: number;
3263
+ id: `0x${string}`;
3264
+ logs: {
3265
+ [x: string]: import("hono/utils/types").JSONValue;
3266
+ address: `0x${string}`;
3267
+ blockHash: `0x${string}` | null;
3268
+ blockNumber: `0x${string}` | null;
3269
+ blockTimestamp?: `0x${string}` | null | undefined;
3270
+ data: `0x${string}`;
3271
+ logIndex: `0x${string}` | null;
3272
+ removed: boolean;
3273
+ topics: `0x${string}`[];
3274
+ transactionHash: `0x${string}` | null;
3275
+ transactionIndex: `0x${string}` | null;
3276
+ }[];
3277
+ meta: {
3278
+ feeToken?: {
3279
+ address: `0x${string}`;
3280
+ admin?: `0x${string}` | undefined;
3281
+ currency: string;
3282
+ createdAt?: string | undefined;
3283
+ decimals: number;
3284
+ holderCount?: number | undefined;
3285
+ id: string;
3286
+ logoUri?: string | undefined;
3287
+ name: string;
3288
+ quoteToken?: `0x${string}` | undefined;
3289
+ symbol: string;
3290
+ totalSupply?: string | undefined;
3291
+ transferStats?: {
3292
+ count: number;
3293
+ firstAt: string | null;
3294
+ lastAt: string | null;
3295
+ } | undefined;
3296
+ verified: boolean;
3297
+ } | undefined;
3298
+ rpc: {
3299
+ [x: string]: import("hono/utils/types").JSONValue;
3300
+ blobGasPrice?: `0x${string}` | undefined;
3301
+ blobGasUsed?: `0x${string}` | undefined;
3302
+ blockHash: `0x${string}` | null;
3303
+ blockNumber: `0x${string}`;
3304
+ blockTimestamp?: `0x${string}` | null | undefined;
3305
+ contractAddress?: `0x${string}` | null | undefined;
3306
+ cumulativeGasUsed: `0x${string}`;
3307
+ effectiveGasPrice: `0x${string}`;
3308
+ feePayer?: `0x${string}` | null | undefined;
3309
+ feeToken?: `0x${string}` | null | undefined;
3310
+ from: `0x${string}`;
3311
+ gasUsed: `0x${string}`;
3312
+ logs: {
3313
+ [x: string]: import("hono/utils/types").JSONValue;
3314
+ address: `0x${string}`;
3315
+ blockHash: `0x${string}` | null;
3316
+ blockNumber: `0x${string}` | null;
3317
+ blockTimestamp?: `0x${string}` | null | undefined;
3318
+ data: `0x${string}`;
3319
+ logIndex: `0x${string}` | null;
3320
+ removed: boolean;
3321
+ topics: `0x${string}`[];
3322
+ transactionHash: `0x${string}` | null;
3323
+ transactionIndex: `0x${string}` | null;
3324
+ }[];
3325
+ logsBloom?: `0x${string}` | undefined;
3326
+ root?: `0x${string}` | undefined;
3327
+ status: `0x${string}`;
3328
+ to: `0x${string}` | null;
3329
+ transactionHash: `0x${string}`;
3330
+ transactionIndex: `0x${string}`;
3331
+ type: `0x${string}`;
3332
+ };
3333
+ };
3334
+ recipient: `0x${string}` | null;
3335
+ sender: `0x${string}`;
3336
+ status: "reverted" | "success";
3337
+ timestamp: string | null;
3338
+ transactionHash: `0x${string}`;
3339
+ transactionIndex: number;
3340
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
3341
+ } | undefined;
3342
+ rpc: {
3343
+ [x: string]: import("hono/utils/types").JSONValue;
3344
+ aaAuthorizationList?: {
3345
+ [x: string]: import("hono/utils/types").JSONValue;
3346
+ }[] | undefined;
3347
+ accessList?: {
3348
+ [x: string]: import("hono/utils/types").JSONValue;
3349
+ address: `0x${string}`;
3350
+ storageKeys: `0x${string}`[];
3351
+ }[] | undefined;
3352
+ authorizationList?: {
3353
+ [x: string]: import("hono/utils/types").JSONValue;
3354
+ }[] | undefined;
3355
+ blobVersionedHashes?: `0x${string}`[] | undefined;
3356
+ blockHash: `0x${string}` | null;
3357
+ blockNumber: `0x${string}` | null;
3358
+ blockTimestamp?: `0x${string}` | null | undefined;
3359
+ calls?: {
3360
+ [x: string]: import("hono/utils/types").JSONValue;
3361
+ data?: `0x${string}` | null | undefined;
3362
+ input?: `0x${string}` | null | undefined;
3363
+ to?: `0x${string}` | null | undefined;
3364
+ value?: `0x${string}` | null | undefined;
3365
+ }[] | null | undefined;
3366
+ chainId?: `0x${string}` | undefined;
3367
+ feePayerSignature?: {
3368
+ [x: string]: import("hono/utils/types").JSONValue;
3369
+ type?: string | undefined;
3370
+ } | null | undefined;
3371
+ feeToken?: `0x${string}` | null | undefined;
3372
+ from: `0x${string}`;
3373
+ gas: `0x${string}`;
3374
+ gasPrice?: `0x${string}` | undefined;
3375
+ hash: `0x${string}`;
3376
+ input?: `0x${string}` | undefined;
3377
+ keyAuthorization?: {
3378
+ [x: string]: import("hono/utils/types").JSONValue;
3379
+ } | null | undefined;
3380
+ maxFeePerBlobGas?: `0x${string}` | undefined;
3381
+ maxFeePerGas?: `0x${string}` | undefined;
3382
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
3383
+ nonce: `0x${string}`;
3384
+ nonceKey?: `0x${string}` | undefined;
3385
+ r?: `0x${string}` | undefined;
3386
+ s?: `0x${string}` | undefined;
3387
+ signature?: {
3388
+ [x: string]: import("hono/utils/types").JSONValue;
3389
+ type?: string | undefined;
3390
+ } | undefined;
3391
+ to?: `0x${string}` | null | undefined;
3392
+ transactionIndex: `0x${string}` | null;
3393
+ type: `0x${string}`;
3394
+ v?: `0x${string}` | undefined;
3395
+ validAfter?: `0x${string}` | null | undefined;
3396
+ validBefore?: `0x${string}` | null | undefined;
3397
+ value?: `0x${string}` | undefined;
3398
+ yParity?: `0x${string}` | undefined;
2958
3399
  };
2959
- }[];
2960
- meta?: {
2961
- totalCountCapped: boolean;
2962
- totalCount: number;
2963
- } | undefined;
2964
- nextCursor: string | null;
3400
+ };
3401
+ nonce: number;
3402
+ nonceKey?: `0x${string}` | undefined;
3403
+ recipient: `0x${string}` | null;
3404
+ sender: `0x${string}`;
3405
+ timestamp: string | null;
3406
+ transactionIndex: number | null;
3407
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
3408
+ validAfter?: string | null | undefined;
3409
+ validBefore?: string | null | undefined;
3410
+ value: string;
2965
3411
  };
2966
3412
  outputFormat: "json";
2967
3413
  status: 200;
2968
3414
  input: {
3415
+ param: {
3416
+ transactionHash: `0x${string}`;
3417
+ };
3418
+ } & {
2969
3419
  query?: {
2970
3420
  chainId?: string | string[];
2971
- cursor?: string | string[];
2972
3421
  include?: string | string[];
2973
- limit?: string | string[];
2974
- order?: string | string[];
2975
- page?: string | string[];
2976
- userToken?: string | string[];
2977
- validatorToken?: string | string[];
2978
3422
  } | undefined;
2979
3423
  };
2980
3424
  };
2981
3425
  };
2982
3426
  }, "/"> | import("hono/types").MergeSchemaPath<{
2983
- "/v1/blocks": {
3427
+ "/v1/fee-amm/pools": {
2984
3428
  $get: {
2985
3429
  output: null;
2986
3430
  outputFormat: "body";
@@ -2989,8 +3433,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
2989
3433
  query?: {
2990
3434
  chainId?: string | string[];
2991
3435
  cursor?: string | string[];
3436
+ include?: string | string[];
2992
3437
  limit?: string | string[];
2993
- order?: string | string[];
2994
3438
  page?: string | string[];
2995
3439
  } | undefined;
2996
3440
  };
@@ -3009,8 +3453,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3009
3453
  query?: {
3010
3454
  chainId?: string | string[];
3011
3455
  cursor?: string | string[];
3456
+ include?: string | string[];
3012
3457
  limit?: string | string[];
3013
- order?: string | string[];
3014
3458
  page?: string | string[];
3015
3459
  } | undefined;
3016
3460
  };
@@ -3029,8 +3473,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3029
3473
  query?: {
3030
3474
  chainId?: string | string[];
3031
3475
  cursor?: string | string[];
3476
+ include?: string | string[];
3032
3477
  limit?: string | string[];
3033
- order?: string | string[];
3034
3478
  page?: string | string[];
3035
3479
  } | undefined;
3036
3480
  };
@@ -3049,8 +3493,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3049
3493
  query?: {
3050
3494
  chainId?: string | string[];
3051
3495
  cursor?: string | string[];
3496
+ include?: string | string[];
3052
3497
  limit?: string | string[];
3053
- order?: string | string[];
3054
3498
  page?: string | string[];
3055
3499
  } | undefined;
3056
3500
  };
@@ -3069,8 +3513,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3069
3513
  query?: {
3070
3514
  chainId?: string | string[];
3071
3515
  cursor?: string | string[];
3516
+ include?: string | string[];
3072
3517
  limit?: string | string[];
3073
- order?: string | string[];
3074
3518
  page?: string | string[];
3075
3519
  } | undefined;
3076
3520
  };
@@ -3089,8 +3533,8 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3089
3533
  query?: {
3090
3534
  chainId?: string | string[];
3091
3535
  cursor?: string | string[];
3536
+ include?: string | string[];
3092
3537
  limit?: string | string[];
3093
- order?: string | string[];
3094
3538
  page?: string | string[];
3095
3539
  } | undefined;
3096
3540
  };
@@ -3109,19 +3553,41 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3109
3553
  query?: {
3110
3554
  chainId?: string | string[];
3111
3555
  cursor?: string | string[];
3556
+ include?: string | string[];
3112
3557
  limit?: string | string[];
3113
- order?: string | string[];
3114
3558
  page?: string | string[];
3115
3559
  } | undefined;
3116
3560
  };
3117
3561
  } | {
3118
3562
  output: {
3119
3563
  data: {
3120
- hash: `0x${string}`;
3564
+ createdAt: string;
3121
3565
  id: `0x${string}`;
3122
- number: number;
3123
- timestamp: string;
3124
- transactionCount: number;
3566
+ lastMintAt: string;
3567
+ mintCount: number;
3568
+ poolId: `0x${string}`;
3569
+ userToken: {
3570
+ address: `0x${string}`;
3571
+ currency?: string | undefined;
3572
+ decimals?: number | undefined;
3573
+ logoUri?: string | undefined;
3574
+ name?: string | undefined;
3575
+ symbol?: string | undefined;
3576
+ verified?: boolean | undefined;
3577
+ amount?: string | undefined;
3578
+ formatted?: string | undefined;
3579
+ };
3580
+ validatorToken: {
3581
+ address: `0x${string}`;
3582
+ currency?: string | undefined;
3583
+ decimals?: number | undefined;
3584
+ logoUri?: string | undefined;
3585
+ name?: string | undefined;
3586
+ symbol?: string | undefined;
3587
+ verified?: boolean | undefined;
3588
+ amount?: string | undefined;
3589
+ formatted?: string | undefined;
3590
+ };
3125
3591
  }[];
3126
3592
  nextCursor: string | null;
3127
3593
  };
@@ -3131,26 +3597,29 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3131
3597
  query?: {
3132
3598
  chainId?: string | string[];
3133
3599
  cursor?: string | string[];
3600
+ include?: string | string[];
3134
3601
  limit?: string | string[];
3135
- order?: string | string[];
3136
3602
  page?: string | string[];
3137
3603
  } | undefined;
3138
3604
  };
3139
3605
  };
3140
3606
  };
3141
3607
  } & {
3142
- "/v1/blocks/:block": {
3608
+ "/v1/fee-amm/mints": {
3143
3609
  $get: {
3144
3610
  output: null;
3145
3611
  outputFormat: "body";
3146
3612
  status: 402;
3147
3613
  input: {
3148
- param: {
3149
- block: string;
3150
- };
3151
- } & {
3152
3614
  query?: {
3153
3615
  chainId?: string | string[];
3616
+ cursor?: string | string[];
3617
+ include?: string | string[];
3618
+ limit?: string | string[];
3619
+ order?: string | string[];
3620
+ page?: string | string[];
3621
+ userToken?: string | string[];
3622
+ validatorToken?: string | string[];
3154
3623
  } | undefined;
3155
3624
  };
3156
3625
  } | {
@@ -3165,12 +3634,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3165
3634
  outputFormat: "json";
3166
3635
  status: 400;
3167
3636
  input: {
3168
- param: {
3169
- block: string;
3170
- };
3171
- } & {
3172
3637
  query?: {
3173
3638
  chainId?: string | string[];
3639
+ cursor?: string | string[];
3640
+ include?: string | string[];
3641
+ limit?: string | string[];
3642
+ order?: string | string[];
3643
+ page?: string | string[];
3644
+ userToken?: string | string[];
3645
+ validatorToken?: string | string[];
3174
3646
  } | undefined;
3175
3647
  };
3176
3648
  } | {
@@ -3185,12 +3657,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3185
3657
  outputFormat: "json";
3186
3658
  status: 401;
3187
3659
  input: {
3188
- param: {
3189
- block: string;
3190
- };
3191
- } & {
3192
3660
  query?: {
3193
3661
  chainId?: string | string[];
3662
+ cursor?: string | string[];
3663
+ include?: string | string[];
3664
+ limit?: string | string[];
3665
+ order?: string | string[];
3666
+ page?: string | string[];
3667
+ userToken?: string | string[];
3668
+ validatorToken?: string | string[];
3194
3669
  } | undefined;
3195
3670
  };
3196
3671
  } | {
@@ -3205,12 +3680,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3205
3680
  outputFormat: "json";
3206
3681
  status: 403;
3207
3682
  input: {
3208
- param: {
3209
- block: string;
3210
- };
3211
- } & {
3212
3683
  query?: {
3213
3684
  chainId?: string | string[];
3685
+ cursor?: string | string[];
3686
+ include?: string | string[];
3687
+ limit?: string | string[];
3688
+ order?: string | string[];
3689
+ page?: string | string[];
3690
+ userToken?: string | string[];
3691
+ validatorToken?: string | string[];
3214
3692
  } | undefined;
3215
3693
  };
3216
3694
  } | {
@@ -3225,12 +3703,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3225
3703
  outputFormat: "json";
3226
3704
  status: 429;
3227
3705
  input: {
3228
- param: {
3229
- block: string;
3230
- };
3231
- } & {
3232
3706
  query?: {
3233
3707
  chainId?: string | string[];
3708
+ cursor?: string | string[];
3709
+ include?: string | string[];
3710
+ limit?: string | string[];
3711
+ order?: string | string[];
3712
+ page?: string | string[];
3713
+ userToken?: string | string[];
3714
+ validatorToken?: string | string[];
3234
3715
  } | undefined;
3235
3716
  };
3236
3717
  } | {
@@ -3245,12 +3726,15 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3245
3726
  outputFormat: "json";
3246
3727
  status: 400;
3247
3728
  input: {
3248
- param: {
3249
- block: string;
3250
- };
3251
- } & {
3252
3729
  query?: {
3253
3730
  chainId?: string | string[];
3731
+ cursor?: string | string[];
3732
+ include?: string | string[];
3733
+ limit?: string | string[];
3734
+ order?: string | string[];
3735
+ page?: string | string[];
3736
+ userToken?: string | string[];
3737
+ validatorToken?: string | string[];
3254
3738
  } | undefined;
3255
3739
  };
3256
3740
  } | {
@@ -3265,135 +3749,84 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3265
3749
  outputFormat: "json";
3266
3750
  status: 502;
3267
3751
  input: {
3268
- param: {
3269
- block: string;
3270
- };
3271
- } & {
3272
- query?: {
3273
- chainId?: string | string[];
3274
- } | undefined;
3275
- };
3276
- } | {
3277
- output: {
3278
- error: {
3279
- code: "block_invalid";
3280
- details?: readonly Response.error.Detail[] | undefined;
3281
- message: string;
3282
- };
3283
- requestId: string;
3284
- };
3285
- outputFormat: "json";
3286
- status: 400;
3287
- input: {
3288
- param: {
3289
- block: string;
3290
- };
3291
- } & {
3292
- query?: {
3293
- chainId?: string | string[];
3294
- } | undefined;
3295
- };
3296
- } | {
3297
- output: {
3298
- error: {
3299
- code: "block_not_found";
3300
- details?: readonly Response.error.Detail[] | undefined;
3301
- message: string;
3302
- };
3303
- requestId: string;
3304
- };
3305
- outputFormat: "json";
3306
- status: 404;
3307
- input: {
3308
- param: {
3309
- block: string;
3310
- };
3311
- } & {
3312
3752
  query?: {
3313
3753
  chainId?: string | string[];
3754
+ cursor?: string | string[];
3755
+ include?: string | string[];
3756
+ limit?: string | string[];
3757
+ order?: string | string[];
3758
+ page?: string | string[];
3759
+ userToken?: string | string[];
3760
+ validatorToken?: string | string[];
3314
3761
  } | undefined;
3315
3762
  };
3316
3763
  } | {
3317
3764
  output: {
3318
- baseFeePerGas: string | null;
3319
- gasLimit: number;
3320
- gasUsed: number;
3321
- hash: `0x${string}`;
3322
- id: `0x${string}`;
3323
- meta: {
3324
- rpc: {
3325
- [x: string]: import("hono/utils/types").JSONValue;
3326
- baseFeePerGas?: `0x${string}` | null | undefined;
3327
- difficulty?: `0x${string}` | undefined;
3328
- extraData?: `0x${string}` | undefined;
3329
- gasLimit: `0x${string}`;
3330
- gasUsed: `0x${string}`;
3331
- hash: `0x${string}` | null;
3332
- logsBloom?: `0x${string}` | null | undefined;
3333
- miner: `0x${string}`;
3334
- mixHash?: `0x${string}` | undefined;
3335
- nonce?: `0x${string}` | null | undefined;
3336
- number: `0x${string}` | null;
3337
- parentHash: `0x${string}`;
3338
- receiptsRoot: `0x${string}`;
3339
- sha3Uncles?: `0x${string}` | undefined;
3340
- size: `0x${string}`;
3341
- stateRoot: `0x${string}`;
3342
- timestamp: `0x${string}`;
3343
- totalDifficulty?: `0x${string}` | undefined;
3344
- transactions: `0x${string}`[];
3345
- transactionsRoot: `0x${string}`;
3346
- uncles?: `0x${string}`[] | undefined;
3347
- withdrawals?: {
3348
- [x: string]: import("hono/utils/types").JSONValue;
3349
- }[] | undefined;
3350
- withdrawalsRoot?: `0x${string}` | undefined;
3765
+ data: {
3766
+ amountUserToken?: string | undefined;
3767
+ amountValidatorToken: string;
3768
+ blockNumber: number;
3769
+ id: string;
3770
+ liquidity: string;
3771
+ logIndex: number;
3772
+ minter: `0x${string}`;
3773
+ recipient?: `0x${string}` | undefined;
3774
+ timestamp: string;
3775
+ transactionHash: `0x${string}`;
3776
+ userToken: {
3777
+ address: `0x${string}`;
3778
+ currency?: string | undefined;
3779
+ decimals?: number | undefined;
3780
+ logoUri?: string | undefined;
3781
+ name?: string | undefined;
3782
+ symbol?: string | undefined;
3783
+ verified?: boolean | undefined;
3784
+ };
3785
+ validatorToken: {
3786
+ address: `0x${string}`;
3787
+ currency?: string | undefined;
3788
+ decimals?: number | undefined;
3789
+ logoUri?: string | undefined;
3790
+ name?: string | undefined;
3791
+ symbol?: string | undefined;
3792
+ verified?: boolean | undefined;
3351
3793
  };
3352
- };
3353
- miner: `0x${string}`;
3354
- number: number;
3355
- parentHash: `0x${string}`;
3356
- size: number;
3357
- timestamp: string;
3358
- transactionCount: number;
3794
+ }[];
3795
+ meta?: {
3796
+ totalCountCapped: boolean;
3797
+ totalCount: number;
3798
+ } | undefined;
3799
+ nextCursor: string | null;
3359
3800
  };
3360
3801
  outputFormat: "json";
3361
3802
  status: 200;
3362
3803
  input: {
3363
- param: {
3364
- block: string;
3365
- };
3366
- } & {
3367
3804
  query?: {
3368
3805
  chainId?: string | string[];
3806
+ cursor?: string | string[];
3807
+ include?: string | string[];
3808
+ limit?: string | string[];
3809
+ order?: string | string[];
3810
+ page?: string | string[];
3811
+ userToken?: string | string[];
3812
+ validatorToken?: string | string[];
3369
3813
  } | undefined;
3370
3814
  };
3371
3815
  };
3372
3816
  };
3373
3817
  }, "/"> | import("hono/types").MergeSchemaPath<{
3374
- "/v1/transactions/receipts": {
3818
+ "/v1/blocks": {
3375
3819
  $get: {
3376
3820
  output: null;
3377
3821
  outputFormat: "body";
3378
3822
  status: 402;
3379
3823
  input: {
3380
3824
  query?: {
3381
- address?: string | string[];
3382
- 'blockNumber.from'?: string | string[];
3383
- 'blockNumber.to'?: string | string[];
3384
3825
  chainId?: string | string[];
3385
3826
  cursor?: string | string[];
3386
- feePayer?: string | string[];
3387
- feeToken?: string | string[];
3388
- include?: string | string[];
3389
3827
  limit?: string | string[];
3390
3828
  order?: string | string[];
3391
3829
  page?: string | string[];
3392
- recipient?: string | string[];
3393
- sender?: string | string[];
3394
- status?: string | string[];
3395
- 'timestamp.from'?: string | string[];
3396
- 'timestamp.to'?: string | string[];
3397
3830
  } | undefined;
3398
3831
  };
3399
3832
  } | {
@@ -3409,22 +3842,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3409
3842
  status: 400;
3410
3843
  input: {
3411
3844
  query?: {
3412
- address?: string | string[];
3413
- 'blockNumber.from'?: string | string[];
3414
- 'blockNumber.to'?: string | string[];
3415
3845
  chainId?: string | string[];
3416
3846
  cursor?: string | string[];
3417
- feePayer?: string | string[];
3418
- feeToken?: string | string[];
3419
- include?: string | string[];
3420
3847
  limit?: string | string[];
3421
3848
  order?: string | string[];
3422
3849
  page?: string | string[];
3423
- recipient?: string | string[];
3424
- sender?: string | string[];
3425
- status?: string | string[];
3426
- 'timestamp.from'?: string | string[];
3427
- 'timestamp.to'?: string | string[];
3428
3850
  } | undefined;
3429
3851
  };
3430
3852
  } | {
@@ -3440,22 +3862,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3440
3862
  status: 401;
3441
3863
  input: {
3442
3864
  query?: {
3443
- address?: string | string[];
3444
- 'blockNumber.from'?: string | string[];
3445
- 'blockNumber.to'?: string | string[];
3446
3865
  chainId?: string | string[];
3447
3866
  cursor?: string | string[];
3448
- feePayer?: string | string[];
3449
- feeToken?: string | string[];
3450
- include?: string | string[];
3451
3867
  limit?: string | string[];
3452
3868
  order?: string | string[];
3453
3869
  page?: string | string[];
3454
- recipient?: string | string[];
3455
- sender?: string | string[];
3456
- status?: string | string[];
3457
- 'timestamp.from'?: string | string[];
3458
- 'timestamp.to'?: string | string[];
3459
3870
  } | undefined;
3460
3871
  };
3461
3872
  } | {
@@ -3471,22 +3882,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3471
3882
  status: 403;
3472
3883
  input: {
3473
3884
  query?: {
3474
- address?: string | string[];
3475
- 'blockNumber.from'?: string | string[];
3476
- 'blockNumber.to'?: string | string[];
3477
3885
  chainId?: string | string[];
3478
3886
  cursor?: string | string[];
3479
- feePayer?: string | string[];
3480
- feeToken?: string | string[];
3481
- include?: string | string[];
3482
3887
  limit?: string | string[];
3483
3888
  order?: string | string[];
3484
3889
  page?: string | string[];
3485
- recipient?: string | string[];
3486
- sender?: string | string[];
3487
- status?: string | string[];
3488
- 'timestamp.from'?: string | string[];
3489
- 'timestamp.to'?: string | string[];
3490
3890
  } | undefined;
3491
3891
  };
3492
3892
  } | {
@@ -3502,22 +3902,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3502
3902
  status: 429;
3503
3903
  input: {
3504
3904
  query?: {
3505
- address?: string | string[];
3506
- 'blockNumber.from'?: string | string[];
3507
- 'blockNumber.to'?: string | string[];
3508
3905
  chainId?: string | string[];
3509
3906
  cursor?: string | string[];
3510
- feePayer?: string | string[];
3511
- feeToken?: string | string[];
3512
- include?: string | string[];
3513
3907
  limit?: string | string[];
3514
3908
  order?: string | string[];
3515
3909
  page?: string | string[];
3516
- recipient?: string | string[];
3517
- sender?: string | string[];
3518
- status?: string | string[];
3519
- 'timestamp.from'?: string | string[];
3520
- 'timestamp.to'?: string | string[];
3521
3910
  } | undefined;
3522
3911
  };
3523
3912
  } | {
@@ -3533,22 +3922,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3533
3922
  status: 400;
3534
3923
  input: {
3535
3924
  query?: {
3536
- address?: string | string[];
3537
- 'blockNumber.from'?: string | string[];
3538
- 'blockNumber.to'?: string | string[];
3539
3925
  chainId?: string | string[];
3540
3926
  cursor?: string | string[];
3541
- feePayer?: string | string[];
3542
- feeToken?: string | string[];
3543
- include?: string | string[];
3544
3927
  limit?: string | string[];
3545
3928
  order?: string | string[];
3546
3929
  page?: string | string[];
3547
- recipient?: string | string[];
3548
- sender?: string | string[];
3549
- status?: string | string[];
3550
- 'timestamp.from'?: string | string[];
3551
- 'timestamp.to'?: string | string[];
3552
3930
  } | undefined;
3553
3931
  };
3554
3932
  } | {
@@ -3564,159 +3942,50 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3564
3942
  status: 502;
3565
3943
  input: {
3566
3944
  query?: {
3567
- address?: string | string[];
3568
- 'blockNumber.from'?: string | string[];
3569
- 'blockNumber.to'?: string | string[];
3570
3945
  chainId?: string | string[];
3571
3946
  cursor?: string | string[];
3572
- feePayer?: string | string[];
3573
- feeToken?: string | string[];
3574
- include?: string | string[];
3575
3947
  limit?: string | string[];
3576
3948
  order?: string | string[];
3577
3949
  page?: string | string[];
3578
- recipient?: string | string[];
3579
- sender?: string | string[];
3580
- status?: string | string[];
3581
- 'timestamp.from'?: string | string[];
3582
- 'timestamp.to'?: string | string[];
3583
3950
  } | undefined;
3584
3951
  };
3585
3952
  } | {
3586
3953
  output: {
3587
3954
  data: {
3588
- blockHash: `0x${string}` | null;
3589
- blockNumber: number;
3590
- contractAddress: `0x${string}` | null;
3591
- cumulativeGasUsed: number;
3592
- effectiveGasPrice: string;
3593
- feeAmount: string;
3594
- feePayer?: `0x${string}` | undefined;
3595
- feeToken?: `0x${string}` | undefined;
3596
- gasUsed: number;
3955
+ hash: `0x${string}`;
3597
3956
  id: `0x${string}`;
3598
- logs: {
3599
- [x: string]: import("hono/utils/types").JSONValue;
3600
- address: `0x${string}`;
3601
- blockHash: `0x${string}` | null;
3602
- blockNumber: `0x${string}` | null;
3603
- blockTimestamp?: `0x${string}` | null | undefined;
3604
- data: `0x${string}`;
3605
- logIndex: `0x${string}` | null;
3606
- removed: boolean;
3607
- topics: `0x${string}`[];
3608
- transactionHash: `0x${string}` | null;
3609
- transactionIndex: `0x${string}` | null;
3610
- }[];
3611
- meta: {
3612
- feeToken?: {
3613
- address: `0x${string}`;
3614
- admin?: `0x${string}` | undefined;
3615
- currency: string;
3616
- createdAt?: string | undefined;
3617
- decimals: number;
3618
- holderCount?: number | undefined;
3619
- id: string;
3620
- logoUri?: string | undefined;
3621
- name: string;
3622
- quoteToken?: `0x${string}` | undefined;
3623
- symbol: string;
3624
- totalSupply?: string | undefined;
3625
- transferStats?: {
3626
- count: number;
3627
- firstAt: string | null;
3628
- lastAt: string | null;
3629
- } | undefined;
3630
- verified: boolean;
3631
- } | undefined;
3632
- rpc: {
3633
- [x: string]: import("hono/utils/types").JSONValue;
3634
- blobGasPrice?: `0x${string}` | undefined;
3635
- blobGasUsed?: `0x${string}` | undefined;
3636
- blockHash: `0x${string}` | null;
3637
- blockNumber: `0x${string}`;
3638
- blockTimestamp?: `0x${string}` | null | undefined;
3639
- contractAddress?: `0x${string}` | null | undefined;
3640
- cumulativeGasUsed: `0x${string}`;
3641
- effectiveGasPrice: `0x${string}`;
3642
- feePayer?: `0x${string}` | null | undefined;
3643
- feeToken?: `0x${string}` | null | undefined;
3644
- from: `0x${string}`;
3645
- gasUsed: `0x${string}`;
3646
- logs: {
3647
- [x: string]: import("hono/utils/types").JSONValue;
3648
- address: `0x${string}`;
3649
- blockHash: `0x${string}` | null;
3650
- blockNumber: `0x${string}` | null;
3651
- blockTimestamp?: `0x${string}` | null | undefined;
3652
- data: `0x${string}`;
3653
- logIndex: `0x${string}` | null;
3654
- removed: boolean;
3655
- topics: `0x${string}`[];
3656
- transactionHash: `0x${string}` | null;
3657
- transactionIndex: `0x${string}` | null;
3658
- }[];
3659
- logsBloom?: `0x${string}` | undefined;
3660
- root?: `0x${string}` | undefined;
3661
- status: `0x${string}`;
3662
- to: `0x${string}` | null;
3663
- transactionHash: `0x${string}`;
3664
- transactionIndex: `0x${string}`;
3665
- type: `0x${string}`;
3666
- };
3667
- };
3668
- recipient: `0x${string}` | null;
3669
- sender: `0x${string}`;
3670
- status: "reverted" | "success";
3671
- timestamp: string | null;
3672
- transactionHash: `0x${string}`;
3673
- transactionIndex: number;
3674
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
3957
+ number: number;
3958
+ timestamp: string;
3959
+ transactionCount: number;
3675
3960
  }[];
3676
- meta?: {
3677
- totalCountCapped: boolean;
3678
- totalCount: number;
3679
- } | undefined;
3680
3961
  nextCursor: string | null;
3681
3962
  };
3682
3963
  outputFormat: "json";
3683
3964
  status: 200;
3684
3965
  input: {
3685
3966
  query?: {
3686
- address?: string | string[];
3687
- 'blockNumber.from'?: string | string[];
3688
- 'blockNumber.to'?: string | string[];
3689
3967
  chainId?: string | string[];
3690
3968
  cursor?: string | string[];
3691
- feePayer?: string | string[];
3692
- feeToken?: string | string[];
3693
- include?: string | string[];
3694
3969
  limit?: string | string[];
3695
3970
  order?: string | string[];
3696
3971
  page?: string | string[];
3697
- recipient?: string | string[];
3698
- sender?: string | string[];
3699
- status?: string | string[];
3700
- 'timestamp.from'?: string | string[];
3701
- 'timestamp.to'?: string | string[];
3702
3972
  } | undefined;
3703
3973
  };
3704
3974
  };
3705
3975
  };
3706
3976
  } & {
3707
- "/v1/transactions/:transactionHash/receipt": {
3977
+ "/v1/blocks/:block": {
3708
3978
  $get: {
3709
3979
  output: null;
3710
3980
  outputFormat: "body";
3711
3981
  status: 402;
3712
3982
  input: {
3713
3983
  param: {
3714
- transactionHash: `0x${string}`;
3984
+ block: string;
3715
3985
  };
3716
3986
  } & {
3717
3987
  query?: {
3718
3988
  chainId?: string | string[];
3719
- include?: string | string[];
3720
3989
  } | undefined;
3721
3990
  };
3722
3991
  } | {
@@ -3732,12 +4001,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3732
4001
  status: 400;
3733
4002
  input: {
3734
4003
  param: {
3735
- transactionHash: `0x${string}`;
4004
+ block: string;
3736
4005
  };
3737
4006
  } & {
3738
4007
  query?: {
3739
4008
  chainId?: string | string[];
3740
- include?: string | string[];
3741
4009
  } | undefined;
3742
4010
  };
3743
4011
  } | {
@@ -3753,12 +4021,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3753
4021
  status: 401;
3754
4022
  input: {
3755
4023
  param: {
3756
- transactionHash: `0x${string}`;
4024
+ block: string;
3757
4025
  };
3758
4026
  } & {
3759
4027
  query?: {
3760
4028
  chainId?: string | string[];
3761
- include?: string | string[];
3762
4029
  } | undefined;
3763
4030
  };
3764
4031
  } | {
@@ -3774,12 +4041,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3774
4041
  status: 403;
3775
4042
  input: {
3776
4043
  param: {
3777
- transactionHash: `0x${string}`;
4044
+ block: string;
3778
4045
  };
3779
4046
  } & {
3780
4047
  query?: {
3781
4048
  chainId?: string | string[];
3782
- include?: string | string[];
3783
4049
  } | undefined;
3784
4050
  };
3785
4051
  } | {
@@ -3795,12 +4061,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3795
4061
  status: 429;
3796
4062
  input: {
3797
4063
  param: {
3798
- transactionHash: `0x${string}`;
4064
+ block: string;
3799
4065
  };
3800
4066
  } & {
3801
4067
  query?: {
3802
4068
  chainId?: string | string[];
3803
- include?: string | string[];
3804
4069
  } | undefined;
3805
4070
  };
3806
4071
  } | {
@@ -3816,12 +4081,11 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3816
4081
  status: 400;
3817
4082
  input: {
3818
4083
  param: {
3819
- transactionHash: `0x${string}`;
4084
+ block: string;
3820
4085
  };
3821
4086
  } & {
3822
4087
  query?: {
3823
4088
  chainId?: string | string[];
3824
- include?: string | string[];
3825
4089
  } | undefined;
3826
4090
  };
3827
4091
  } | {
@@ -3837,18 +4101,17 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3837
4101
  status: 502;
3838
4102
  input: {
3839
4103
  param: {
3840
- transactionHash: `0x${string}`;
4104
+ block: string;
3841
4105
  };
3842
4106
  } & {
3843
4107
  query?: {
3844
4108
  chainId?: string | string[];
3845
- include?: string | string[];
3846
4109
  } | undefined;
3847
4110
  };
3848
4111
  } | {
3849
4112
  output: {
3850
4113
  error: {
3851
- code: "transaction_invalid";
4114
+ code: "block_invalid";
3852
4115
  details?: readonly Response.error.Detail[] | undefined;
3853
4116
  message: string;
3854
4117
  };
@@ -3858,18 +4121,17 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3858
4121
  status: 400;
3859
4122
  input: {
3860
4123
  param: {
3861
- transactionHash: `0x${string}`;
4124
+ block: string;
3862
4125
  };
3863
4126
  } & {
3864
4127
  query?: {
3865
4128
  chainId?: string | string[];
3866
- include?: string | string[];
3867
4129
  } | undefined;
3868
4130
  };
3869
4131
  } | {
3870
4132
  output: {
3871
4133
  error: {
3872
- code: "receipt_not_found";
4134
+ code: "block_not_found";
3873
4135
  details?: readonly Response.error.Detail[] | undefined;
3874
4136
  message: string;
3875
4137
  };
@@ -3879,120 +4141,72 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
3879
4141
  status: 404;
3880
4142
  input: {
3881
4143
  param: {
3882
- transactionHash: `0x${string}`;
4144
+ block: string;
3883
4145
  };
3884
4146
  } & {
3885
4147
  query?: {
3886
4148
  chainId?: string | string[];
3887
- include?: string | string[];
3888
4149
  } | undefined;
3889
4150
  };
3890
4151
  } | {
3891
4152
  output: {
3892
- blockHash: `0x${string}` | null;
3893
- blockNumber: number;
3894
- contractAddress: `0x${string}` | null;
3895
- cumulativeGasUsed: number;
3896
- effectiveGasPrice: string;
3897
- feeAmount: string;
3898
- feePayer?: `0x${string}` | undefined;
3899
- feeToken?: `0x${string}` | undefined;
4153
+ baseFeePerGas: string | null;
4154
+ gasLimit: number;
3900
4155
  gasUsed: number;
4156
+ hash: `0x${string}`;
3901
4157
  id: `0x${string}`;
3902
- logs: {
3903
- [x: string]: import("hono/utils/types").JSONValue;
3904
- address: `0x${string}`;
3905
- blockHash: `0x${string}` | null;
3906
- blockNumber: `0x${string}` | null;
3907
- blockTimestamp?: `0x${string}` | null | undefined;
3908
- data: `0x${string}`;
3909
- logIndex: `0x${string}` | null;
3910
- removed: boolean;
3911
- topics: `0x${string}`[];
3912
- transactionHash: `0x${string}` | null;
3913
- transactionIndex: `0x${string}` | null;
3914
- }[];
3915
4158
  meta: {
3916
- feeToken?: {
3917
- address: `0x${string}`;
3918
- admin?: `0x${string}` | undefined;
3919
- currency: string;
3920
- createdAt?: string | undefined;
3921
- decimals: number;
3922
- holderCount?: number | undefined;
3923
- id: string;
3924
- logoUri?: string | undefined;
3925
- name: string;
3926
- quoteToken?: `0x${string}` | undefined;
3927
- symbol: string;
3928
- totalSupply?: string | undefined;
3929
- transferStats?: {
3930
- count: number;
3931
- firstAt: string | null;
3932
- lastAt: string | null;
3933
- } | undefined;
3934
- verified: boolean;
3935
- } | undefined;
3936
4159
  rpc: {
3937
4160
  [x: string]: import("hono/utils/types").JSONValue;
3938
- blobGasPrice?: `0x${string}` | undefined;
3939
- blobGasUsed?: `0x${string}` | undefined;
3940
- blockHash: `0x${string}` | null;
3941
- blockNumber: `0x${string}`;
3942
- blockTimestamp?: `0x${string}` | null | undefined;
3943
- contractAddress?: `0x${string}` | null | undefined;
3944
- cumulativeGasUsed: `0x${string}`;
3945
- effectiveGasPrice: `0x${string}`;
3946
- feePayer?: `0x${string}` | null | undefined;
3947
- feeToken?: `0x${string}` | null | undefined;
3948
- from: `0x${string}`;
4161
+ baseFeePerGas?: `0x${string}` | null | undefined;
4162
+ difficulty?: `0x${string}` | undefined;
4163
+ extraData?: `0x${string}` | undefined;
4164
+ gasLimit: `0x${string}`;
3949
4165
  gasUsed: `0x${string}`;
3950
- logs: {
4166
+ hash: `0x${string}` | null;
4167
+ logsBloom?: `0x${string}` | null | undefined;
4168
+ miner: `0x${string}`;
4169
+ mixHash?: `0x${string}` | undefined;
4170
+ nonce?: `0x${string}` | null | undefined;
4171
+ number: `0x${string}` | null;
4172
+ parentHash: `0x${string}`;
4173
+ receiptsRoot: `0x${string}`;
4174
+ sha3Uncles?: `0x${string}` | undefined;
4175
+ size: `0x${string}`;
4176
+ stateRoot: `0x${string}`;
4177
+ timestamp: `0x${string}`;
4178
+ totalDifficulty?: `0x${string}` | undefined;
4179
+ transactions: `0x${string}`[];
4180
+ transactionsRoot: `0x${string}`;
4181
+ uncles?: `0x${string}`[] | undefined;
4182
+ withdrawals?: {
3951
4183
  [x: string]: import("hono/utils/types").JSONValue;
3952
- address: `0x${string}`;
3953
- blockHash: `0x${string}` | null;
3954
- blockNumber: `0x${string}` | null;
3955
- blockTimestamp?: `0x${string}` | null | undefined;
3956
- data: `0x${string}`;
3957
- logIndex: `0x${string}` | null;
3958
- removed: boolean;
3959
- topics: `0x${string}`[];
3960
- transactionHash: `0x${string}` | null;
3961
- transactionIndex: `0x${string}` | null;
3962
- }[];
3963
- logsBloom?: `0x${string}` | undefined;
3964
- root?: `0x${string}` | undefined;
3965
- status: `0x${string}`;
3966
- to: `0x${string}` | null;
3967
- transactionHash: `0x${string}`;
3968
- transactionIndex: `0x${string}`;
3969
- type: `0x${string}`;
4184
+ }[] | undefined;
4185
+ withdrawalsRoot?: `0x${string}` | undefined;
3970
4186
  };
3971
4187
  };
3972
- recipient: `0x${string}` | null;
3973
- sender: `0x${string}`;
3974
- status: "reverted" | "success";
3975
- timestamp: string | null;
3976
- transactionHash: `0x${string}`;
3977
- transactionIndex: number;
3978
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
4188
+ miner: `0x${string}`;
4189
+ number: number;
4190
+ parentHash: `0x${string}`;
4191
+ size: number;
4192
+ timestamp: string;
4193
+ transactionCount: number;
3979
4194
  };
3980
4195
  outputFormat: "json";
3981
4196
  status: 200;
3982
4197
  input: {
3983
4198
  param: {
3984
- transactionHash: `0x${string}`;
4199
+ block: string;
3985
4200
  };
3986
4201
  } & {
3987
4202
  query?: {
3988
4203
  chainId?: string | string[];
3989
- include?: string | string[];
3990
4204
  } | undefined;
3991
4205
  };
3992
4206
  };
3993
4207
  };
3994
4208
  }, "/"> | import("hono/types").MergeSchemaPath<{
3995
- "/v1/transactions": {
4209
+ "/v1/transactions/receipts": {
3996
4210
  $get: {
3997
4211
  output: null;
3998
4212
  outputFormat: "body";
@@ -4207,20 +4421,28 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
4207
4421
  output: {
4208
4422
  data: {
4209
4423
  blockHash: `0x${string}` | null;
4210
- blockNumber: number | null;
4211
- calls?: {
4212
- data?: `0x${string}` | undefined;
4213
- to: `0x${string}` | null;
4214
- }[] | undefined;
4215
- chainId?: number | undefined;
4424
+ blockNumber: number;
4425
+ contractAddress: `0x${string}` | null;
4426
+ cumulativeGasUsed: number;
4427
+ effectiveGasPrice: string;
4428
+ feeAmount: string;
4429
+ feePayer?: `0x${string}` | undefined;
4216
4430
  feeToken?: `0x${string}` | undefined;
4217
- gas: number;
4218
- gasPrice?: string | undefined;
4219
- hash: `0x${string}`;
4431
+ gasUsed: number;
4220
4432
  id: `0x${string}`;
4221
- input?: `0x${string}` | undefined;
4222
- maxFeePerGas?: string | undefined;
4223
- maxPriorityFeePerGas?: string | undefined;
4433
+ logs: {
4434
+ [x: string]: import("hono/utils/types").JSONValue;
4435
+ address: `0x${string}`;
4436
+ blockHash: `0x${string}` | null;
4437
+ blockNumber: `0x${string}` | null;
4438
+ blockTimestamp?: `0x${string}` | null | undefined;
4439
+ data: `0x${string}`;
4440
+ logIndex: `0x${string}` | null;
4441
+ removed: boolean;
4442
+ topics: `0x${string}`[];
4443
+ transactionHash: `0x${string}` | null;
4444
+ transactionIndex: `0x${string}` | null;
4445
+ }[];
4224
4446
  meta: {
4225
4447
  feeToken?: {
4226
4448
  address: `0x${string}`;
@@ -4242,164 +4464,49 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
4242
4464
  } | undefined;
4243
4465
  verified: boolean;
4244
4466
  } | undefined;
4245
- receipt?: {
4246
- blockHash: `0x${string}` | null;
4247
- blockNumber: number;
4248
- contractAddress: `0x${string}` | null;
4249
- cumulativeGasUsed: number;
4250
- effectiveGasPrice: string;
4251
- feeAmount: string;
4252
- feePayer?: `0x${string}` | undefined;
4253
- feeToken?: `0x${string}` | undefined;
4254
- gasUsed: number;
4255
- id: `0x${string}`;
4256
- logs: {
4257
- [x: string]: import("hono/utils/types").JSONValue;
4258
- address: `0x${string}`;
4259
- blockHash: `0x${string}` | null;
4260
- blockNumber: `0x${string}` | null;
4261
- blockTimestamp?: `0x${string}` | null | undefined;
4262
- data: `0x${string}`;
4263
- logIndex: `0x${string}` | null;
4264
- removed: boolean;
4265
- topics: `0x${string}`[];
4266
- transactionHash: `0x${string}` | null;
4267
- transactionIndex: `0x${string}` | null;
4268
- }[];
4269
- meta: {
4270
- feeToken?: {
4271
- address: `0x${string}`;
4272
- admin?: `0x${string}` | undefined;
4273
- currency: string;
4274
- createdAt?: string | undefined;
4275
- decimals: number;
4276
- holderCount?: number | undefined;
4277
- id: string;
4278
- logoUri?: string | undefined;
4279
- name: string;
4280
- quoteToken?: `0x${string}` | undefined;
4281
- symbol: string;
4282
- totalSupply?: string | undefined;
4283
- transferStats?: {
4284
- count: number;
4285
- firstAt: string | null;
4286
- lastAt: string | null;
4287
- } | undefined;
4288
- verified: boolean;
4289
- } | undefined;
4290
- rpc: {
4291
- [x: string]: import("hono/utils/types").JSONValue;
4292
- blobGasPrice?: `0x${string}` | undefined;
4293
- blobGasUsed?: `0x${string}` | undefined;
4294
- blockHash: `0x${string}` | null;
4295
- blockNumber: `0x${string}`;
4296
- blockTimestamp?: `0x${string}` | null | undefined;
4297
- contractAddress?: `0x${string}` | null | undefined;
4298
- cumulativeGasUsed: `0x${string}`;
4299
- effectiveGasPrice: `0x${string}`;
4300
- feePayer?: `0x${string}` | null | undefined;
4301
- feeToken?: `0x${string}` | null | undefined;
4302
- from: `0x${string}`;
4303
- gasUsed: `0x${string}`;
4304
- logs: {
4305
- [x: string]: import("hono/utils/types").JSONValue;
4306
- address: `0x${string}`;
4307
- blockHash: `0x${string}` | null;
4308
- blockNumber: `0x${string}` | null;
4309
- blockTimestamp?: `0x${string}` | null | undefined;
4310
- data: `0x${string}`;
4311
- logIndex: `0x${string}` | null;
4312
- removed: boolean;
4313
- topics: `0x${string}`[];
4314
- transactionHash: `0x${string}` | null;
4315
- transactionIndex: `0x${string}` | null;
4316
- }[];
4317
- logsBloom?: `0x${string}` | undefined;
4318
- root?: `0x${string}` | undefined;
4319
- status: `0x${string}`;
4320
- to: `0x${string}` | null;
4321
- transactionHash: `0x${string}`;
4322
- transactionIndex: `0x${string}`;
4323
- type: `0x${string}`;
4324
- };
4325
- };
4326
- recipient: `0x${string}` | null;
4327
- sender: `0x${string}`;
4328
- status: "reverted" | "success";
4329
- timestamp: string | null;
4330
- transactionHash: `0x${string}`;
4331
- transactionIndex: number;
4332
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
4333
- } | undefined;
4334
- rpc: {
4335
- [x: string]: import("hono/utils/types").JSONValue;
4336
- aaAuthorizationList?: {
4337
- [x: string]: import("hono/utils/types").JSONValue;
4338
- }[] | undefined;
4339
- accessList?: {
4340
- [x: string]: import("hono/utils/types").JSONValue;
4341
- address: `0x${string}`;
4342
- storageKeys: `0x${string}`[];
4343
- }[] | undefined;
4344
- authorizationList?: {
4345
- [x: string]: import("hono/utils/types").JSONValue;
4346
- }[] | undefined;
4347
- blobVersionedHashes?: `0x${string}`[] | undefined;
4348
- blockHash: `0x${string}` | null;
4349
- blockNumber: `0x${string}` | null;
4350
- blockTimestamp?: `0x${string}` | null | undefined;
4351
- calls?: {
4352
- [x: string]: import("hono/utils/types").JSONValue;
4353
- data?: `0x${string}` | null | undefined;
4354
- input?: `0x${string}` | null | undefined;
4355
- to?: `0x${string}` | null | undefined;
4356
- value?: `0x${string}` | null | undefined;
4357
- }[] | null | undefined;
4358
- chainId?: `0x${string}` | undefined;
4359
- feePayerSignature?: {
4360
- [x: string]: import("hono/utils/types").JSONValue;
4361
- type?: string | undefined;
4362
- } | null | undefined;
4467
+ rpc: {
4468
+ [x: string]: import("hono/utils/types").JSONValue;
4469
+ blobGasPrice?: `0x${string}` | undefined;
4470
+ blobGasUsed?: `0x${string}` | undefined;
4471
+ blockHash: `0x${string}` | null;
4472
+ blockNumber: `0x${string}`;
4473
+ blockTimestamp?: `0x${string}` | null | undefined;
4474
+ contractAddress?: `0x${string}` | null | undefined;
4475
+ cumulativeGasUsed: `0x${string}`;
4476
+ effectiveGasPrice: `0x${string}`;
4477
+ feePayer?: `0x${string}` | null | undefined;
4363
4478
  feeToken?: `0x${string}` | null | undefined;
4364
4479
  from: `0x${string}`;
4365
- gas: `0x${string}`;
4366
- gasPrice?: `0x${string}` | undefined;
4367
- hash: `0x${string}`;
4368
- input?: `0x${string}` | undefined;
4369
- keyAuthorization?: {
4370
- [x: string]: import("hono/utils/types").JSONValue;
4371
- } | null | undefined;
4372
- maxFeePerBlobGas?: `0x${string}` | undefined;
4373
- maxFeePerGas?: `0x${string}` | undefined;
4374
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4375
- nonce: `0x${string}`;
4376
- nonceKey?: `0x${string}` | undefined;
4377
- r?: `0x${string}` | undefined;
4378
- s?: `0x${string}` | undefined;
4379
- signature?: {
4480
+ gasUsed: `0x${string}`;
4481
+ logs: {
4380
4482
  [x: string]: import("hono/utils/types").JSONValue;
4381
- type?: string | undefined;
4382
- } | undefined;
4383
- to?: `0x${string}` | null | undefined;
4384
- transactionIndex: `0x${string}` | null;
4483
+ address: `0x${string}`;
4484
+ blockHash: `0x${string}` | null;
4485
+ blockNumber: `0x${string}` | null;
4486
+ blockTimestamp?: `0x${string}` | null | undefined;
4487
+ data: `0x${string}`;
4488
+ logIndex: `0x${string}` | null;
4489
+ removed: boolean;
4490
+ topics: `0x${string}`[];
4491
+ transactionHash: `0x${string}` | null;
4492
+ transactionIndex: `0x${string}` | null;
4493
+ }[];
4494
+ logsBloom?: `0x${string}` | undefined;
4495
+ root?: `0x${string}` | undefined;
4496
+ status: `0x${string}`;
4497
+ to: `0x${string}` | null;
4498
+ transactionHash: `0x${string}`;
4499
+ transactionIndex: `0x${string}`;
4385
4500
  type: `0x${string}`;
4386
- v?: `0x${string}` | undefined;
4387
- validAfter?: `0x${string}` | null | undefined;
4388
- validBefore?: `0x${string}` | null | undefined;
4389
- value?: `0x${string}` | undefined;
4390
- yParity?: `0x${string}` | undefined;
4391
4501
  };
4392
4502
  };
4393
- nonce: number;
4394
- nonceKey?: `0x${string}` | undefined;
4395
4503
  recipient: `0x${string}` | null;
4396
4504
  sender: `0x${string}`;
4505
+ status: "reverted" | "success";
4397
4506
  timestamp: string | null;
4398
- transactionIndex: number | null;
4507
+ transactionHash: `0x${string}`;
4508
+ transactionIndex: number;
4399
4509
  type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
4400
- validAfter?: string | null | undefined;
4401
- validBefore?: string | null | undefined;
4402
- value: string;
4403
4510
  }[];
4404
4511
  meta?: {
4405
4512
  totalCountCapped: boolean;
@@ -4432,7 +4539,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
4432
4539
  };
4433
4540
  };
4434
4541
  } & {
4435
- "/v1/transactions/:transactionHash": {
4542
+ "/v1/transactions/:transactionHash/receipt": {
4436
4543
  $get: {
4437
4544
  output: null;
4438
4545
  outputFormat: "body";
@@ -4597,7 +4704,7 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
4597
4704
  } | {
4598
4705
  output: {
4599
4706
  error: {
4600
- code: "transaction_not_found";
4707
+ code: "receipt_not_found";
4601
4708
  details?: readonly Response.error.Detail[] | undefined;
4602
4709
  message: string;
4603
4710
  };
@@ -4618,20 +4725,28 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
4618
4725
  } | {
4619
4726
  output: {
4620
4727
  blockHash: `0x${string}` | null;
4621
- blockNumber: number | null;
4622
- calls?: {
4623
- data?: `0x${string}` | undefined;
4624
- to: `0x${string}` | null;
4625
- }[] | undefined;
4626
- chainId?: number | undefined;
4728
+ blockNumber: number;
4729
+ contractAddress: `0x${string}` | null;
4730
+ cumulativeGasUsed: number;
4731
+ effectiveGasPrice: string;
4732
+ feeAmount: string;
4733
+ feePayer?: `0x${string}` | undefined;
4627
4734
  feeToken?: `0x${string}` | undefined;
4628
- gas: number;
4629
- gasPrice?: string | undefined;
4630
- hash: `0x${string}`;
4735
+ gasUsed: number;
4631
4736
  id: `0x${string}`;
4632
- input?: `0x${string}` | undefined;
4633
- maxFeePerGas?: string | undefined;
4634
- maxPriorityFeePerGas?: string | undefined;
4737
+ logs: {
4738
+ [x: string]: import("hono/utils/types").JSONValue;
4739
+ address: `0x${string}`;
4740
+ blockHash: `0x${string}` | null;
4741
+ blockNumber: `0x${string}` | null;
4742
+ blockTimestamp?: `0x${string}` | null | undefined;
4743
+ data: `0x${string}`;
4744
+ logIndex: `0x${string}` | null;
4745
+ removed: boolean;
4746
+ topics: `0x${string}`[];
4747
+ transactionHash: `0x${string}` | null;
4748
+ transactionIndex: `0x${string}` | null;
4749
+ }[];
4635
4750
  meta: {
4636
4751
  feeToken?: {
4637
4752
  address: `0x${string}`;
@@ -4653,17 +4768,20 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
4653
4768
  } | undefined;
4654
4769
  verified: boolean;
4655
4770
  } | undefined;
4656
- receipt?: {
4771
+ rpc: {
4772
+ [x: string]: import("hono/utils/types").JSONValue;
4773
+ blobGasPrice?: `0x${string}` | undefined;
4774
+ blobGasUsed?: `0x${string}` | undefined;
4657
4775
  blockHash: `0x${string}` | null;
4658
- blockNumber: number;
4659
- contractAddress: `0x${string}` | null;
4660
- cumulativeGasUsed: number;
4661
- effectiveGasPrice: string;
4662
- feeAmount: string;
4663
- feePayer?: `0x${string}` | undefined;
4664
- feeToken?: `0x${string}` | undefined;
4665
- gasUsed: number;
4666
- id: `0x${string}`;
4776
+ blockNumber: `0x${string}`;
4777
+ blockTimestamp?: `0x${string}` | null | undefined;
4778
+ contractAddress?: `0x${string}` | null | undefined;
4779
+ cumulativeGasUsed: `0x${string}`;
4780
+ effectiveGasPrice: `0x${string}`;
4781
+ feePayer?: `0x${string}` | null | undefined;
4782
+ feeToken?: `0x${string}` | null | undefined;
4783
+ from: `0x${string}`;
4784
+ gasUsed: `0x${string}`;
4667
4785
  logs: {
4668
4786
  [x: string]: import("hono/utils/types").JSONValue;
4669
4787
  address: `0x${string}`;
@@ -4677,140 +4795,22 @@ export declare function data(options?: data.Options): import("hono/hono-base").H
4677
4795
  transactionHash: `0x${string}` | null;
4678
4796
  transactionIndex: `0x${string}` | null;
4679
4797
  }[];
4680
- meta: {
4681
- feeToken?: {
4682
- address: `0x${string}`;
4683
- admin?: `0x${string}` | undefined;
4684
- currency: string;
4685
- createdAt?: string | undefined;
4686
- decimals: number;
4687
- holderCount?: number | undefined;
4688
- id: string;
4689
- logoUri?: string | undefined;
4690
- name: string;
4691
- quoteToken?: `0x${string}` | undefined;
4692
- symbol: string;
4693
- totalSupply?: string | undefined;
4694
- transferStats?: {
4695
- count: number;
4696
- firstAt: string | null;
4697
- lastAt: string | null;
4698
- } | undefined;
4699
- verified: boolean;
4700
- } | undefined;
4701
- rpc: {
4702
- [x: string]: import("hono/utils/types").JSONValue;
4703
- blobGasPrice?: `0x${string}` | undefined;
4704
- blobGasUsed?: `0x${string}` | undefined;
4705
- blockHash: `0x${string}` | null;
4706
- blockNumber: `0x${string}`;
4707
- blockTimestamp?: `0x${string}` | null | undefined;
4708
- contractAddress?: `0x${string}` | null | undefined;
4709
- cumulativeGasUsed: `0x${string}`;
4710
- effectiveGasPrice: `0x${string}`;
4711
- feePayer?: `0x${string}` | null | undefined;
4712
- feeToken?: `0x${string}` | null | undefined;
4713
- from: `0x${string}`;
4714
- gasUsed: `0x${string}`;
4715
- logs: {
4716
- [x: string]: import("hono/utils/types").JSONValue;
4717
- address: `0x${string}`;
4718
- blockHash: `0x${string}` | null;
4719
- blockNumber: `0x${string}` | null;
4720
- blockTimestamp?: `0x${string}` | null | undefined;
4721
- data: `0x${string}`;
4722
- logIndex: `0x${string}` | null;
4723
- removed: boolean;
4724
- topics: `0x${string}`[];
4725
- transactionHash: `0x${string}` | null;
4726
- transactionIndex: `0x${string}` | null;
4727
- }[];
4728
- logsBloom?: `0x${string}` | undefined;
4729
- root?: `0x${string}` | undefined;
4730
- status: `0x${string}`;
4731
- to: `0x${string}` | null;
4732
- transactionHash: `0x${string}`;
4733
- transactionIndex: `0x${string}`;
4734
- type: `0x${string}`;
4735
- };
4736
- };
4737
- recipient: `0x${string}` | null;
4738
- sender: `0x${string}`;
4739
- status: "reverted" | "success";
4740
- timestamp: string | null;
4798
+ logsBloom?: `0x${string}` | undefined;
4799
+ root?: `0x${string}` | undefined;
4800
+ status: `0x${string}`;
4801
+ to: `0x${string}` | null;
4741
4802
  transactionHash: `0x${string}`;
4742
- transactionIndex: number;
4743
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
4744
- } | undefined;
4745
- rpc: {
4746
- [x: string]: import("hono/utils/types").JSONValue;
4747
- aaAuthorizationList?: {
4748
- [x: string]: import("hono/utils/types").JSONValue;
4749
- }[] | undefined;
4750
- accessList?: {
4751
- [x: string]: import("hono/utils/types").JSONValue;
4752
- address: `0x${string}`;
4753
- storageKeys: `0x${string}`[];
4754
- }[] | undefined;
4755
- authorizationList?: {
4756
- [x: string]: import("hono/utils/types").JSONValue;
4757
- }[] | undefined;
4758
- blobVersionedHashes?: `0x${string}`[] | undefined;
4759
- blockHash: `0x${string}` | null;
4760
- blockNumber: `0x${string}` | null;
4761
- blockTimestamp?: `0x${string}` | null | undefined;
4762
- calls?: {
4763
- [x: string]: import("hono/utils/types").JSONValue;
4764
- data?: `0x${string}` | null | undefined;
4765
- input?: `0x${string}` | null | undefined;
4766
- to?: `0x${string}` | null | undefined;
4767
- value?: `0x${string}` | null | undefined;
4768
- }[] | null | undefined;
4769
- chainId?: `0x${string}` | undefined;
4770
- feePayerSignature?: {
4771
- [x: string]: import("hono/utils/types").JSONValue;
4772
- type?: string | undefined;
4773
- } | null | undefined;
4774
- feeToken?: `0x${string}` | null | undefined;
4775
- from: `0x${string}`;
4776
- gas: `0x${string}`;
4777
- gasPrice?: `0x${string}` | undefined;
4778
- hash: `0x${string}`;
4779
- input?: `0x${string}` | undefined;
4780
- keyAuthorization?: {
4781
- [x: string]: import("hono/utils/types").JSONValue;
4782
- } | null | undefined;
4783
- maxFeePerBlobGas?: `0x${string}` | undefined;
4784
- maxFeePerGas?: `0x${string}` | undefined;
4785
- maxPriorityFeePerGas?: `0x${string}` | undefined;
4786
- nonce: `0x${string}`;
4787
- nonceKey?: `0x${string}` | undefined;
4788
- r?: `0x${string}` | undefined;
4789
- s?: `0x${string}` | undefined;
4790
- signature?: {
4791
- [x: string]: import("hono/utils/types").JSONValue;
4792
- type?: string | undefined;
4793
- } | undefined;
4794
- to?: `0x${string}` | null | undefined;
4795
- transactionIndex: `0x${string}` | null;
4803
+ transactionIndex: `0x${string}`;
4796
4804
  type: `0x${string}`;
4797
- v?: `0x${string}` | undefined;
4798
- validAfter?: `0x${string}` | null | undefined;
4799
- validBefore?: `0x${string}` | null | undefined;
4800
- value?: `0x${string}` | undefined;
4801
- yParity?: `0x${string}` | undefined;
4802
4805
  };
4803
4806
  };
4804
- nonce: number;
4805
- nonceKey?: `0x${string}` | undefined;
4806
4807
  recipient: `0x${string}` | null;
4807
4808
  sender: `0x${string}`;
4809
+ status: "reverted" | "success";
4808
4810
  timestamp: string | null;
4809
- transactionIndex: number | null;
4811
+ transactionHash: `0x${string}`;
4812
+ transactionIndex: number;
4810
4813
  type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
4811
- validAfter?: string | null | undefined;
4812
- validBefore?: string | null | undefined;
4813
- value: string;
4814
4814
  };
4815
4815
  outputFormat: "json";
4816
4816
  status: 200;