tapimo 0.9.0 → 0.10.1

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 (319) hide show
  1. package/dist/ApiKey.d.ts +2 -1
  2. package/dist/ApiKey.d.ts.map +1 -1
  3. package/dist/ApiKeys.d.ts +4 -2
  4. package/dist/ApiKeys.d.ts.map +1 -1
  5. package/dist/ApiKeys.js +26 -1
  6. package/dist/ApiKeys.js.map +1 -1
  7. package/dist/App.d.ts +4292 -3708
  8. package/dist/App.d.ts.map +1 -1
  9. package/dist/App.js +1 -0
  10. package/dist/App.js.map +1 -1
  11. package/dist/Webhooks.d.ts +21 -20
  12. package/dist/Webhooks.d.ts.map +1 -1
  13. package/dist/Webhooks.js +66 -23
  14. package/dist/Webhooks.js.map +1 -1
  15. package/dist/admin/App.d.ts +91 -84
  16. package/dist/admin/App.d.ts.map +1 -1
  17. package/dist/admin/apps/api-keys.d.ts +26 -17
  18. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  19. package/dist/admin/apps/api-keys.js +6 -0
  20. package/dist/admin/apps/api-keys.js.map +1 -1
  21. package/dist/admin/apps/organizations.d.ts +4 -2
  22. package/dist/admin/apps/organizations.d.ts.map +1 -1
  23. package/dist/admin/apps/verified-tokens.d.ts +168 -168
  24. package/dist/admin/ui.generated.d.ts +1 -1
  25. package/dist/admin/ui.generated.js +69 -69
  26. package/dist/admin/ui.generated.js.map +1 -1
  27. package/dist/analytics/Analytics.d.ts.map +1 -1
  28. package/dist/analytics/Analytics.js +26 -0
  29. package/dist/analytics/Analytics.js.map +1 -1
  30. package/dist/apps/Zones.d.ts +4280 -84
  31. package/dist/apps/Zones.d.ts.map +1 -1
  32. package/dist/apps/Zones.js +30 -10
  33. package/dist/apps/Zones.js.map +1 -1
  34. package/dist/apps/data/App.d.ts +5799 -4929
  35. package/dist/apps/data/App.d.ts.map +1 -1
  36. package/dist/apps/data/FxOracle.d.ts +4 -5
  37. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  38. package/dist/apps/data/FxOracle.js +19 -4
  39. package/dist/apps/data/FxOracle.js.map +1 -1
  40. package/dist/apps/data/routes/activities.d.ts +3391 -492
  41. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  42. package/dist/apps/data/routes/activities.js +372 -29
  43. package/dist/apps/data/routes/activities.js.map +1 -1
  44. package/dist/apps/data/routes/addresses.d.ts +853 -339
  45. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  46. package/dist/apps/data/routes/balances.d.ts +10 -10
  47. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  48. package/dist/apps/data/routes/balances.js +145 -83
  49. package/dist/apps/data/routes/balances.js.map +1 -1
  50. package/dist/apps/data/routes/blocks.d.ts +123 -123
  51. package/dist/apps/data/routes/coingecko.d.ts +169 -169
  52. package/dist/apps/data/routes/earn.d.ts +455 -1
  53. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  54. package/dist/apps/data/routes/earn.js +369 -45
  55. package/dist/apps/data/routes/earn.js.map +1 -1
  56. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  57. package/dist/apps/data/routes/exchanges.js +114 -118
  58. package/dist/apps/data/routes/exchanges.js.map +1 -1
  59. package/dist/apps/data/routes/fee-amm.d.ts +24 -24
  60. package/dist/apps/data/routes/indexer.d.ts +35 -34
  61. package/dist/apps/data/routes/indexer.d.ts.map +1 -1
  62. package/dist/apps/data/routes/indexer.js +3 -2
  63. package/dist/apps/data/routes/indexer.js.map +1 -1
  64. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  65. package/dist/apps/data/routes/receipts.js +68 -47
  66. package/dist/apps/data/routes/receipts.js.map +1 -1
  67. package/dist/apps/data/routes/rpc.d.ts +31 -31
  68. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  69. package/dist/apps/data/routes/rpc.js +5 -1
  70. package/dist/apps/data/routes/rpc.js.map +1 -1
  71. package/dist/apps/data/routes/tokenlist.d.ts +12 -12
  72. package/dist/apps/data/routes/tokens.d.ts +461 -459
  73. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  74. package/dist/apps/data/routes/transactions.d.ts +313 -305
  75. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  76. package/dist/apps/data/routes/transactions.js +25 -23
  77. package/dist/apps/data/routes/transactions.js.map +1 -1
  78. package/dist/apps/data/routes/transfers.d.ts +108 -86
  79. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  80. package/dist/apps/data/routes/transfers.js +618 -105
  81. package/dist/apps/data/routes/transfers.js.map +1 -1
  82. package/dist/apps/data/routes/valuation.d.ts +21 -21
  83. package/dist/apps/data/routes/valuation.d.ts.map +1 -1
  84. package/dist/apps/data/routes/valuation.js +2 -2
  85. package/dist/apps/data/routes/valuation.js.map +1 -1
  86. package/dist/apps/data/routes/webhooks.d.ts +519 -868
  87. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  88. package/dist/apps/data/routes/webhooks.js +642 -353
  89. package/dist/apps/data/routes/webhooks.js.map +1 -1
  90. package/dist/apps/data/routes/zones.d.ts +31 -31
  91. package/dist/apps/data/routes/zones.d.ts.map +1 -1
  92. package/dist/apps/data/routes/zones.js +4 -2
  93. package/dist/apps/data/routes/zones.js.map +1 -1
  94. package/dist/apps/funding/routes/deposit-addresses.js +1 -1
  95. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  96. package/dist/apps/funding/routes/providers.d.ts +13 -13
  97. package/dist/apps/funding/routes/quotes.d.ts +89 -89
  98. package/dist/apps/funding/routes/transfers.d.ts +36 -36
  99. package/dist/apps/funding/routes/transfers.js +1 -1
  100. package/dist/apps/funding/routes/transfers.js.map +1 -1
  101. package/dist/apps/management/App.d.ts +11 -309
  102. package/dist/apps/management/App.d.ts.map +1 -1
  103. package/dist/apps/management/routes/api-keys.d.ts +74 -74
  104. package/dist/apps/management/routes/billing.js +1 -1
  105. package/dist/apps/management/routes/billing.js.map +1 -1
  106. package/dist/apps/management/routes/faucet.d.ts +35 -35
  107. package/dist/apps/management/routes/faucet.js +2 -2
  108. package/dist/apps/management/routes/faucet.js.map +1 -1
  109. package/dist/apps/management/routes/invitations.d.ts +134 -134
  110. package/dist/apps/management/routes/invite-links.d.ts +80 -80
  111. package/dist/apps/management/routes/members.d.ts +69 -69
  112. package/dist/apps/management/routes/orgs.d.ts +98 -98
  113. package/dist/apps/management/routes/projects.d.ts +60 -60
  114. package/dist/apps/management/routes/usage.d.ts +72 -72
  115. package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
  116. package/dist/apps/management/routes/webhooks.d.ts +203 -618
  117. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  118. package/dist/apps/mcp.d.ts.map +1 -1
  119. package/dist/apps/mcp.js +4 -1
  120. package/dist/apps/mcp.js.map +1 -1
  121. package/dist/apps/mpp/App.d.ts +56 -44
  122. package/dist/apps/mpp/App.d.ts.map +1 -1
  123. package/dist/apps/mpp/Mpp.d.ts +3 -0
  124. package/dist/apps/mpp/Mpp.d.ts.map +1 -1
  125. package/dist/apps/mpp/Mpp.js +3 -0
  126. package/dist/apps/mpp/Mpp.js.map +1 -1
  127. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
  128. package/dist/apps/mpp/internal/Adapter.js +9 -2
  129. package/dist/apps/mpp/internal/Adapter.js.map +1 -1
  130. package/dist/db/Db.d.ts +4 -2
  131. package/dist/db/Db.d.ts.map +1 -1
  132. package/dist/db/Db.js +75 -15
  133. package/dist/db/Db.js.map +1 -1
  134. package/dist/db/Schema.d.ts +19 -0
  135. package/dist/db/Schema.d.ts.map +1 -1
  136. package/dist/db/Schema.js +24 -0
  137. package/dist/db/Schema.js.map +1 -1
  138. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  139. package/dist/db/tables/sponsoredTransactions.js +4 -1
  140. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  141. package/dist/db/tables/webhookQueueEvents.d.ts +122 -0
  142. package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -0
  143. package/dist/db/tables/webhookQueueEvents.js +160 -0
  144. package/dist/db/tables/webhookQueueEvents.js.map +1 -0
  145. package/dist/db/tables/webhookSubscriptions.d.ts +58 -3
  146. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  147. package/dist/db/tables/webhookSubscriptions.js +86 -3
  148. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  149. package/dist/internal/Auth.d.ts +3 -0
  150. package/dist/internal/Auth.d.ts.map +1 -1
  151. package/dist/internal/Auth.js +6 -4
  152. package/dist/internal/Auth.js.map +1 -1
  153. package/dist/internal/MetricSink.d.ts +139 -3
  154. package/dist/internal/MetricSink.d.ts.map +1 -1
  155. package/dist/internal/MetricSink.js +144 -4
  156. package/dist/internal/MetricSink.js.map +1 -1
  157. package/dist/internal/RateLimit.d.ts +4 -6
  158. package/dist/internal/RateLimit.d.ts.map +1 -1
  159. package/dist/internal/RateLimit.js +15 -14
  160. package/dist/internal/RateLimit.js.map +1 -1
  161. package/dist/internal/Schema.js +1 -1
  162. package/dist/internal/Schema.js.map +1 -1
  163. package/dist/internal/Store.d.ts +2 -1
  164. package/dist/internal/Store.d.ts.map +1 -1
  165. package/dist/internal/Store.js +57 -18
  166. package/dist/internal/Store.js.map +1 -1
  167. package/dist/internal/Tidx.d.ts +1 -3
  168. package/dist/internal/Tidx.d.ts.map +1 -1
  169. package/dist/internal/Tidx.js +1 -3
  170. package/dist/internal/Tidx.js.map +1 -1
  171. package/dist/internal/Value.d.ts +2 -0
  172. package/dist/internal/Value.d.ts.map +1 -1
  173. package/dist/internal/Value.js +25 -0
  174. package/dist/internal/Value.js.map +1 -1
  175. package/dist/internal/Viem.d.ts.map +1 -1
  176. package/dist/internal/Viem.js +2 -1
  177. package/dist/internal/Viem.js.map +1 -1
  178. package/dist/internal/WebhookDestination.d.ts +2 -0
  179. package/dist/internal/WebhookDestination.d.ts.map +1 -1
  180. package/dist/internal/WebhookDestination.js +11 -0
  181. package/dist/internal/WebhookDestination.js.map +1 -1
  182. package/dist/internal/WebhookTransfer.d.ts +75 -0
  183. package/dist/internal/WebhookTransfer.d.ts.map +1 -0
  184. package/dist/internal/WebhookTransfer.js +299 -0
  185. package/dist/internal/WebhookTransfer.js.map +1 -0
  186. package/dist/internal/Webhooks.d.ts +176 -0
  187. package/dist/internal/Webhooks.d.ts.map +1 -1
  188. package/dist/internal/Webhooks.js +216 -20
  189. package/dist/internal/Webhooks.js.map +1 -1
  190. package/dist/internal/funding/Provider.d.ts +4 -0
  191. package/dist/internal/funding/Provider.d.ts.map +1 -1
  192. package/dist/internal/funding/Provider.js +11 -7
  193. package/dist/internal/funding/Provider.js.map +1 -1
  194. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  195. package/dist/internal/funding/Reconciliation.js +128 -0
  196. package/dist/internal/funding/Reconciliation.js.map +1 -1
  197. package/dist/internal/funding/providers/relay.d.ts +6 -4
  198. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  199. package/dist/internal/funding/providers/relay.js +71 -9
  200. package/dist/internal/funding/providers/relay.js.map +1 -1
  201. package/package.json +4 -4
  202. package/src/ApiKeys.test.ts +20 -0
  203. package/src/ApiKeys.ts +28 -1
  204. package/src/App.test.ts +10 -8
  205. package/src/App.ts +1 -0
  206. package/src/Client.test-d.ts +61 -5
  207. package/src/Webhooks.bench.ts +714 -0
  208. package/src/Webhooks.memory.bench.ts +250 -0
  209. package/src/Webhooks.test.ts +77 -6
  210. package/src/Webhooks.ts +85 -29
  211. package/src/admin/apps/api-keys.test.ts +9 -0
  212. package/src/admin/apps/api-keys.ts +15 -0
  213. package/src/admin/ui/src/lib/query-client.ts +3 -2
  214. package/src/admin/ui/src/routes/api-keys.tsx +31 -9
  215. package/src/admin/ui.generated.ts +69 -69
  216. package/src/analytics/Analytics.test.ts +8 -0
  217. package/src/analytics/Analytics.ts +26 -0
  218. package/src/apps/Zones.test.ts +23 -5
  219. package/src/apps/Zones.ts +31 -10
  220. package/src/apps/composition.test.ts +1 -0
  221. package/src/apps/data/App.test.ts +2 -2
  222. package/src/apps/data/FxOracle.test.ts +18 -0
  223. package/src/apps/data/FxOracle.ts +28 -5
  224. package/src/apps/data/routes/activities.bench.ts +41 -0
  225. package/src/apps/data/routes/activities.test.ts +122 -2
  226. package/src/apps/data/routes/activities.ts +435 -32
  227. package/src/apps/data/routes/balances.bench.ts +21 -0
  228. package/src/apps/data/routes/balances.test.ts +119 -10
  229. package/src/apps/data/routes/balances.ts +164 -97
  230. package/src/apps/data/routes/blocks.bench.ts +34 -0
  231. package/src/apps/data/routes/blocks.test.ts +12 -6
  232. package/src/apps/data/routes/coingecko.bench.ts +53 -0
  233. package/src/apps/data/routes/earn.bench.ts +71 -0
  234. package/src/apps/data/routes/earn.test.ts +197 -0
  235. package/src/apps/data/routes/earn.ts +487 -45
  236. package/src/apps/data/routes/exchanges.bench.ts +85 -0
  237. package/src/apps/data/routes/exchanges.test.ts +7 -6
  238. package/src/apps/data/routes/exchanges.ts +124 -117
  239. package/src/apps/data/routes/fee-amm.bench.ts +13 -0
  240. package/src/apps/data/routes/indexer.bench.ts +8 -0
  241. package/src/apps/data/routes/indexer.test.ts +2 -1
  242. package/src/apps/data/routes/indexer.ts +3 -2
  243. package/src/apps/data/routes/receipts.bench.ts +39 -0
  244. package/src/apps/data/routes/receipts.test.ts +24 -7
  245. package/src/apps/data/routes/receipts.ts +67 -50
  246. package/src/apps/data/routes/rpc.bench.ts +14 -0
  247. package/src/apps/data/routes/rpc.test.ts +27 -0
  248. package/src/apps/data/routes/rpc.ts +5 -1
  249. package/src/apps/data/routes/tokenlist.bench.ts +3 -0
  250. package/src/apps/data/routes/tokens.bench.ts +76 -0
  251. package/src/apps/data/routes/tokens.test.ts +51 -0
  252. package/src/apps/data/routes/transactions.bench.ts +40 -0
  253. package/src/apps/data/routes/transactions.test.ts +42 -0
  254. package/src/apps/data/routes/transactions.ts +44 -39
  255. package/src/apps/data/routes/transfers.bench.ts +28 -0
  256. package/src/apps/data/routes/transfers.test.ts +402 -24
  257. package/src/apps/data/routes/transfers.ts +708 -101
  258. package/src/apps/data/routes/valuation.bench.ts +14 -0
  259. package/src/apps/data/routes/valuation.test.ts +26 -0
  260. package/src/apps/data/routes/valuation.ts +6 -2
  261. package/src/apps/data/routes/verified-tokens.bench.ts +8 -0
  262. package/src/apps/data/routes/webhooks.bench.ts +26 -0
  263. package/src/apps/data/routes/webhooks.scan.test.ts +326 -0
  264. package/src/apps/data/routes/webhooks.test.ts +466 -135
  265. package/src/apps/data/routes/webhooks.ts +820 -429
  266. package/src/apps/data/routes/zones.bench.ts +32 -0
  267. package/src/apps/data/routes/zones.test.ts +1 -1
  268. package/src/apps/data/routes/zones.ts +7 -2
  269. package/src/apps/funding/routes/chains.test.ts +1 -1
  270. package/src/apps/funding/routes/deposit-addresses.test.ts +1 -1
  271. package/src/apps/funding/routes/deposit-addresses.ts +1 -1
  272. package/src/apps/funding/routes/providers.test.ts +1 -1
  273. package/src/apps/funding/routes/quotes.test.ts +2 -2
  274. package/src/apps/funding/routes/transfers.test.ts +3 -6
  275. package/src/apps/funding/routes/transfers.ts +1 -1
  276. package/src/apps/management/routes/billing.ts +1 -1
  277. package/src/apps/management/routes/faucet.ts +2 -2
  278. package/src/apps/management/routes/me.test.ts +31 -0
  279. package/src/apps/mcp.ts +4 -1
  280. package/src/apps/mpp/Mpp.test.ts +13 -1
  281. package/src/apps/mpp/Mpp.ts +8 -0
  282. package/src/apps/mpp/internal/Adapter.ts +10 -2
  283. package/src/db/Db.test.ts +40 -6
  284. package/src/db/Db.ts +114 -19
  285. package/src/db/Schema.ts +32 -0
  286. package/src/db/tables/sponsoredTransactions.ts +9 -2
  287. package/src/db/tables/webhookQueueEvents.ts +285 -0
  288. package/src/db/tables/webhookSubscriptions.ts +131 -4
  289. package/src/internal/Auth.test.ts +61 -50
  290. package/src/internal/Auth.ts +9 -4
  291. package/src/internal/EarnVaults.test.ts +2 -2
  292. package/src/internal/MetricSink.test.ts +575 -0
  293. package/src/internal/MetricSink.ts +325 -10
  294. package/src/internal/RateLimit.test.ts +23 -18
  295. package/src/internal/RateLimit.ts +23 -15
  296. package/src/internal/Schema.ts +1 -1
  297. package/src/internal/Store.test.ts +99 -13
  298. package/src/internal/Store.ts +52 -17
  299. package/src/internal/Tidx.test.ts +4 -4
  300. package/src/internal/Tidx.ts +1 -3
  301. package/src/internal/Value.test.ts +25 -0
  302. package/src/internal/Value.ts +29 -0
  303. package/src/internal/Viem.test.ts +8 -0
  304. package/src/internal/Viem.ts +2 -1
  305. package/src/internal/WebhookDestination.test.ts +20 -0
  306. package/src/internal/WebhookDestination.ts +10 -0
  307. package/src/internal/WebhookTransfer.test.ts +89 -0
  308. package/src/internal/WebhookTransfer.ts +430 -0
  309. package/src/internal/Webhooks.test.ts +616 -0
  310. package/src/internal/Webhooks.ts +412 -24
  311. package/src/internal/funding/Provider.test.ts +48 -8
  312. package/src/internal/funding/Provider.ts +12 -7
  313. package/src/internal/funding/Reconciliation.local.test.ts +3 -1
  314. package/src/internal/funding/Reconciliation.test.ts +1240 -0
  315. package/src/internal/funding/Reconciliation.ts +136 -0
  316. package/src/internal/funding/SourceObservation.test.ts +1 -0
  317. package/src/internal/funding/providers/index.test.ts +73 -3
  318. package/src/internal/funding/providers/relay.test.ts +2 -9
  319. package/src/internal/funding/providers/relay.ts +72 -13
