@gauntlet-xyz/sdk 2.5.0 → 3.0.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 (346) hide show
  1. package/README.md +89 -6
  2. package/dist/api/activity.d.ts +1 -1
  3. package/dist/api/activity.d.ts.map +1 -1
  4. package/dist/api/caip.d.ts +1 -1
  5. package/dist/api/caip.d.ts.map +1 -1
  6. package/dist/api/client.d.ts +43 -5
  7. package/dist/api/client.d.ts.map +1 -1
  8. package/dist/api/errors.d.ts +1 -1
  9. package/dist/api/errors.d.ts.map +1 -1
  10. package/dist/api/generated.d.ts +570 -7
  11. package/dist/api/generated.d.ts.map +1 -1
  12. package/dist/api/index.d.ts +13 -13
  13. package/dist/api/index.d.ts.map +1 -1
  14. package/dist/api/index.js +48 -8
  15. package/dist/api/index.js.map +7 -1
  16. package/dist/api/positionHistory.d.ts +1 -1
  17. package/dist/api/positionHistory.d.ts.map +1 -1
  18. package/dist/attribution/index.d.ts +3 -3
  19. package/dist/attribution/index.d.ts.map +1 -1
  20. package/dist/chunk-7TA2OJUK.js +4364 -0
  21. package/dist/chunk-7TA2OJUK.js.map +7 -0
  22. package/dist/chunk-HC2BS7MK.js +439 -0
  23. package/dist/chunk-HC2BS7MK.js.map +7 -0
  24. package/dist/chunk-S2TTA45N.js +2009 -0
  25. package/dist/chunk-S2TTA45N.js.map +7 -0
  26. package/dist/chunk-STIV2CC4.js +57 -0
  27. package/dist/chunk-STIV2CC4.js.map +7 -0
  28. package/dist/chunk-SU6JAKIA.js +283 -0
  29. package/dist/chunk-SU6JAKIA.js.map +7 -0
  30. package/dist/cjs/api/activity.d.ts +70 -0
  31. package/dist/cjs/api/activity.d.ts.map +1 -0
  32. package/dist/cjs/api/activity.js +136 -0
  33. package/dist/cjs/api/activity.js.map +7 -0
  34. package/dist/cjs/api/caip.d.ts +29 -0
  35. package/dist/cjs/api/caip.d.ts.map +1 -0
  36. package/dist/cjs/api/caip.js +59 -0
  37. package/dist/cjs/api/caip.js.map +7 -0
  38. package/dist/cjs/api/client.d.ts +173 -0
  39. package/dist/cjs/api/client.d.ts.map +1 -0
  40. package/dist/cjs/api/client.js +171 -0
  41. package/dist/cjs/api/client.js.map +7 -0
  42. package/dist/cjs/api/decimal.d.ts +21 -0
  43. package/dist/cjs/api/decimal.d.ts.map +1 -0
  44. package/dist/cjs/api/decimal.js +60 -0
  45. package/dist/cjs/api/decimal.js.map +7 -0
  46. package/dist/cjs/api/errors.d.ts +32 -0
  47. package/dist/cjs/api/errors.d.ts.map +1 -0
  48. package/dist/cjs/api/errors.js +80 -0
  49. package/dist/cjs/api/errors.js.map +7 -0
  50. package/dist/cjs/api/generated.d.ts +2068 -0
  51. package/dist/cjs/api/generated.d.ts.map +1 -0
  52. package/dist/cjs/api/generated.js +17 -0
  53. package/dist/cjs/api/generated.js.map +7 -0
  54. package/dist/cjs/api/http.d.ts +16 -0
  55. package/dist/cjs/api/http.d.ts.map +1 -0
  56. package/dist/cjs/api/http.js +64 -0
  57. package/dist/cjs/api/http.js.map +7 -0
  58. package/dist/cjs/api/index.d.ts +14 -0
  59. package/dist/cjs/api/index.d.ts.map +1 -0
  60. package/dist/cjs/api/index.js +73 -0
  61. package/dist/cjs/api/index.js.map +7 -0
  62. package/dist/cjs/api/positionHistory.d.ts +44 -0
  63. package/dist/cjs/api/positionHistory.d.ts.map +1 -0
  64. package/dist/cjs/api/positionHistory.js +131 -0
  65. package/dist/cjs/api/positionHistory.js.map +7 -0
  66. package/dist/cjs/attribution/erc8021.d.ts +9 -0
  67. package/dist/cjs/attribution/erc8021.d.ts.map +1 -0
  68. package/dist/cjs/attribution/erc8021.js +37 -0
  69. package/dist/cjs/attribution/erc8021.js.map +7 -0
  70. package/dist/cjs/attribution/index.d.ts +25 -0
  71. package/dist/cjs/attribution/index.d.ts.map +1 -0
  72. package/dist/cjs/attribution/index.js +68 -0
  73. package/dist/cjs/attribution/index.js.map +7 -0
  74. package/dist/cjs/client.d.ts +72 -0
  75. package/dist/cjs/client.d.ts.map +1 -0
  76. package/dist/cjs/client.js +80 -0
  77. package/dist/cjs/client.js.map +7 -0
  78. package/dist/cjs/constants.d.ts +16 -0
  79. package/dist/cjs/constants.d.ts.map +1 -0
  80. package/dist/cjs/constants.js +83 -0
  81. package/dist/cjs/constants.js.map +7 -0
  82. package/dist/cjs/errors.d.ts +85 -0
  83. package/dist/cjs/errors.d.ts.map +1 -0
  84. package/dist/cjs/errors.js +210 -0
  85. package/dist/cjs/errors.js.map +7 -0
  86. package/dist/cjs/evm/abis/erc20.d.ts +41 -0
  87. package/dist/cjs/evm/abis/erc20.d.ts.map +1 -0
  88. package/dist/cjs/evm/abis/erc20.js +57 -0
  89. package/dist/cjs/evm/abis/erc20.js.map +7 -0
  90. package/dist/cjs/evm/abis/erc4626.d.ts +105 -0
  91. package/dist/cjs/evm/abis/erc4626.d.ts.map +1 -0
  92. package/dist/cjs/evm/abis/erc4626.js +97 -0
  93. package/dist/cjs/evm/abis/erc4626.js.map +7 -0
  94. package/dist/cjs/evm/abis/multiDepositorVault.d.ts +1048 -0
  95. package/dist/cjs/evm/abis/multiDepositorVault.d.ts.map +1 -0
  96. package/dist/cjs/evm/abis/multiDepositorVault.js +614 -0
  97. package/dist/cjs/evm/abis/multiDepositorVault.js.map +7 -0
  98. package/dist/cjs/evm/abis/priceAndFeeCalculator.d.ts +910 -0
  99. package/dist/cjs/evm/abis/priceAndFeeCalculator.d.ts.map +1 -0
  100. package/dist/cjs/evm/abis/priceAndFeeCalculator.js +517 -0
  101. package/dist/cjs/evm/abis/priceAndFeeCalculator.js.map +7 -0
  102. package/dist/cjs/evm/abis/priceAndFeeCalculatorV2.d.ts +277 -0
  103. package/dist/cjs/evm/abis/priceAndFeeCalculatorV2.d.ts.map +1 -0
  104. package/dist/cjs/evm/abis/priceAndFeeCalculatorV2.js +166 -0
  105. package/dist/cjs/evm/abis/priceAndFeeCalculatorV2.js.map +7 -0
  106. package/dist/cjs/evm/abis/provisioner.d.ts +4984 -0
  107. package/dist/cjs/evm/abis/provisioner.d.ts.map +1 -0
  108. package/dist/cjs/evm/abis/provisioner.js +2785 -0
  109. package/dist/cjs/evm/abis/provisioner.js.map +7 -0
  110. package/dist/cjs/evm/abis/provisionerV2.d.ts +740 -0
  111. package/dist/cjs/evm/abis/provisionerV2.d.ts.map +1 -0
  112. package/dist/cjs/evm/abis/provisionerV2.js +320 -0
  113. package/dist/cjs/evm/abis/provisionerV2.js.map +7 -0
  114. package/dist/cjs/evm/adapters/aera.d.ts +6 -0
  115. package/dist/cjs/evm/adapters/aera.d.ts.map +1 -0
  116. package/dist/cjs/evm/adapters/aera.js +491 -0
  117. package/dist/cjs/evm/adapters/aera.js.map +7 -0
  118. package/dist/cjs/evm/adapters/index.d.ts +3 -0
  119. package/dist/cjs/evm/adapters/index.d.ts.map +1 -0
  120. package/dist/cjs/evm/adapters/index.js +41 -0
  121. package/dist/cjs/evm/adapters/index.js.map +7 -0
  122. package/dist/cjs/evm/adapters/morpho.d.ts +3 -0
  123. package/dist/cjs/evm/adapters/morpho.d.ts.map +1 -0
  124. package/dist/cjs/evm/adapters/morpho.js +103 -0
  125. package/dist/cjs/evm/adapters/morpho.js.map +7 -0
  126. package/dist/cjs/evm/adapters/types.d.ts +84 -0
  127. package/dist/cjs/evm/adapters/types.d.ts.map +1 -0
  128. package/dist/cjs/evm/adapters/types.js +17 -0
  129. package/dist/cjs/evm/adapters/types.js.map +7 -0
  130. package/dist/cjs/evm/aeraContracts/priceAndFeeCalculator.d.ts +46 -0
  131. package/dist/cjs/evm/aeraContracts/priceAndFeeCalculator.d.ts.map +1 -0
  132. package/dist/cjs/evm/aeraContracts/priceAndFeeCalculator.js +223 -0
  133. package/dist/cjs/evm/aeraContracts/priceAndFeeCalculator.js.map +7 -0
  134. package/dist/cjs/evm/aeraContracts/readOptions.d.ts +8 -0
  135. package/dist/cjs/evm/aeraContracts/readOptions.d.ts.map +1 -0
  136. package/dist/cjs/evm/aeraContracts/readOptions.js +31 -0
  137. package/dist/cjs/evm/aeraContracts/readOptions.js.map +7 -0
  138. package/dist/cjs/evm/aeraContracts/v1.d.ts +2317 -0
  139. package/dist/cjs/evm/aeraContracts/v1.d.ts.map +1 -0
  140. package/dist/cjs/evm/aeraContracts/v1.js +120 -0
  141. package/dist/cjs/evm/aeraContracts/v1.js.map +7 -0
  142. package/dist/cjs/evm/aeraContracts/v2.d.ts +4538 -0
  143. package/dist/cjs/evm/aeraContracts/v2.d.ts.map +1 -0
  144. package/dist/cjs/evm/aeraContracts/v2.js +449 -0
  145. package/dist/cjs/evm/aeraContracts/v2.js.map +7 -0
  146. package/dist/cjs/evm/aeraContracts.d.ts +33 -0
  147. package/dist/cjs/evm/aeraContracts.d.ts.map +1 -0
  148. package/dist/cjs/evm/aeraContracts.js +224 -0
  149. package/dist/cjs/evm/aeraContracts.js.map +7 -0
  150. package/dist/cjs/evm/deposit.d.ts +50 -0
  151. package/dist/cjs/evm/deposit.d.ts.map +1 -0
  152. package/dist/cjs/evm/deposit.js +112 -0
  153. package/dist/cjs/evm/deposit.js.map +7 -0
  154. package/dist/cjs/evm/depositQuote.d.ts +32 -0
  155. package/dist/cjs/evm/depositQuote.d.ts.map +1 -0
  156. package/dist/cjs/evm/depositQuote.js +96 -0
  157. package/dist/cjs/evm/depositQuote.js.map +7 -0
  158. package/dist/cjs/evm/depositReceiverApproval.d.ts +17 -0
  159. package/dist/cjs/evm/depositReceiverApproval.d.ts.map +1 -0
  160. package/dist/cjs/evm/depositReceiverApproval.js +66 -0
  161. package/dist/cjs/evm/depositReceiverApproval.js.map +7 -0
  162. package/dist/cjs/evm/index.d.ts +28 -0
  163. package/dist/cjs/evm/index.d.ts.map +1 -0
  164. package/dist/cjs/evm/index.js +116 -0
  165. package/dist/cjs/evm/index.js.map +7 -0
  166. package/dist/cjs/evm/operationMode.d.ts +9 -0
  167. package/dist/cjs/evm/operationMode.d.ts.map +1 -0
  168. package/dist/cjs/evm/operationMode.js +65 -0
  169. package/dist/cjs/evm/operationMode.js.map +7 -0
  170. package/dist/cjs/evm/tokenModes.d.ts +22 -0
  171. package/dist/cjs/evm/tokenModes.d.ts.map +1 -0
  172. package/dist/cjs/evm/tokenModes.js +47 -0
  173. package/dist/cjs/evm/tokenModes.js.map +7 -0
  174. package/dist/cjs/evm/types.d.ts +34 -0
  175. package/dist/cjs/evm/types.d.ts.map +1 -0
  176. package/dist/cjs/evm/types.js +32 -0
  177. package/dist/cjs/evm/types.js.map +7 -0
  178. package/dist/cjs/evm/userCurrentBalance.d.ts +55 -0
  179. package/dist/cjs/evm/userCurrentBalance.d.ts.map +1 -0
  180. package/dist/cjs/evm/userCurrentBalance.js +225 -0
  181. package/dist/cjs/evm/userCurrentBalance.js.map +7 -0
  182. package/dist/cjs/evm/vaults.d.ts +44 -0
  183. package/dist/cjs/evm/vaults.d.ts.map +1 -0
  184. package/dist/cjs/evm/vaults.js +78 -0
  185. package/dist/cjs/evm/vaults.js.map +7 -0
  186. package/dist/cjs/evm/withdraw.d.ts +73 -0
  187. package/dist/cjs/evm/withdraw.d.ts.map +1 -0
  188. package/dist/cjs/evm/withdraw.js +161 -0
  189. package/dist/cjs/evm/withdraw.js.map +7 -0
  190. package/dist/cjs/evm/withdrawQuote.d.ts +135 -0
  191. package/dist/cjs/evm/withdrawQuote.d.ts.map +1 -0
  192. package/dist/cjs/evm/withdrawQuote.js +256 -0
  193. package/dist/cjs/evm/withdrawQuote.js.map +7 -0
  194. package/dist/cjs/index.d.ts +31 -0
  195. package/dist/cjs/index.d.ts.map +1 -0
  196. package/dist/cjs/index.js +128 -0
  197. package/dist/cjs/index.js.map +7 -0
  198. package/dist/cjs/package.json +1 -0
  199. package/dist/cjs/privy/index.d.ts +52 -0
  200. package/dist/cjs/privy/index.d.ts.map +1 -0
  201. package/dist/cjs/privy/index.js +57 -0
  202. package/dist/cjs/privy/index.js.map +7 -0
  203. package/dist/client.d.ts +4 -2
  204. package/dist/client.d.ts.map +1 -1
  205. package/dist/constants.d.ts.map +1 -1
  206. package/dist/errors.d.ts +4 -1
  207. package/dist/errors.d.ts.map +1 -1
  208. package/dist/evm/adapters/aera.d.ts +1 -1
  209. package/dist/evm/adapters/aera.d.ts.map +1 -1
  210. package/dist/evm/adapters/index.d.ts +1 -1
  211. package/dist/evm/adapters/index.d.ts.map +1 -1
  212. package/dist/evm/adapters/morpho.d.ts +1 -1
  213. package/dist/evm/adapters/morpho.d.ts.map +1 -1
  214. package/dist/evm/adapters/types.d.ts +5 -3
  215. package/dist/evm/adapters/types.d.ts.map +1 -1
  216. package/dist/evm/aeraContracts/priceAndFeeCalculator.d.ts +1 -1
  217. package/dist/evm/aeraContracts/priceAndFeeCalculator.d.ts.map +1 -1
  218. package/dist/evm/aeraContracts/v1.d.ts +2 -2
  219. package/dist/evm/aeraContracts/v1.d.ts.map +1 -1
  220. package/dist/evm/aeraContracts/v2.d.ts +25 -4
  221. package/dist/evm/aeraContracts/v2.d.ts.map +1 -1
  222. package/dist/evm/aeraContracts.d.ts +2 -2
  223. package/dist/evm/aeraContracts.d.ts.map +1 -1
  224. package/dist/evm/deposit.d.ts +4 -2
  225. package/dist/evm/deposit.d.ts.map +1 -1
  226. package/dist/evm/depositQuote.d.ts +32 -0
  227. package/dist/evm/depositQuote.d.ts.map +1 -0
  228. package/dist/evm/depositReceiverApproval.d.ts +2 -2
  229. package/dist/evm/depositReceiverApproval.d.ts.map +1 -1
  230. package/dist/evm/index.d.ts +27 -25
  231. package/dist/evm/index.d.ts.map +1 -1
  232. package/dist/evm/index.js +88 -12
  233. package/dist/evm/index.js.map +7 -1
  234. package/dist/evm/tokenModes.d.ts +2 -2
  235. package/dist/evm/tokenModes.d.ts.map +1 -1
  236. package/dist/evm/userCurrentBalance.d.ts +6 -2
  237. package/dist/evm/userCurrentBalance.d.ts.map +1 -1
  238. package/dist/evm/vaults.d.ts +2 -9
  239. package/dist/evm/vaults.d.ts.map +1 -1
  240. package/dist/evm/withdraw.d.ts +3 -3
  241. package/dist/evm/withdraw.d.ts.map +1 -1
  242. package/dist/evm/withdrawQuote.d.ts +14 -6
  243. package/dist/evm/withdrawQuote.d.ts.map +1 -1
  244. package/dist/index.d.ts +30 -28
  245. package/dist/index.d.ts.map +1 -1
  246. package/dist/index.js +139 -14
  247. package/dist/index.js.map +7 -1
  248. package/dist/manifest/vaults.json +1958 -0
  249. package/dist/privy/index.d.ts +1 -1
  250. package/dist/privy/index.d.ts.map +1 -1
  251. package/dist/privy/index.js +39 -48
  252. package/dist/privy/index.js.map +7 -1
  253. package/manifest/vaults.json +22 -395
  254. package/package.json +43 -9
  255. package/src/api/client.ts +69 -5
  256. package/src/api/generated.ts +570 -7
  257. package/src/api/index.ts +8 -0
  258. package/src/client.ts +4 -1
  259. package/src/constants.ts +2 -0
  260. package/src/errors.ts +7 -0
  261. package/src/evm/adapters/aera.ts +14 -11
  262. package/src/evm/adapters/types.ts +2 -0
  263. package/src/evm/aeraContracts/v2.ts +124 -16
  264. package/src/evm/deposit.ts +19 -7
  265. package/src/evm/depositQuote.ts +137 -0
  266. package/src/evm/index.ts +10 -1
  267. package/src/evm/userCurrentBalance.ts +12 -1
  268. package/src/evm/vaults.ts +0 -7
  269. package/src/evm/withdrawQuote.ts +125 -51
  270. package/src/index.ts +11 -2
  271. package/dist/api/activity.js +0 -154
  272. package/dist/api/activity.js.map +0 -1
  273. package/dist/api/caip.js +0 -38
  274. package/dist/api/caip.js.map +0 -1
  275. package/dist/api/client.js +0 -119
  276. package/dist/api/client.js.map +0 -1
  277. package/dist/api/decimal.js +0 -44
  278. package/dist/api/decimal.js.map +0 -1
  279. package/dist/api/errors.js +0 -41
  280. package/dist/api/errors.js.map +0 -1
  281. package/dist/api/generated.js +0 -6
  282. package/dist/api/generated.js.map +0 -1
  283. package/dist/api/http.js +0 -39
  284. package/dist/api/http.js.map +0 -1
  285. package/dist/api/positionHistory.js +0 -126
  286. package/dist/api/positionHistory.js.map +0 -1
  287. package/dist/attribution/erc8021.js +0 -17
  288. package/dist/attribution/erc8021.js.map +0 -1
  289. package/dist/attribution/index.js +0 -45
  290. package/dist/attribution/index.js.map +0 -1
  291. package/dist/client.js +0 -72
  292. package/dist/client.js.map +0 -1
  293. package/dist/constants.js +0 -28
  294. package/dist/constants.js.map +0 -1
  295. package/dist/errors.js +0 -134
  296. package/dist/errors.js.map +0 -1
  297. package/dist/evm/abis/erc20.js +0 -30
  298. package/dist/evm/abis/erc20.js.map +0 -1
  299. package/dist/evm/abis/erc4626.js +0 -70
  300. package/dist/evm/abis/erc4626.js.map +0 -1
  301. package/dist/evm/abis/multiDepositorVault.js +0 -587
  302. package/dist/evm/abis/multiDepositorVault.js.map +0 -1
  303. package/dist/evm/abis/priceAndFeeCalculator.js +0 -490
  304. package/dist/evm/abis/priceAndFeeCalculator.js.map +0 -1
  305. package/dist/evm/abis/priceAndFeeCalculatorV2.js +0 -141
  306. package/dist/evm/abis/priceAndFeeCalculatorV2.js.map +0 -1
  307. package/dist/evm/abis/provisioner.js +0 -2768
  308. package/dist/evm/abis/provisioner.js.map +0 -1
  309. package/dist/evm/abis/provisionerV2.js +0 -295
  310. package/dist/evm/abis/provisionerV2.js.map +0 -1
  311. package/dist/evm/adapters/aera.js +0 -280
  312. package/dist/evm/adapters/aera.js.map +0 -1
  313. package/dist/evm/adapters/index.js +0 -14
  314. package/dist/evm/adapters/index.js.map +0 -1
  315. package/dist/evm/adapters/morpho.js +0 -79
  316. package/dist/evm/adapters/morpho.js.map +0 -1
  317. package/dist/evm/adapters/types.js +0 -2
  318. package/dist/evm/adapters/types.js.map +0 -1
  319. package/dist/evm/aeraContracts/priceAndFeeCalculator.js +0 -174
  320. package/dist/evm/aeraContracts/priceAndFeeCalculator.js.map +0 -1
  321. package/dist/evm/aeraContracts/readOptions.js +0 -4
  322. package/dist/evm/aeraContracts/readOptions.js.map +0 -1
  323. package/dist/evm/aeraContracts/v1.js +0 -59
  324. package/dist/evm/aeraContracts/v1.js.map +0 -1
  325. package/dist/evm/aeraContracts/v2.js +0 -273
  326. package/dist/evm/aeraContracts/v2.js.map +0 -1
  327. package/dist/evm/aeraContracts.js +0 -195
  328. package/dist/evm/aeraContracts.js.map +0 -1
  329. package/dist/evm/deposit.js +0 -109
  330. package/dist/evm/deposit.js.map +0 -1
  331. package/dist/evm/depositReceiverApproval.js +0 -32
  332. package/dist/evm/depositReceiverApproval.js.map +0 -1
  333. package/dist/evm/operationMode.js +0 -41
  334. package/dist/evm/operationMode.js.map +0 -1
  335. package/dist/evm/tokenModes.js +0 -34
  336. package/dist/evm/tokenModes.js.map +0 -1
  337. package/dist/evm/types.js +0 -5
  338. package/dist/evm/types.js.map +0 -1
  339. package/dist/evm/userCurrentBalance.js +0 -211
  340. package/dist/evm/userCurrentBalance.js.map +0 -1
  341. package/dist/evm/vaults.js +0 -75
  342. package/dist/evm/vaults.js.map +0 -1
  343. package/dist/evm/withdraw.js +0 -177
  344. package/dist/evm/withdraw.js.map +0 -1
  345. package/dist/evm/withdrawQuote.js +0 -164
  346. package/dist/evm/withdrawQuote.js.map +0 -1
