@compass-labs/api-sdk 2.2.75 → 2.2.76-rc.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 (276) hide show
  1. package/README.md +7 -3
  2. package/codeSamples_typescript.yaml +12 -0
  3. package/dist/commonjs/funcs/creditCreditMorphoMarkets.d.ts +24 -0
  4. package/dist/commonjs/funcs/creditCreditMorphoMarkets.d.ts.map +1 -0
  5. package/dist/commonjs/funcs/creditCreditMorphoMarkets.js +128 -0
  6. package/dist/commonjs/funcs/creditCreditMorphoMarkets.js.map +1 -0
  7. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts +30 -0
  8. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts.map +1 -0
  9. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js +136 -0
  10. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js.map +1 -0
  11. package/dist/commonjs/models/components/accountsummary.d.ts +4 -0
  12. package/dist/commonjs/models/components/accountsummary.d.ts.map +1 -1
  13. package/dist/commonjs/models/components/accountsummary.js.map +1 -1
  14. package/dist/commonjs/models/components/collateralposition.d.ts +12 -0
  15. package/dist/commonjs/models/components/collateralposition.d.ts.map +1 -1
  16. package/dist/commonjs/models/components/collateralposition.js +4 -0
  17. package/dist/commonjs/models/components/collateralposition.js.map +1 -1
  18. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +8 -6
  19. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts.map +1 -1
  20. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js +3 -3
  21. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js.map +1 -1
  22. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts +4 -2
  23. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts.map +1 -1
  24. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.js.map +1 -1
  25. package/dist/commonjs/models/components/creditborrowparams.d.ts +4 -0
  26. package/dist/commonjs/models/components/creditborrowparams.d.ts.map +1 -1
  27. package/dist/commonjs/models/components/creditborrowparams.js.map +1 -1
  28. package/dist/commonjs/models/components/creditborrowrequest.d.ts +4 -0
  29. package/dist/commonjs/models/components/creditborrowrequest.d.ts.map +1 -1
  30. package/dist/commonjs/models/components/creditborrowrequest.js.map +1 -1
  31. package/dist/commonjs/models/components/creditenablecollateralparams.d.ts +4 -0
  32. package/dist/commonjs/models/components/creditenablecollateralparams.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/creditenablecollateralparams.js.map +1 -1
  34. package/dist/commonjs/models/components/creditprotocol.d.ts +9 -0
  35. package/dist/commonjs/models/components/creditprotocol.d.ts.map +1 -1
  36. package/dist/commonjs/models/components/creditprotocol.js +5 -0
  37. package/dist/commonjs/models/components/creditprotocol.js.map +1 -1
  38. package/dist/commonjs/models/components/creditrepayparams.d.ts +4 -0
  39. package/dist/commonjs/models/components/creditrepayparams.d.ts.map +1 -1
  40. package/dist/commonjs/models/components/creditrepayparams.js.map +1 -1
  41. package/dist/commonjs/models/components/creditrepayrequest.d.ts +4 -0
  42. package/dist/commonjs/models/components/creditrepayrequest.d.ts.map +1 -1
  43. package/dist/commonjs/models/components/creditrepayrequest.js.map +1 -1
  44. package/dist/commonjs/models/components/creditsupplyparams.d.ts +4 -0
  45. package/dist/commonjs/models/components/creditsupplyparams.d.ts.map +1 -1
  46. package/dist/commonjs/models/components/creditsupplyparams.js.map +1 -1
  47. package/dist/commonjs/models/components/creditwithdrawparams.d.ts +4 -0
  48. package/dist/commonjs/models/components/creditwithdrawparams.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/creditwithdrawparams.js.map +1 -1
  50. package/dist/commonjs/models/components/debtposition.d.ts +12 -0
  51. package/dist/commonjs/models/components/debtposition.d.ts.map +1 -1
  52. package/dist/commonjs/models/components/debtposition.js +4 -0
  53. package/dist/commonjs/models/components/debtposition.js.map +1 -1
  54. package/dist/commonjs/models/components/index.d.ts +4 -0
  55. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  56. package/dist/commonjs/models/components/index.js +4 -0
  57. package/dist/commonjs/models/components/index.js.map +1 -1
  58. package/dist/commonjs/models/components/marketdetail.d.ts +8 -6
  59. package/dist/commonjs/models/components/marketdetail.d.ts.map +1 -1
  60. package/dist/commonjs/models/components/marketdetail.js +3 -3
  61. package/dist/commonjs/models/components/marketdetail.js.map +1 -1
  62. package/dist/commonjs/models/components/morpholendingmarket.d.ts +80 -0
  63. package/dist/commonjs/models/components/morpholendingmarket.d.ts.map +1 -0
  64. package/dist/commonjs/models/components/morpholendingmarket.js +82 -0
  65. package/dist/commonjs/models/components/morpholendingmarket.js.map +1 -0
  66. package/dist/commonjs/models/components/morphomarketsresponse.d.ts +21 -0
  67. package/dist/commonjs/models/components/morphomarketsresponse.d.ts.map +1 -0
  68. package/dist/commonjs/models/components/morphomarketsresponse.js +52 -0
  69. package/dist/commonjs/models/components/morphomarketsresponse.js.map +1 -0
  70. package/dist/commonjs/models/components/redemption.d.ts +52 -0
  71. package/dist/commonjs/models/components/redemption.d.ts.map +1 -0
  72. package/dist/commonjs/models/components/redemption.js +73 -0
  73. package/dist/commonjs/models/components/redemption.js.map +1 -0
  74. package/dist/commonjs/models/components/redemptionsresponse.d.ts +17 -0
  75. package/dist/commonjs/models/components/redemptionsresponse.d.ts.map +1 -0
  76. package/dist/commonjs/models/components/redemptionsresponse.js +51 -0
  77. package/dist/commonjs/models/components/redemptionsresponse.js.map +1 -0
  78. package/dist/commonjs/models/components/tokenizedassetclass.d.ts +9 -4
  79. package/dist/commonjs/models/components/tokenizedassetclass.d.ts.map +1 -1
  80. package/dist/commonjs/models/components/tokenizedassetclass.js +5 -2
  81. package/dist/commonjs/models/components/tokenizedassetclass.js.map +1 -1
  82. package/dist/commonjs/models/components/tokenizedassetprovider.d.ts +1 -0
  83. package/dist/commonjs/models/components/tokenizedassetprovider.d.ts.map +1 -1
  84. package/dist/commonjs/models/components/tokenizedassetprovider.js +1 -0
  85. package/dist/commonjs/models/components/tokenizedassetprovider.js.map +1 -1
  86. package/dist/commonjs/models/components/tokenizedassetstraderesponse.d.ts +22 -0
  87. package/dist/commonjs/models/components/tokenizedassetstraderesponse.d.ts.map +1 -1
  88. package/dist/commonjs/models/components/tokenizedassetstraderesponse.js +14 -1
  89. package/dist/commonjs/models/components/tokenizedassetstraderesponse.js.map +1 -1
  90. package/dist/commonjs/models/operations/index.d.ts +2 -0
  91. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  92. package/dist/commonjs/models/operations/index.js +2 -0
  93. package/dist/commonjs/models/operations/index.js.map +1 -1
  94. package/dist/commonjs/models/operations/v2creditmorphomarkets.d.ts +22 -0
  95. package/dist/commonjs/models/operations/v2creditmorphomarkets.d.ts.map +1 -0
  96. package/dist/commonjs/models/operations/v2creditmorphomarkets.js +57 -0
  97. package/dist/commonjs/models/operations/v2creditmorphomarkets.js.map +1 -0
  98. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.d.ts +43 -0
  99. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.d.ts.map +1 -0
  100. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.js +64 -0
  101. package/dist/commonjs/models/operations/v2tokenizedassetsredemptions.js.map +1 -0
  102. package/dist/commonjs/sdk/credit.d.ts +12 -0
  103. package/dist/commonjs/sdk/credit.d.ts.map +1 -1
  104. package/dist/commonjs/sdk/credit.js +15 -0
  105. package/dist/commonjs/sdk/credit.js.map +1 -1
  106. package/dist/commonjs/sdk/tokenizedassets.d.ts +18 -0
  107. package/dist/commonjs/sdk/tokenizedassets.d.ts.map +1 -1
  108. package/dist/commonjs/sdk/tokenizedassets.js +21 -0
  109. package/dist/commonjs/sdk/tokenizedassets.js.map +1 -1
  110. package/dist/esm/funcs/creditCreditMorphoMarkets.d.ts +24 -0
  111. package/dist/esm/funcs/creditCreditMorphoMarkets.d.ts.map +1 -0
  112. package/dist/esm/funcs/creditCreditMorphoMarkets.js +92 -0
  113. package/dist/esm/funcs/creditCreditMorphoMarkets.js.map +1 -0
  114. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts +30 -0
  115. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts.map +1 -0
  116. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js +100 -0
  117. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js.map +1 -0
  118. package/dist/esm/models/components/accountsummary.d.ts +4 -0
  119. package/dist/esm/models/components/accountsummary.d.ts.map +1 -1
  120. package/dist/esm/models/components/accountsummary.js.map +1 -1
  121. package/dist/esm/models/components/collateralposition.d.ts +12 -0
  122. package/dist/esm/models/components/collateralposition.d.ts.map +1 -1
  123. package/dist/esm/models/components/collateralposition.js +4 -0
  124. package/dist/esm/models/components/collateralposition.js.map +1 -1
  125. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +8 -6
  126. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts.map +1 -1
  127. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js +3 -3
  128. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js.map +1 -1
  129. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts +4 -2
  130. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.d.ts.map +1 -1
  131. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.js.map +1 -1
  132. package/dist/esm/models/components/creditborrowparams.d.ts +4 -0
  133. package/dist/esm/models/components/creditborrowparams.d.ts.map +1 -1
  134. package/dist/esm/models/components/creditborrowparams.js.map +1 -1
  135. package/dist/esm/models/components/creditborrowrequest.d.ts +4 -0
  136. package/dist/esm/models/components/creditborrowrequest.d.ts.map +1 -1
  137. package/dist/esm/models/components/creditborrowrequest.js.map +1 -1
  138. package/dist/esm/models/components/creditenablecollateralparams.d.ts +4 -0
  139. package/dist/esm/models/components/creditenablecollateralparams.d.ts.map +1 -1
  140. package/dist/esm/models/components/creditenablecollateralparams.js.map +1 -1
  141. package/dist/esm/models/components/creditprotocol.d.ts +9 -0
  142. package/dist/esm/models/components/creditprotocol.d.ts.map +1 -1
  143. package/dist/esm/models/components/creditprotocol.js +5 -0
  144. package/dist/esm/models/components/creditprotocol.js.map +1 -1
  145. package/dist/esm/models/components/creditrepayparams.d.ts +4 -0
  146. package/dist/esm/models/components/creditrepayparams.d.ts.map +1 -1
  147. package/dist/esm/models/components/creditrepayparams.js.map +1 -1
  148. package/dist/esm/models/components/creditrepayrequest.d.ts +4 -0
  149. package/dist/esm/models/components/creditrepayrequest.d.ts.map +1 -1
  150. package/dist/esm/models/components/creditrepayrequest.js.map +1 -1
  151. package/dist/esm/models/components/creditsupplyparams.d.ts +4 -0
  152. package/dist/esm/models/components/creditsupplyparams.d.ts.map +1 -1
  153. package/dist/esm/models/components/creditsupplyparams.js.map +1 -1
  154. package/dist/esm/models/components/creditwithdrawparams.d.ts +4 -0
  155. package/dist/esm/models/components/creditwithdrawparams.d.ts.map +1 -1
  156. package/dist/esm/models/components/creditwithdrawparams.js.map +1 -1
  157. package/dist/esm/models/components/debtposition.d.ts +12 -0
  158. package/dist/esm/models/components/debtposition.d.ts.map +1 -1
  159. package/dist/esm/models/components/debtposition.js +4 -0
  160. package/dist/esm/models/components/debtposition.js.map +1 -1
  161. package/dist/esm/models/components/index.d.ts +4 -0
  162. package/dist/esm/models/components/index.d.ts.map +1 -1
  163. package/dist/esm/models/components/index.js +4 -0
  164. package/dist/esm/models/components/index.js.map +1 -1
  165. package/dist/esm/models/components/marketdetail.d.ts +8 -6
  166. package/dist/esm/models/components/marketdetail.d.ts.map +1 -1
  167. package/dist/esm/models/components/marketdetail.js +3 -3
  168. package/dist/esm/models/components/marketdetail.js.map +1 -1
  169. package/dist/esm/models/components/morpholendingmarket.d.ts +80 -0
  170. package/dist/esm/models/components/morpholendingmarket.d.ts.map +1 -0
  171. package/dist/esm/models/components/morpholendingmarket.js +45 -0
  172. package/dist/esm/models/components/morpholendingmarket.js.map +1 -0
  173. package/dist/esm/models/components/morphomarketsresponse.d.ts +21 -0
  174. package/dist/esm/models/components/morphomarketsresponse.d.ts.map +1 -0
  175. package/dist/esm/models/components/morphomarketsresponse.js +15 -0
  176. package/dist/esm/models/components/morphomarketsresponse.js.map +1 -0
  177. package/dist/esm/models/components/redemption.d.ts +52 -0
  178. package/dist/esm/models/components/redemption.d.ts.map +1 -0
  179. package/dist/esm/models/components/redemption.js +36 -0
  180. package/dist/esm/models/components/redemption.js.map +1 -0
  181. package/dist/esm/models/components/redemptionsresponse.d.ts +17 -0
  182. package/dist/esm/models/components/redemptionsresponse.d.ts.map +1 -0
  183. package/dist/esm/models/components/redemptionsresponse.js +14 -0
  184. package/dist/esm/models/components/redemptionsresponse.js.map +1 -0
  185. package/dist/esm/models/components/tokenizedassetclass.d.ts +9 -4
  186. package/dist/esm/models/components/tokenizedassetclass.d.ts.map +1 -1
  187. package/dist/esm/models/components/tokenizedassetclass.js +5 -2
  188. package/dist/esm/models/components/tokenizedassetclass.js.map +1 -1
  189. package/dist/esm/models/components/tokenizedassetprovider.d.ts +1 -0
  190. package/dist/esm/models/components/tokenizedassetprovider.d.ts.map +1 -1
  191. package/dist/esm/models/components/tokenizedassetprovider.js +1 -0
  192. package/dist/esm/models/components/tokenizedassetprovider.js.map +1 -1
  193. package/dist/esm/models/components/tokenizedassetstraderesponse.d.ts +22 -0
  194. package/dist/esm/models/components/tokenizedassetstraderesponse.d.ts.map +1 -1
  195. package/dist/esm/models/components/tokenizedassetstraderesponse.js +13 -0
  196. package/dist/esm/models/components/tokenizedassetstraderesponse.js.map +1 -1
  197. package/dist/esm/models/operations/index.d.ts +2 -0
  198. package/dist/esm/models/operations/index.d.ts.map +1 -1
  199. package/dist/esm/models/operations/index.js +2 -0
  200. package/dist/esm/models/operations/index.js.map +1 -1
  201. package/dist/esm/models/operations/v2creditmorphomarkets.d.ts +22 -0
  202. package/dist/esm/models/operations/v2creditmorphomarkets.d.ts.map +1 -0
  203. package/dist/esm/models/operations/v2creditmorphomarkets.js +20 -0
  204. package/dist/esm/models/operations/v2creditmorphomarkets.js.map +1 -0
  205. package/dist/esm/models/operations/v2tokenizedassetsredemptions.d.ts +43 -0
  206. package/dist/esm/models/operations/v2tokenizedassetsredemptions.d.ts.map +1 -0
  207. package/dist/esm/models/operations/v2tokenizedassetsredemptions.js +27 -0
  208. package/dist/esm/models/operations/v2tokenizedassetsredemptions.js.map +1 -0
  209. package/dist/esm/sdk/credit.d.ts +12 -0
  210. package/dist/esm/sdk/credit.d.ts.map +1 -1
  211. package/dist/esm/sdk/credit.js +15 -0
  212. package/dist/esm/sdk/credit.js.map +1 -1
  213. package/dist/esm/sdk/tokenizedassets.d.ts +18 -0
  214. package/dist/esm/sdk/tokenizedassets.d.ts.map +1 -1
  215. package/dist/esm/sdk/tokenizedassets.js +21 -0
  216. package/dist/esm/sdk/tokenizedassets.js.map +1 -1
  217. package/docs/models/components/accountsummary.md +10 -10
  218. package/docs/models/components/collateralposition.md +16 -14
  219. package/docs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.md +21 -18
  220. package/docs/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.md +15 -15
  221. package/docs/models/components/creditborrowparams.md +9 -9
  222. package/docs/models/components/creditborrowrequest.md +19 -19
  223. package/docs/models/components/creditenablecollateralparams.md +6 -6
  224. package/docs/models/components/creditprotocol.md +5 -1
  225. package/docs/models/components/creditrepayparams.md +8 -8
  226. package/docs/models/components/creditrepayrequest.md +18 -18
  227. package/docs/models/components/creditsupplyparams.md +7 -7
  228. package/docs/models/components/creditwithdrawparams.md +7 -7
  229. package/docs/models/components/debtposition.md +15 -13
  230. package/docs/models/components/marketdetail.md +32 -29
  231. package/docs/models/components/morpholendingmarket.md +49 -0
  232. package/docs/models/components/morphomarketsresponse.md +21 -0
  233. package/docs/models/components/redemption.md +27 -0
  234. package/docs/models/components/redemptionsresponse.md +19 -0
  235. package/docs/models/components/redemptionstatus.md +17 -0
  236. package/docs/models/components/settlement.md +17 -0
  237. package/docs/models/components/tokenizedassetclass.md +6 -4
  238. package/docs/models/components/tokenizedassetprovider.md +2 -2
  239. package/docs/models/components/tokenizedassetstraderesponse.md +9 -6
  240. package/docs/models/operations/v2creditmorphomarketschain.md +15 -0
  241. package/docs/models/operations/v2creditmorphomarketsrequest.md +17 -0
  242. package/docs/models/operations/v2tokenizedassetsredemptionschain.md +17 -0
  243. package/docs/models/operations/v2tokenizedassetsredemptionsrequest.md +21 -0
  244. package/docs/sdks/credit/README.md +80 -0
  245. package/docs/sdks/tokenizedassets/README.md +90 -0
  246. package/openapi_prepped_for_speakeasy.json +451 -21
  247. package/package.json +1 -1
  248. package/src/funcs/creditCreditMorphoMarkets.ts +182 -0
  249. package/src/funcs/tokenizedAssetsTokenizedAssetsRedemptions.ts +192 -0
  250. package/src/models/components/accountsummary.ts +4 -0
  251. package/src/models/components/collateralposition.ts +16 -0
  252. package/src/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.ts +11 -9
  253. package/src/models/components/compassapibackendv2modelstokenizedassetsreadresponsepositionsposition.ts +4 -2
  254. package/src/models/components/creditborrowparams.ts +4 -0
  255. package/src/models/components/creditborrowrequest.ts +4 -0
  256. package/src/models/components/creditenablecollateralparams.ts +4 -0
  257. package/src/models/components/creditprotocol.ts +9 -0
  258. package/src/models/components/creditrepayparams.ts +4 -0
  259. package/src/models/components/creditrepayrequest.ts +4 -0
  260. package/src/models/components/creditsupplyparams.ts +4 -0
  261. package/src/models/components/creditwithdrawparams.ts +4 -0
  262. package/src/models/components/debtposition.ts +16 -0
  263. package/src/models/components/index.ts +4 -0
  264. package/src/models/components/marketdetail.ts +11 -9
  265. package/src/models/components/morpholendingmarket.ts +133 -0
  266. package/src/models/components/morphomarketsresponse.ts +46 -0
  267. package/src/models/components/redemption.ts +89 -0
  268. package/src/models/components/redemptionsresponse.ts +38 -0
  269. package/src/models/components/tokenizedassetclass.ts +9 -4
  270. package/src/models/components/tokenizedassetprovider.ts +1 -0
  271. package/src/models/components/tokenizedassetstraderesponse.ts +28 -0
  272. package/src/models/operations/index.ts +2 -0
  273. package/src/models/operations/v2creditmorphomarkets.ts +49 -0
  274. package/src/models/operations/v2tokenizedassetsredemptions.ts +72 -0
  275. package/src/sdk/credit.ts +23 -0
  276. package/src/sdk/tokenizedassets.ts +29 -0