@@ -16,209 +16,265 @@ import * as Valuation from './valuation.js';
16
16
  export declare function addresses(options?: addresses.Options): import("hono/hono-base").HonoBase<App.Environment, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
17
17
  "/v1/addresses/:address/activities": {
18
18
  $get: {
19
- output: null;
20
- outputFormat: "body";
21
- status: 402;
22
- input: {
23
- param: {
24
- address: `0x${string}`;
25
- };
26
- } & {
27
- query?: {
28
- chainId?: string | string[];
29
- cursor?: string | string[];
30
- group?: string | string[];
31
- include?: string | string[];
32
- limit?: string | string[];
33
- logs?: string | string[];
34
- 'valuation.currency'?: string | string[];
35
- } | undefined;
36
- };
37
- } | {
38
- output: {
39
- error: {
40
- code: "upstream_error";
41
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
42
- message: string;
43
- };
44
- requestId: string;
45
- };
46
- outputFormat: "json";
47
- status: 502;
48
- input: {
49
- param: {
50
- address: `0x${string}`;
51
- };
52
- } & {
53
- query?: {
54
- chainId?: string | string[];
55
- cursor?: string | string[];
56
- group?: string | string[];
57
- include?: string | string[];
58
- limit?: string | string[];
59
- logs?: string | string[];
60
- 'valuation.currency'?: string | string[];
61
- } | undefined;
62
- };
63
- } | {
64
- output: {
65
- error: {
66
- code: "api_key_malformed";
67
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
68
- message: string;
69
- };
70
- requestId: string;
71
- };
72
- outputFormat: "json";
73
- status: 400;
74
- input: {
75
- param: {
76
- address: `0x${string}`;
77
- };
78
- } & {
79
- query?: {
80
- chainId?: string | string[];
81
- cursor?: string | string[];
82
- group?: string | string[];
83
- include?: string | string[];
84
- limit?: string | string[];
85
- logs?: string | string[];
86
- 'valuation.currency'?: string | string[];
87
- } | undefined;
88
- };
89
- } | {
90
- output: {
91
- error: {
92
- code: "api_key_invalid" | "api_key_missing";
93
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
94
- message: string;
95
- };
96
- requestId: string;
97
- };
98
- outputFormat: "json";
99
- status: 401;
100
- input: {
101
- param: {
102
- address: `0x${string}`;
103
- };
104
- } & {
105
- query?: {
106
- chainId?: string | string[];
107
- cursor?: string | string[];
108
- group?: string | string[];
109
- include?: string | string[];
110
- limit?: string | string[];
111
- logs?: string | string[];
112
- 'valuation.currency'?: string | string[];
113
- } | undefined;
114
- };
115
- } | {
116
- output: {
117
- error: {
118
- code: "api_key_forbidden" | "api_key_ip_forbidden";
119
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
120
- message: string;
121
- };
122
- requestId: string;
123
- };
124
- outputFormat: "json";
125
- status: 403;
126
- input: {
127
- param: {
128
- address: `0x${string}`;
129
- };
130
- } & {
131
- query?: {
132
- chainId?: string | string[];
133
- cursor?: string | string[];
134
- group?: string | string[];
135
- include?: string | string[];
136
- limit?: string | string[];
137
- logs?: string | string[];
138
- 'valuation.currency'?: string | string[];
139
- } | undefined;
140
- };
141
- } | {
142
- output: {
143
- error: {
144
- code: "payment_required" | "rate_limit_exceeded";
145
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
146
- message: string;
147
- };
148
- requestId: string;
149
- };
150
- outputFormat: "json";
151
- status: 429;
152
- input: {
153
- param: {
154
- address: `0x${string}`;
155
- };
156
- } & {
157
- query?: {
158
- chainId?: string | string[];
159
- cursor?: string | string[];
160
- group?: string | string[];
161
- include?: string | string[];
162
- limit?: string | string[];
163
- logs?: string | string[];
164
- 'valuation.currency'?: string | string[];
165
- } | undefined;
166
- };
167
- } | {
168
- output: {
169
- error: {
170
- code: "query_invalid";
171
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
172
- message: string;
173
- };
174
- requestId: string;
175
- };
176
- outputFormat: "json";
177
- status: 400;
178
- input: {
179
- param: {
180
- address: `0x${string}`;
181
- };
182
- } & {
183
- query?: {
184
- chainId?: string | string[];
185
- cursor?: string | string[];
186
- group?: string | string[];
187
- include?: string | string[];
188
- limit?: string | string[];
189
- logs?: string | string[];
190
- 'valuation.currency'?: string | string[];
191
- } | undefined;
192
- };
193
- } | {
194
- output: {
195
- error: {
196
- code: "address_invalid";
197
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
198
- message: string;
199
- };
200
- requestId: string;
201
- };
202
- outputFormat: "json";
203
- status: 400;
204
- input: {
205
- param: {
206
- address: `0x${string}`;
207
- };
208
- } & {
209
- query?: {
210
- chainId?: string | string[];
211
- cursor?: string | string[];
212
- group?: string | string[];
213
- include?: string | string[];
214
- limit?: string | string[];
215
- logs?: string | string[];
216
- 'valuation.currency'?: string | string[];
217
- } | undefined;
218
- };
219
- } | {
220
19
  output: {
221
20
  data: ({
21
+ perspective: "incoming" | "outgoing";
22
+ events?: {
23
+ address: `0x${string}`;
24
+ args?: {
25
+ [x: string]: import("hono/utils/types").JSONValue;
26
+ } | undefined;
27
+ data: `0x${string}`;
28
+ eventName?: string | undefined;
29
+ logIndex: number;
30
+ title?: string | undefined;
31
+ topics: `0x${string}`[];
32
+ }[] | undefined;
33
+ id: string;
34
+ logIndex: number;
35
+ timestamp: string;
36
+ title: string;
37
+ transactionHash: `0x${string}`;
38
+ data: {
39
+ assets: string;
40
+ caller: `0x${string}`;
41
+ receiver: `0x${string}`;
42
+ shares: string;
43
+ signer: "self" | `0x${string}`;
44
+ status: "completed";
45
+ vault: `0x${string}`;
46
+ };
47
+ type: "assets-deposited";
48
+ } | {
49
+ perspective: "incoming" | "outgoing";
50
+ events?: {
51
+ address: `0x${string}`;
52
+ args?: {
53
+ [x: string]: import("hono/utils/types").JSONValue;
54
+ } | undefined;
55
+ data: `0x${string}`;
56
+ eventName?: string | undefined;
57
+ logIndex: number;
58
+ title?: string | undefined;
59
+ topics: `0x${string}`[];
60
+ }[] | undefined;
61
+ id: string;
62
+ logIndex: number;
63
+ timestamp: string;
64
+ title: string;
65
+ transactionHash: `0x${string}`;
66
+ data: {
67
+ caller: `0x${string}`;
68
+ receivedEngineShares: string;
69
+ receiver: `0x${string}`;
70
+ requestedVenueShares: string;
71
+ shares: string;
72
+ signer: "self" | `0x${string}`;
73
+ status: "completed";
74
+ vault: `0x${string}`;
75
+ };
76
+ type: "shares-deposited";
77
+ } | {
78
+ perspective: "incoming" | "outgoing";
79
+ events?: {
80
+ address: `0x${string}`;
81
+ args?: {
82
+ [x: string]: import("hono/utils/types").JSONValue;
83
+ } | undefined;
84
+ data: `0x${string}`;
85
+ eventName?: string | undefined;
86
+ logIndex: number;
87
+ title?: string | undefined;
88
+ topics: `0x${string}`[];
89
+ }[] | undefined;
90
+ id: string;
91
+ logIndex: number;
92
+ timestamp: string;
93
+ title: string;
94
+ transactionHash: `0x${string}`;
95
+ data: {
96
+ assets: string;
97
+ caller: `0x${string}`;
98
+ receiver: `0x${string}`;
99
+ shares: string;
100
+ signer: "self" | `0x${string}`;
101
+ status: "completed";
102
+ vault: `0x${string}`;
103
+ };
104
+ type: "shares-redeemed";
105
+ } | {
106
+ perspective: "incoming" | "outgoing";
107
+ events?: {
108
+ address: `0x${string}`;
109
+ args?: {
110
+ [x: string]: import("hono/utils/types").JSONValue;
111
+ } | undefined;
112
+ data: `0x${string}`;
113
+ eventName?: string | undefined;
114
+ logIndex: number;
115
+ title?: string | undefined;
116
+ topics: `0x${string}`[];
117
+ }[] | undefined;
118
+ id: string;
119
+ logIndex: number;
120
+ timestamp: string;
121
+ title: string;
122
+ transactionHash: `0x${string}`;
123
+ data: {
124
+ assets: string;
125
+ caller: `0x${string}`;
126
+ sharesBurned: string;
127
+ receiver: `0x${string}`;
128
+ signer: "self" | `0x${string}`;
129
+ status: "completed";
130
+ vault: `0x${string}`;
131
+ };
132
+ type: "assets-withdrawn";
133
+ } | {
134
+ perspective: "incoming" | "outgoing";
135
+ events?: {
136
+ address: `0x${string}`;
137
+ args?: {
138
+ [x: string]: import("hono/utils/types").JSONValue;
139
+ } | undefined;
140
+ data: `0x${string}`;
141
+ eventName?: string | undefined;
142
+ logIndex: number;
143
+ title?: string | undefined;
144
+ topics: `0x${string}`[];
145
+ }[] | undefined;
146
+ id: string;
147
+ logIndex: number;
148
+ timestamp: string;
149
+ title: string;
150
+ transactionHash: `0x${string}`;
151
+ data: {
152
+ receiver: `0x${string}`;
153
+ requestId: `0x${string}`;
154
+ requester: `0x${string}`;
155
+ shares: string;
156
+ signer: "self" | `0x${string}`;
157
+ status: "pending";
158
+ vault: `0x${string}`;
159
+ };
160
+ type: "shares-redemption-requested";
161
+ } | {
162
+ perspective: "incoming" | "outgoing";
163
+ events?: {
164
+ address: `0x${string}`;
165
+ args?: {
166
+ [x: string]: import("hono/utils/types").JSONValue;
167
+ } | undefined;
168
+ data: `0x${string}`;
169
+ eventName?: string | undefined;
170
+ logIndex: number;
171
+ title?: string | undefined;
172
+ topics: `0x${string}`[];
173
+ }[] | undefined;
174
+ id: string;
175
+ logIndex: number;
176
+ timestamp: string;
177
+ title: string;
178
+ transactionHash: `0x${string}`;
179
+ data: {
180
+ asset: `0x${string}`;
181
+ assets: string;
182
+ receiver: `0x${string}`;
183
+ requestId: `0x${string}`;
184
+ shares: string;
185
+ signer: "self" | `0x${string}`;
186
+ status: "completed";
187
+ vault: `0x${string}`;
188
+ };
189
+ type: "shares-redemption-finalized";
190
+ } | {
191
+ perspective: "incoming" | "outgoing";
192
+ events?: {
193
+ address: `0x${string}`;
194
+ args?: {
195
+ [x: string]: import("hono/utils/types").JSONValue;
196
+ } | undefined;
197
+ data: `0x${string}`;
198
+ eventName?: string | undefined;
199
+ logIndex: number;
200
+ title?: string | undefined;
201
+ topics: `0x${string}`[];
202
+ }[] | undefined;
203
+ id: string;
204
+ logIndex: number;
205
+ timestamp: string;
206
+ title: string;
207
+ transactionHash: `0x${string}`;
208
+ data: {
209
+ receiver: `0x${string}`;
210
+ requestId: `0x${string}`;
211
+ shares: string;
212
+ signer: "self" | `0x${string}`;
213
+ status: "cancelled";
214
+ vault: `0x${string}`;
215
+ };
216
+ type: "shares-redemption-cancelled";
217
+ } | {
218
+ perspective: "incoming" | "outgoing";
219
+ events?: {
220
+ address: `0x${string}`;
221
+ args?: {
222
+ [x: string]: import("hono/utils/types").JSONValue;
223
+ } | undefined;
224
+ data: `0x${string}`;
225
+ eventName?: string | undefined;
226
+ logIndex: number;
227
+ title?: string | undefined;
228
+ topics: `0x${string}`[];
229
+ }[] | undefined;
230
+ id: string;
231
+ logIndex: number;
232
+ timestamp: string;
233
+ title: string;
234
+ transactionHash: `0x${string}`;
235
+ data: {
236
+ actionId: `0x${string}`;
237
+ assets: string;
238
+ inputAmount: string;
239
+ inputToken: `0x${string}`;
240
+ shares: string;
241
+ signer: "self" | `0x${string}`;
242
+ status: "completed";
243
+ vault: `0x${string}`;
244
+ zoneDepositHash: `0x${string}`;
245
+ };
246
+ type: "private-assets-deposited";
247
+ } | {
248
+ perspective: "incoming" | "outgoing";
249
+ events?: {
250
+ address: `0x${string}`;
251
+ args?: {
252
+ [x: string]: import("hono/utils/types").JSONValue;
253
+ } | undefined;
254
+ data: `0x${string}`;
255
+ eventName?: string | undefined;
256
+ logIndex: number;
257
+ title?: string | undefined;
258
+ topics: `0x${string}`[];
259
+ }[] | undefined;
260
+ id: string;
261
+ logIndex: number;
262
+ timestamp: string;
263
+ title: string;
264
+ transactionHash: `0x${string}`;
265
+ data: {
266
+ actionId: `0x${string}`;
267
+ assets: string;
268
+ outputAmount: string;
269
+ outputToken: `0x${string}`;
270
+ shares: string;
271
+ signer: "self" | `0x${string}`;
272
+ status: "completed";
273
+ vault: `0x${string}`;
274
+ zoneDepositHash: `0x${string}`;
275
+ };
276
+ type: "private-shares-redeemed";
277
+ } | {
222
278
  perspective: "incoming" | "outgoing";
223
279
  events?: {
224
280
  address: `0x${string}`;
@@ -1996,6 +2052,263 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1996
2052
  } | {
1997
2053
  data: {
1998
2054
  items: ({
2055
+ perspective: "incoming" | "outgoing";
2056
+ events?: {
2057
+ address: `0x${string}`;
2058
+ args?: {
2059
+ [x: string]: import("hono/utils/types").JSONValue;
2060
+ } | undefined;
2061
+ data: `0x${string}`;
2062
+ eventName?: string | undefined;
2063
+ logIndex: number;
2064
+ title?: string | undefined;
2065
+ topics: `0x${string}`[];
2066
+ }[] | undefined;
2067
+ id: string;
2068
+ logIndex: number;
2069
+ timestamp: string;
2070
+ title: string;
2071
+ transactionHash: `0x${string}`;
2072
+ data: {
2073
+ assets: string;
2074
+ caller: `0x${string}`;
2075
+ receiver: `0x${string}`;
2076
+ shares: string;
2077
+ signer: "self" | `0x${string}`;
2078
+ status: "completed";
2079
+ vault: `0x${string}`;
2080
+ };
2081
+ type: "assets-deposited";
2082
+ } | {
2083
+ perspective: "incoming" | "outgoing";
2084
+ events?: {
2085
+ address: `0x${string}`;
2086
+ args?: {
2087
+ [x: string]: import("hono/utils/types").JSONValue;
2088
+ } | undefined;
2089
+ data: `0x${string}`;
2090
+ eventName?: string | undefined;
2091
+ logIndex: number;
2092
+ title?: string | undefined;
2093
+ topics: `0x${string}`[];
2094
+ }[] | undefined;
2095
+ id: string;
2096
+ logIndex: number;
2097
+ timestamp: string;
2098
+ title: string;
2099
+ transactionHash: `0x${string}`;
2100
+ data: {
2101
+ caller: `0x${string}`;
2102
+ receivedEngineShares: string;
2103
+ receiver: `0x${string}`;
2104
+ requestedVenueShares: string;
2105
+ shares: string;
2106
+ signer: "self" | `0x${string}`;
2107
+ status: "completed";
2108
+ vault: `0x${string}`;
2109
+ };
2110
+ type: "shares-deposited";
2111
+ } | {
2112
+ perspective: "incoming" | "outgoing";
2113
+ events?: {
2114
+ address: `0x${string}`;
2115
+ args?: {
2116
+ [x: string]: import("hono/utils/types").JSONValue;
2117
+ } | undefined;
2118
+ data: `0x${string}`;
2119
+ eventName?: string | undefined;
2120
+ logIndex: number;
2121
+ title?: string | undefined;
2122
+ topics: `0x${string}`[];
2123
+ }[] | undefined;
2124
+ id: string;
2125
+ logIndex: number;
2126
+ timestamp: string;
2127
+ title: string;
2128
+ transactionHash: `0x${string}`;
2129
+ data: {
2130
+ assets: string;
2131
+ caller: `0x${string}`;
2132
+ receiver: `0x${string}`;
2133
+ shares: string;
2134
+ signer: "self" | `0x${string}`;
2135
+ status: "completed";
2136
+ vault: `0x${string}`;
2137
+ };
2138
+ type: "shares-redeemed";
2139
+ } | {
2140
+ perspective: "incoming" | "outgoing";
2141
+ events?: {
2142
+ address: `0x${string}`;
2143
+ args?: {
2144
+ [x: string]: import("hono/utils/types").JSONValue;
2145
+ } | undefined;
2146
+ data: `0x${string}`;
2147
+ eventName?: string | undefined;
2148
+ logIndex: number;
2149
+ title?: string | undefined;
2150
+ topics: `0x${string}`[];
2151
+ }[] | undefined;
2152
+ id: string;
2153
+ logIndex: number;
2154
+ timestamp: string;
2155
+ title: string;
2156
+ transactionHash: `0x${string}`;
2157
+ data: {
2158
+ assets: string;
2159
+ caller: `0x${string}`;
2160
+ sharesBurned: string;
2161
+ receiver: `0x${string}`;
2162
+ signer: "self" | `0x${string}`;
2163
+ status: "completed";
2164
+ vault: `0x${string}`;
2165
+ };
2166
+ type: "assets-withdrawn";
2167
+ } | {
2168
+ perspective: "incoming" | "outgoing";
2169
+ events?: {
2170
+ address: `0x${string}`;
2171
+ args?: {
2172
+ [x: string]: import("hono/utils/types").JSONValue;
2173
+ } | undefined;
2174
+ data: `0x${string}`;
2175
+ eventName?: string | undefined;
2176
+ logIndex: number;
2177
+ title?: string | undefined;
2178
+ topics: `0x${string}`[];
2179
+ }[] | undefined;
2180
+ id: string;
2181
+ logIndex: number;
2182
+ timestamp: string;
2183
+ title: string;
2184
+ transactionHash: `0x${string}`;
2185
+ data: {
2186
+ receiver: `0x${string}`;
2187
+ requestId: `0x${string}`;
2188
+ requester: `0x${string}`;
2189
+ shares: string;
2190
+ signer: "self" | `0x${string}`;
2191
+ status: "pending";
2192
+ vault: `0x${string}`;
2193
+ };
2194
+ type: "shares-redemption-requested";
2195
+ } | {
2196
+ perspective: "incoming" | "outgoing";
2197
+ events?: {
2198
+ address: `0x${string}`;
2199
+ args?: {
2200
+ [x: string]: import("hono/utils/types").JSONValue;
2201
+ } | undefined;
2202
+ data: `0x${string}`;
2203
+ eventName?: string | undefined;
2204
+ logIndex: number;
2205
+ title?: string | undefined;
2206
+ topics: `0x${string}`[];
2207
+ }[] | undefined;
2208
+ id: string;
2209
+ logIndex: number;
2210
+ timestamp: string;
2211
+ title: string;
2212
+ transactionHash: `0x${string}`;
2213
+ data: {
2214
+ asset: `0x${string}`;
2215
+ assets: string;
2216
+ receiver: `0x${string}`;
2217
+ requestId: `0x${string}`;
2218
+ shares: string;
2219
+ signer: "self" | `0x${string}`;
2220
+ status: "completed";
2221
+ vault: `0x${string}`;
2222
+ };
2223
+ type: "shares-redemption-finalized";
2224
+ } | {
2225
+ perspective: "incoming" | "outgoing";
2226
+ events?: {
2227
+ address: `0x${string}`;
2228
+ args?: {
2229
+ [x: string]: import("hono/utils/types").JSONValue;
2230
+ } | undefined;
2231
+ data: `0x${string}`;
2232
+ eventName?: string | undefined;
2233
+ logIndex: number;
2234
+ title?: string | undefined;
2235
+ topics: `0x${string}`[];
2236
+ }[] | undefined;
2237
+ id: string;
2238
+ logIndex: number;
2239
+ timestamp: string;
2240
+ title: string;
2241
+ transactionHash: `0x${string}`;
2242
+ data: {
2243
+ receiver: `0x${string}`;
2244
+ requestId: `0x${string}`;
2245
+ shares: string;
2246
+ signer: "self" | `0x${string}`;
2247
+ status: "cancelled";
2248
+ vault: `0x${string}`;
2249
+ };
2250
+ type: "shares-redemption-cancelled";
2251
+ } | {
2252
+ perspective: "incoming" | "outgoing";
2253
+ events?: {
2254
+ address: `0x${string}`;
2255
+ args?: {
2256
+ [x: string]: import("hono/utils/types").JSONValue;
2257
+ } | undefined;
2258
+ data: `0x${string}`;
2259
+ eventName?: string | undefined;
2260
+ logIndex: number;
2261
+ title?: string | undefined;
2262
+ topics: `0x${string}`[];
2263
+ }[] | undefined;
2264
+ id: string;
2265
+ logIndex: number;
2266
+ timestamp: string;
2267
+ title: string;
2268
+ transactionHash: `0x${string}`;
2269
+ data: {
2270
+ actionId: `0x${string}`;
2271
+ assets: string;
2272
+ inputAmount: string;
2273
+ inputToken: `0x${string}`;
2274
+ shares: string;
2275
+ signer: "self" | `0x${string}`;
2276
+ status: "completed";
2277
+ vault: `0x${string}`;
2278
+ zoneDepositHash: `0x${string}`;
2279
+ };
2280
+ type: "private-assets-deposited";
2281
+ } | {
2282
+ perspective: "incoming" | "outgoing";
2283
+ events?: {
2284
+ address: `0x${string}`;
2285
+ args?: {
2286
+ [x: string]: import("hono/utils/types").JSONValue;
2287
+ } | undefined;
2288
+ data: `0x${string}`;
2289
+ eventName?: string | undefined;
2290
+ logIndex: number;
2291
+ title?: string | undefined;
2292
+ topics: `0x${string}`[];
2293
+ }[] | undefined;
2294
+ id: string;
2295
+ logIndex: number;
2296
+ timestamp: string;
2297
+ title: string;
2298
+ transactionHash: `0x${string}`;
2299
+ data: {
2300
+ actionId: `0x${string}`;
2301
+ assets: string;
2302
+ outputAmount: string;
2303
+ outputToken: `0x${string}`;
2304
+ shares: string;
2305
+ signer: "self" | `0x${string}`;
2306
+ status: "completed";
2307
+ vault: `0x${string}`;
2308
+ zoneDepositHash: `0x${string}`;
2309
+ };
2310
+ type: "private-shares-redeemed";
2311
+ } | {
1999
2312
  perspective: "incoming" | "outgoing";
2000
2313
  events?: {
2001
2314
  address: `0x${string}`;
@@ -3805,14 +4118,226 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3805
4118
  'valuation.currency'?: string | string[];
3806
4119
  } | undefined;
3807
4120
  };
4121
+ } | {
4122
+ output: {
4123
+ error: {
4124
+ code: "api_key_malformed";
4125
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4126
+ message: string;
4127
+ };
4128
+ requestId: string;
4129
+ };
4130
+ outputFormat: "json";
4131
+ status: 400;
4132
+ input: {
4133
+ param: {
4134
+ address: `0x${string}`;
4135
+ };
4136
+ } & {
4137
+ query?: {
4138
+ chainId?: string | string[];
4139
+ cursor?: string | string[];
4140
+ group?: string | string[];
4141
+ include?: string | string[];
4142
+ limit?: string | string[];
4143
+ logs?: string | string[];
4144
+ 'valuation.currency'?: string | string[];
4145
+ } | undefined;
4146
+ };
4147
+ } | {
4148
+ output: {
4149
+ error: {
4150
+ code: "query_invalid";
4151
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4152
+ message: string;
4153
+ };
4154
+ requestId: string;
4155
+ };
4156
+ outputFormat: "json";
4157
+ status: 400;
4158
+ input: {
4159
+ param: {
4160
+ address: `0x${string}`;
4161
+ };
4162
+ } & {
4163
+ query?: {
4164
+ chainId?: string | string[];
4165
+ cursor?: string | string[];
4166
+ group?: string | string[];
4167
+ include?: string | string[];
4168
+ limit?: string | string[];
4169
+ logs?: string | string[];
4170
+ 'valuation.currency'?: string | string[];
4171
+ } | undefined;
4172
+ };
4173
+ } | {
4174
+ output: {
4175
+ error: {
4176
+ code: "address_invalid";
4177
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4178
+ message: string;
4179
+ };
4180
+ requestId: string;
4181
+ };
4182
+ outputFormat: "json";
4183
+ status: 400;
4184
+ input: {
4185
+ param: {
4186
+ address: `0x${string}`;
4187
+ };
4188
+ } & {
4189
+ query?: {
4190
+ chainId?: string | string[];
4191
+ cursor?: string | string[];
4192
+ group?: string | string[];
4193
+ include?: string | string[];
4194
+ limit?: string | string[];
4195
+ logs?: string | string[];
4196
+ 'valuation.currency'?: string | string[];
4197
+ } | undefined;
4198
+ };
4199
+ } | {
4200
+ output: {
4201
+ error: {
4202
+ code: "api_key_invalid" | "api_key_missing";
4203
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4204
+ message: string;
4205
+ };
4206
+ requestId: string;
4207
+ };
4208
+ outputFormat: "json";
4209
+ status: 401;
4210
+ input: {
4211
+ param: {
4212
+ address: `0x${string}`;
4213
+ };
4214
+ } & {
4215
+ query?: {
4216
+ chainId?: string | string[];
4217
+ cursor?: string | string[];
4218
+ group?: string | string[];
4219
+ include?: string | string[];
4220
+ limit?: string | string[];
4221
+ logs?: string | string[];
4222
+ 'valuation.currency'?: string | string[];
4223
+ } | undefined;
4224
+ };
4225
+ } | {
4226
+ output: null;
4227
+ outputFormat: "body";
4228
+ status: 402;
4229
+ input: {
4230
+ param: {
4231
+ address: `0x${string}`;
4232
+ };
4233
+ } & {
4234
+ query?: {
4235
+ chainId?: string | string[];
4236
+ cursor?: string | string[];
4237
+ group?: string | string[];
4238
+ include?: string | string[];
4239
+ limit?: string | string[];
4240
+ logs?: string | string[];
4241
+ 'valuation.currency'?: string | string[];
4242
+ } | undefined;
4243
+ };
4244
+ } | {
4245
+ output: {
4246
+ error: {
4247
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4248
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4249
+ message: string;
4250
+ };
4251
+ requestId: string;
4252
+ };
4253
+ outputFormat: "json";
4254
+ status: 403;
4255
+ input: {
4256
+ param: {
4257
+ address: `0x${string}`;
4258
+ };
4259
+ } & {
4260
+ query?: {
4261
+ chainId?: string | string[];
4262
+ cursor?: string | string[];
4263
+ group?: string | string[];
4264
+ include?: string | string[];
4265
+ limit?: string | string[];
4266
+ logs?: string | string[];
4267
+ 'valuation.currency'?: string | string[];
4268
+ } | undefined;
4269
+ };
4270
+ } | {
4271
+ output: {
4272
+ error: {
4273
+ code: "payment_required" | "rate_limit_exceeded";
4274
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4275
+ message: string;
4276
+ };
4277
+ requestId: string;
4278
+ };
4279
+ outputFormat: "json";
4280
+ status: 429;
4281
+ input: {
4282
+ param: {
4283
+ address: `0x${string}`;
4284
+ };
4285
+ } & {
4286
+ query?: {
4287
+ chainId?: string | string[];
4288
+ cursor?: string | string[];
4289
+ group?: string | string[];
4290
+ include?: string | string[];
4291
+ limit?: string | string[];
4292
+ logs?: string | string[];
4293
+ 'valuation.currency'?: string | string[];
4294
+ } | undefined;
4295
+ };
4296
+ } | {
4297
+ output: {
4298
+ error: {
4299
+ code: "upstream_error";
4300
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4301
+ message: string;
4302
+ };
4303
+ requestId: string;
4304
+ };
4305
+ outputFormat: "json";
4306
+ status: 502;
4307
+ input: {
4308
+ param: {
4309
+ address: `0x${string}`;
4310
+ };
4311
+ } & {
4312
+ query?: {
4313
+ chainId?: string | string[];
4314
+ cursor?: string | string[];
4315
+ group?: string | string[];
4316
+ include?: string | string[];
4317
+ limit?: string | string[];
4318
+ logs?: string | string[];
4319
+ 'valuation.currency'?: string | string[];
4320
+ } | undefined;
4321
+ };
3808
4322
  };
3809
4323
  };
3810
4324
  }, "/"> | import("hono/types").MergeSchemaPath<{
3811
4325
  "/v1/addresses/:address/valuation": {
3812
4326
  $get: {
3813
- output: null;
3814
- outputFormat: "body";
3815
- status: 402;
4327
+ output: {
4328
+ address: `0x${string}`;
4329
+ amount: string;
4330
+ currency: string;
4331
+ id: string;
4332
+ pricing: {
4333
+ asOf: string;
4334
+ basis: "nominal";
4335
+ source: string;
4336
+ } | null;
4337
+ unpriced: string[];
4338
+ };
4339
+ outputFormat: "json";
4340
+ status: 200;
3816
4341
  input: {
3817
4342
  param: {
3818
4343
  address: `0x${string}`;
@@ -3826,14 +4351,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3826
4351
  } | {
3827
4352
  output: {
3828
4353
  error: {
3829
- code: "upstream_error";
4354
+ code: "api_key_malformed";
3830
4355
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3831
4356
  message: string;
3832
4357
  };
3833
4358
  requestId: string;
3834
4359
  };
3835
4360
  outputFormat: "json";
3836
- status: 502;
4361
+ status: 400;
3837
4362
  input: {
3838
4363
  param: {
3839
4364
  address: `0x${string}`;
@@ -3847,7 +4372,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3847
4372
  } | {
3848
4373
  output: {
3849
4374
  error: {
3850
- code: "api_key_malformed";
4375
+ code: "query_invalid";
3851
4376
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3852
4377
  message: string;
3853
4378
  };
@@ -3868,14 +4393,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3868
4393
  } | {
3869
4394
  output: {
3870
4395
  error: {
3871
- code: "api_key_invalid" | "api_key_missing";
4396
+ code: "address_invalid";
3872
4397
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3873
4398
  message: string;
3874
4399
  };
3875
4400
  requestId: string;
3876
4401
  };
3877
4402
  outputFormat: "json";
3878
- status: 401;
4403
+ status: 400;
3879
4404
  input: {
3880
4405
  param: {
3881
4406
  address: `0x${string}`;
@@ -3889,14 +4414,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3889
4414
  } | {
3890
4415
  output: {
3891
4416
  error: {
3892
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4417
+ code: "api_key_invalid" | "api_key_missing";
3893
4418
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3894
4419
  message: string;
3895
4420
  };
3896
4421
  requestId: string;
3897
4422
  };
3898
4423
  outputFormat: "json";
3899
- status: 403;
4424
+ status: 401;
3900
4425
  input: {
3901
4426
  param: {
3902
4427
  address: `0x${string}`;
@@ -3908,16 +4433,9 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3908
4433
  } | undefined;
3909
4434
  };
3910
4435
  } | {
3911
- output: {
3912
- error: {
3913
- code: "payment_required" | "rate_limit_exceeded";
3914
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3915
- message: string;
3916
- };
3917
- requestId: string;
3918
- };
3919
- outputFormat: "json";
3920
- status: 429;
4436
+ output: null;
4437
+ outputFormat: "body";
4438
+ status: 402;
3921
4439
  input: {
3922
4440
  param: {
3923
4441
  address: `0x${string}`;
@@ -3931,14 +4449,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3931
4449
  } | {
3932
4450
  output: {
3933
4451
  error: {
3934
- code: "query_invalid";
4452
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3935
4453
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3936
4454
  message: string;
3937
4455
  };
3938
4456
  requestId: string;
3939
4457
  };
3940
4458
  outputFormat: "json";
3941
- status: 400;
4459
+ status: 403;
3942
4460
  input: {
3943
4461
  param: {
3944
4462
  address: `0x${string}`;
@@ -3952,14 +4470,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3952
4470
  } | {
3953
4471
  output: {
3954
4472
  error: {
3955
- code: "address_invalid";
4473
+ code: "payment_required" | "rate_limit_exceeded";
3956
4474
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3957
4475
  message: string;
3958
4476
  };
3959
4477
  requestId: string;
3960
4478
  };
3961
4479
  outputFormat: "json";
3962
- status: 400;
4480
+ status: 429;
3963
4481
  input: {
3964
4482
  param: {
3965
4483
  address: `0x${string}`;
@@ -3972,19 +4490,15 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3972
4490
  };
3973
4491
  } | {
3974
4492
  output: {
3975
- address: `0x${string}`;
3976
- amount: string;
3977
- currency: string;
3978
- id: string;
3979
- pricing: {
3980
- asOf: string;
3981
- basis: "nominal";
3982
- source: string;
3983
- } | null;
3984
- unpriced: string[];
4493
+ error: {
4494
+ code: "upstream_error";
4495
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4496
+ message: string;
4497
+ };
4498
+ requestId: string;
3985
4499
  };
3986
4500
  outputFormat: "json";
3987
- status: 200;
4501
+ status: 502;
3988
4502
  input: {
3989
4503
  param: {
3990
4504
  address: `0x${string}`;
@@ -4000,9 +4514,42 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4000
4514
  }, "/"> | import("hono/types").MergeSchemaPath<{
4001
4515
  "/v1/addresses/:address/balances": {
4002
4516
  $get: {
4003
- output: null;
4004
- outputFormat: "body";
4005
- status: 402;
4517
+ output: {
4518
+ data: {
4519
+ amount: string;
4520
+ currency: string;
4521
+ decimals: number;
4522
+ feeEligible?: boolean | undefined;
4523
+ formatted: string;
4524
+ id: string;
4525
+ token: {
4526
+ address: `0x${string}`;
4527
+ currency: string;
4528
+ decimals: number;
4529
+ id: string;
4530
+ logoUri?: string | undefined;
4531
+ name: string;
4532
+ symbol: string;
4533
+ verified: boolean;
4534
+ };
4535
+ valuation?: {
4536
+ amount: string;
4537
+ currency: string;
4538
+ } | null | undefined;
4539
+ }[];
4540
+ meta?: {
4541
+ valuation?: {
4542
+ asOf: string;
4543
+ basis: "nominal";
4544
+ source: string;
4545
+ } | undefined;
4546
+ totalCount?: number | undefined;
4547
+ totalCountCapped?: boolean | undefined;
4548
+ } | undefined;
4549
+ nextCursor: string | null;
4550
+ };
4551
+ outputFormat: "json";
4552
+ status: 200;
4006
4553
  input: {
4007
4554
  param: {
4008
4555
  address: `0x${string}`;
@@ -4023,14 +4570,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4023
4570
  } | {
4024
4571
  output: {
4025
4572
  error: {
4026
- code: "upstream_error";
4573
+ code: "api_key_malformed";
4027
4574
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4028
4575
  message: string;
4029
4576
  };
4030
4577
  requestId: string;
4031
4578
  };
4032
4579
  outputFormat: "json";
4033
- status: 502;
4580
+ status: 400;
4034
4581
  input: {
4035
4582
  param: {
4036
4583
  address: `0x${string}`;
@@ -4051,7 +4598,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4051
4598
  } | {
4052
4599
  output: {
4053
4600
  error: {
4054
- code: "api_key_malformed";
4601
+ code: "query_invalid";
4055
4602
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4056
4603
  message: string;
4057
4604
  };
@@ -4079,14 +4626,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4079
4626
  } | {
4080
4627
  output: {
4081
4628
  error: {
4082
- code: "api_key_invalid" | "api_key_missing";
4629
+ code: "address_invalid";
4083
4630
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4084
4631
  message: string;
4085
4632
  };
4086
4633
  requestId: string;
4087
4634
  };
4088
4635
  outputFormat: "json";
4089
- status: 401;
4636
+ status: 400;
4090
4637
  input: {
4091
4638
  param: {
4092
4639
  address: `0x${string}`;
@@ -4107,14 +4654,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4107
4654
  } | {
4108
4655
  output: {
4109
4656
  error: {
4110
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4657
+ code: "api_key_invalid" | "api_key_missing";
4111
4658
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4112
4659
  message: string;
4113
4660
  };
4114
4661
  requestId: string;
4115
4662
  };
4116
4663
  outputFormat: "json";
4117
- status: 403;
4664
+ status: 401;
4118
4665
  input: {
4119
4666
  param: {
4120
4667
  address: `0x${string}`;
@@ -4133,16 +4680,9 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4133
4680
  } | undefined;
4134
4681
  };
4135
4682
  } | {
4136
- output: {
4137
- error: {
4138
- code: "payment_required" | "rate_limit_exceeded";
4139
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4140
- message: string;
4141
- };
4142
- requestId: string;
4143
- };
4144
- outputFormat: "json";
4145
- status: 429;
4683
+ output: null;
4684
+ outputFormat: "body";
4685
+ status: 402;
4146
4686
  input: {
4147
4687
  param: {
4148
4688
  address: `0x${string}`;
@@ -4163,14 +4703,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4163
4703
  } | {
4164
4704
  output: {
4165
4705
  error: {
4166
- code: "query_invalid";
4706
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4167
4707
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4168
4708
  message: string;
4169
4709
  };
4170
4710
  requestId: string;
4171
4711
  };
4172
4712
  outputFormat: "json";
4173
- status: 400;
4713
+ status: 403;
4174
4714
  input: {
4175
4715
  param: {
4176
4716
  address: `0x${string}`;
@@ -4191,14 +4731,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4191
4731
  } | {
4192
4732
  output: {
4193
4733
  error: {
4194
- code: "address_invalid";
4734
+ code: "payment_required" | "rate_limit_exceeded";
4195
4735
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4196
4736
  message: string;
4197
4737
  };
4198
4738
  requestId: string;
4199
4739
  };
4200
4740
  outputFormat: "json";
4201
- status: 400;
4741
+ status: 429;
4202
4742
  input: {
4203
4743
  param: {
4204
4744
  address: `0x${string}`;
@@ -4218,41 +4758,15 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4218
4758
  };
4219
4759
  } | {
4220
4760
  output: {
4221
- data: {
4222
- amount: string;
4223
- currency: string;
4224
- decimals: number;
4225
- feeEligible?: boolean | undefined;
4226
- formatted: string;
4227
- id: string;
4228
- token: {
4229
- address: `0x${string}`;
4230
- currency: string;
4231
- decimals: number;
4232
- id: string;
4233
- logoUri?: string | undefined;
4234
- name: string;
4235
- symbol: string;
4236
- verified: boolean;
4237
- };
4238
- valuation: {
4239
- amount: string;
4240
- currency: string;
4241
- } | null;
4242
- }[];
4243
- meta?: {
4244
- valuation?: {
4245
- asOf: string;
4246
- basis: "nominal";
4247
- source: string;
4248
- } | undefined;
4249
- totalCount?: number | undefined;
4250
- totalCountCapped?: boolean | undefined;
4251
- } | undefined;
4252
- nextCursor: string | null;
4761
+ error: {
4762
+ code: "upstream_error";
4763
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4764
+ message: string;
4765
+ };
4766
+ requestId: string;
4253
4767
  };
4254
4768
  outputFormat: "json";
4255
- status: 200;
4769
+ status: 502;
4256
4770
  input: {
4257
4771
  param: {
4258
4772
  address: `0x${string}`;
@@ -4275,9 +4789,30 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4275
4789
  } & {
4276
4790
  "/v1/addresses/:address/balances/:token": {
4277
4791
  $get: {
4278
- output: null;
4279
- outputFormat: "body";
4280
- status: 402;
4792
+ output: {
4793
+ amount: string;
4794
+ currency: string;
4795
+ decimals: number;
4796
+ feeEligible?: boolean | undefined;
4797
+ formatted: string;
4798
+ id: string;
4799
+ token: {
4800
+ address: `0x${string}`;
4801
+ currency: string;
4802
+ decimals: number;
4803
+ id: string;
4804
+ logoUri?: string | undefined;
4805
+ name: string;
4806
+ symbol: string;
4807
+ verified: boolean;
4808
+ };
4809
+ valuation?: {
4810
+ amount: string;
4811
+ currency: string;
4812
+ } | null | undefined;
4813
+ };
4814
+ outputFormat: "json";
4815
+ status: 200;
4281
4816
  input: {
4282
4817
  param: {
4283
4818
  address: `0x${string}`;
@@ -4292,14 +4827,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4292
4827
  } | {
4293
4828
  output: {
4294
4829
  error: {
4295
- code: "upstream_error";
4830
+ code: "api_key_malformed";
4296
4831
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4297
4832
  message: string;
4298
4833
  };
4299
4834
  requestId: string;
4300
4835
  };
4301
4836
  outputFormat: "json";
4302
- status: 502;
4837
+ status: 400;
4303
4838
  input: {
4304
4839
  param: {
4305
4840
  address: `0x${string}`;
@@ -4314,7 +4849,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4314
4849
  } | {
4315
4850
  output: {
4316
4851
  error: {
4317
- code: "api_key_malformed";
4852
+ code: "query_invalid";
4318
4853
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4319
4854
  message: string;
4320
4855
  };
@@ -4336,14 +4871,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4336
4871
  } | {
4337
4872
  output: {
4338
4873
  error: {
4339
- code: "api_key_invalid" | "api_key_missing";
4874
+ code: "address_invalid";
4340
4875
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4341
4876
  message: string;
4342
4877
  };
4343
4878
  requestId: string;
4344
4879
  };
4345
4880
  outputFormat: "json";
4346
- status: 401;
4881
+ status: 400;
4347
4882
  input: {
4348
4883
  param: {
4349
4884
  address: `0x${string}`;
@@ -4358,14 +4893,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4358
4893
  } | {
4359
4894
  output: {
4360
4895
  error: {
4361
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4896
+ code: "api_key_invalid" | "api_key_missing";
4362
4897
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4363
4898
  message: string;
4364
4899
  };
4365
4900
  requestId: string;
4366
4901
  };
4367
4902
  outputFormat: "json";
4368
- status: 403;
4903
+ status: 401;
4369
4904
  input: {
4370
4905
  param: {
4371
4906
  address: `0x${string}`;
@@ -4378,16 +4913,9 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4378
4913
  } | undefined;
4379
4914
  };
4380
4915
  } | {
4381
- output: {
4382
- error: {
4383
- code: "payment_required" | "rate_limit_exceeded";
4384
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4385
- message: string;
4386
- };
4387
- requestId: string;
4388
- };
4389
- outputFormat: "json";
4390
- status: 429;
4916
+ output: null;
4917
+ outputFormat: "body";
4918
+ status: 402;
4391
4919
  input: {
4392
4920
  param: {
4393
4921
  address: `0x${string}`;
@@ -4402,14 +4930,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4402
4930
  } | {
4403
4931
  output: {
4404
4932
  error: {
4405
- code: "query_invalid";
4933
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4406
4934
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4407
4935
  message: string;
4408
4936
  };
4409
4937
  requestId: string;
4410
4938
  };
4411
4939
  outputFormat: "json";
4412
- status: 400;
4940
+ status: 403;
4413
4941
  input: {
4414
4942
  param: {
4415
4943
  address: `0x${string}`;
@@ -4424,14 +4952,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4424
4952
  } | {
4425
4953
  output: {
4426
4954
  error: {
4427
- code: "address_invalid";
4955
+ code: "token_not_found";
4428
4956
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4429
4957
  message: string;
4430
4958
  };
4431
4959
  requestId: string;
4432
4960
  };
4433
4961
  outputFormat: "json";
4434
- status: 400;
4962
+ status: 404;
4435
4963
  input: {
4436
4964
  param: {
4437
4965
  address: `0x${string}`;
@@ -4445,29 +4973,15 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4445
4973
  };
4446
4974
  } | {
4447
4975
  output: {
4448
- amount: string;
4449
- currency: string;
4450
- decimals: number;
4451
- feeEligible?: boolean | undefined;
4452
- formatted: string;
4453
- id: string;
4454
- token: {
4455
- address: `0x${string}`;
4456
- currency: string;
4457
- decimals: number;
4458
- id: string;
4459
- logoUri?: string | undefined;
4460
- name: string;
4461
- symbol: string;
4462
- verified: boolean;
4976
+ error: {
4977
+ code: "payment_required" | "rate_limit_exceeded";
4978
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4979
+ message: string;
4463
4980
  };
4464
- valuation: {
4465
- amount: string;
4466
- currency: string;
4467
- } | null;
4981
+ requestId: string;
4468
4982
  };
4469
4983
  outputFormat: "json";
4470
- status: 200;
4984
+ status: 429;
4471
4985
  input: {
4472
4986
  param: {
4473
4987
  address: `0x${string}`;
@@ -4482,14 +4996,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4482
4996
  } | {
4483
4997
  output: {
4484
4998
  error: {
4485
- code: "token_not_found";
4999
+ code: "upstream_error";
4486
5000
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4487
5001
  message: string;
4488
5002
  };
4489
5003
  requestId: string;
4490
5004
  };
4491
5005
  outputFormat: "json";
4492
- status: 404;
5006
+ status: 502;
4493
5007
  input: {
4494
5008
  param: {
4495
5009
  address: `0x${string}`;