@@ -0,0 +1,2068 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ "/health": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /**
14
+ * Liveness check
15
+ * @description Returns service version + uptime. Use `/health/chains` for indexer freshness per chain.
16
+ */
17
+ get: operations["health"];
18
+ put?: never;
19
+ post?: never;
20
+ delete?: never;
21
+ options?: never;
22
+ head?: never;
23
+ patch?: never;
24
+ trace?: never;
25
+ };
26
+ "/health/chains": {
27
+ parameters: {
28
+ query?: never;
29
+ header?: never;
30
+ path?: never;
31
+ cookie?: never;
32
+ };
33
+ /**
34
+ * Chain sync status
35
+ * @description Returns per-chain indexer sync status with freshness indicators.
36
+ */
37
+ get: operations["chain_sync_status"];
38
+ put?: never;
39
+ post?: never;
40
+ delete?: never;
41
+ options?: never;
42
+ head?: never;
43
+ patch?: never;
44
+ trace?: never;
45
+ };
46
+ "/v1/prices": {
47
+ parameters: {
48
+ query?: never;
49
+ header?: never;
50
+ path?: never;
51
+ cookie?: never;
52
+ };
53
+ /**
54
+ * Get latest token price
55
+ * @description Returns the latest USD price for a token. Query parameters: `address` (required), `chain_id` (required), `at` (optional ISO 8601 timestamp).
56
+ */
57
+ get: operations["get_latest_price"];
58
+ put?: never;
59
+ post?: never;
60
+ delete?: never;
61
+ options?: never;
62
+ head?: never;
63
+ patch?: never;
64
+ trace?: never;
65
+ };
66
+ "/v1/prices/timeseries": {
67
+ parameters: {
68
+ query?: never;
69
+ header?: never;
70
+ path?: never;
71
+ cookie?: never;
72
+ };
73
+ /**
74
+ * Get historical token prices
75
+ * @description Returns a USD price timeseries for a token. Query parameters: `address` (required), `chain_id` (required), `start` (required ISO 8601), `end` (required ISO 8601), `granularity` (optional: `raw` | `hour` | `day` | `week` | `month`), `limit` (optional, default 1000, max 5000).
76
+ */
77
+ get: operations["get_price_history"];
78
+ put?: never;
79
+ post?: never;
80
+ delete?: never;
81
+ options?: never;
82
+ head?: never;
83
+ patch?: never;
84
+ trace?: never;
85
+ };
86
+ "/v1/strategies": {
87
+ parameters: {
88
+ query?: never;
89
+ header?: never;
90
+ path?: never;
91
+ cookie?: never;
92
+ };
93
+ /**
94
+ * List curated strategies
95
+ * @description Returns one card per curated strategy (Earn, Prime Lending, …) with aggregate metrics across the strategy's visible vaults: total TVL in USD, the highest 7/30/90-day APY ("APY up to"), and the vault count. TVL sums only vaults whose numeraire has a USD price; unpriced vaults still count toward `vault_count` and the APY maxes. Strategy membership and visibility are curated by Gauntlet; metrics come from the indexer and are refreshed continuously. Ordered by curated display order.
96
+ */
97
+ get: operations["list_strategies"];
98
+ put?: never;
99
+ post?: never;
100
+ delete?: never;
101
+ options?: never;
102
+ head?: never;
103
+ patch?: never;
104
+ trace?: never;
105
+ };
106
+ "/v1/tvl": {
107
+ parameters: {
108
+ query?: never;
109
+ header?: never;
110
+ path?: never;
111
+ cookie?: never;
112
+ };
113
+ /**
114
+ * Get live aggregate TVL
115
+ * @description Returns live aggregate Gauntlet TVL composed from indexed Gaia vault data and configured external TVL sources. `totals` always carries three coarse tranches: `vault_curation` (indexed non-Aera vaults, Symbiotic and Solana), `aera_v2` and `aera` (Aera V3). The `vault_curation` row spans several protocols. The Aera generations are separate product lines, not part of `vault_curation`. Pass `?mode=chain` for one `breakdown` row per chain, `?mode=protocol` for rows that map to Aera, Morpho V1, Morpho V2, Lista, Kamino and curated Symbiotic TVL, or `?mode=strategy` for one row per curated strategy from the admin registry, with indexed vaults no strategy claims under `uncategorized`. Protocol mode combines Aera V2 and V3 as `aera` and names the Solana source `kamino`. Symbiotic reads onchain `activeStake()`. Other modes keep these sources separate. The rows always sum to the headline total. Without `mode` no `breakdown` is returned.
116
+ */
117
+ get: operations["get_tvl"];
118
+ put?: never;
119
+ post?: never;
120
+ delete?: never;
121
+ options?: never;
122
+ head?: never;
123
+ patch?: never;
124
+ trace?: never;
125
+ };
126
+ "/v1/tvl/timeseries": {
127
+ parameters: {
128
+ query?: never;
129
+ header?: never;
130
+ path?: never;
131
+ cookie?: never;
132
+ };
133
+ /**
134
+ * Get the daily aggregate TVL timeseries
135
+ * @description Returns a fixed trailing 3-month daily series of aggregate Gauntlet TVL. Without `mode` each point's `sources` carry the same three coarse tranches the live `/v1/tvl` totals report: `vault_curation` (indexed non-Aera vaults, Symbiotic and Solana), `aera_v2` and `aera` (Aera V3). Pass `?mode=strategy` for a per-point `sources` breakdown with one entry per curated strategy (`prime_lending`, `balanced_lending`, `frontier_lending`, …), or `?mode=chain` for one entry per chain, or `?mode=protocol` for one entry per tracked vault protocol; indexed vaults that no curated strategy claims roll up under `uncategorized`. Protocol mode combines Aera V2 and V3 as `aera` and names the Solana source `kamino`. Other modes keep `aera` (Aera V3), `aera_v2`, `solana` and `symbiotic` as separate rows. The last three come from the `tvl_history` table. The hourly TVL job writes them. Symbiotic history starts with the first recorded snapshot. The rest is derived at read time from indexed Envio vault history plus historical USD pricing. Every point carries the same source ids in the same order, and they sum to that point's total, which does not depend on `mode`. A day with no data for a source contributes 0 to that day's total rather than carrying the last known value forward.
136
+ *
137
+ * Served from a cached snapshot that is refreshed off the request path, so no caller pays for a recompute. `meta.data_as_of` is set when the snapshot is past its refresh window and a refresh is running behind the response; it is absent when the series is current.
138
+ *
139
+ * A numeraire token with no USD price for part of the window is named in `meta.partial_errors`, and the balances it backs are excluded from the totals on those days. `TOKEN_PRICE_UNAVAILABLE` is a gap that should close, so it is retried on the next read; `TOKEN_PRICE_UNAVAILABLE_ACCEPTED` is one that cannot, with the reason in its message. Both mean the totals are short by that token; only the first is worth alerting on.
140
+ */
141
+ get: operations["get_tvl_timeseries"];
142
+ put?: never;
143
+ post?: never;
144
+ delete?: never;
145
+ options?: never;
146
+ head?: never;
147
+ patch?: never;
148
+ trace?: never;
149
+ };
150
+ "/v1/users/{wallet_address}/activity": {
151
+ parameters: {
152
+ query?: never;
153
+ header?: never;
154
+ path?: never;
155
+ cookie?: never;
156
+ };
157
+ /**
158
+ * Get user wallet activity (deposits, withdrawals, transfers)
159
+ * @description Immutable log of on-chain events that affected the wallet's vault position. Each row is a frozen-in-time record; rows never mutate after emission.
160
+ *
161
+ * `?vault_id=` narrows to one vault; omitted = activity across every vault the wallet has touched, scoped to the Gauntlet-curated vault set (listed vaults by default, `include_hidden=true` widens to hidden vaults; disabled vaults never appear). Each row echoes its `vault_id` so wallet-wide consumers can distinguish per-vault activity.
162
+ *
163
+ * Async deposit/redeem lifecycles emit multiple rows (one at request time with `status=pending`, a later one with `status=settled` or `refunded`). Consumers correlate them via `request_hash` to follow a single action across rows. Sync flows emit one row directly in the settled state.
164
+ *
165
+ * Pagination is cursor-only. Default order is `desc` (newest first). Default page size 100, max 1000.
166
+ */
167
+ get: operations["get_user_activity"];
168
+ put?: never;
169
+ post?: never;
170
+ delete?: never;
171
+ options?: never;
172
+ head?: never;
173
+ patch?: never;
174
+ trace?: never;
175
+ };
176
+ "/v1/users/{wallet_address}/positions": {
177
+ parameters: {
178
+ query?: never;
179
+ header?: never;
180
+ path?: never;
181
+ cookie?: never;
182
+ };
183
+ /**
184
+ * Get all current positions for a wallet
185
+ * @description Returns every vault position the wallet currently holds or has pending exposure in (pending deposit or redeem). Fully-exited positions (zero shares, no pending escrow) are excluded. Scoped to the Gauntlet-curated vault set: only positions in publicly listed vaults are returned by default, `include_hidden=true` widens to hidden (enabled but unlisted) vaults, and positions in disabled vaults are never returned.
186
+ *
187
+ * All monetary metrics include a `usd` field (null when pricing is unavailable). `value.usd` and `pending_deposit_assets.usd` use the current spot price. `cost_basis.usd` and `pnl.realized.usd` are computed by replaying on-chain events against the token's historical price series — the same method used by `GET /v1/users/{wallet}/positions/{vault_id}`. `pnl.unrealized.usd`, `pnl.total.usd`, and `roi_pct.usd` are derived from those.
188
+ *
189
+ * Cursor-paginated on internal position ID. Default page size 100, max 500.
190
+ */
191
+ get: operations["get_user_all_positions"];
192
+ put?: never;
193
+ post?: never;
194
+ delete?: never;
195
+ options?: never;
196
+ head?: never;
197
+ patch?: never;
198
+ trace?: never;
199
+ };
200
+ "/v1/users/{wallet_address}/positions/{vault_id}": {
201
+ parameters: {
202
+ query?: never;
203
+ header?: never;
204
+ path?: never;
205
+ cookie?: never;
206
+ };
207
+ /**
208
+ * Get user position in a specific vault
209
+ * @description Returns the current position snapshot for a wallet in a single vault. Historical points live on `/positions/{vault_id}/timeseries`.
210
+ */
211
+ get: operations["get_user_vault_position"];
212
+ put?: never;
213
+ post?: never;
214
+ delete?: never;
215
+ options?: never;
216
+ head?: never;
217
+ patch?: never;
218
+ trace?: never;
219
+ };
220
+ "/v1/users/{wallet_address}/positions/{vault_id}/timeseries": {
221
+ parameters: {
222
+ query?: never;
223
+ header?: never;
224
+ path?: never;
225
+ cookie?: never;
226
+ };
227
+ /**
228
+ * Get user position timeseries for a specific vault
229
+ * @description Returns historical value, cost basis, grouped PnL, and ROI data for a single vault position. Default order is `asc` (oldest first, chart-friendly); pass `?order=desc` for newest-first list views. Cursor-paginated — pass `meta.next_cursor` back as `?next=` for the next page (cursor is bound to the order it was created with). Defaults to `granularity=day` (one UTC-midnight snapshot per day); `week` returns Monday 00:00 UTC snapshots, `month` returns first-of-month 00:00 UTC snapshots, and `hour` returns the raw hourly cadence. Default page size is 1000.
230
+ */
231
+ get: operations["get_user_vault_position_timeseries"];
232
+ put?: never;
233
+ post?: never;
234
+ delete?: never;
235
+ options?: never;
236
+ head?: never;
237
+ patch?: never;
238
+ trace?: never;
239
+ };
240
+ "/v1/vaults": {
241
+ parameters: {
242
+ query?: never;
243
+ header?: never;
244
+ path?: never;
245
+ cookie?: never;
246
+ };
247
+ /**
248
+ * List Gauntlet-curated vaults
249
+ * @description Returns identification-only rows for the admin-curated visible vaults, ordered most-recent-first; pass `?include_hidden=true` for every enabled vault (hidden included, disabled never). Each row's `group.id` groups deployments of the same logical Admin vault, `group.slug` is its unique public route, and `group.is_primary` identifies its representative. Use `/{vault_id}` for current metrics, `/{vault_id}/definition` for the full vault definition, `/{vault_id}/timeseries` for history.
250
+ *
251
+ * Cursor-paginated, but the default page size is the cap so most callers don't need to think about it — pass `meta.next_cursor` back as `?next=` only if the result exceeds 1000 vaults.
252
+ */
253
+ get: operations["list_vaults"];
254
+ put?: never;
255
+ post?: never;
256
+ delete?: never;
257
+ options?: never;
258
+ head?: never;
259
+ patch?: never;
260
+ trace?: never;
261
+ };
262
+ "/v1/vaults/{vault_id}": {
263
+ parameters: {
264
+ query?: never;
265
+ header?: never;
266
+ path?: never;
267
+ cookie?: never;
268
+ };
269
+ /**
270
+ * Get current vault metrics
271
+ * @description Returns the current metrics snapshot for a vault — same metric shape that `/timeseries` emits per point, so this is `current point` and timeseries is `historical points`. The vault's Admin grouping is included when the deployment is associated. The protocol-specific definition (fees, hooks, curator, etc.) lives on `/{vault_id}/definition`.
272
+ */
273
+ get: operations["get_vault"];
274
+ put?: never;
275
+ post?: never;
276
+ delete?: never;
277
+ options?: never;
278
+ head?: never;
279
+ patch?: never;
280
+ trace?: never;
281
+ };
282
+ "/v1/vaults/{vault_id}/allocations": {
283
+ parameters: {
284
+ query?: never;
285
+ header?: never;
286
+ path?: never;
287
+ cookie?: never;
288
+ };
289
+ /**
290
+ * Get current vault allocations
291
+ * @description Returns current allocations through a Gaia-owned, source-independent contract. Aera API is the initial source, but its metric-group schema is normalized into flat allocation values with discriminated targets. Use `/{vault_id}` or `/{vault_id}/timeseries` for vault-level metrics.
292
+ */
293
+ get: operations["get_vault_allocations"];
294
+ put?: never;
295
+ post?: never;
296
+ delete?: never;
297
+ options?: never;
298
+ head?: never;
299
+ patch?: never;
300
+ trace?: never;
301
+ };
302
+ "/v1/vaults/{vault_id}/definition": {
303
+ parameters: {
304
+ query?: never;
305
+ header?: never;
306
+ path?: never;
307
+ cookie?: never;
308
+ };
309
+ /**
310
+ * Get vault definition
311
+ * @description Returns the vault's identity + protocol-specific definition: name, owner, numeraire token, hooks, fees, curator, etc., merged inline based on `vault_type`. Aera carries hooks/feeCalculator, Morpho V1/V2 carry curator + WAD-scaled fees, Symbiotic carries identity only.
312
+ */
313
+ get: operations["get_vault_definition"];
314
+ put?: never;
315
+ post?: never;
316
+ delete?: never;
317
+ options?: never;
318
+ head?: never;
319
+ patch?: never;
320
+ trace?: never;
321
+ };
322
+ "/v1/vaults/{vault_id}/timeseries": {
323
+ parameters: {
324
+ query?: never;
325
+ header?: never;
326
+ path?: never;
327
+ cookie?: never;
328
+ };
329
+ /**
330
+ * Get vault timeseries data
331
+ * @description Returns historical metric data points. Default order is `asc` (oldest first, chart-friendly); pass `?order=desc` for newest-first list views. Supports date range filtering and cursor pagination — pass `meta.next_cursor` back as `?next=` for the next page (cursor is bound to the order it was created with). Defaults to `granularity=day` (one UTC-midnight snapshot per day); `week` returns Monday 00:00 UTC snapshots, `month` returns first-of-month 00:00 UTC snapshots, and `hour` returns the raw hourly cadence. Default page size is 1000.
332
+ */
333
+ get: operations["get_vault_timeseries"];
334
+ put?: never;
335
+ post?: never;
336
+ delete?: never;
337
+ options?: never;
338
+ head?: never;
339
+ patch?: never;
340
+ trace?: never;
341
+ };
342
+ "/v1/vaults/featured": {
343
+ parameters: {
344
+ query?: never;
345
+ header?: never;
346
+ path?: never;
347
+ cookie?: never;
348
+ };
349
+ /**
350
+ * List featured vaults
351
+ * @description Returns the admin-curated featured shortlist, one card per logical vault in curated order: display name, marketing description, deployed chains (highest-TVL first), supply token, aggregate TVL, and the highest 7/30/90-day APY across deployments. `vault_ids` carries per-deployment `{chainId}:{address}` ids for `/v1/vaults/{vault_id}` links, in the same order as `chains`.
352
+ */
353
+ get: operations["list_featured_vaults"];
354
+ put?: never;
355
+ post?: never;
356
+ delete?: never;
357
+ options?: never;
358
+ head?: never;
359
+ patch?: never;
360
+ trace?: never;
361
+ };
362
+ "/v1/vaults/slug/{slug}": {
363
+ parameters: {
364
+ query?: never;
365
+ header?: never;
366
+ path?: never;
367
+ cookie?: never;
368
+ };
369
+ /**
370
+ * Get vault deployments by slug
371
+ * @description Returns every indexed deployment associated with one exact Admin vault slug. The lookup serves visible and hidden enabled vaults without making hidden vaults enumerable; disabled and unknown slugs return 404. Each item has the same shape as an item from `GET /v1/vaults`.
372
+ */
373
+ get: operations["get_vaults_by_slug"];
374
+ put?: never;
375
+ post?: never;
376
+ delete?: never;
377
+ options?: never;
378
+ head?: never;
379
+ patch?: never;
380
+ trace?: never;
381
+ };
382
+ "/v1/vaults/slug/{slug}/primary/timeseries": {
383
+ parameters: {
384
+ query?: never;
385
+ header?: never;
386
+ path?: never;
387
+ cookie?: never;
388
+ };
389
+ /**
390
+ * Get primary deployment timeseries by vault slug
391
+ * @description Returns historical metric data for the Admin-selected primary deployment of an enabled logical vault. `meta.resolved_vault_id` identifies the concrete deployment. The response and query parameters are otherwise identical to `/{vault_id}/timeseries`; use this route when callers know the stable public vault slug but should not depend on its current chain or address.
392
+ */
393
+ get: operations["get_primary_vault_timeseries_by_slug"];
394
+ put?: never;
395
+ post?: never;
396
+ delete?: never;
397
+ options?: never;
398
+ head?: never;
399
+ patch?: never;
400
+ trace?: never;
401
+ };
402
+ "/v1/vaults/slug/{slug}/timeseries": {
403
+ parameters: {
404
+ query?: never;
405
+ header?: never;
406
+ path?: never;
407
+ cookie?: never;
408
+ };
409
+ /**
410
+ * Get vault history by slug
411
+ * @description Returns USD TVL and outstanding share supply summed across every currently linked deployment of an enabled logical vault, including hidden vaults. Uses UTC-aligned snapshots and timestamp pagination. A deployment contributes zero before its indexed creation time; after creation, missing snapshots or USD prices produce null TVL, never a partial sum. Does not carry values forward. Missing supply or a missing snapshot after deployment creation produces null total_supply, independent of USD price availability. APY and unit_price come from the Admin-selected primary deployment at the same timestamp, identified by meta.resolved_vault_id. Missing primary snapshots yield null primary metrics; APY respects Admin visibility. TVL is USD-only because deployment numeraires may differ; native TVL remains available on the primary/per-deployment endpoints. This is a sum of deployment TVLs, not the legacy asset-position valuation. Unknown or disabled slugs return 404; incomplete deployment metadata returns 503.
412
+ */
413
+ get: operations["get_vault_timeseries_by_slug"];
414
+ put?: never;
415
+ post?: never;
416
+ delete?: never;
417
+ options?: never;
418
+ head?: never;
419
+ patch?: never;
420
+ trace?: never;
421
+ };
422
+ }
423
+ export type webhooks = Record<string, never>;
424
+ export interface components {
425
+ schemas: {
426
+ Allocation: {
427
+ /**
428
+ * Format: double
429
+ * @description Fraction of the parent vault allocated to this target (1.0 = 100%).
430
+ */
431
+ allocation?: number | null;
432
+ /** Format: double */
433
+ amount?: number | null;
434
+ /** Format: double */
435
+ amount_usd?: number | null;
436
+ /** @description Source-independent category used by consumers to select allocation sections. */
437
+ category: string;
438
+ target: components["schemas"]["AllocationTarget"];
439
+ };
440
+ AllocationFlow: {
441
+ kind: components["schemas"]["AllocationFlowKind"];
442
+ target_vault_address: string;
443
+ };
444
+ /** @enum {string} */
445
+ AllocationFlowKind: "pending_deposit" | "pending_redemption";
446
+ AllocationProtocol: {
447
+ id: string;
448
+ name: string;
449
+ };
450
+ AllocationTarget: {
451
+ address: string;
452
+ /** Format: int64 */
453
+ chain_id: number;
454
+ flow?: null | components["schemas"]["AllocationFlow"];
455
+ /** @enum {string} */
456
+ kind: "asset";
457
+ name?: string | null;
458
+ protocol?: null | components["schemas"]["AllocationProtocol"];
459
+ strategy_type: string;
460
+ symbol: string;
461
+ };
462
+ /**
463
+ * @description Decimal-string metric paired across native (numeraire-token) and USD.
464
+ * `native` is always present; `usd` is JSON null when pricing is unavailable.
465
+ */
466
+ AmountPair: {
467
+ native: string;
468
+ usd?: string | null;
469
+ };
470
+ /**
471
+ * @description Asset-delta envelope on user activity rows. `native` is always present;
472
+ * `token` is present when the indexer knows the row's asset token.
473
+ * The struct shape is kept stable so derived denominations (usd,
474
+ * numeraire token) can be added later without breaking integrators.
475
+ */
476
+ AssetDelta: {
477
+ native: string;
478
+ token?: null | components["schemas"]["TokenRef"];
479
+ };
480
+ BasicMeta: {
481
+ /** Format: date-time */
482
+ refreshed_at: string;
483
+ request_id: string;
484
+ };
485
+ ChainSyncStatus: {
486
+ /** Format: int64 */
487
+ chain_id: number;
488
+ freshness: string;
489
+ /** Format: int64 */
490
+ lag_seconds: number;
491
+ /** Format: int64 */
492
+ latest_block: number;
493
+ /** Format: int64 */
494
+ latest_timestamp: number;
495
+ };
496
+ /**
497
+ * @description USD amount on curated aggregates: decimal string, `null` when the
498
+ * pricing service is not configured.
499
+ */
500
+ CuratedTvl: {
501
+ usd?: string | null;
502
+ };
503
+ ErrorBody: {
504
+ /** @description Machine-readable error code (e.g. `NOT_FOUND`, `UNAUTHORIZED`) */
505
+ code: string;
506
+ details?: unknown;
507
+ /** @description Human-readable error message */
508
+ message: string;
509
+ };
510
+ /** @description Standard error response envelope returned on 4xx/5xx */
511
+ ErrorResponse: {
512
+ error: components["schemas"]["ErrorBody"];
513
+ };
514
+ FeaturedVault: {
515
+ /**
516
+ * Format: double
517
+ * @description Highest 7-day APY across the vault's deployments, fraction
518
+ * (0.0573 = 5.73%). `null` while every window is warming up or APY
519
+ * display is disabled for this vault.
520
+ */
521
+ apy_7d_max?: number | null;
522
+ /**
523
+ * Format: double
524
+ * @description Highest 30-day APY across the vault's deployments.
525
+ */
526
+ apy_30d_max?: number | null;
527
+ /**
528
+ * Format: double
529
+ * @description Highest 90-day APY across the vault's deployments.
530
+ */
531
+ apy_90d_max?: number | null;
532
+ /** @description Chain slugs the vault is deployed on, highest-TVL first. */
533
+ chains: string[];
534
+ /**
535
+ * @description Curated marketing description; `null` when the curator hasn't
536
+ * written one.
537
+ */
538
+ description?: string | null;
539
+ /**
540
+ * @description Curated display name; falls back to the registry id when the
541
+ * curator hasn't named the vault yet. `vault_id` carries the
542
+ * stable logical identifier.
543
+ */
544
+ name: string;
545
+ /**
546
+ * @description Card-length copy (e.g. "Conservative lending yield with low
547
+ * risk"). `null` when the curator hasn't written any; consumers
548
+ * decide whether to fall back to `description`.
549
+ */
550
+ short_description?: string | null;
551
+ /** @description Stable public route for the logical vault group. */
552
+ slug: string;
553
+ /**
554
+ * @description Supply (numeraire) token symbol, from the highest-TVL deployment
555
+ * that reports one.
556
+ */
557
+ supply_token?: string | null;
558
+ /** @description Aggregate TVL across the vault's deployments ("Total Supply"). */
559
+ tvl: components["schemas"]["CuratedTvl"];
560
+ /**
561
+ * Format: date-time
562
+ * @description Most recent indexer snapshot among the vault's deployments;
563
+ * `null` when no deployment carried a usable timestamp.
564
+ */
565
+ updated_at?: string | null;
566
+ /** @description Stable logical vault id assigned by Admin. */
567
+ vault_id: string;
568
+ /**
569
+ * @description Per-deployment API vault ids (`{chainId}:{address}`, same order
570
+ * as `chains`) for `/v1/vaults/{vault_id}` links.
571
+ */
572
+ vault_ids: string[];
573
+ };
574
+ FeaturedVaultsResponse: {
575
+ data: components["schemas"]["FeaturedVault"][];
576
+ meta: components["schemas"]["ListMeta"];
577
+ };
578
+ HealthResponse: {
579
+ status: string;
580
+ /** Format: int64 */
581
+ uptime_seconds: number;
582
+ version: string;
583
+ };
584
+ HistoricalPriceValue: {
585
+ /** Format: double */
586
+ usd: number;
587
+ };
588
+ LatestPriceResponse: {
589
+ address: string;
590
+ /** Format: int64 */
591
+ chain_id: number;
592
+ currency: string;
593
+ price: components["schemas"]["PriceValue"];
594
+ symbol: string;
595
+ timestamp: string;
596
+ };
597
+ /**
598
+ * @description Documented metadata for list endpoints; pagination fields are omitted
599
+ * by unpaginated responses.
600
+ */
601
+ ListMeta: {
602
+ /**
603
+ * Format: int64
604
+ * @description Number of items in this response.
605
+ */
606
+ count: number;
607
+ /**
608
+ * Format: int64
609
+ * @description Page-size cap actually applied to paginated lists.
610
+ */
611
+ limit?: number | null;
612
+ /** @description Set when more pages exist; pass back as `?next=`. */
613
+ next_cursor?: string | null;
614
+ /** @description Item-scoped failures isolated from an aggregate response. */
615
+ partial_errors?: components["schemas"]["PartialResponseError"][] | null;
616
+ /** Format: date-time */
617
+ refreshed_at: string;
618
+ request_id: string;
619
+ };
620
+ PartialResponseError: {
621
+ /** @description Machine-readable error code for the isolated item failure. */
622
+ code: string;
623
+ /** @description Human-readable error message. */
624
+ message: string;
625
+ /** @description Resource that failed inside the aggregate response, when known. */
626
+ resource_id?: string | null;
627
+ };
628
+ PnlBreakdown: {
629
+ /** @description Locked-in PnL from past disposals. */
630
+ realized: components["schemas"]["AmountPair"];
631
+ /** @description `unrealized` + `realized`. */
632
+ total: components["schemas"]["AmountPair"];
633
+ /** @description `value` − `cost_basis`. */
634
+ unrealized: components["schemas"]["AmountPair"];
635
+ };
636
+ PositionTimeseriesPoint: {
637
+ /** @description Cumulative cost of held shares (`usd` uses per-event historical pricing). */
638
+ cost_basis: components["schemas"]["AmountPair"];
639
+ /** @description Profit and loss grouped by total, unrealized, and realized values. */
640
+ pnl: components["schemas"]["PnlBreakdown"];
641
+ /** @description ROI ratio (`native` is in-kind; `usd` is null when pricing unavailable). */
642
+ roi_pct: components["schemas"]["RatioPair"];
643
+ /** @description Shares currently held by the wallet at this timestamp. */
644
+ shares_owned: string;
645
+ /** Format: date-time */
646
+ timestamp: string;
647
+ /**
648
+ * @description Position value at this timestamp (`native` = numeraire-token units,
649
+ * `usd` = `native` × historical USD price; null when unavailable).
650
+ */
651
+ value: components["schemas"]["AmountPair"];
652
+ };
653
+ PriceValue: {
654
+ /** Format: int32 */
655
+ decimals: number;
656
+ /** Format: double */
657
+ usd: number;
658
+ };
659
+ /**
660
+ * @description Deployment-local metrics. Null when the primary has no snapshot at this
661
+ * timestamp; APY also respects the Admin visibility setting.
662
+ */
663
+ PrimaryVaultTimeseriesMetrics: {
664
+ /** Format: double */
665
+ apy_7d?: number | null;
666
+ /** Format: double */
667
+ apy_30d?: number | null;
668
+ /** Format: double */
669
+ apy_90d?: number | null;
670
+ /** @description Numeraire-token units per share on the primary deployment. */
671
+ unit_price?: string | null;
672
+ };
673
+ /**
674
+ * @description JSON-number ratio paired across native (in-kind) and USD denominations.
675
+ * Null when event history is unavailable or cannot support ROI replay.
676
+ */
677
+ RatioPair: {
678
+ /** Format: double */
679
+ native?: number | null;
680
+ /** Format: double */
681
+ usd?: number | null;
682
+ };
683
+ StrategyCard: {
684
+ /**
685
+ * Format: double
686
+ * @description Highest 7-day APY across the strategy's vaults ("APY Up To"),
687
+ * fraction (0.0953 = 9.53%). `null` while every vault's window is
688
+ * still warming up. Vaults with APY display disabled do not
689
+ * contribute to this aggregate.
690
+ */
691
+ apy_7d_max?: number | null;
692
+ /**
693
+ * Format: double
694
+ * @description Highest 30-day APY across the strategy's vaults.
695
+ */
696
+ apy_30d_max?: number | null;
697
+ /**
698
+ * Format: double
699
+ * @description Highest 90-day APY across the strategy's vaults.
700
+ */
701
+ apy_90d_max?: number | null;
702
+ /** @description Marketing description of the strategy. */
703
+ description?: string | null;
704
+ /**
705
+ * @description Strategy identifier from the admin vocabulary (e.g. `earn`,
706
+ * `prime_lending`).
707
+ */
708
+ id: string;
709
+ /** @description Display name (e.g. "Prime Lending"). */
710
+ name: string;
711
+ /**
712
+ * @description Card-length copy (e.g. "Conservative lending yield with low
713
+ * risk"). `null` when the curator hasn't written any; consumers
714
+ * decide whether to fall back to `description`.
715
+ */
716
+ short_description?: string | null;
717
+ /**
718
+ * @description Aggregate TVL across the strategy's priced vaults ("Total
719
+ * Supply"). Vaults whose numeraire has no USD price are left out of
720
+ * the sum but still count toward `vault_count` and the APY maxes.
721
+ */
722
+ tvl: components["schemas"]["CuratedTvl"];
723
+ /**
724
+ * Format: date-time
725
+ * @description Most recent indexer snapshot among the strategy's vaults; `null`
726
+ * in the degenerate case where no matched row carried a timestamp.
727
+ */
728
+ updated_at?: string | null;
729
+ /**
730
+ * Format: int64
731
+ * @description Visible curated vaults in this strategy that matched at least one
732
+ * indexed deployment.
733
+ */
734
+ vault_count: number;
735
+ };
736
+ StrategyListResponse: {
737
+ data: components["schemas"]["StrategyCard"][];
738
+ meta: components["schemas"]["ListMeta"];
739
+ };
740
+ /** @description Curated strategy assignment from the admin registry. */
741
+ StrategyRef: {
742
+ /**
743
+ * @description Strategy label id (`prime_lending`, `earn`, …) — matches
744
+ * `/v1/strategies` card ids.
745
+ */
746
+ id: string;
747
+ /** @description Display name (`Prime Lending`). */
748
+ name: string;
749
+ };
750
+ TimeseriesMeta: {
751
+ /**
752
+ * Format: int64
753
+ * @description Number of points in this response.
754
+ */
755
+ count: number;
756
+ /** Format: date-time */
757
+ end?: string | null;
758
+ /**
759
+ * Format: int64
760
+ * @description Page-size cap actually applied.
761
+ */
762
+ limit: number;
763
+ /** @description Set when more pages exist; pass back as `?next=`. */
764
+ next_cursor?: string | null;
765
+ /** @description Item-scoped failures isolated from an aggregate response. */
766
+ partial_errors?: components["schemas"]["PartialResponseError"][] | null;
767
+ /** Format: date-time */
768
+ refreshed_at: string;
769
+ request_id: string;
770
+ /**
771
+ * @description Primary deployment selected for deployment-local metrics by a slug
772
+ * route. The aggregate slug route still sums TVL and supply across deployments.
773
+ * Omitted when the deployment is already identified in the request path.
774
+ */
775
+ resolved_vault_id?: string | null;
776
+ /**
777
+ * Format: date-time
778
+ * @description Window bounds the response covers (echoes the request when set).
779
+ */
780
+ start?: string | null;
781
+ };
782
+ TimeseriesPoint: {
783
+ price: components["schemas"]["HistoricalPriceValue"];
784
+ timestamp: string;
785
+ };
786
+ TimeseriesResponse: {
787
+ data: components["schemas"]["TimeseriesPoint"][];
788
+ };
789
+ TokenRef: {
790
+ address: string;
791
+ /** Format: int32 */
792
+ decimals?: number | null;
793
+ symbol?: string | null;
794
+ };
795
+ TvlAmount: {
796
+ usd: string;
797
+ };
798
+ TvlBreakdown: {
799
+ id: string;
800
+ label: string;
801
+ source_id: string;
802
+ tvl: components["schemas"]["TvlAmount"];
803
+ /** Format: date-time */
804
+ updated_at: string;
805
+ };
806
+ /**
807
+ * @description Which partition of indexed vault TVL the caller asked for. Absent
808
+ * from a request means the headline figures only, with no breakdown.
809
+ * @enum {string}
810
+ */
811
+ TvlBreakdownMode: "chain" | "strategy" | "protocol";
812
+ TvlResponse: {
813
+ data: components["schemas"]["TvlSummary"];
814
+ meta: components["schemas"]["BasicMeta"];
815
+ };
816
+ TvlSummary: {
817
+ breakdown?: components["schemas"]["TvlBreakdown"][] | null;
818
+ totals: components["schemas"]["TvlTotal"][];
819
+ tvl: components["schemas"]["TvlAmount"];
820
+ /** Format: date-time */
821
+ updated_at: string;
822
+ };
823
+ TvlTimeseriesPoint: {
824
+ /**
825
+ * @description The day's breakdown. `?mode=` picks how it is partitioned; the
826
+ * total above never depends on that choice.
827
+ */
828
+ sources: components["schemas"]["TvlTimeseriesSourceAmount"][];
829
+ /** Format: date-time */
830
+ timestamp: string;
831
+ tvl: components["schemas"]["TvlAmount"];
832
+ };
833
+ TvlTimeseriesResponse: {
834
+ data: components["schemas"]["TvlTimeseriesPoint"][];
835
+ meta: components["schemas"]["WindowMeta"];
836
+ };
837
+ /**
838
+ * @description One series of the day's breakdown. `id` is a curated strategy id
839
+ * (`prime_lending`, `balanced_lending`, `frontier_lending`, …) in
840
+ * `mode=strategy`, an admin chain slug (`ethereum`, `base`, …) in
841
+ * `mode=chain`, or one of the reserved ids `aera`, `aera_v2`,
842
+ * `solana`, `uncategorized`. Every point carries the same ids in the
843
+ * same order, and they sum to the point's `tvl`.
844
+ */
845
+ TvlTimeseriesSourceAmount: {
846
+ id: string;
847
+ label: string;
848
+ tvl: components["schemas"]["TvlAmount"];
849
+ };
850
+ TvlTotal: {
851
+ id: string;
852
+ label: string;
853
+ tvl: components["schemas"]["TvlAmount"];
854
+ /** Format: date-time */
855
+ updated_at: string;
856
+ };
857
+ /**
858
+ * @description One immutable entry in the wallet's activity log.
859
+ *
860
+ * Each row represents a single on-chain event that affected the
861
+ * wallet's vault position. Async deposit/redeem lifecycles emit
862
+ * multiple rows (one per lifecycle event — request, solve, refund);
863
+ * each row is frozen at emission time and never mutates. To follow
864
+ * an async action across rows, correlate via `request_hash`.
865
+ */
866
+ UserActivity: {
867
+ /**
868
+ * @description Signed asset delta in the row's asset-token units, using a
869
+ * deposit-ledger sign convention (NOT wallet-flow direction):
870
+ * - Positive = a deposit-direction action (`deposit`,
871
+ * `deposit_pending`, `transfer_in`).
872
+ * - Negative = a withdraw-direction action (`withdraw`,
873
+ * `deposit_refunded`, `transfer_out`).
874
+ * - `0` = no asset movement at this event
875
+ * (`deposit` on Aera async solve, `withdraw_pending`,
876
+ * `withdraw_refunded`).
877
+ *
878
+ * Note: under this convention `deposit_refunded` is negative
879
+ * (a deposit was unwound) even though tokens flow back INTO the
880
+ * wallet, and async `withdraw` (Aera redeem_solved) is negative
881
+ * even though tokens flow back INTO the wallet — the sign tracks
882
+ * the deposit-ledger direction, not the user's wallet balance.
883
+ *
884
+ * Summing across rows for a single async lifecycle gives the net
885
+ * signed asset movement of that lifecycle (no double-counting).
886
+ * `assets_delta.token` identifies the asset token when known. Emitted
887
+ * as a struct (`{ native: "...", token: { address, symbol } }`) so
888
+ * derived denominations (e.g. usd) can be added later without breaking
889
+ * the response shape.
890
+ */
891
+ assets_delta: components["schemas"]["AssetDelta"];
892
+ /**
893
+ * @description Block hash — 1:1 identifier for the block this event was mined
894
+ * in. Consumers needing to detect reorgs should key off this rather
895
+ * than `block_number` (multiple blocks can share a number across a
896
+ * reorg).
897
+ */
898
+ block_hash: string;
899
+ /**
900
+ * Format: int64
901
+ * @description Block number — kept alongside `block_timestamp` for on-chain
902
+ * reconciliation / explorer linking.
903
+ */
904
+ block_number: number;
905
+ /**
906
+ * Format: int64
907
+ * @description Unix seconds, block time (`block.timestamp` from the chain).
908
+ */
909
+ block_timestamp: number;
910
+ /**
911
+ * @description Aera async-flow correlation hash. Links a `*_pending` row to
912
+ * its later terminal row (bare `deposit`/`withdraw` for settled,
913
+ * or `*_refunded`) of the same lifecycle. Emitted only on rows
914
+ * that participate in an async flow; omitted on sync rows and on
915
+ * secondary-market transfers.
916
+ */
917
+ request_hash?: string | null;
918
+ /**
919
+ * @description Signed share delta in 18-decimal units, reported at the event
920
+ * where the shares actually moved. Conventions by row type:
921
+ * - `deposit` — positive (shares minted to the wallet).
922
+ * - `deposit_pending` / `deposit_refunded` — `0` (no share
923
+ * movement; deposit requests touch assets only).
924
+ * - `withdraw_pending` — negative for Aera async redeems (shares
925
+ * leave the wallet at request time, escrowed to the Provisioner).
926
+ * - `withdraw` — negative for sync (Morpho) withdraws (shares
927
+ * burn on the same row that pays out assets); `0` for Aera
928
+ * async redeems (the share movement is recorded on the paired
929
+ * `withdraw_pending` row).
930
+ * - `withdraw_refunded` — positive (escrowed shares return).
931
+ * - `transfer_in` — positive; `transfer_out` — negative.
932
+ *
933
+ * Summing across rows for a single async lifecycle gives the net
934
+ * share movement of that lifecycle — there is no double-counting.
935
+ */
936
+ shares_delta: string;
937
+ /** @description Transaction hash of the on-chain event. */
938
+ tx_hash: string;
939
+ /**
940
+ * @description What happened. One of:
941
+ * - `deposit` — settled deposit (sync vault flow or async terminal solve).
942
+ * - `deposit_pending` — async deposit request submitted; awaiting solver.
943
+ * - `deposit_refunded` — async deposit returned without settling; assets bounced back.
944
+ * - `withdraw` — settled withdrawal (sync vault flow or async terminal solve).
945
+ * - `withdraw_pending` — async redeem request submitted; awaiting solver.
946
+ * - `withdraw_refunded` — async redeem returned without settling; shares bounced back.
947
+ * - `transfer_in` — vault shares received from another EOA (secondary market).
948
+ * - `transfer_out` — vault shares sent to another EOA.
949
+ *
950
+ * Async deposit/redeem lifecycles emit two rows (a `*_pending` at
951
+ * request time, then a separate terminal row — bare `deposit` or
952
+ * `_refunded` — at solve time). Rows are immutable; the pending
953
+ * row never mutates. Correlate the pair via `request_hash`.
954
+ */
955
+ type: string;
956
+ /** @description CAIP-10 vault identifier this row belongs to. Always emitted. */
957
+ vault_id: string;
958
+ };
959
+ UserActivityResponse: {
960
+ data: components["schemas"]["UserActivity"][];
961
+ meta: components["schemas"]["TimeseriesMeta"];
962
+ };
963
+ UserAllPositionsResponse: {
964
+ data: components["schemas"]["UserPosition"][];
965
+ meta: components["schemas"]["TimeseriesMeta"];
966
+ };
967
+ UserPosition: {
968
+ metrics: components["schemas"]["UserPositionMetrics"];
969
+ numeraire_token?: null | components["schemas"]["TokenRef"];
970
+ vault_id: string;
971
+ wallet_address: string;
972
+ };
973
+ UserPositionLatestResponse: {
974
+ data: components["schemas"]["UserPosition"];
975
+ meta: components["schemas"]["BasicMeta"];
976
+ };
977
+ UserPositionMetrics: {
978
+ /** @description Cumulative cost of currently-held shares. */
979
+ cost_basis: components["schemas"]["AmountPair"];
980
+ /**
981
+ * @description Assets escrowed at the Aera Provisioner pending share mint
982
+ * (`native` = numeraire-token units, `usd` = `native` × current USD price).
983
+ */
984
+ pending_deposit_assets: components["schemas"]["AmountPair"];
985
+ /** @description Shares escrowed at the Aera Provisioner pending asset return. */
986
+ pending_redeem_shares: string;
987
+ /** @description Profit and loss grouped by total, unrealized, and realized values. */
988
+ pnl: components["schemas"]["PnlBreakdown"];
989
+ /** @description Time-weighted ROI from user deposit/redeem history. */
990
+ roi_pct: components["schemas"]["RatioPair"];
991
+ /** @description Shares currently held by the wallet. */
992
+ shares_owned: string;
993
+ /**
994
+ * @description Current market value of held shares (`native` = numeraire-token
995
+ * units, `usd` = `native` × current USD price).
996
+ */
997
+ value: components["schemas"]["AmountPair"];
998
+ };
999
+ UserPositionsTimeseriesResponse: {
1000
+ data: components["schemas"]["PositionTimeseriesPoint"][];
1001
+ meta: components["schemas"]["TimeseriesMeta"];
1002
+ };
1003
+ VaultAllocations: {
1004
+ allocations: components["schemas"]["Allocation"][];
1005
+ /** Format: date-time */
1006
+ as_of?: string | null;
1007
+ vault_id: string;
1008
+ };
1009
+ VaultAllocationsResponse: {
1010
+ data: components["schemas"]["VaultAllocations"];
1011
+ meta: components["schemas"]["BasicMeta"];
1012
+ };
1013
+ VaultDetail: {
1014
+ address: string;
1015
+ /** Format: int64 */
1016
+ chain_id: number;
1017
+ group?: null | components["schemas"]["VaultGroupRef"];
1018
+ metrics: components["schemas"]["VaultMetrics"];
1019
+ name: string;
1020
+ numeraire_token: components["schemas"]["TokenRef"];
1021
+ strategy?: null | components["schemas"]["StrategyRef"];
1022
+ /**
1023
+ * @description CAIP id of the vault that replaces this one on the same chain
1024
+ * (Morpho V1 to V2 today); `null` when there is no visible
1025
+ * successor. Consumers use it to point holders at the new vault.
1026
+ */
1027
+ successor_vault_id?: string | null;
1028
+ symbol: string;
1029
+ vault_id: string;
1030
+ vault_type: string;
1031
+ };
1032
+ VaultDetailResponse: {
1033
+ data: components["schemas"]["VaultDetail"];
1034
+ meta: components["schemas"]["BasicMeta"];
1035
+ };
1036
+ /** @description Admin-curated logical grouping for a deployment-level vault row. */
1037
+ VaultGroupRef: {
1038
+ /** @description Admin-curated deployment date (`YYYY-MM-DD`). */
1039
+ deployment_date?: string | null;
1040
+ /** @description Admin-curated long-form detail-page copy. */
1041
+ description?: string | null;
1042
+ /** @description Stable internal group id from the Admin vault registry (`vlt_176`). */
1043
+ id: string;
1044
+ /** @description Whether this deployment is the group's primary representative. */
1045
+ is_primary: boolean;
1046
+ /** @description Whether performance views should use a stable-denominated basis. */
1047
+ is_stable: boolean;
1048
+ /** @description Unique, curator-managed public route (`stgusda`). */
1049
+ slug: string;
1050
+ };
1051
+ VaultGroupTimeseriesPoint: components["schemas"]["PrimaryVaultTimeseriesMetrics"] & {
1052
+ /** Format: date-time */
1053
+ timestamp: string;
1054
+ /**
1055
+ * @description Outstanding shares summed across linked deployments. Null if an existing
1056
+ * deployment has a missing snapshot or supply; independent of USD pricing.
1057
+ */
1058
+ total_supply?: string | null;
1059
+ /**
1060
+ * @description Sum across all linked deployments. Null if an existing deployment
1061
+ * has a missing snapshot or USD price; never a partial sum.
1062
+ */
1063
+ tvl: components["schemas"]["CuratedTvl"];
1064
+ };
1065
+ VaultGroupTimeseriesResponse: {
1066
+ data: components["schemas"]["VaultGroupTimeseriesPoint"][];
1067
+ meta: components["schemas"]["TimeseriesMeta"];
1068
+ };
1069
+ VaultListResponse: {
1070
+ data: components["schemas"]["VaultDetail"][];
1071
+ meta: components["schemas"]["ListMeta"];
1072
+ };
1073
+ VaultMetrics: {
1074
+ /** Format: double */
1075
+ apy_7d?: number | null;
1076
+ /** Format: double */
1077
+ apy_30d?: number | null;
1078
+ /** Format: double */
1079
+ apy_90d?: number | null;
1080
+ /** Format: int64 */
1081
+ as_of?: number | null;
1082
+ total_supply: string;
1083
+ tvl: components["schemas"]["AmountPair"];
1084
+ unit_price: string;
1085
+ };
1086
+ VaultTimeseriesPoint: {
1087
+ /** Format: double */
1088
+ apy_7d?: number | null;
1089
+ /** Format: double */
1090
+ apy_30d?: number | null;
1091
+ /** Format: double */
1092
+ apy_90d?: number | null;
1093
+ /** Format: date-time */
1094
+ timestamp: string;
1095
+ total_supply: string;
1096
+ tvl: components["schemas"]["AmountPair"];
1097
+ unit_price: string;
1098
+ };
1099
+ VaultTimeseriesResponse: {
1100
+ data: components["schemas"]["VaultTimeseriesPoint"][];
1101
+ meta: components["schemas"]["TimeseriesMeta"];
1102
+ };
1103
+ /**
1104
+ * @description Doc type for a windowed timeseries served as one fixed grid: every
1105
+ * point in the window, so there is no page cap and no cursor. Split
1106
+ * from [`TimeseriesMeta`], whose required `limit` those handlers leave
1107
+ * `None`. That would put a never-populated required field in the
1108
+ * generated SDK types.
1109
+ */
1110
+ WindowMeta: {
1111
+ /**
1112
+ * Format: int64
1113
+ * @description Number of points in this response.
1114
+ */
1115
+ count: number;
1116
+ /**
1117
+ * Format: date-time
1118
+ * @description When the served data was computed, on endpoints that serve a
1119
+ * cached snapshot past its refresh window while a refresh runs
1120
+ * behind the response. Absent means the data is current.
1121
+ */
1122
+ data_as_of?: string | null;
1123
+ /** Format: date-time */
1124
+ end: string;
1125
+ /** @description Item-scoped failures isolated from an aggregate response. */
1126
+ partial_errors?: components["schemas"]["PartialResponseError"][] | null;
1127
+ /** Format: date-time */
1128
+ refreshed_at: string;
1129
+ request_id: string;
1130
+ /**
1131
+ * Format: date-time
1132
+ * @description Window bounds the response covers.
1133
+ */
1134
+ start: string;
1135
+ };
1136
+ };
1137
+ responses: never;
1138
+ parameters: never;
1139
+ requestBodies: never;
1140
+ headers: never;
1141
+ pathItems: never;
1142
+ }
1143
+ export type $defs = Record<string, never>;
1144
+ export interface operations {
1145
+ health: {
1146
+ parameters: {
1147
+ query?: never;
1148
+ header?: never;
1149
+ path?: never;
1150
+ cookie?: never;
1151
+ };
1152
+ requestBody?: never;
1153
+ responses: {
1154
+ /** @description Service is live */
1155
+ 200: {
1156
+ headers: {
1157
+ [name: string]: unknown;
1158
+ };
1159
+ content: {
1160
+ "application/json": components["schemas"]["HealthResponse"];
1161
+ };
1162
+ };
1163
+ };
1164
+ };
1165
+ chain_sync_status: {
1166
+ parameters: {
1167
+ query?: never;
1168
+ header?: never;
1169
+ path?: never;
1170
+ cookie?: never;
1171
+ };
1172
+ requestBody?: never;
1173
+ responses: {
1174
+ /** @description Chain sync status */
1175
+ 200: {
1176
+ headers: {
1177
+ [name: string]: unknown;
1178
+ };
1179
+ content: {
1180
+ "application/json": components["schemas"]["ChainSyncStatus"][];
1181
+ };
1182
+ };
1183
+ };
1184
+ };
1185
+ get_latest_price: {
1186
+ parameters: {
1187
+ query?: never;
1188
+ header?: never;
1189
+ path?: never;
1190
+ cookie?: never;
1191
+ };
1192
+ requestBody?: never;
1193
+ responses: {
1194
+ /** @description Token price */
1195
+ 200: {
1196
+ headers: {
1197
+ [name: string]: unknown;
1198
+ };
1199
+ content: {
1200
+ "application/json": components["schemas"]["LatestPriceResponse"];
1201
+ };
1202
+ };
1203
+ /** @description Token not found */
1204
+ 404: {
1205
+ headers: {
1206
+ [name: string]: unknown;
1207
+ };
1208
+ content?: never;
1209
+ };
1210
+ /** @description Invalid parameters */
1211
+ 422: {
1212
+ headers: {
1213
+ [name: string]: unknown;
1214
+ };
1215
+ content?: never;
1216
+ };
1217
+ /** @description Pricing service not configured */
1218
+ 503: {
1219
+ headers: {
1220
+ [name: string]: unknown;
1221
+ };
1222
+ content?: never;
1223
+ };
1224
+ };
1225
+ };
1226
+ get_price_history: {
1227
+ parameters: {
1228
+ query?: never;
1229
+ header?: never;
1230
+ path?: never;
1231
+ cookie?: never;
1232
+ };
1233
+ requestBody?: never;
1234
+ responses: {
1235
+ /** @description Price timeseries */
1236
+ 200: {
1237
+ headers: {
1238
+ [name: string]: unknown;
1239
+ };
1240
+ content: {
1241
+ "application/json": components["schemas"]["TimeseriesResponse"];
1242
+ };
1243
+ };
1244
+ /** @description Invalid parameters */
1245
+ 422: {
1246
+ headers: {
1247
+ [name: string]: unknown;
1248
+ };
1249
+ content?: never;
1250
+ };
1251
+ /** @description Pricing service not configured */
1252
+ 503: {
1253
+ headers: {
1254
+ [name: string]: unknown;
1255
+ };
1256
+ content?: never;
1257
+ };
1258
+ };
1259
+ };
1260
+ list_strategies: {
1261
+ parameters: {
1262
+ query?: never;
1263
+ header?: never;
1264
+ path?: never;
1265
+ cookie?: never;
1266
+ };
1267
+ requestBody?: never;
1268
+ responses: {
1269
+ /** @description List of strategy cards */
1270
+ 200: {
1271
+ headers: {
1272
+ [name: string]: unknown;
1273
+ };
1274
+ content: {
1275
+ "application/json": components["schemas"]["StrategyListResponse"];
1276
+ };
1277
+ };
1278
+ /** @description Missing or invalid auth */
1279
+ 401: {
1280
+ headers: {
1281
+ [name: string]: unknown;
1282
+ };
1283
+ content: {
1284
+ "application/json": components["schemas"]["ErrorResponse"];
1285
+ };
1286
+ };
1287
+ /** @description Data source unavailable */
1288
+ 503: {
1289
+ headers: {
1290
+ [name: string]: unknown;
1291
+ };
1292
+ content: {
1293
+ "application/json": components["schemas"]["ErrorResponse"];
1294
+ };
1295
+ };
1296
+ };
1297
+ };
1298
+ get_tvl: {
1299
+ parameters: {
1300
+ query?: {
1301
+ /** @description Breakdown to return: `chain`, `protocol` or `strategy`. Omit for the headline figures only. */
1302
+ mode?: components["schemas"]["TvlBreakdownMode"];
1303
+ };
1304
+ header?: never;
1305
+ path?: never;
1306
+ cookie?: never;
1307
+ };
1308
+ requestBody?: never;
1309
+ responses: {
1310
+ /** @description Live aggregate TVL */
1311
+ 200: {
1312
+ headers: {
1313
+ [name: string]: unknown;
1314
+ };
1315
+ content: {
1316
+ "application/json": components["schemas"]["TvlResponse"];
1317
+ };
1318
+ };
1319
+ /** @description Missing or invalid auth */
1320
+ 401: {
1321
+ headers: {
1322
+ [name: string]: unknown;
1323
+ };
1324
+ content: {
1325
+ "application/json": components["schemas"]["ErrorResponse"];
1326
+ };
1327
+ };
1328
+ /** @description Data source unavailable */
1329
+ 503: {
1330
+ headers: {
1331
+ [name: string]: unknown;
1332
+ };
1333
+ content: {
1334
+ "application/json": components["schemas"]["ErrorResponse"];
1335
+ };
1336
+ };
1337
+ };
1338
+ };
1339
+ get_tvl_timeseries: {
1340
+ parameters: {
1341
+ query?: {
1342
+ /** @description Per-point breakdown to return: `chain`, `protocol` or `strategy`. Omit for the daily total only. */
1343
+ mode?: components["schemas"]["TvlBreakdownMode"];
1344
+ };
1345
+ header?: never;
1346
+ path?: never;
1347
+ cookie?: never;
1348
+ };
1349
+ requestBody?: never;
1350
+ responses: {
1351
+ /** @description Daily aggregate TVL timeseries */
1352
+ 200: {
1353
+ headers: {
1354
+ [name: string]: unknown;
1355
+ };
1356
+ content: {
1357
+ "application/json": components["schemas"]["TvlTimeseriesResponse"];
1358
+ };
1359
+ };
1360
+ /** @description Missing or invalid auth */
1361
+ 401: {
1362
+ headers: {
1363
+ [name: string]: unknown;
1364
+ };
1365
+ content: {
1366
+ "application/json": components["schemas"]["ErrorResponse"];
1367
+ };
1368
+ };
1369
+ /** @description Data source unavailable */
1370
+ 503: {
1371
+ headers: {
1372
+ [name: string]: unknown;
1373
+ };
1374
+ content: {
1375
+ "application/json": components["schemas"]["ErrorResponse"];
1376
+ };
1377
+ };
1378
+ };
1379
+ };
1380
+ get_user_activity: {
1381
+ parameters: {
1382
+ query?: {
1383
+ /** @description Wallet-wide feeds only: include activity in hidden (enabled but unlisted) vaults alongside visible ones. Activity in disabled vaults is never returned. Ignored when `vault_id` is set. */
1384
+ include_hidden?: boolean;
1385
+ /** @description Page size (1–1000, default 100). */
1386
+ limit?: number;
1387
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
1388
+ next?: string;
1389
+ /** @description Sort direction: `desc` (default) or `asc`. */
1390
+ order?: string;
1391
+ /** @description CAIP-10 vault identifier. Optional — omit for wallet-wide activity across every vault the wallet has touched. */
1392
+ vault_id?: string;
1393
+ };
1394
+ header?: never;
1395
+ path: {
1396
+ /** @description Ethereum wallet address */
1397
+ wallet_address: string;
1398
+ };
1399
+ cookie?: never;
1400
+ };
1401
+ requestBody?: never;
1402
+ responses: {
1403
+ /** @description User wallet activity */
1404
+ 200: {
1405
+ headers: {
1406
+ [name: string]: unknown;
1407
+ };
1408
+ content: {
1409
+ "application/json": components["schemas"]["UserActivityResponse"];
1410
+ };
1411
+ };
1412
+ /** @description Missing or invalid auth */
1413
+ 401: {
1414
+ headers: {
1415
+ [name: string]: unknown;
1416
+ };
1417
+ content: {
1418
+ "application/json": components["schemas"]["ErrorResponse"];
1419
+ };
1420
+ };
1421
+ /** @description Invalid cursor */
1422
+ 422: {
1423
+ headers: {
1424
+ [name: string]: unknown;
1425
+ };
1426
+ content: {
1427
+ "application/json": components["schemas"]["ErrorResponse"];
1428
+ };
1429
+ };
1430
+ };
1431
+ };
1432
+ get_user_all_positions: {
1433
+ parameters: {
1434
+ query?: {
1435
+ /** @description Include positions in hidden (enabled but unlisted) vaults alongside visible ones. Positions in disabled vaults are never returned. */
1436
+ include_hidden?: boolean;
1437
+ /** @description Page size (1–500, default 100). */
1438
+ limit?: number;
1439
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
1440
+ next?: string;
1441
+ };
1442
+ header?: never;
1443
+ path: {
1444
+ /** @description Ethereum wallet address */
1445
+ wallet_address: string;
1446
+ };
1447
+ cookie?: never;
1448
+ };
1449
+ requestBody?: never;
1450
+ responses: {
1451
+ /** @description All wallet positions */
1452
+ 200: {
1453
+ headers: {
1454
+ [name: string]: unknown;
1455
+ };
1456
+ content: {
1457
+ "application/json": components["schemas"]["UserAllPositionsResponse"];
1458
+ };
1459
+ };
1460
+ /** @description Missing or invalid auth */
1461
+ 401: {
1462
+ headers: {
1463
+ [name: string]: unknown;
1464
+ };
1465
+ content: {
1466
+ "application/json": components["schemas"]["ErrorResponse"];
1467
+ };
1468
+ };
1469
+ /** @description Invalid cursor */
1470
+ 422: {
1471
+ headers: {
1472
+ [name: string]: unknown;
1473
+ };
1474
+ content: {
1475
+ "application/json": components["schemas"]["ErrorResponse"];
1476
+ };
1477
+ };
1478
+ };
1479
+ };
1480
+ get_user_vault_position: {
1481
+ parameters: {
1482
+ query?: never;
1483
+ header?: never;
1484
+ path: {
1485
+ /** @description Vault identifier */
1486
+ vault_id: string;
1487
+ /** @description Ethereum wallet address */
1488
+ wallet_address: string;
1489
+ };
1490
+ cookie?: never;
1491
+ };
1492
+ requestBody?: never;
1493
+ responses: {
1494
+ /** @description Single vault position */
1495
+ 200: {
1496
+ headers: {
1497
+ [name: string]: unknown;
1498
+ };
1499
+ content: {
1500
+ "application/json": components["schemas"]["UserPositionLatestResponse"];
1501
+ };
1502
+ };
1503
+ /** @description Missing or invalid auth */
1504
+ 401: {
1505
+ headers: {
1506
+ [name: string]: unknown;
1507
+ };
1508
+ content: {
1509
+ "application/json": components["schemas"]["ErrorResponse"];
1510
+ };
1511
+ };
1512
+ /** @description Position not found */
1513
+ 404: {
1514
+ headers: {
1515
+ [name: string]: unknown;
1516
+ };
1517
+ content: {
1518
+ "application/json": components["schemas"]["ErrorResponse"];
1519
+ };
1520
+ };
1521
+ };
1522
+ };
1523
+ get_user_vault_position_timeseries: {
1524
+ parameters: {
1525
+ query?: {
1526
+ /** @description Window end: ISO 8601 date (`2026-01-01`, read as 00:00:00 UTC) or RFC 3339 timestamp (`2026-01-01T00:00:00Z`). */
1527
+ end?: string;
1528
+ /** @description Sampling granularity: `day` (default), `hour`, `week`, or `month`. Day/week/month buckets start at 00:00 UTC; weeks start Monday and months start on the 1st. */
1529
+ granularity?: string;
1530
+ /** @description Page size (1–10000, default 1000). */
1531
+ limit?: number;
1532
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
1533
+ next?: string;
1534
+ /** @description Sort direction: `asc` (default) or `desc`. */
1535
+ order?: string;
1536
+ /** @description Window start: ISO 8601 date (`2026-01-01`, read as 00:00:00 UTC) or RFC 3339 timestamp (`2026-01-01T00:00:00Z`). */
1537
+ start?: string;
1538
+ };
1539
+ header?: never;
1540
+ path: {
1541
+ /** @description Vault identifier */
1542
+ vault_id: string;
1543
+ /** @description Ethereum wallet address */
1544
+ wallet_address: string;
1545
+ };
1546
+ cookie?: never;
1547
+ };
1548
+ requestBody?: never;
1549
+ responses: {
1550
+ /** @description Position timeseries */
1551
+ 200: {
1552
+ headers: {
1553
+ [name: string]: unknown;
1554
+ };
1555
+ content: {
1556
+ "application/json": components["schemas"]["UserPositionsTimeseriesResponse"];
1557
+ };
1558
+ };
1559
+ /** @description Missing or invalid auth */
1560
+ 401: {
1561
+ headers: {
1562
+ [name: string]: unknown;
1563
+ };
1564
+ content: {
1565
+ "application/json": components["schemas"]["ErrorResponse"];
1566
+ };
1567
+ };
1568
+ /** @description Invalid cursor */
1569
+ 422: {
1570
+ headers: {
1571
+ [name: string]: unknown;
1572
+ };
1573
+ content: {
1574
+ "application/json": components["schemas"]["ErrorResponse"];
1575
+ };
1576
+ };
1577
+ };
1578
+ };
1579
+ list_vaults: {
1580
+ parameters: {
1581
+ query?: {
1582
+ /** @description Include hidden (enabled but unlisted) vaults alongside visible ones. Disabled vaults are never listed. */
1583
+ include_hidden?: boolean;
1584
+ /** @description Page size (1–1000, default 1000). */
1585
+ limit?: number;
1586
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
1587
+ next?: string;
1588
+ };
1589
+ header?: never;
1590
+ path?: never;
1591
+ cookie?: never;
1592
+ };
1593
+ requestBody?: never;
1594
+ responses: {
1595
+ /** @description List of vaults */
1596
+ 200: {
1597
+ headers: {
1598
+ [name: string]: unknown;
1599
+ };
1600
+ content: {
1601
+ "application/json": components["schemas"]["VaultListResponse"];
1602
+ };
1603
+ };
1604
+ /** @description Missing or invalid auth */
1605
+ 401: {
1606
+ headers: {
1607
+ [name: string]: unknown;
1608
+ };
1609
+ content: {
1610
+ "application/json": components["schemas"]["ErrorResponse"];
1611
+ };
1612
+ };
1613
+ /** @description Invalid cursor */
1614
+ 422: {
1615
+ headers: {
1616
+ [name: string]: unknown;
1617
+ };
1618
+ content: {
1619
+ "application/json": components["schemas"]["ErrorResponse"];
1620
+ };
1621
+ };
1622
+ };
1623
+ };
1624
+ get_vault: {
1625
+ parameters: {
1626
+ query?: never;
1627
+ header?: never;
1628
+ path: {
1629
+ /** @description Vault identifier (CAIP-10 `chainId:address`) */
1630
+ vault_id: string;
1631
+ };
1632
+ cookie?: never;
1633
+ };
1634
+ requestBody?: never;
1635
+ responses: {
1636
+ /** @description Current vault metrics */
1637
+ 200: {
1638
+ headers: {
1639
+ [name: string]: unknown;
1640
+ };
1641
+ content: {
1642
+ "application/json": components["schemas"]["VaultDetailResponse"];
1643
+ };
1644
+ };
1645
+ /** @description Missing or invalid auth */
1646
+ 401: {
1647
+ headers: {
1648
+ [name: string]: unknown;
1649
+ };
1650
+ content: {
1651
+ "application/json": components["schemas"]["ErrorResponse"];
1652
+ };
1653
+ };
1654
+ /** @description Vault not found */
1655
+ 404: {
1656
+ headers: {
1657
+ [name: string]: unknown;
1658
+ };
1659
+ content: {
1660
+ "application/json": components["schemas"]["ErrorResponse"];
1661
+ };
1662
+ };
1663
+ };
1664
+ };
1665
+ get_vault_allocations: {
1666
+ parameters: {
1667
+ query?: never;
1668
+ header?: never;
1669
+ path: {
1670
+ /** @description Vault identifier (CAIP-10 `chainId:address`) */
1671
+ vault_id: string;
1672
+ };
1673
+ cookie?: never;
1674
+ };
1675
+ requestBody?: never;
1676
+ responses: {
1677
+ /** @description Current vault allocations */
1678
+ 200: {
1679
+ headers: {
1680
+ [name: string]: unknown;
1681
+ };
1682
+ content: {
1683
+ "application/json": components["schemas"]["VaultAllocationsResponse"];
1684
+ };
1685
+ };
1686
+ /** @description Missing or invalid auth */
1687
+ 401: {
1688
+ headers: {
1689
+ [name: string]: unknown;
1690
+ };
1691
+ content: {
1692
+ "application/json": components["schemas"]["ErrorResponse"];
1693
+ };
1694
+ };
1695
+ /** @description Vault not found */
1696
+ 404: {
1697
+ headers: {
1698
+ [name: string]: unknown;
1699
+ };
1700
+ content: {
1701
+ "application/json": components["schemas"]["ErrorResponse"];
1702
+ };
1703
+ };
1704
+ /** @description Invalid vault identifier or non-Aera vault */
1705
+ 422: {
1706
+ headers: {
1707
+ [name: string]: unknown;
1708
+ };
1709
+ content: {
1710
+ "application/json": components["schemas"]["ErrorResponse"];
1711
+ };
1712
+ };
1713
+ /** @description Allocation data source unavailable */
1714
+ 502: {
1715
+ headers: {
1716
+ [name: string]: unknown;
1717
+ };
1718
+ content: {
1719
+ "application/json": components["schemas"]["ErrorResponse"];
1720
+ };
1721
+ };
1722
+ /** @description Vault metadata source unavailable */
1723
+ 503: {
1724
+ headers: {
1725
+ [name: string]: unknown;
1726
+ };
1727
+ content: {
1728
+ "application/json": components["schemas"]["ErrorResponse"];
1729
+ };
1730
+ };
1731
+ };
1732
+ };
1733
+ get_vault_definition: {
1734
+ parameters: {
1735
+ query?: never;
1736
+ header?: never;
1737
+ path: {
1738
+ /** @description Vault identifier (CAIP-10 `chainId:address`) */
1739
+ vault_id: string;
1740
+ };
1741
+ cookie?: never;
1742
+ };
1743
+ requestBody?: never;
1744
+ responses: {
1745
+ /** @description Vault definition */
1746
+ 200: {
1747
+ headers: {
1748
+ [name: string]: unknown;
1749
+ };
1750
+ content?: never;
1751
+ };
1752
+ /** @description Missing or invalid auth */
1753
+ 401: {
1754
+ headers: {
1755
+ [name: string]: unknown;
1756
+ };
1757
+ content: {
1758
+ "application/json": components["schemas"]["ErrorResponse"];
1759
+ };
1760
+ };
1761
+ /** @description Vault not found */
1762
+ 404: {
1763
+ headers: {
1764
+ [name: string]: unknown;
1765
+ };
1766
+ content: {
1767
+ "application/json": components["schemas"]["ErrorResponse"];
1768
+ };
1769
+ };
1770
+ };
1771
+ };
1772
+ get_vault_timeseries: {
1773
+ parameters: {
1774
+ query?: {
1775
+ /** @description Window end: ISO 8601 date (`2026-01-01`, read as 00:00:00 UTC) or RFC 3339 timestamp (`2026-01-01T00:00:00Z`). */
1776
+ end?: string;
1777
+ /** @description Sampling granularity: `day` (default), `hour`, `week`, or `month`. Day/week/month buckets start at 00:00 UTC; weeks start Monday and months start on the 1st. */
1778
+ granularity?: string;
1779
+ /** @description Page size (1–10000, default 1000). */
1780
+ limit?: number;
1781
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
1782
+ next?: string;
1783
+ /** @description Sort direction: `asc` (default) or `desc`. */
1784
+ order?: string;
1785
+ /** @description Window start: ISO 8601 date (`2026-01-01`, read as 00:00:00 UTC) or RFC 3339 timestamp (`2026-01-01T00:00:00Z`). */
1786
+ start?: string;
1787
+ };
1788
+ header?: never;
1789
+ path: {
1790
+ /** @description Vault identifier */
1791
+ vault_id: string;
1792
+ };
1793
+ cookie?: never;
1794
+ };
1795
+ requestBody?: never;
1796
+ responses: {
1797
+ /** @description Timeseries data points */
1798
+ 200: {
1799
+ headers: {
1800
+ [name: string]: unknown;
1801
+ };
1802
+ content: {
1803
+ "application/json": components["schemas"]["VaultTimeseriesResponse"];
1804
+ };
1805
+ };
1806
+ /** @description Missing or invalid auth */
1807
+ 401: {
1808
+ headers: {
1809
+ [name: string]: unknown;
1810
+ };
1811
+ content: {
1812
+ "application/json": components["schemas"]["ErrorResponse"];
1813
+ };
1814
+ };
1815
+ /** @description Vault not found */
1816
+ 404: {
1817
+ headers: {
1818
+ [name: string]: unknown;
1819
+ };
1820
+ content: {
1821
+ "application/json": components["schemas"]["ErrorResponse"];
1822
+ };
1823
+ };
1824
+ /** @description Invalid parameters */
1825
+ 422: {
1826
+ headers: {
1827
+ [name: string]: unknown;
1828
+ };
1829
+ content: {
1830
+ "application/json": components["schemas"]["ErrorResponse"];
1831
+ };
1832
+ };
1833
+ };
1834
+ };
1835
+ list_featured_vaults: {
1836
+ parameters: {
1837
+ query?: never;
1838
+ header?: never;
1839
+ path?: never;
1840
+ cookie?: never;
1841
+ };
1842
+ requestBody?: never;
1843
+ responses: {
1844
+ /** @description Featured vault cards */
1845
+ 200: {
1846
+ headers: {
1847
+ [name: string]: unknown;
1848
+ };
1849
+ content: {
1850
+ "application/json": components["schemas"]["FeaturedVaultsResponse"];
1851
+ };
1852
+ };
1853
+ /** @description Missing or invalid auth */
1854
+ 401: {
1855
+ headers: {
1856
+ [name: string]: unknown;
1857
+ };
1858
+ content: {
1859
+ "application/json": components["schemas"]["ErrorResponse"];
1860
+ };
1861
+ };
1862
+ /** @description Data source unavailable */
1863
+ 503: {
1864
+ headers: {
1865
+ [name: string]: unknown;
1866
+ };
1867
+ content: {
1868
+ "application/json": components["schemas"]["ErrorResponse"];
1869
+ };
1870
+ };
1871
+ };
1872
+ };
1873
+ get_vaults_by_slug: {
1874
+ parameters: {
1875
+ query?: never;
1876
+ header?: never;
1877
+ path: {
1878
+ /** @description Admin-curated public vault slug */
1879
+ slug: string;
1880
+ };
1881
+ cookie?: never;
1882
+ };
1883
+ requestBody?: never;
1884
+ responses: {
1885
+ /** @description Deployments for the vault slug */
1886
+ 200: {
1887
+ headers: {
1888
+ [name: string]: unknown;
1889
+ };
1890
+ content: {
1891
+ "application/json": components["schemas"]["VaultListResponse"];
1892
+ };
1893
+ };
1894
+ /** @description Missing or invalid auth */
1895
+ 401: {
1896
+ headers: {
1897
+ [name: string]: unknown;
1898
+ };
1899
+ content: {
1900
+ "application/json": components["schemas"]["ErrorResponse"];
1901
+ };
1902
+ };
1903
+ /** @description Vault slug not found */
1904
+ 404: {
1905
+ headers: {
1906
+ [name: string]: unknown;
1907
+ };
1908
+ content: {
1909
+ "application/json": components["schemas"]["ErrorResponse"];
1910
+ };
1911
+ };
1912
+ /** @description Data source unavailable */
1913
+ 503: {
1914
+ headers: {
1915
+ [name: string]: unknown;
1916
+ };
1917
+ content: {
1918
+ "application/json": components["schemas"]["ErrorResponse"];
1919
+ };
1920
+ };
1921
+ };
1922
+ };
1923
+ get_primary_vault_timeseries_by_slug: {
1924
+ parameters: {
1925
+ query?: {
1926
+ /** @description Window end: ISO 8601 date or RFC 3339 timestamp. */
1927
+ end?: string;
1928
+ /** @description Sampling granularity: `day` (default), `hour`, `week`, or `month`. */
1929
+ granularity?: string;
1930
+ /** @description Page size (1–10000, default 1000). */
1931
+ limit?: number;
1932
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
1933
+ next?: string;
1934
+ /** @description Sort direction: `asc` (default) or `desc`. */
1935
+ order?: string;
1936
+ /** @description Window start: ISO 8601 date or RFC 3339 timestamp. */
1937
+ start?: string;
1938
+ };
1939
+ header?: never;
1940
+ path: {
1941
+ /** @description Admin-curated public vault slug */
1942
+ slug: string;
1943
+ };
1944
+ cookie?: never;
1945
+ };
1946
+ requestBody?: never;
1947
+ responses: {
1948
+ /** @description Primary deployment timeseries data points */
1949
+ 200: {
1950
+ headers: {
1951
+ [name: string]: unknown;
1952
+ };
1953
+ content: {
1954
+ "application/json": components["schemas"]["VaultTimeseriesResponse"];
1955
+ };
1956
+ };
1957
+ /** @description Missing or invalid auth */
1958
+ 401: {
1959
+ headers: {
1960
+ [name: string]: unknown;
1961
+ };
1962
+ content: {
1963
+ "application/json": components["schemas"]["ErrorResponse"];
1964
+ };
1965
+ };
1966
+ /** @description Vault slug not found */
1967
+ 404: {
1968
+ headers: {
1969
+ [name: string]: unknown;
1970
+ };
1971
+ content: {
1972
+ "application/json": components["schemas"]["ErrorResponse"];
1973
+ };
1974
+ };
1975
+ /** @description Invalid parameters */
1976
+ 422: {
1977
+ headers: {
1978
+ [name: string]: unknown;
1979
+ };
1980
+ content: {
1981
+ "application/json": components["schemas"]["ErrorResponse"];
1982
+ };
1983
+ };
1984
+ /** @description Data source or vault curation unavailable */
1985
+ 503: {
1986
+ headers: {
1987
+ [name: string]: unknown;
1988
+ };
1989
+ content: {
1990
+ "application/json": components["schemas"]["ErrorResponse"];
1991
+ };
1992
+ };
1993
+ };
1994
+ };
1995
+ get_vault_timeseries_by_slug: {
1996
+ parameters: {
1997
+ query?: {
1998
+ /** @description Window end: ISO 8601 date or RFC 3339 timestamp. */
1999
+ end?: string;
2000
+ /** @description Sampling granularity: `day` (default), `hour`, `week`, or `month`. */
2001
+ granularity?: string;
2002
+ /** @description Page size (1–10000, default 1000). */
2003
+ limit?: number;
2004
+ /** @description Opaque cursor from previous `meta.next_cursor`. */
2005
+ next?: string;
2006
+ /** @description Sort direction: `asc` (default) or `desc`. */
2007
+ order?: string;
2008
+ /** @description Window start: ISO 8601 date or RFC 3339 timestamp. */
2009
+ start?: string;
2010
+ };
2011
+ header?: never;
2012
+ path: {
2013
+ /** @description Admin-curated public vault slug */
2014
+ slug: string;
2015
+ };
2016
+ cookie?: never;
2017
+ };
2018
+ requestBody?: never;
2019
+ responses: {
2020
+ /** @description Aggregate USD TVL and share supply with primary deployment metrics */
2021
+ 200: {
2022
+ headers: {
2023
+ [name: string]: unknown;
2024
+ };
2025
+ content: {
2026
+ "application/json": components["schemas"]["VaultGroupTimeseriesResponse"];
2027
+ };
2028
+ };
2029
+ /** @description Missing or invalid auth */
2030
+ 401: {
2031
+ headers: {
2032
+ [name: string]: unknown;
2033
+ };
2034
+ content: {
2035
+ "application/json": components["schemas"]["ErrorResponse"];
2036
+ };
2037
+ };
2038
+ /** @description Vault slug not found */
2039
+ 404: {
2040
+ headers: {
2041
+ [name: string]: unknown;
2042
+ };
2043
+ content: {
2044
+ "application/json": components["schemas"]["ErrorResponse"];
2045
+ };
2046
+ };
2047
+ /** @description Invalid parameters */
2048
+ 422: {
2049
+ headers: {
2050
+ [name: string]: unknown;
2051
+ };
2052
+ content: {
2053
+ "application/json": components["schemas"]["ErrorResponse"];
2054
+ };
2055
+ };
2056
+ /** @description Data source or vault curation unavailable */
2057
+ 503: {
2058
+ headers: {
2059
+ [name: string]: unknown;
2060
+ };
2061
+ content: {
2062
+ "application/json": components["schemas"]["ErrorResponse"];
2063
+ };
2064
+ };
2065
+ };
2066
+ };
2067
+ }
2068
+ //# sourceMappingURL=generated.d.ts.map