@@ -21,18 +21,18 @@ let value:
21
21
 
22
22
  ## Fields
23
23
 
24
- | Field | Type | Required | Description | Example |
25
- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26
- | `symbol` | *string* | :heavy_check_mark: | On-chain Ondo symbol (e.g. `TSLAon`). | |
27
- | `underlyingTicker` | *string* | :heavy_check_mark: | Underlying equity ticker. | |
28
- | `name` | *string* | :heavy_check_mark: | Underlying equity name (or ticker fallback). | |
29
- | `contractAddress` | *string* | :heavy_check_mark: | Ethereum mainnet ERC-20 address. | |
30
- | `decimals` | *number* | :heavy_check_mark: | ERC-20 decimals. | |
31
- | `balance` | *string* | :heavy_check_mark: | Human-readable balance (already scaled by `decimals`). | |
32
- | `currentPriceUsd` | *string* | :heavy_minus_sign: | USD spot price at read time (decimal string). | |
33
- | `balanceUsd` | *string* | :heavy_minus_sign: | `balance * current_price_usd` when the price is available. | |
34
- | `provider` | [components.TokenizedAssetProvider](../../models/components/tokenizedassetprovider.md) | :heavy_minus_sign: | Issuer/provider of a tokenized asset. | |
35
- | `assetClass` | [components.TokenizedAssetClass](../../models/components/tokenizedassetclass.md) | :heavy_minus_sign: | Asset class of a tokenized asset.<br/><br/>`EQUITY` trades via the order endpoints (build/submit/cancel); the RWA<br/>yield classes (`T_BILLS`, `BASIS_TRADE`, `BTC_YIELD`) trade via the<br/>swap-based `transact/buy` and `transact/sell` endpoints. | |
36
- | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_minus_sign: | The chain to use. | |
37
- | `pnl` | [components.TokenizedAssetsPnl](../../models/components/tokenizedassetspnl.md) | :heavy_minus_sign: | Realized + unrealized PnL for this position, or `null` when it cannot be priced (no current price, or externally-funded inventory with no on-chain cost basis). | |
38
- | `events` | [components.TokenizedAssetsActivityEvent](../../models/components/tokenizedassetsactivityevent.md)[] | :heavy_minus_sign: | Chronological activity for this position (buy / sell / transfer_in / transfer_out). Pure-USDC funding is excluded — it appears on the balances endpoint. | [] |
24
+ | Field | Type | Required | Description | Example |
25
+ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26
+ | `symbol` | *string* | :heavy_check_mark: | On-chain Ondo symbol (e.g. `TSLAon`). | |
27
+ | `underlyingTicker` | *string* | :heavy_check_mark: | Underlying equity ticker. | |
28
+ | `name` | *string* | :heavy_check_mark: | Underlying equity name (or ticker fallback). | |
29
+ | `contractAddress` | *string* | :heavy_check_mark: | Ethereum mainnet ERC-20 address. | |
30
+ | `decimals` | *number* | :heavy_check_mark: | ERC-20 decimals. | |
31
+ | `balance` | *string* | :heavy_check_mark: | Human-readable balance (already scaled by `decimals`). | |
32
+ | `currentPriceUsd` | *string* | :heavy_minus_sign: | USD spot price at read time (decimal string). | |
33
+ | `balanceUsd` | *string* | :heavy_minus_sign: | `balance * current_price_usd` when the price is available. | |
34
+ | `provider` | [components.TokenizedAssetProvider](../../models/components/tokenizedassetprovider.md) | :heavy_minus_sign: | Issuer/provider of a tokenized asset. | |
35
+ | `assetClass` | [components.TokenizedAssetClass](../../models/components/tokenizedassetclass.md) | :heavy_minus_sign: | Asset class of a tokenized asset.<br/><br/>`EQUITY` trades via the order endpoints (build/submit/cancel); the RWA<br/>yield classes (`T_BILLS`, `BASIS_TRADE`, `BTC_YIELD`) and `MANAGED_VAULT`<br/>trade via the swap-based `transact/buy` and `transact/sell` endpoints.<br/>`MANAGED_VAULT` (IXS ERC-4626 vaults) is special in that a sell is an<br/>*asynchronous* redemption request settled off-chain by the vault operator. | |
36
+ | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_minus_sign: | The chain to use. | |
37
+ | `pnl` | [components.TokenizedAssetsPnl](../../models/components/tokenizedassetspnl.md) | :heavy_minus_sign: | Realized + unrealized PnL for this position, or `null` when it cannot be priced (no current price, or externally-funded inventory with no on-chain cost basis). | |
38
+ | `events` | [components.TokenizedAssetsActivityEvent](../../models/components/tokenizedassetsactivityevent.md)[] | :heavy_minus_sign: | Chronological activity for this position (buy / sell / transfer_in / transfer_out). Pure-USDC funding is excluded — it appears on the balances endpoint. | [] |
@@ -21,12 +21,12 @@ let value: CreditBorrowParams = {
21
21
 
22
22
  ## Fields
23
23
 
24
- | Field | Type | Required | Description | Example |
25
- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26
- | `actionType` | *"CREDIT_BORROW"* | :heavy_check_mark: | N/A | CREDIT_BORROW |
27
- | `token` | *string* | :heavy_check_mark: | Token to borrow from Aave. | |
28
- | `amount` | *components.CreditBorrowParamsAmount* | :heavy_check_mark: | Amount in token units to borrow. | |
29
- | `interestRateMode` | [components.InterestRateMode](../../models/components/interestratemode.md) | :heavy_minus_sign: | On AAVE there are 2 different interest modes.<br/><br/>A stable (but typically higher rate), or a variable rate. | |
30
- | `fee` | [components.CreditFee](../../models/components/creditfee.md) | :heavy_minus_sign: | Optional fee on the borrowed amount. | |
31
- | `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``EULER`` opts in to the<br/>Euler V2 path, where the market is identified by EVK vault address(es). | |
32
- | `borrowVault` | *string* | :heavy_minus_sign: | Euler only: the EVK vault to borrow from. Required when protocol=EULER. | |
24
+ | Field | Type | Required | Description | Example |
25
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
26
+ | `actionType` | *"CREDIT_BORROW"* | :heavy_check_mark: | N/A | CREDIT_BORROW |
27
+ | `token` | *string* | :heavy_check_mark: | Token to borrow from Aave. | |
28
+ | `amount` | *components.CreditBorrowParamsAmount* | :heavy_check_mark: | Amount in token units to borrow. | |
29
+ | `interestRateMode` | [components.InterestRateMode](../../models/components/interestratemode.md) | :heavy_minus_sign: | On AAVE there are 2 different interest modes.<br/><br/>A stable (but typically higher rate), or a variable rate. | |
30
+ | `fee` | [components.CreditFee](../../models/components/creditfee.md) | :heavy_minus_sign: | Optional fee on the borrowed amount. | |
31
+ | `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``EULER`` opts in to the<br/>Euler V2 path, where the market is identified by EVK vault address(es).<br/>``MORPHO`` identifies Morpho Blue lending markets (bytes32 market id) and is<br/>currently read-only: positions and market discovery only — transaction<br/>builders land with the looping work (COM-7106/7107/7108), so transact<br/>endpoints reject it with a 422. | |
32
+ | `borrowVault` | *string* | :heavy_minus_sign: | Euler only: the EVK vault to borrow from. Required when protocol=EULER. | |
@@ -21,22 +21,22 @@ let value: CreditBorrowRequest = {
21
21
 
22
22
  ## Fields
23
23
 
24
- | Field | Type | Required | Description | Example |
25
- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26
- | `owner` | *string* | :heavy_check_mark: | The address that owns the Credit Account. | 0xfeEb60eBf707DAA8248277058eb8D28EaeCF5425 |
27
- | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
28
- | `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``EULER`` opts in to the<br/>Euler V2 path, where the market is identified by EVK vault address(es). | |
29
- | `collateralVault` | *string* | :heavy_minus_sign: | Euler only: the EVK collateral vault to supply into. Required when protocol=EULER and supplying collateral. | |
30
- | `borrowVault` | *string* | :heavy_minus_sign: | Euler only: the EVK vault to borrow from. Required when protocol=EULER. | |
31
- | `tokenIn` | *string* | :heavy_minus_sign: | Token currently held in the Credit Account to use as input. If the same as collateral_token, no swap is performed. Omit together with amount_in and collateral_token to borrow against existing collateral. | USDC |
32
- | `amountIn` | *components.CreditBorrowRequestAmountIn* | :heavy_minus_sign: | Amount of token_in to use (in token units, not wei). Omit together with token_in and collateral_token for borrow-only mode. | 100 |
33
- | `collateralToken` | *string* | :heavy_minus_sign: | Aave reserve token to supply as collateral. Omit together with token_in and amount_in for borrow-only mode. | USDC |
34
- | `borrowToken` | *string* | :heavy_check_mark: | Asset to borrow from Aave. | WETH |
35
- | `borrowAmount` | *components.BorrowAmount* | :heavy_check_mark: | Amount to borrow (in token units, not wei). | 0.01 |
36
- | `interestRateMode` | [components.InterestRateMode](../../models/components/interestratemode.md) | :heavy_minus_sign: | On AAVE there are 2 different interest modes.<br/><br/>A stable (but typically higher rate), or a variable rate. | |
37
- | `slippage` | *components.CreditBorrowRequestSlippage* | :heavy_minus_sign: | Maximum slippage tolerance as a percentage (e.g., 0.5 = 0.5%). Only used when a swap is needed. | 0.5 |
38
- | `gasSponsorship` | *boolean* | :heavy_minus_sign: | If true, returns EIP-712 signature data instead of an unsigned transaction. | false |
39
- | `fee` | [components.CreditFee](../../models/components/creditfee.md) | :heavy_minus_sign: | Optional fee configuration. If provided, a fee will be deducted from the borrowed amount and sent to the specified recipient address. | |
40
- | `permit2Signature` | *string* | :heavy_minus_sign: | The EOA owner's signature of the Permit2 PermitTransferFrom typed data. When provided, the borrow bundle will first pull token_in from the owner's EOA into the Credit Account via Permit2. Obtain by calling /v2/credit/transfer and signing the returned EIP-712 data. | |
41
- | `permit2Nonce` | *number* | :heavy_minus_sign: | The nonce used in the Permit2 signature (from the signed typed data). | |
42
- | `permit2Deadline` | *number* | :heavy_minus_sign: | The deadline timestamp used in the Permit2 signature (from the signed typed data). | |
24
+ | Field | Type | Required | Description | Example |
25
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
26
+ | `owner` | *string* | :heavy_check_mark: | The address that owns the Credit Account. | 0xfeEb60eBf707DAA8248277058eb8D28EaeCF5425 |
27
+ | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
28
+ | `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``EULER`` opts in to the<br/>Euler V2 path, where the market is identified by EVK vault address(es).<br/>``MORPHO`` identifies Morpho Blue lending markets (bytes32 market id) and is<br/>currently read-only: positions and market discovery only — transaction<br/>builders land with the looping work (COM-7106/7107/7108), so transact<br/>endpoints reject it with a 422. | |
29
+ | `collateralVault` | *string* | :heavy_minus_sign: | Euler only: the EVK collateral vault to supply into. Required when protocol=EULER and supplying collateral. | |
30
+ | `borrowVault` | *string* | :heavy_minus_sign: | Euler only: the EVK vault to borrow from. Required when protocol=EULER. | |
31
+ | `tokenIn` | *string* | :heavy_minus_sign: | Token currently held in the Credit Account to use as input. If the same as collateral_token, no swap is performed. Omit together with amount_in and collateral_token to borrow against existing collateral. | USDC |
32
+ | `amountIn` | *components.CreditBorrowRequestAmountIn* | :heavy_minus_sign: | Amount of token_in to use (in token units, not wei). Omit together with token_in and collateral_token for borrow-only mode. | 100 |
33
+ | `collateralToken` | *string* | :heavy_minus_sign: | Aave reserve token to supply as collateral. Omit together with token_in and amount_in for borrow-only mode. | USDC |
34
+ | `borrowToken` | *string* | :heavy_check_mark: | Asset to borrow from Aave. | WETH |
35
+ | `borrowAmount` | *components.BorrowAmount* | :heavy_check_mark: | Amount to borrow (in token units, not wei). | 0.01 |
36
+ | `interestRateMode` | [components.InterestRateMode](../../models/components/interestratemode.md) | :heavy_minus_sign: | On AAVE there are 2 different interest modes.<br/><br/>A stable (but typically higher rate), or a variable rate. | |
37
+ | `slippage` | *components.CreditBorrowRequestSlippage* | :heavy_minus_sign: | Maximum slippage tolerance as a percentage (e.g., 0.5 = 0.5%). Only used when a swap is needed. | 0.5 |
38
+ | `gasSponsorship` | *boolean* | :heavy_minus_sign: | If true, returns EIP-712 signature data instead of an unsigned transaction. | false |
39
+ | `fee` | [components.CreditFee](../../models/components/creditfee.md) | :heavy_minus_sign: | Optional fee configuration. If provided, a fee will be deducted from the borrowed amount and sent to the specified recipient address. | |
40
+ | `permit2Signature` | *string* | :heavy_minus_sign: | The EOA owner's signature of the Permit2 PermitTransferFrom typed data. When provided, the borrow bundle will first pull token_in from the owner's EOA into the Credit Account via Permit2. Obtain by calling /v2/credit/transfer and signing the returned EIP-712 data. | |
41
+ | `permit2Nonce` | *number* | :heavy_minus_sign: | The nonce used in the Permit2 signature (from the signed typed data). | |
42
+ | `permit2Deadline` | *number* | :heavy_minus_sign: | The deadline timestamp used in the Permit2 signature (from the signed typed data). | |
@@ -18,9 +18,9 @@ let value: CreditEnableCollateralParams = {
18
18
 
19
19
  ## Fields
20
20
 
21
- | Field | Type | Required | Description | Example |
22
- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
23
- | `actionType` | *"CREDIT_ENABLE_COLLATERAL"* | :heavy_check_mark: | N/A | CREDIT_ENABLE_COLLATERAL |
24
- | `token` | *string* | :heavy_check_mark: | The underlying reserve token to enable as collateral (e.g. USDC, not aUSDC). | |
25
- | `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``EULER`` opts in to the<br/>Euler V2 path, where the market is identified by EVK vault address(es). | |
26
- | `collateralVault` | *string* | :heavy_minus_sign: | Euler only: the EVK collateral vault to enable. Required when protocol=EULER. | |
21
+ | Field | Type | Required | Description | Example |
22
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
23
+ | `actionType` | *"CREDIT_ENABLE_COLLATERAL"* | :heavy_check_mark: | N/A | CREDIT_ENABLE_COLLATERAL |
24
+ | `token` | *string* | :heavy_check_mark: | The underlying reserve token to enable as collateral (e.g. USDC, not aUSDC). | |
25
+ | `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``EULER`` opts in to the<br/>Euler V2 path, where the market is identified by EVK vault address(es).<br/>``MORPHO`` identifies Morpho Blue lending markets (bytes32 market id) and is<br/>currently read-only: positions and market discovery only — transaction<br/>builders land with the looping work (COM-7106/7107/7108), so transact<br/>endpoints reject it with a 422. | |
26
+ | `collateralVault` | *string* | :heavy_minus_sign: | Euler only: the EVK collateral vault to enable. Required when protocol=EULER. | |
@@ -5,6 +5,10 @@ Which lending protocol a credit action targets.
5
5
  ``AAVE`` is the default so existing callers (which never send a ``protocol``
6
6
  field) keep hitting the unchanged Aave code path. ``EULER`` opts in to the
7
7
  Euler V2 path, where the market is identified by EVK vault address(es).
8
+ ``MORPHO`` identifies Morpho Blue lending markets (bytes32 market id) and is
9
+ currently read-only: positions and market discovery only — transaction
10
+ builders land with the looping work (COM-7106/7107/7108), so transact
11
+ endpoints reject it with a 422.
8
12
 
9
13
  ## Example Usage
10
14
 
@@ -17,5 +21,5 @@ let value: CreditProtocol = "AAVE";
17
21
  ## Values
18
22
 
19
23
  ```typescript
20
- "AAVE" | "EULER"
24
+ "AAVE" | "EULER" | "MORPHO"
21
25
  ```