@compass-labs/api-sdk 2.2.84 → 2.2.85-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 (202) hide show
  1. package/README.md +32 -32
  2. package/dist/commonjs/funcs/earnEarnSwapQuote.d.ts +1 -1
  3. package/dist/commonjs/funcs/earnEarnSwapQuote.js +1 -1
  4. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsBalances.d.ts +6 -4
  5. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsBalances.d.ts.map +1 -1
  6. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsBalances.js +6 -4
  7. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsBalances.js.map +1 -1
  8. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.d.ts +7 -15
  9. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.d.ts.map +1 -1
  10. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.js +7 -15
  11. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.js.map +1 -1
  12. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarkets.d.ts +7 -12
  13. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarkets.d.ts.map +1 -1
  14. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarkets.js +7 -12
  15. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarkets.js.map +1 -1
  16. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.d.ts +8 -18
  17. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.d.ts.map +1 -1
  18. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.js +8 -18
  19. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.js.map +1 -1
  20. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrder.d.ts +9 -24
  21. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrder.d.ts.map +1 -1
  22. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrder.js +9 -24
  23. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrder.js.map +1 -1
  24. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.d.ts +5 -13
  25. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.d.ts.map +1 -1
  26. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.js +5 -13
  27. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.js.map +1 -1
  28. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.d.ts +5 -11
  29. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.d.ts.map +1 -1
  30. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.js +5 -11
  31. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.js.map +1 -1
  32. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee.d.ts +6 -8
  33. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee.d.ts.map +1 -1
  34. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee.js +6 -8
  35. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee.js.map +1 -1
  36. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.d.ts +5 -11
  37. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.d.ts.map +1 -1
  38. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.js +5 -11
  39. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.js.map +1 -1
  40. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsPositions.d.ts +7 -13
  41. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsPositions.d.ts.map +1 -1
  42. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsPositions.js +7 -13
  43. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsPositions.js.map +1 -1
  44. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsQuote.d.ts +5 -23
  45. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsQuote.d.ts.map +1 -1
  46. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsQuote.js +5 -23
  47. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsQuote.js.map +1 -1
  48. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts +7 -12
  49. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts.map +1 -1
  50. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js +7 -12
  51. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js.map +1 -1
  52. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransactBuy.d.ts +9 -11
  53. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransactBuy.d.ts.map +1 -1
  54. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransactBuy.js +9 -11
  55. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransactBuy.js.map +1 -1
  56. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransactSell.d.ts +10 -8
  57. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransactSell.d.ts.map +1 -1
  58. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransactSell.js +10 -8
  59. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransactSell.js.map +1 -1
  60. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransfer.d.ts +6 -17
  61. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransfer.d.ts.map +1 -1
  62. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransfer.js +6 -17
  63. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsTransfer.js.map +1 -1
  64. package/dist/commonjs/lib/config.d.ts +2 -2
  65. package/dist/commonjs/lib/config.js +2 -2
  66. package/dist/commonjs/lib/http.d.ts +1 -1
  67. package/dist/commonjs/lib/http.d.ts.map +1 -1
  68. package/dist/commonjs/lib/http.js +1 -1
  69. package/dist/commonjs/lib/http.js.map +1 -1
  70. package/dist/commonjs/lib/security.d.ts +5 -4
  71. package/dist/commonjs/lib/security.d.ts.map +1 -1
  72. package/dist/commonjs/lib/security.js +6 -7
  73. package/dist/commonjs/lib/security.js.map +1 -1
  74. package/dist/commonjs/models/components/eulermarket.d.ts +32 -0
  75. package/dist/commonjs/models/components/eulermarket.d.ts.map +1 -1
  76. package/dist/commonjs/models/components/eulermarket.js +15 -0
  77. package/dist/commonjs/models/components/eulermarket.js.map +1 -1
  78. package/dist/commonjs/models/components/eulermarketcollateral.d.ts +8 -0
  79. package/dist/commonjs/models/components/eulermarketcollateral.d.ts.map +1 -1
  80. package/dist/commonjs/models/components/eulermarketcollateral.js +4 -0
  81. package/dist/commonjs/models/components/eulermarketcollateral.js.map +1 -1
  82. package/dist/commonjs/sdk/earn.d.ts +1 -1
  83. package/dist/commonjs/sdk/earn.js +1 -1
  84. package/dist/commonjs/sdk/tokenizedassets.d.ts +110 -208
  85. package/dist/commonjs/sdk/tokenizedassets.d.ts.map +1 -1
  86. package/dist/commonjs/sdk/tokenizedassets.js +110 -208
  87. package/dist/commonjs/sdk/tokenizedassets.js.map +1 -1
  88. package/dist/esm/funcs/earnEarnSwapQuote.d.ts +1 -1
  89. package/dist/esm/funcs/earnEarnSwapQuote.js +1 -1
  90. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsBalances.d.ts +6 -4
  91. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsBalances.d.ts.map +1 -1
  92. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsBalances.js +6 -4
  93. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsBalances.js.map +1 -1
  94. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.d.ts +7 -15
  95. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.d.ts.map +1 -1
  96. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.js +7 -15
  97. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.js.map +1 -1
  98. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarkets.d.ts +7 -12
  99. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarkets.d.ts.map +1 -1
  100. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarkets.js +7 -12
  101. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarkets.js.map +1 -1
  102. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.d.ts +8 -18
  103. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.d.ts.map +1 -1
  104. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.js +8 -18
  105. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.js.map +1 -1
  106. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrder.d.ts +9 -24
  107. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrder.d.ts.map +1 -1
  108. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrder.js +9 -24
  109. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrder.js.map +1 -1
  110. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.d.ts +5 -13
  111. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.d.ts.map +1 -1
  112. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.js +5 -13
  113. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.js.map +1 -1
  114. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.d.ts +5 -11
  115. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.d.ts.map +1 -1
  116. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.js +5 -11
  117. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.js.map +1 -1
  118. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee.d.ts +6 -8
  119. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee.d.ts.map +1 -1
  120. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee.js +6 -8
  121. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee.js.map +1 -1
  122. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.d.ts +5 -11
  123. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.d.ts.map +1 -1
  124. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.js +5 -11
  125. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.js.map +1 -1
  126. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsPositions.d.ts +7 -13
  127. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsPositions.d.ts.map +1 -1
  128. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsPositions.js +7 -13
  129. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsPositions.js.map +1 -1
  130. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsQuote.d.ts +5 -23
  131. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsQuote.d.ts.map +1 -1
  132. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsQuote.js +5 -23
  133. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsQuote.js.map +1 -1
  134. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts +7 -12
  135. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.d.ts.map +1 -1
  136. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js +7 -12
  137. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsRedemptions.js.map +1 -1
  138. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransactBuy.d.ts +9 -11
  139. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransactBuy.d.ts.map +1 -1
  140. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransactBuy.js +9 -11
  141. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransactBuy.js.map +1 -1
  142. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransactSell.d.ts +10 -8
  143. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransactSell.d.ts.map +1 -1
  144. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransactSell.js +10 -8
  145. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransactSell.js.map +1 -1
  146. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransfer.d.ts +6 -17
  147. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransfer.d.ts.map +1 -1
  148. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransfer.js +6 -17
  149. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsTransfer.js.map +1 -1
  150. package/dist/esm/lib/config.d.ts +2 -2
  151. package/dist/esm/lib/config.js +2 -2
  152. package/dist/esm/lib/http.d.ts +1 -1
  153. package/dist/esm/lib/http.d.ts.map +1 -1
  154. package/dist/esm/lib/http.js +1 -1
  155. package/dist/esm/lib/http.js.map +1 -1
  156. package/dist/esm/lib/security.d.ts +5 -4
  157. package/dist/esm/lib/security.d.ts.map +1 -1
  158. package/dist/esm/lib/security.js +4 -5
  159. package/dist/esm/lib/security.js.map +1 -1
  160. package/dist/esm/models/components/eulermarket.d.ts +32 -0
  161. package/dist/esm/models/components/eulermarket.d.ts.map +1 -1
  162. package/dist/esm/models/components/eulermarket.js +15 -0
  163. package/dist/esm/models/components/eulermarket.js.map +1 -1
  164. package/dist/esm/models/components/eulermarketcollateral.d.ts +8 -0
  165. package/dist/esm/models/components/eulermarketcollateral.d.ts.map +1 -1
  166. package/dist/esm/models/components/eulermarketcollateral.js +4 -0
  167. package/dist/esm/models/components/eulermarketcollateral.js.map +1 -1
  168. package/dist/esm/sdk/earn.d.ts +1 -1
  169. package/dist/esm/sdk/earn.js +1 -1
  170. package/dist/esm/sdk/tokenizedassets.d.ts +110 -208
  171. package/dist/esm/sdk/tokenizedassets.d.ts.map +1 -1
  172. package/dist/esm/sdk/tokenizedassets.js +110 -208
  173. package/dist/esm/sdk/tokenizedassets.js.map +1 -1
  174. package/docs/models/components/eulermarket.md +22 -10
  175. package/docs/models/components/eulermarketcollateral.md +3 -0
  176. package/docs/sdks/earn/README.md +1 -1
  177. package/docs/sdks/tokenizedassets/README.md +102 -200
  178. package/openapi_prepped_for_speakeasy.json +122 -32
  179. package/package.json +1 -1
  180. package/src/funcs/earnEarnSwapQuote.ts +1 -1
  181. package/src/funcs/tokenizedAssetsTokenizedAssetsBalances.ts +6 -4
  182. package/src/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.ts +7 -15
  183. package/src/funcs/tokenizedAssetsTokenizedAssetsMarkets.ts +7 -12
  184. package/src/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.ts +8 -18
  185. package/src/funcs/tokenizedAssetsTokenizedAssetsOrder.ts +9 -24
  186. package/src/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.ts +5 -13
  187. package/src/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.ts +5 -11
  188. package/src/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee.ts +6 -8
  189. package/src/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.ts +5 -11
  190. package/src/funcs/tokenizedAssetsTokenizedAssetsPositions.ts +7 -13
  191. package/src/funcs/tokenizedAssetsTokenizedAssetsQuote.ts +5 -23
  192. package/src/funcs/tokenizedAssetsTokenizedAssetsRedemptions.ts +7 -12
  193. package/src/funcs/tokenizedAssetsTokenizedAssetsTransactBuy.ts +9 -11
  194. package/src/funcs/tokenizedAssetsTokenizedAssetsTransactSell.ts +10 -8
  195. package/src/funcs/tokenizedAssetsTokenizedAssetsTransfer.ts +6 -17
  196. package/src/lib/config.ts +2 -2
  197. package/src/lib/http.ts +3 -1
  198. package/src/lib/security.ts +10 -5
  199. package/src/models/components/eulermarket.ts +47 -0
  200. package/src/models/components/eulermarketcollateral.ts +12 -0
  201. package/src/sdk/earn.ts +1 -1
  202. package/src/sdk/tokenizedassets.ts +110 -208
@@ -5357,7 +5357,7 @@
5357
5357
  "tags": [
5358
5358
  "Earn"
5359
5359
  ],
5360
- "summary": "Quote a swap (read-only)",
5360
+ "summary": "Quote a swap",
5361
5361
  "description": "Estimate the output of a swap without building a transaction.\n\nReturns the expected amount of `token_out` received for selling `amount_in`\nof `token_in`, routed via 1inch. This is read-only: it does not build a\ntransaction, require an account, or check balances.\n\nUse it to gauge exit liquidity and price impact for a token before entering\na position \u2014 for example, to warn when a market's underlying asset cannot be\nswapped back to a stablecoin without large slippage.",
5362
5362
  "operationId": "v2_earn_swap_quote",
5363
5363
  "parameters": [
@@ -7365,8 +7365,8 @@
7365
7365
  "tags": [
7366
7366
  "Tokenized Assets"
7367
7367
  ],
7368
- "summary": "List tokenized asset markets",
7369
- "description": "List tokenized asset markets: Ondo equities and Midas RWA yield tokens.\n\nEach entry carries `provider` (`ondo` | `midas`), `asset_class` (`EQUITY` |\n`T_BILLS` | `BASIS_TRADE` | `BTC_YIELD`), `chain`, the symbol, underlying\nticker, contract address, latest USD price, and 24h change; RWA-yield entries\nadd `apy_7d`/`apy_30d` and `tvl_usd`. Filter with `provider`, `asset_class`,\nand `chain`, plus `category` (sector tag \u2014 equities only) or `search`\n(substring match against symbol, ticker, or name).\n\nEquities are Ethereum-only; RWA yield tokens also list on Base \u2014 pass\n`chain=base` to see them. How to trade each: `asset_class=EQUITY` \u2192\n`/quote` + `/order`; the RWA classes \u2192 `/transact/buy` + `/transact/sell`.",
7368
+ "summary": "List markets",
7369
+ "description": "List the tradable tokenized-asset catalog.\n\nAggregates all three providers \u2014 Ondo (tokenized US equities), Midas (RWA\nyield tokens), and IXS (managed vaults) \u2014 into a single list with live USD\npricing, plus APY and TVL for yield assets. Filter by provider, asset class,\nor chain, and narrow the results with a sector `category` or free-text\n`search`.",
7370
7370
  "operationId": "v2_tokenized_assets_markets",
7371
7371
  "parameters": [
7372
7372
  {
@@ -7500,8 +7500,8 @@
7500
7500
  "tags": [
7501
7501
  "Tokenized Assets"
7502
7502
  ],
7503
- "summary": "Get a single market",
7504
- "description": "Get extended detail for a single tokenized market.\n\nWorks for both asset families: an Ondo **equity** (e.g. `TSLAon`) or a\nMidas **RWA yield token** (e.g. `mTBILL`). Equities add 52-week range,\nvolume, market cap, holder count, and tradable sessions on top of the\n`/markets` fields; RWA-yield entries instead carry `apy_7d`/`apy_30d` and\n`tvl_usd`.\n\n**OHLC candles are an equities-only feature** \u2014 opt in by passing both\n`interval` and `range` query params to include a `candles` array. They\nmust be provided together and must form one of the supported pairs:\n\n- `1min` / `5min` / `15min` with `range=1day`\n- `1hour` / `4hour` with `range=1month`\n- `12hour` with `range=3month`\n- `1day` with `range=3month` / `6month` / `1year` / `all`\n\nOmitting both returns the market detail without `candles`.",
7503
+ "summary": "Get a market",
7504
+ "description": "Get extended detail for a single market \u2014 an Ondo **equity** (e.g. `TSLAon`), a\nMidas **RWA yield token** (e.g. `mTBILL`), or an IXS **managed vault** (e.g.\n`ixv1`).\n\nAdds richer market data on top of the `/markets` listing, plus an optional\nOHLC candle series: pass matching `interval` and `range` query params to\ninclude `candles` (available for equities, Midas tokens except `mBTC`, and IXS\nvaults; omit both for detail without candles).",
7505
7505
  "operationId": "v2_tokenized_assets_markets_{symbol}",
7506
7506
  "parameters": [
7507
7507
  {
@@ -7627,8 +7627,8 @@
7627
7627
  "tags": [
7628
7628
  "Tokenized Assets"
7629
7629
  ],
7630
- "summary": "Get tokenized-asset positions for an owner",
7631
- "description": "Get the tokenized-asset holdings for an owner.\n\nCovers **both** asset families held in the account \u2014 Ondo equities and\nMidas RWA yield tokens (`mTBILL`, `mBASIS`, `mBTC`). The Tokenized Assets\nAccount address is derived deterministically from the `owner` query param;\nbalances are read from that account (proceeds from equity orders and RWA\nswaps both settle there). Equity positions are priced from the Ondo feed;\nRWA positions are valued at the latest indexed NAV. Pass `chain=base` for\nBase holdings (equities are Ethereum-only). Zero balances are omitted, and\na `total_usd` aggregate is returned across all priced positions.\n\nReturns 400 `ACCOUNT_NOT_DEPLOYED` if the owner has no Tokenized Assets\nAccount deployed yet \u2014 create one via `/create_account` first.",
7630
+ "summary": "List positions",
7631
+ "description": "Get an owner's tokenized-asset holdings, priced and aggregated.\n\nReturns positions across every asset family the account holds \u2014 Ondo equities,\nMidas RWA yield tokens, and IXS managed vaults \u2014 each valued in USD (equities\nfrom the Ondo feed, RWA at the latest indexed NAV) with a `total_usd` total.\nThe account is derived from `owner`; pass `chain` for Base (Midas) or BNB Smart\nChain (IXS) holdings.",
7632
7632
  "operationId": "v2_tokenized_assets_positions",
7633
7633
  "parameters": [
7634
7634
  {
@@ -7712,8 +7712,8 @@
7712
7712
  "tags": [
7713
7713
  "Tokenized Assets"
7714
7714
  ],
7715
- "summary": "Get account balances",
7716
- "description": "Get the token balances of a Tokenized Assets Account.\n\nReturns each token held in the account with its current balance, USD value,\nand transfer history. Pass `chain=base` for Base holdings.",
7715
+ "summary": "Get token balances",
7716
+ "description": "Get a Tokenized Assets Account's full token ledger.\n\nReturns every token the account has held \u2014 including zero balances from fully-exited\npositions and USDC funding \u2014 each with its USD value and transfer history (a\nsuperset of `/positions`). Pass `chain=base` or `chain=bsc` for Base or BNB Smart\nChain holdings.",
7717
7717
  "operationId": "v2_tokenized_assets_balances",
7718
7718
  "parameters": [
7719
7719
  {
@@ -7777,8 +7777,8 @@
7777
7777
  "tags": [
7778
7778
  "Tokenized Assets"
7779
7779
  ],
7780
- "summary": "Get tokenized-equity order status (Ondo)",
7781
- "description": "Get the lifecycle state of a submitted tokenized-**equity** order (Ondo).\n\nEquity-order flow only: RWA-yield trades (`/transact/buy`, `/transact/sell`)\nare plain swaps that settle in a single transaction and have no order\nlifecycle to poll.\n\nThe `status` field is one of `pending`, `filled`, `expired`, or\n`cancelled`. Partial fills stay in `pending` while `filled_amount` is\npopulated as fills come in; once an order fully fills, `fill_tx_hash`\nis also returned.\n\nUpstream protocol states beyond these four (e.g. `partially-filled`,\n`refunded`) are mapped onto this set.",
7780
+ "summary": "Get order status",
7781
+ "description": "Poll the lifecycle state of a submitted equity order (Ondo).\n\nReports `pending`, `filled`, `expired`, or `cancelled`, with fill details as\nthey arrive. Equity orders only \u2014 RWA yield swaps settle in one transaction and\nhave no lifecycle to poll.",
7782
7782
  "operationId": "v2_tokenized_assets_order_{order_hash}",
7783
7783
  "parameters": [
7784
7784
  {
@@ -7851,8 +7851,8 @@
7851
7851
  "tags": [
7852
7852
  "Tokenized Assets"
7853
7853
  ],
7854
- "summary": "Get IXS vault redemption requests for an owner",
7855
- "description": "Get an owner's IXS vault redemption requests (async redemption status).\n\nIXS managed-vault **sells** are asynchronous: `/transact/sell` returns a\n`requestRedeem` transaction, and the vault operator settles it off-chain\nlater. This endpoint reconstructs the owner's requests directly from the\nvault on every call (Compass persists no async state) \u2014 each entry carries\nits `status` (`pending` | `finalized` | `rejected`), the `shares` requested,\nand, while `pending`, the `expected_net_assets` it would settle for at the\ncurrent NAV (a preview, not a guarantee).\n\nIXS vaults live on BNB Smart Chain \u2014 pass `chain=bsc` (the default) and the\n`vault` handle (default `ixv1`).",
7854
+ "summary": "List redemption requests",
7855
+ "description": "Get an owner's IXS managed-vault redemption requests and their status.\n\nIXS vault sells are asynchronous \u2014 `/transact/sell` files a `requestRedeem`\nthat the vault operator settles off-chain later. This reconstructs the owner's\nrequests live from the vault (Compass stores no async state), reporting each as\n`pending`, `finalized`, or `rejected`. IXS vaults live on BNB Smart Chain\n(`chain=bsc`, vault `ixv1`).",
7856
7856
  "operationId": "v2_tokenized_assets_redemptions",
7857
7857
  "parameters": [
7858
7858
  {
@@ -7928,8 +7928,8 @@
7928
7928
  "tags": [
7929
7929
  "Tokenized Assets"
7930
7930
  ],
7931
- "summary": "Create a Tokenized Assets Account",
7932
- "description": "Create a Tokenized Assets Account for a wallet address.\n\nRequired once before **either** trade flow \u2014 tokenized-equity orders\n(Ondo, via `/quote` + `/order`) and RWA-yield-token swaps (Midas, via\n`/transact/buy` + `/transact/sell`) both settle into this one account.\n\nEach wallet address has one Tokenized Assets Account, isolated from the\nowner's Earn, Credit, and other product accounts.\n\nThe account address is deterministic. If it already exists, the\nresponse returns `transaction: null` and you can skip straight to\nbuilding orders.\n\nReturns an unsigned transaction to create the account. The `sender`\nsigns and broadcasts this transaction.\n\n**If owner pays gas:** Set `sender` to the owner's address.\n\n**If someone else pays gas:** Set `sender` to the wallet that will\nsign and broadcast the transaction on behalf of the owner.",
7931
+ "summary": "Create account",
7932
+ "description": "Create a Tokenized Assets Account for a wallet address.\n\nBefore trading tokenized assets, the owner must create a Tokenized Assets\nAccount. Each wallet address has one Tokenized Assets Account per chain.\n\nReturns an unsigned transaction to create the account. The `sender` signs\nand broadcasts this transaction.\n\n**If owner pays gas:** Set `sender` to the owner's address.\n\n**If someone else pays gas:** Set `sender` to the wallet that will sign and\nbroadcast the transaction on behalf of the owner.",
7933
7933
  "operationId": "v2_tokenized_assets_create_account",
7934
7934
  "requestBody": {
7935
7935
  "content": {
@@ -7971,8 +7971,8 @@
7971
7971
  "tags": [
7972
7972
  "Tokenized Assets"
7973
7973
  ],
7974
- "summary": "Deposit to / withdraw from a Tokenized Assets Account",
7975
- "description": "Move tokens between the owner's wallet and their Tokenized Assets Account.\n\nUse `DEPOSIT` to fund the account from the owner's wallet, or `WITHDRAW` to\nsend tokens from the account back to the owner. Equity orders settle in\nUSDC; RWA yield assets trade against USDC on Ethereum and Base.\n\nWith `gas_sponsorship=true` the response is EIP-712 typed data the owner\nsigns off-chain, then submits to `POST /v2/gas_sponsorship/prepare` so the\nsponsor broadcasts and pays the gas:\n\n- **DEPOSIT** returns a Permit2 `PermitTransferFrom`. The owner must first\n grant a one-time token->Permit2 allowance (gaslessly via\n `POST /v2/gas_sponsorship/approve_transfer`).\n- **WITHDRAW** returns a Safe transaction the account executes.\n\nWith `gas_sponsorship=false` a DEPOSIT returns an unsigned ERC-20 transfer\nthe owner broadcasts directly, and a WITHDRAW returns an unsigned Safe\n`execTransaction` the owner signs and broadcasts.",
7974
+ "summary": "Transfer tokens to/from account",
7975
+ "description": "Move tokens between the owner's wallet and their Tokenized Assets Account.\n\n`DEPOSIT` funds the account from the owner's wallet; `WITHDRAW` sends tokens\nback. Supports gas sponsorship: with `gas_sponsorship=true` the owner signs\nEIP-712 typed data (a Permit2 permit on deposit, a product-account transaction\non withdrawal) and a sponsor broadcasts; otherwise the owner broadcasts the\ntransaction directly.",
7976
7976
  "operationId": "v2_tokenized_assets_transfer",
7977
7977
  "requestBody": {
7978
7978
  "content": {
@@ -8024,8 +8024,8 @@
8024
8024
  "tags": [
8025
8025
  "Tokenized Assets"
8026
8026
  ],
8027
- "summary": "Preview a tokenized-equity buy/sell quote (Ondo)",
8028
- "description": "Preview a buy/sell quote for a tokenized **equity** (Ondo, e.g. `TSLAon`).\n\n**Equities only.** RWA yield tokens (Midas \u2014 `mTBILL`, `mBASIS`, `mBTC`) are\nrejected here with 422 `Wrong trade flow`; they have no auction/quote step \u2014\nbuy/sell them directly via `/transact/buy` & `/transact/sell`.\n\nReturns the input/output amounts, fees, and slippage tolerance for an order.\n\nRead-only: previews the quote without consuming a ``quote_id`` or\ncommitting an order. Pair with `POST /order`:\nsurface this preview to the user, and on confirm pass the body plus\n``recommended_slippage_bps`` to `/order`.\n\nThe response carries:\n\n- **`quote`** \u2014 input/output token amounts, fees, and an\n ``est_fill_seconds`` upper bound.\n- **`recommended_slippage_bps`** \u2014 system-derived slippage tolerance\n that clears the current auction floor; pass back as\n ``slippage_bps`` on `/order` so the build call validates against the\n same floor the user was shown.\n- **`auction_range_bps`** \u2014 worst-case bps gap between the auction\n end amount and the reference quote amount. Use to surface a\n thin-liquidity warning to the user.",
8027
+ "summary": "Quote an order",
8028
+ "description": "Preview a buy/sell quote for a tokenized **equity** (Ondo, e.g. `TSLAon`).\n\nRead-only price preview: returns the expected input/output amounts and a\nsystem-recommended slippage tolerance to carry into `/order`. Equities only \u2014\nRWA yield tokens (Midas) have no quote step and are rejected with `422 Wrong\ntrade flow`; trade them via `/transact/buy` and `/transact/sell`.",
8029
8029
  "operationId": "v2_tokenized_assets_quote",
8030
8030
  "requestBody": {
8031
8031
  "content": {
@@ -8107,8 +8107,8 @@
8107
8107
  "tags": [
8108
8108
  "Tokenized Assets"
8109
8109
  ],
8110
- "summary": "Build a tokenized-equity buy/sell order (Ondo)",
8111
- "description": "Build a tokenized-**equity** (Ondo) buy/sell order; maker is the product account.\n\n**Equities only.** RWA yield tokens (Midas \u2014 `mTBILL`, `mBASIS`, `mBTC`) are\nrejected with 422 `Wrong trade flow`; trade them via `/transact/buy` &\n`/transact/sell`. Equity orders are always USDC-paired (USDC\u2192equity to buy,\nequity\u2192USDC to sell) and settle on-chain.\n\nReturns up to three pieces in a single round-trip:\n\n- **`quote`** \u2014 preview of the input/output amounts and fees.\n- **`approval_safe_tx_eip712`** \u2014 only present when the account's\n allowance to the settlement contract is below `amount`. The owner\n signs this EIP-712 payload, then it is broadcast via\n `POST /v2/gas_sponsorship/prepare` (or the owner can broadcast\n directly) to set the on-chain allowance. Wait for that transaction\n to confirm before signing the order.\n- **`order`** \u2014 the order metadata (`order_hash`, `extension`,\n `quote_id`, `order_message`) plus `safe_message_eip712`, an EIP-712\n payload the owner signs off-chain to authorize the order. The\n signature is submitted to `/order/submit` and is **never** broadcast\n on-chain.\n\nThe owner never broadcasts the order itself \u2014 only the (one-time)\napproval transaction ever hits the chain.",
8110
+ "summary": "Build an order",
8111
+ "description": "Build a tokenized-**equity** (Ondo) buy/sell order; the product account is the\nmaker.\n\nReturns everything needed to place the order in one round-trip: a price quote,\na one-time token approval to sign (only until the settlement contract is\napproved), and the order payload the owner signs off-chain. Only the approval\never touches the chain \u2014 the signed order is relayed to market makers, never\nbroadcast. Equities only; RWA yield tokens use `/transact/buy` and\n`/transact/sell`.",
8112
8112
  "operationId": "v2_tokenized_assets_order",
8113
8113
  "requestBody": {
8114
8114
  "content": {
@@ -8200,8 +8200,8 @@
8200
8200
  "tags": [
8201
8201
  "Tokenized Assets"
8202
8202
  ],
8203
- "summary": "Submit a signed tokenized-equity order (Ondo)",
8204
- "description": "Submit a signed order for settlement.\n\nThe body echoes the `order` fields from `/order` (`signed_order`,\n`extension`, `quote_id`, optionally `order_hash`) plus the owner's\nsignature over `order.safe_message_eip712`. The maker on the order\nstruct is the Tokenized Assets Account, not the owner's wallet \u2014\npass `signed_order` back unchanged.\n\nReturns the order hash and a server-side ISO 8601 timestamp.\nSubsequent calls to `GET /order/{order_hash}` track the lifecycle\n(`pending` \u2192 `filled` / `expired` / `cancelled`).",
8203
+ "summary": "Submit a signed order",
8204
+ "description": "Submit a signed equity order to the market-maker network for settlement.\n\nRelays the payload from `/order` plus the owner's signature, and returns the\norder hash. Poll `GET /order/{order_hash}` to track its lifecycle (`pending` \u2192\n`filled` / `expired` / `cancelled`).",
8205
8205
  "operationId": "v2_tokenized_assets_order_submit",
8206
8206
  "requestBody": {
8207
8207
  "content": {
@@ -8273,8 +8273,8 @@
8273
8273
  "tags": [
8274
8274
  "Tokenized Assets"
8275
8275
  ],
8276
- "summary": "Cancel an unfilled tokenized-equity order (Ondo)",
8277
- "description": "Build the EIP-712 payload to cancel an unfilled order on-chain.\n\nReturns ``cancel_safe_tx_eip712``, an EIP-712 payload that authorizes\nthe on-chain cancellation. Sign with the Tokenized Assets Account's\nowner via ``wallet.signTypedData(...)`` and relay via\n``POST /v2/gas_sponsorship/prepare`` so the sponsor broadcasts the\ncancellation on the product account. The owner can also broadcast\nthe resulting transaction directly without using gas sponsorship.\n\nCancellation works on `pending` and `expired` orders only. Only the\nTokenized Assets Account that placed the order can cancel it.",
8276
+ "summary": "Cancel an order",
8277
+ "description": "Cancel an unfilled equity order on-chain.\n\nReturns an EIP-712 payload the owner signs; a sponsor relays it, or the owner\nbroadcasts it directly. Works only on `pending` or `expired` orders, and only\nthe account that placed the order can cancel it.",
8278
8278
  "operationId": "v2_tokenized_assets_order_{order_hash}_cancel",
8279
8279
  "parameters": [
8280
8280
  {
@@ -8377,8 +8377,8 @@
8377
8377
  "tags": [
8378
8378
  "Tokenized Assets"
8379
8379
  ],
8380
- "summary": "Charge a partner fee on a filled sell order's USDC proceeds",
8381
- "description": "Build a USDC fee transfer on a filled equity sell order's proceeds.\n\nEquity orders fill off-chain via a third-party venue, so the fee can't be\nbundled into the trade. Once the sell order has filled, call this with the\norder hash and your `fee` (recipient + percentage/fixed); it reads the actual\nfilled USDC proceeds and returns a `transfer(recipient, fee)` executed by the\nproduct account \u2014 an unsigned transaction the owner signs, or an EIP-712\npayload when `gas_sponsorship` is true.",
8380
+ "summary": "Charge a partner fee",
8381
+ "description": "Charge a partner fee on a filled equity sell order's USDC proceeds.\n\nEquity orders settle off-chain, so fees can't be bundled into the trade \u2014 call\nthis after a sell fills and it builds a USDC transfer of your `fee` from the\nactual proceeds, executed by the product account (owner signs, or EIP-712 with\n`gas_sponsorship`).",
8382
8382
  "operationId": "v2_tokenized_assets_order_{order_hash}_charge_fee",
8383
8383
  "parameters": [
8384
8384
  {
@@ -8431,8 +8431,8 @@
8431
8431
  "tags": [
8432
8432
  "Tokenized Assets"
8433
8433
  ],
8434
- "summary": "Buy an RWA yield token (Midas: mTBILL/mBASIS/mBTC)",
8435
- "description": "Buy (mint) an RWA yield asset (e.g. `mTBILL`) inside the product account.\n\nMints `token_out` directly from Midas with `token_in` (a stablecoin already\nheld by the Tokenized Assets Account \u2014 fund it with a plain transfer first).\n`token_in` must be a payment token the Midas issuance vault accepts (USDC on\nevery supported network; mBASIS also accepts USDT/DAI on Ethereum). Returns\nan unsigned transaction for the owner to sign, or an EIP-712 payload when\n`gas_sponsorship` is true.\n\n`token_out` must be a Midas RWA asset; equities trade via the order\nendpoints (`/quote`, `/order`, `/order/submit`).",
8434
+ "summary": "Buy an RWA yield token",
8435
+ "description": "Buy an RWA yield token, or deposit into an IXS managed vault, with a stablecoin\nin one transaction.\n\nSet `token_out` to a Midas symbol (`mTBILL`, `mBASIS`, `mBTC`) or to an IXS\n**vault address** (its shares aren't a registered symbol). The account spends\na stablecoin it already holds (fund it with a plain transfer first) and\nsettles inside the product account \u2014 an unsigned transaction the owner signs,\nor EIP-712 with `gas_sponsorship`. Both paths are instant. Equities use the\norder flow (`/quote`, `/order`).",
8436
8436
  "operationId": "v2_tokenized_assets_transact_buy",
8437
8437
  "requestBody": {
8438
8438
  "content": {
@@ -8474,8 +8474,8 @@
8474
8474
  "tags": [
8475
8475
  "Tokenized Assets"
8476
8476
  ],
8477
- "summary": "Sell an RWA yield token (Midas: mTBILL/mBASIS/mBTC)",
8478
- "description": "Sell (redeem) an RWA yield asset (e.g. `mTBILL`) inside the product account.\n\nRedeems `token_in` (a Midas RWA asset held by the Tokenized Assets Account)\ndirectly with Midas into `token_out` (USDC). Returns an unsigned transaction\nfor the owner to sign, or an EIP-712 payload when `gas_sponsorship` is true.\n\nInstant redemption draws on Midas's on-chain liquidity and is subject to a\nsmall redemption fee and daily limit.",
8477
+ "summary": "Sell an RWA yield token",
8478
+ "description": "Sell an RWA yield token, or redeem from an IXS managed vault, back to a\nstablecoin.\n\nSet `token_in` to a Midas symbol (`mTBILL`, `mBASIS`, `mBTC`) or to an IXS\n**vault address**. A Midas redemption is instant and settles in the same\ntransaction; an IXS redemption is **asynchronous** \u2014 it files a\n`requestRedeem` (`settlement: async`) the vault operator settles off-chain\nlater, so poll `GET /v2/tokenized_assets/redemptions` for status. The\ntransaction executes inside the product account (owner signs, or EIP-712 with\n`gas_sponsorship`).",
8479
8479
  "operationId": "v2_tokenized_assets_transact_sell",
8480
8480
  "requestBody": {
8481
8481
  "content": {
@@ -16129,6 +16129,30 @@
16129
16129
  "title": "Asset Decimals",
16130
16130
  "description": "Decimals of the borrowable asset."
16131
16131
  },
16132
+ "asset_price_usd": {
16133
+ "anyOf": [
16134
+ {
16135
+ "type": "string"
16136
+ },
16137
+ {
16138
+ "type": "null"
16139
+ }
16140
+ ],
16141
+ "title": "Asset Price Usd",
16142
+ "description": "USD price of one whole unit of the borrowable asset. Use it to convert USD borrow capacity into token units. Null if the price feed can't quote it."
16143
+ },
16144
+ "unit_of_account_symbol": {
16145
+ "anyOf": [
16146
+ {
16147
+ "type": "string"
16148
+ },
16149
+ {
16150
+ "type": "null"
16151
+ }
16152
+ ],
16153
+ "title": "Unit Of Account Symbol",
16154
+ "description": "Symbol of the market's native unit of account (usually USD). The market's own risk engine denominates collateral and debt in this unit."
16155
+ },
16132
16156
  "borrow_apy": {
16133
16157
  "anyOf": [
16134
16158
  {
@@ -16153,6 +16177,50 @@
16153
16177
  "title": "Supply Apy",
16154
16178
  "description": "Current supply APY for this market (yield for supplying the asset), in percentage (e.g. 3.45 means 3.45%). Null if the rate is unavailable."
16155
16179
  },
16180
+ "available_liquidity": {
16181
+ "type": "string",
16182
+ "title": "Available Liquidity",
16183
+ "description": "Asset available to borrow right now (vault cash), in token units. A borrow larger than this reverts even if the account is healthy."
16184
+ },
16185
+ "total_supply_assets": {
16186
+ "type": "string",
16187
+ "title": "Total Supply Assets",
16188
+ "description": "Total asset supplied to this market, in token units."
16189
+ },
16190
+ "total_borrow_assets": {
16191
+ "type": "string",
16192
+ "title": "Total Borrow Assets",
16193
+ "description": "Total asset borrowed from this market, in token units."
16194
+ },
16195
+ "utilization": {
16196
+ "type": "string",
16197
+ "title": "Utilization",
16198
+ "description": "Borrowed share of supplied assets, in percentage 0-100."
16199
+ },
16200
+ "supply_cap": {
16201
+ "anyOf": [
16202
+ {
16203
+ "type": "string"
16204
+ },
16205
+ {
16206
+ "type": "null"
16207
+ }
16208
+ ],
16209
+ "title": "Supply Cap",
16210
+ "description": "Maximum total supply allowed, in token units. Null when the market is uncapped."
16211
+ },
16212
+ "borrow_cap": {
16213
+ "anyOf": [
16214
+ {
16215
+ "type": "string"
16216
+ },
16217
+ {
16218
+ "type": "null"
16219
+ }
16220
+ ],
16221
+ "title": "Borrow Cap",
16222
+ "description": "Maximum total borrow allowed, in token units. A borrow that would breach this reverts even when cash exists. Null when uncapped."
16223
+ },
16156
16224
  "collaterals": {
16157
16225
  "items": {
16158
16226
  "$ref": "#/components/schemas/EulerMarketCollateral"
@@ -16170,7 +16238,11 @@
16170
16238
  "vault_symbol",
16171
16239
  "asset",
16172
16240
  "asset_symbol",
16173
- "asset_decimals"
16241
+ "asset_decimals",
16242
+ "available_liquidity",
16243
+ "total_supply_assets",
16244
+ "total_borrow_assets",
16245
+ "utilization"
16174
16246
  ],
16175
16247
  "title": "EulerMarket",
16176
16248
  "description": "An Euler V2 borrow market: a vault to borrow from + the collaterals it accepts."
@@ -16192,6 +16264,23 @@
16192
16264
  "title": "Asset Symbol",
16193
16265
  "description": "Symbol of the collateral's underlying asset (e.g. USDC)."
16194
16266
  },
16267
+ "asset_decimals": {
16268
+ "type": "integer",
16269
+ "title": "Asset Decimals",
16270
+ "description": "Decimals of the collateral's underlying asset."
16271
+ },
16272
+ "asset_price_usd": {
16273
+ "anyOf": [
16274
+ {
16275
+ "type": "string"
16276
+ },
16277
+ {
16278
+ "type": "null"
16279
+ }
16280
+ ],
16281
+ "title": "Asset Price Usd",
16282
+ "description": "USD price of one whole unit of the collateral asset. Null if the price feed can't quote it (size the supply in token units instead)."
16283
+ },
16195
16284
  "borrow_ltv": {
16196
16285
  "type": "string",
16197
16286
  "title": "Borrow Ltv",
@@ -16221,6 +16310,7 @@
16221
16310
  "vault",
16222
16311
  "asset",
16223
16312
  "asset_symbol",
16313
+ "asset_decimals",
16224
16314
  "borrow_ltv",
16225
16315
  "liquidation_ltv"
16226
16316
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-labs/api-sdk",
3
- "version": "2.2.84",
3
+ "version": "2.2.85-rc.1",
4
4
  "author": "royalnine",
5
5
  "type": "module",
6
6
  "tshy": {
@@ -28,7 +28,7 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * Quote a swap (read-only)
31
+ * Quote a swap
32
32
  *
33
33
  * @remarks
34
34
  * Estimate the output of a swap without building a transaction.
@@ -28,13 +28,15 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * Get account balances
31
+ * Get token balances
32
32
  *
33
33
  * @remarks
34
- * Get the token balances of a Tokenized Assets Account.
34
+ * Get a Tokenized Assets Account's full token ledger.
35
35
  *
36
- * Returns each token held in the account with its current balance, USD value,
37
- * and transfer history. Pass `chain=base` for Base holdings.
36
+ * Returns every token the account has held including zero balances from fully-exited
37
+ * positions and USDC funding each with its USD value and transfer history (a
38
+ * superset of `/positions`). Pass `chain=base` or `chain=bsc` for Base or BNB Smart
39
+ * Chain holdings.
38
40
  */
39
41
  export function tokenizedAssetsTokenizedAssetsBalances(
40
42
  client: CompassApiSDKCore,
@@ -27,29 +27,21 @@ import { APICall, APIPromise } from "../types/async.js";
27
27
  import { Result } from "../types/fp.js";
28
28
 
29
29
  /**
30
- * Create a Tokenized Assets Account
30
+ * Create account
31
31
  *
32
32
  * @remarks
33
33
  * Create a Tokenized Assets Account for a wallet address.
34
34
  *
35
- * Required once before **either** trade flow tokenized-equity orders
36
- * (Ondo, via `/quote` + `/order`) and RWA-yield-token swaps (Midas, via
37
- * `/transact/buy` + `/transact/sell`) both settle into this one account.
35
+ * Before trading tokenized assets, the owner must create a Tokenized Assets
36
+ * Account. Each wallet address has one Tokenized Assets Account per chain.
38
37
  *
39
- * Each wallet address has one Tokenized Assets Account, isolated from the
40
- * owner's Earn, Credit, and other product accounts.
41
- *
42
- * The account address is deterministic. If it already exists, the
43
- * response returns `transaction: null` and you can skip straight to
44
- * building orders.
45
- *
46
- * Returns an unsigned transaction to create the account. The `sender`
47
- * signs and broadcasts this transaction.
38
+ * Returns an unsigned transaction to create the account. The `sender` signs
39
+ * and broadcasts this transaction.
48
40
  *
49
41
  * **If owner pays gas:** Set `sender` to the owner's address.
50
42
  *
51
- * **If someone else pays gas:** Set `sender` to the wallet that will
52
- * sign and broadcast the transaction on behalf of the owner.
43
+ * **If someone else pays gas:** Set `sender` to the wallet that will sign and
44
+ * broadcast the transaction on behalf of the owner.
53
45
  */
54
46
  export function tokenizedAssetsTokenizedAssetsCreateAccount(
55
47
  client: CompassApiSDKCore,
@@ -28,21 +28,16 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * List tokenized asset markets
31
+ * List markets
32
32
  *
33
33
  * @remarks
34
- * List tokenized asset markets: Ondo equities and Midas RWA yield tokens.
34
+ * List the tradable tokenized-asset catalog.
35
35
  *
36
- * Each entry carries `provider` (`ondo` | `midas`), `asset_class` (`EQUITY` |
37
- * `T_BILLS` | `BASIS_TRADE` | `BTC_YIELD`), `chain`, the symbol, underlying
38
- * ticker, contract address, latest USD price, and 24h change; RWA-yield entries
39
- * add `apy_7d`/`apy_30d` and `tvl_usd`. Filter with `provider`, `asset_class`,
40
- * and `chain`, plus `category` (sector tag — equities only) or `search`
41
- * (substring match against symbol, ticker, or name).
42
- *
43
- * Equities are Ethereum-only; RWA yield tokens also list on Base — pass
44
- * `chain=base` to see them. How to trade each: `asset_class=EQUITY` →
45
- * `/quote` + `/order`; the RWA classes → `/transact/buy` + `/transact/sell`.
36
+ * Aggregates all three providers — Ondo (tokenized US equities), Midas (RWA
37
+ * yield tokens), and IXS (managed vaults) into a single list with live USD
38
+ * pricing, plus APY and TVL for yield assets. Filter by provider, asset class,
39
+ * or chain, and narrow the results with a sector `category` or free-text
40
+ * `search`.
46
41
  */
47
42
  export function tokenizedAssetsTokenizedAssetsMarkets(
48
43
  client: CompassApiSDKCore,
@@ -28,27 +28,17 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * Get a single market
31
+ * Get a market
32
32
  *
33
33
  * @remarks
34
- * Get extended detail for a single tokenized market.
34
+ * Get extended detail for a single market — an Ondo **equity** (e.g. `TSLAon`), a
35
+ * Midas **RWA yield token** (e.g. `mTBILL`), or an IXS **managed vault** (e.g.
36
+ * `ixv1`).
35
37
  *
36
- * Works for both asset families: an Ondo **equity** (e.g. `TSLAon`) or a
37
- * Midas **RWA yield token** (e.g. `mTBILL`). Equities add 52-week range,
38
- * volume, market cap, holder count, and tradable sessions on top of the
39
- * `/markets` fields; RWA-yield entries instead carry `apy_7d`/`apy_30d` and
40
- * `tvl_usd`.
41
- *
42
- * **OHLC candles are an equities-only feature** — opt in by passing both
43
- * `interval` and `range` query params to include a `candles` array. They
44
- * must be provided together and must form one of the supported pairs:
45
- *
46
- * - `1min` / `5min` / `15min` with `range=1day`
47
- * - `1hour` / `4hour` with `range=1month`
48
- * - `12hour` with `range=3month`
49
- * - `1day` with `range=3month` / `6month` / `1year` / `all`
50
- *
51
- * Omitting both returns the market detail without `candles`.
38
+ * Adds richer market data on top of the `/markets` listing, plus an optional
39
+ * OHLC candle series: pass matching `interval` and `range` query params to
40
+ * include `candles` (available for equities, Midas tokens except `mBTC`, and IXS
41
+ * vaults; omit both for detail without candles).
52
42
  */
53
43
  export function tokenizedAssetsTokenizedAssetsMarketsSymbol(
54
44
  client: CompassApiSDKCore,
@@ -27,33 +27,18 @@ import { APICall, APIPromise } from "../types/async.js";
27
27
  import { Result } from "../types/fp.js";
28
28
 
29
29
  /**
30
- * Build a tokenized-equity buy/sell order (Ondo)
30
+ * Build an order
31
31
  *
32
32
  * @remarks
33
- * Build a tokenized-**equity** (Ondo) buy/sell order; maker is the product account.
33
+ * Build a tokenized-**equity** (Ondo) buy/sell order; the product account is the
34
+ * maker.
34
35
  *
35
- * **Equities only.** RWA yield tokens (Midas `mTBILL`, `mBASIS`, `mBTC`) are
36
- * rejected with 422 `Wrong trade flow`; trade them via `/transact/buy` &
37
- * `/transact/sell`. Equity orders are always USDC-paired (USDC→equity to buy,
38
- * equity→USDC to sell) and settle on-chain.
39
- *
40
- * Returns up to three pieces in a single round-trip:
41
- *
42
- * - **`quote`** — preview of the input/output amounts and fees.
43
- * - **`approval_safe_tx_eip712`** — only present when the account's
44
- * allowance to the settlement contract is below `amount`. The owner
45
- * signs this EIP-712 payload, then it is broadcast via
46
- * `POST /v2/gas_sponsorship/prepare` (or the owner can broadcast
47
- * directly) to set the on-chain allowance. Wait for that transaction
48
- * to confirm before signing the order.
49
- * - **`order`** — the order metadata (`order_hash`, `extension`,
50
- * `quote_id`, `order_message`) plus `safe_message_eip712`, an EIP-712
51
- * payload the owner signs off-chain to authorize the order. The
52
- * signature is submitted to `/order/submit` and is **never** broadcast
53
- * on-chain.
54
- *
55
- * The owner never broadcasts the order itself — only the (one-time)
56
- * approval transaction ever hits the chain.
36
+ * Returns everything needed to place the order in one round-trip: a price quote,
37
+ * a one-time token approval to sign (only until the settlement contract is
38
+ * approved), and the order payload the owner signs off-chain. Only the approval
39
+ * ever touches the chain — the signed order is relayed to market makers, never
40
+ * broadcast. Equities only; RWA yield tokens use `/transact/buy` and
41
+ * `/transact/sell`.
57
42
  */
58
43
  export function tokenizedAssetsTokenizedAssetsOrder(
59
44
  client: CompassApiSDKCore,
@@ -28,22 +28,14 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * Get tokenized-equity order status (Ondo)
31
+ * Get order status
32
32
  *
33
33
  * @remarks
34
- * Get the lifecycle state of a submitted tokenized-**equity** order (Ondo).
34
+ * Poll the lifecycle state of a submitted equity order (Ondo).
35
35
  *
36
- * Equity-order flow only: RWA-yield trades (`/transact/buy`, `/transact/sell`)
37
- * are plain swaps that settle in a single transaction and have no order
38
- * lifecycle to poll.
39
- *
40
- * The `status` field is one of `pending`, `filled`, `expired`, or
41
- * `cancelled`. Partial fills stay in `pending` while `filled_amount` is
42
- * populated as fills come in; once an order fully fills, `fill_tx_hash`
43
- * is also returned.
44
- *
45
- * Upstream protocol states beyond these four (e.g. `partially-filled`,
46
- * `refunded`) are mapped onto this set.
36
+ * Reports `pending`, `filled`, `expired`, or `cancelled`, with fill details as
37
+ * they arrive. Equity orders only — RWA yield swaps settle in one transaction and
38
+ * have no lifecycle to poll.
47
39
  */
48
40
  export function tokenizedAssetsTokenizedAssetsOrderOrderHash(
49
41
  client: CompassApiSDKCore,
@@ -28,20 +28,14 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * Cancel an unfilled tokenized-equity order (Ondo)
31
+ * Cancel an order
32
32
  *
33
33
  * @remarks
34
- * Build the EIP-712 payload to cancel an unfilled order on-chain.
34
+ * Cancel an unfilled equity order on-chain.
35
35
  *
36
- * Returns ``cancel_safe_tx_eip712``, an EIP-712 payload that authorizes
37
- * the on-chain cancellation. Sign with the Tokenized Assets Account's
38
- * owner via ``wallet.signTypedData(...)`` and relay via
39
- * ``POST /v2/gas_sponsorship/prepare`` so the sponsor broadcasts the
40
- * cancellation on the product account. The owner can also broadcast
41
- * the resulting transaction directly without using gas sponsorship.
42
- *
43
- * Cancellation works on `pending` and `expired` orders only. Only the
44
- * Tokenized Assets Account that placed the order can cancel it.
36
+ * Returns an EIP-712 payload the owner signs; a sponsor relays it, or the owner
37
+ * broadcasts it directly. Works only on `pending` or `expired` orders, and only
38
+ * the account that placed the order can cancel it.
45
39
  */
46
40
  export function tokenizedAssetsTokenizedAssetsOrderOrderHashCancel(
47
41
  client: CompassApiSDKCore,
@@ -28,17 +28,15 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * Charge a partner fee on a filled sell order's USDC proceeds
31
+ * Charge a partner fee
32
32
  *
33
33
  * @remarks
34
- * Build a USDC fee transfer on a filled equity sell order's proceeds.
34
+ * Charge a partner fee on a filled equity sell order's USDC proceeds.
35
35
  *
36
- * Equity orders fill off-chain via a third-party venue, so the fee can't be
37
- * bundled into the trade. Once the sell order has filled, call this with the
38
- * order hash and your `fee` (recipient + percentage/fixed); it reads the actual
39
- * filled USDC proceeds and returns a `transfer(recipient, fee)` executed by the
40
- * product account — an unsigned transaction the owner signs, or an EIP-712
41
- * payload when `gas_sponsorship` is true.
36
+ * Equity orders settle off-chain, so fees can't be bundled into the trade call
37
+ * this after a sell fills and it builds a USDC transfer of your `fee` from the
38
+ * actual proceeds, executed by the product account (owner signs, or EIP-712 with
39
+ * `gas_sponsorship`).
42
40
  */
43
41
  export function tokenizedAssetsTokenizedAssetsOrderOrderHashChargeFee(
44
42
  client: CompassApiSDKCore,