@compass-labs/api-sdk 2.2.46-rc.0 → 2.2.46-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 (149) hide show
  1. package/README.md +8 -8
  2. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.d.ts +12 -8
  3. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.d.ts.map +1 -1
  4. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.js +12 -8
  5. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.js.map +1 -1
  6. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarkets.d.ts +9 -4
  7. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarkets.d.ts.map +1 -1
  8. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarkets.js +9 -4
  9. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarkets.js.map +1 -1
  10. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.d.ts +13 -5
  11. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.d.ts.map +1 -1
  12. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.js +13 -5
  13. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.js.map +1 -1
  14. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrder.d.ts +16 -15
  15. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrder.d.ts.map +1 -1
  16. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrder.js +16 -15
  17. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrder.js.map +1 -1
  18. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.d.ts +8 -4
  19. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.d.ts.map +1 -1
  20. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.js +8 -4
  21. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.js.map +1 -1
  22. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.d.ts +9 -11
  23. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.d.ts.map +1 -1
  24. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.js +9 -11
  25. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.js.map +1 -1
  26. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.d.ts +10 -11
  27. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.d.ts.map +1 -1
  28. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.js +10 -11
  29. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.js.map +1 -1
  30. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsPositions.d.ts +10 -5
  31. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsPositions.d.ts.map +1 -1
  32. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsPositions.js +10 -5
  33. package/dist/commonjs/funcs/tokenizedAssetsTokenizedAssetsPositions.js.map +1 -1
  34. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +4 -4
  35. package/dist/commonjs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js +1 -1
  36. package/dist/commonjs/models/components/marketdetail.d.ts +5 -5
  37. package/dist/commonjs/models/components/marketdetail.js +1 -1
  38. package/dist/commonjs/models/components/ohlccandle.d.ts +1 -1
  39. package/dist/commonjs/models/components/orderstatus.d.ts +8 -8
  40. package/dist/commonjs/models/components/orderstatus.js +1 -1
  41. package/dist/commonjs/models/components/ordertosign.d.ts +9 -10
  42. package/dist/commonjs/models/components/ordertosign.d.ts.map +1 -1
  43. package/dist/commonjs/models/components/ordertosign.js.map +1 -1
  44. package/dist/commonjs/models/components/quote.d.ts +2 -2
  45. package/dist/commonjs/models/components/quotefee.d.ts +2 -2
  46. package/dist/commonjs/models/components/tokenizedassetsbuildorderrequest.d.ts +3 -3
  47. package/dist/commonjs/models/components/tokenizedassetsbuildorderresponse.d.ts +7 -8
  48. package/dist/commonjs/models/components/tokenizedassetsbuildorderresponse.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/tokenizedassetsbuildorderresponse.js.map +1 -1
  50. package/dist/commonjs/models/components/tokenizedassetscancelorderrequest.d.ts +1 -1
  51. package/dist/commonjs/models/components/tokenizedassetssubmitorderrequest.d.ts +8 -10
  52. package/dist/commonjs/models/components/tokenizedassetssubmitorderrequest.d.ts.map +1 -1
  53. package/dist/commonjs/models/components/tokenizedassetssubmitorderrequest.js.map +1 -1
  54. package/dist/commonjs/sdk/tokenizedassets.d.ts +94 -70
  55. package/dist/commonjs/sdk/tokenizedassets.d.ts.map +1 -1
  56. package/dist/commonjs/sdk/tokenizedassets.js +94 -70
  57. package/dist/commonjs/sdk/tokenizedassets.js.map +1 -1
  58. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.d.ts +12 -8
  59. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.d.ts.map +1 -1
  60. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.js +12 -8
  61. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.js.map +1 -1
  62. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarkets.d.ts +9 -4
  63. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarkets.d.ts.map +1 -1
  64. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarkets.js +9 -4
  65. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarkets.js.map +1 -1
  66. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.d.ts +13 -5
  67. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.d.ts.map +1 -1
  68. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.js +13 -5
  69. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.js.map +1 -1
  70. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrder.d.ts +16 -15
  71. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrder.d.ts.map +1 -1
  72. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrder.js +16 -15
  73. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrder.js.map +1 -1
  74. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.d.ts +8 -4
  75. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.d.ts.map +1 -1
  76. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.js +8 -4
  77. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.js.map +1 -1
  78. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.d.ts +9 -11
  79. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.d.ts.map +1 -1
  80. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.js +9 -11
  81. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.js.map +1 -1
  82. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.d.ts +10 -11
  83. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.d.ts.map +1 -1
  84. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.js +10 -11
  85. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.js.map +1 -1
  86. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsPositions.d.ts +10 -5
  87. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsPositions.d.ts.map +1 -1
  88. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsPositions.js +10 -5
  89. package/dist/esm/funcs/tokenizedAssetsTokenizedAssetsPositions.js.map +1 -1
  90. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.d.ts +4 -4
  91. package/dist/esm/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.js +1 -1
  92. package/dist/esm/models/components/marketdetail.d.ts +5 -5
  93. package/dist/esm/models/components/marketdetail.js +1 -1
  94. package/dist/esm/models/components/ohlccandle.d.ts +1 -1
  95. package/dist/esm/models/components/orderstatus.d.ts +8 -8
  96. package/dist/esm/models/components/orderstatus.js +1 -1
  97. package/dist/esm/models/components/ordertosign.d.ts +9 -10
  98. package/dist/esm/models/components/ordertosign.d.ts.map +1 -1
  99. package/dist/esm/models/components/ordertosign.js.map +1 -1
  100. package/dist/esm/models/components/quote.d.ts +2 -2
  101. package/dist/esm/models/components/quotefee.d.ts +2 -2
  102. package/dist/esm/models/components/tokenizedassetsbuildorderrequest.d.ts +3 -3
  103. package/dist/esm/models/components/tokenizedassetsbuildorderresponse.d.ts +7 -8
  104. package/dist/esm/models/components/tokenizedassetsbuildorderresponse.d.ts.map +1 -1
  105. package/dist/esm/models/components/tokenizedassetsbuildorderresponse.js.map +1 -1
  106. package/dist/esm/models/components/tokenizedassetscancelorderrequest.d.ts +1 -1
  107. package/dist/esm/models/components/tokenizedassetssubmitorderrequest.d.ts +8 -10
  108. package/dist/esm/models/components/tokenizedassetssubmitorderrequest.d.ts.map +1 -1
  109. package/dist/esm/models/components/tokenizedassetssubmitorderrequest.js.map +1 -1
  110. package/dist/esm/sdk/tokenizedassets.d.ts +94 -70
  111. package/dist/esm/sdk/tokenizedassets.d.ts.map +1 -1
  112. package/dist/esm/sdk/tokenizedassets.js +94 -70
  113. package/dist/esm/sdk/tokenizedassets.js.map +1 -1
  114. package/docs/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.md +2 -2
  115. package/docs/models/components/compassapibackendv2modelstokenizedassetsmarketmarketchain.md +1 -1
  116. package/docs/models/components/marketdetail.md +3 -3
  117. package/docs/models/components/marketdetailchain.md +1 -1
  118. package/docs/models/components/ohlccandle.md +1 -1
  119. package/docs/models/components/orderstatus.md +9 -9
  120. package/docs/models/components/ordertosign.md +12 -13
  121. package/docs/models/components/quote.md +6 -6
  122. package/docs/models/components/quotefee.md +2 -2
  123. package/docs/models/components/status.md +1 -1
  124. package/docs/models/components/tokenizedassetsbuildorderrequest.md +8 -8
  125. package/docs/models/components/tokenizedassetsbuildorderresponse.md +6 -6
  126. package/docs/models/components/tokenizedassetscancelorderrequest.md +3 -3
  127. package/docs/models/components/tokenizedassetssubmitorderrequest.md +11 -13
  128. package/docs/sdks/tokenizedassets/README.md +87 -63
  129. package/package.json +1 -1
  130. package/src/funcs/tokenizedAssetsTokenizedAssetsCreateAccount.ts +12 -8
  131. package/src/funcs/tokenizedAssetsTokenizedAssetsMarkets.ts +9 -4
  132. package/src/funcs/tokenizedAssetsTokenizedAssetsMarketsSymbol.ts +13 -5
  133. package/src/funcs/tokenizedAssetsTokenizedAssetsOrder.ts +16 -15
  134. package/src/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHash.ts +8 -4
  135. package/src/funcs/tokenizedAssetsTokenizedAssetsOrderOrderHashCancel.ts +9 -11
  136. package/src/funcs/tokenizedAssetsTokenizedAssetsOrderSubmit.ts +10 -11
  137. package/src/funcs/tokenizedAssetsTokenizedAssetsPositions.ts +10 -5
  138. package/src/models/components/compassapibackendv2modelstokenizedassetsmarketmarket.ts +4 -4
  139. package/src/models/components/marketdetail.ts +5 -5
  140. package/src/models/components/ohlccandle.ts +1 -1
  141. package/src/models/components/orderstatus.ts +8 -8
  142. package/src/models/components/ordertosign.ts +9 -10
  143. package/src/models/components/quote.ts +2 -2
  144. package/src/models/components/quotefee.ts +2 -2
  145. package/src/models/components/tokenizedassetsbuildorderrequest.ts +3 -3
  146. package/src/models/components/tokenizedassetsbuildorderresponse.ts +7 -8
  147. package/src/models/components/tokenizedassetscancelorderrequest.ts +1 -1
  148. package/src/models/components/tokenizedassetssubmitorderrequest.ts +8 -10
  149. package/src/sdk/tokenizedassets.ts +94 -70
@@ -3,128 +3,152 @@ import * as components from "../models/components/index.js";
3
3
  import * as operations from "../models/operations/index.js";
4
4
  export declare class TokenizedAssets extends ClientSDK {
5
5
  /**
6
- * List equity markets
6
+ * List tokenized equity markets
7
7
  *
8
8
  * @remarks
9
- * List tokenized equities surfaced on Ethereum.
9
+ * List the tokenized US equities available on Ethereum.
10
10
  *
11
- * Composed from Ondo's metadata + enhanced-prices feeds. Non-Ethereum-only
12
- * assets (BSC/Solana deployments without an Ethereum twin) are skipped.
11
+ * Each entry includes the symbol, the underlying ticker, the on-chain
12
+ * contract address, the latest USD price, and 24h price change. Filter
13
+ * by `category` (sector tag) or `search` (substring match against symbol,
14
+ * ticker, or name).
15
+ *
16
+ * Only Ethereum-deployed tokens are returned; assets that exist only on
17
+ * other chains are omitted.
13
18
  */
14
19
  tokenizedAssetsMarkets(request: operations.V2TokenizedAssetsMarketsRequest, options?: RequestOptions): Promise<components.TokenizedAssetsMarketsListResponse>;
15
20
  /**
16
21
  * Get a single market
17
22
  *
18
23
  * @remarks
19
- * Single-market detail for the on-chain Ondo symbol (e.g. `TSLAon`).
24
+ * Get extended detail for a single tokenized equity (e.g. `TSLAon`).
25
+ *
26
+ * Includes 52-week range, volume, market cap, holder count, and tradable
27
+ * sessions in addition to the fields returned by `/markets`.
28
+ *
29
+ * **OHLC candles** are opt-in: pass both `interval` and `range` query
30
+ * params to include a `candles` array in the response. They must be
31
+ * provided together and must form one of the supported pairs:
20
32
  *
21
- * OHLC candles are opt-in via `interval` + `range`:
33
+ * - `1min` / `5min` / `15min` with `range=1day`
34
+ * - `1hour` / `4hour` with `range=1month`
35
+ * - `12hour` with `range=3month`
36
+ * - `1day` with `range=3month` / `6month` / `1year` / `all`
22
37
  *
23
- * - Both omitted: 200 with `candles` absent.
24
- * - Both supplied and forming a valid Ondo pair: 200 with `candles` populated.
25
- * - Exactly one supplied, or both supplied with an invalid pair: 400.
38
+ * Omitting both returns the market detail without `candles`.
26
39
  */
27
40
  tokenizedAssetsMarketsSymbol(request: operations.V2TokenizedAssetsMarketsSymbolRequest, options?: RequestOptions): Promise<components.MarketDetail>;
28
41
  /**
29
- * Get on-chain positions for a wallet
42
+ * Get tokenized-asset positions for a wallet
30
43
  *
31
44
  * @remarks
32
- * On-chain ERC-20 balance reads for a wallet across all listed Ondo GM tokens.
45
+ * Get the tokenized-asset holdings for a wallet.
33
46
  *
34
- * Reads each Ethereum-deployed Ondo GM token's `balanceOf(wallet)` via a
35
- * single Multicall3 batch and enriches non-zero balances with the latest USD
36
- * price. Returns human-readable amounts (decimals applied).
47
+ * Returns the balance of every listed tokenized equity at the queried
48
+ * address, plus the latest USD price and a USD-valued balance when
49
+ * pricing is available. Zero balances are omitted, and a `total_usd`
50
+ * aggregate is returned across all priced positions.
51
+ *
52
+ * Pass the **Tokenized Assets Account address** (returned by
53
+ * `/create_account`), not the owner's wallet — proceeds from filled
54
+ * orders settle into the Tokenized Assets Account.
37
55
  */
38
56
  tokenizedAssetsPositions(request: operations.V2TokenizedAssetsPositionsRequest, options?: RequestOptions): Promise<components.TokenizedAssetsPositionsResponse>;
39
57
  /**
40
58
  * Get order status
41
59
  *
42
60
  * @remarks
43
- * Status of a relayed Fusion order — `pending` / `filled` / `expired` / `cancelled`.
61
+ * Get the lifecycle state of a submitted order.
62
+ *
63
+ * The `status` field is one of `pending`, `filled`, `expired`, or
64
+ * `cancelled`. Partial fills stay in `pending` while `filled_amount` is
65
+ * populated as fills come in; once an order fully fills, `fill_tx_hash`
66
+ * is also returned.
44
67
  *
45
- * Fusion's finer-grained states (`refunded`, `false-predicate`, etc.) are
46
- * collapsed into the 4-value enum the SDK promises. Unknown upstream states
47
- * surface as 502 to alert on schema drift.
68
+ * Upstream protocol states beyond these four (e.g. `partially-filled`,
69
+ * `refunded`) are mapped onto this set.
48
70
  */
49
71
  tokenizedAssetsOrderOrderHash(request: operations.V2TokenizedAssetsOrderOrderHashRequest, options?: RequestOptions): Promise<components.OrderStatus>;
50
72
  /**
51
- * Create account
73
+ * Create a Tokenized Assets Account
52
74
  *
53
75
  * @remarks
54
76
  * Create a Tokenized Assets Account for a wallet address.
55
77
  *
56
- * Each wallet address has one Tokenized Assets Account per chain. It is owned by
57
- * `owner` and isolated from the owner's Earn, Credit, and Traditional Investing
58
- * accounts.
78
+ * Before placing orders, the owner must create a Tokenized Assets Account.
79
+ * Each wallet address has one Tokenized Assets Account, isolated from the
80
+ * owner's Earn, Credit, and other product accounts.
59
81
  *
60
- * Returns an unsigned transaction to create the account. The `sender` signs and
61
- * broadcasts this transaction.
82
+ * The account address is deterministic. If it already exists, the
83
+ * response returns `transaction: null` and you can skip straight to
84
+ * building orders.
85
+ *
86
+ * Returns an unsigned transaction to create the account. The `sender`
87
+ * signs and broadcasts this transaction.
62
88
  *
63
89
  * **If owner pays gas:** Set `sender` to the owner's address.
64
90
  *
65
- * **If someone else pays gas:** Set `sender` to the wallet that will sign and
66
- * broadcast the transaction on behalf of the owner.
91
+ * **If someone else pays gas:** Set `sender` to the wallet that will
92
+ * sign and broadcast the transaction on behalf of the owner.
67
93
  */
68
94
  tokenizedAssetsCreateAccount(request: components.CreateTokenizedAssetsAccountRequest, options?: RequestOptions): Promise<components.CreateTokenizedAssetsAccountResponse>;
69
95
  /**
70
96
  * Build a buy/sell order
71
97
  *
72
98
  * @remarks
73
- * Build a quote, optional approve SafeTx, and SafeMessage EIP-712 to sign.
74
- *
75
- * Returns everything the SDK needs to take an `owner` from "I want to buy"
76
- * to a relayed Fusion order whose maker is the Tokenized Assets Account.
77
- * The flow is **signing-based, not transaction-based**:
78
- *
79
- * 1. If `approval_safe_tx_eip712` is populated (Safe→LOP allowance is
80
- * insufficient), sign it with `wallet.signTypedData(...)` and relay via
81
- * `POST /v2/gas_sponsorship/prepare` so the sponsor broadcasts the resulting
82
- * `Safe.execTransaction(USDC.approve(LOP_v4, ...))`. Wait for that tx
83
- * to confirm before signing the order.
84
- * 2. Sign `order.safe_message_eip712` with the same owner wallet — this is
85
- * a Safe ERC-1271 wrapper around the Fusion order hash. POST the
86
- * resulting 65-byte ECDSA together with the rest of the `order` fields
87
- * to `/order/submit`.
88
- *
89
- * The owner never broadcasts an on-chain transaction in this flow; all
90
- * on-chain action goes through the product account via the sponsor relay.
99
+ * Build a buy or sell order whose maker is the Tokenized Assets Account.
100
+ *
101
+ * Returns up to three pieces in a single round-trip:
102
+ *
103
+ * - **`quote`** preview of the input/output amounts and fees.
104
+ * - **`approval_safe_tx_eip712`** — only present when the account's
105
+ * allowance to the settlement contract is below `amount`. The owner
106
+ * signs this EIP-712 payload, then it is broadcast via
107
+ * `POST /v2/gas_sponsorship/prepare` (or the owner can broadcast
108
+ * directly) to set the on-chain allowance. Wait for that transaction
109
+ * to confirm before signing the order.
110
+ * - **`order`** the order metadata (`order_hash`, `extension`,
111
+ * `quote_id`, `order_message`) plus `safe_message_eip712`, an EIP-712
112
+ * payload the owner signs off-chain to authorize the order. The
113
+ * signature is submitted to `/order/submit` and is **never** broadcast
114
+ * on-chain.
115
+ *
116
+ * The owner never broadcasts the order itself only the (one-time)
117
+ * approval transaction ever hits the chain.
91
118
  */
92
119
  tokenizedAssetsOrder(request: components.TokenizedAssetsBuildOrderRequest, options?: RequestOptions): Promise<components.TokenizedAssetsBuildOrderResponse>;
93
120
  /**
94
- * Submit a signed order to 1inch Fusion
121
+ * Submit a signed order
95
122
  *
96
123
  * @remarks
97
- * Relay an owner-signed Fusion order to the 1inch relayer.
98
- *
99
- * The body carries the signature produced by
100
- * `wallet.signTypedData(order.safe_message_eip712)` from the `/order`
101
- * response, plus the order struct (`signed_order`), opaque `extension`,
102
- * and `quote_id`. The signature is validated via ERC-1271
103
- * (`Safe.isValidSignature`) at fill time — the maker on the order struct
104
- * is the Tokenized Assets Account, not the EOA owner.
105
- *
106
- * Returns the order hash and a server-side timestamp. Subsequent calls to
107
- * `GET /order/{order_hash}` track lifecycle (`pending` → `filled` /
108
- * `expired` / `cancelled`).
124
+ * Submit a signed order to the resolver network.
125
+ *
126
+ * The body echoes the `order` fields from `/order` (`signed_order`,
127
+ * `extension`, `quote_id`, optionally `order_hash`) plus the owner's
128
+ * signature over `order.safe_message_eip712`. The maker on the order
129
+ * struct is the Tokenized Assets Account, not the owner's wallet —
130
+ * pass `signed_order` back unchanged.
131
+ *
132
+ * Returns the order hash and a server-side ISO 8601 timestamp.
133
+ * Subsequent calls to `GET /order/{order_hash}` track the lifecycle
134
+ * (`pending` → `filled` / `expired` / `cancelled`).
109
135
  */
110
136
  tokenizedAssetsOrderSubmit(request: components.TokenizedAssetsSubmitOrderRequest, options?: RequestOptions): Promise<components.TokenizedAssetsSubmitOrderResponse>;
111
137
  /**
112
138
  * Cancel an unfilled order
113
139
  *
114
140
  * @remarks
115
- * Build a SafeTx EIP-712 wrapping the on-chain cancel for a Fusion order.
116
- *
117
- * Returns ``cancel_safe_tx_eip712``: an EIP-712 ``Safe.execTransaction``
118
- * payload whose inner call is ``LOP.cancelOrder(makerTraits, orderHash)``.
119
- * Sign with the Tokenized Assets Account's owner via
120
- * ``wallet.signTypedData(...)`` and relay via ``POST /v2/gas_sponsorship/prepare``
121
- * so the sponsor broadcasts ``execTransaction`` on the product account
122
- * (the order's maker). The owner can also broadcast ``execTransaction``
123
- * directly if not using gas sponsorship.
124
- *
125
- * Authorization is on the *predicted* Safe address: the Tokenized Assets
126
- * Account computed from ``owner`` must match the order's on-chain maker.
127
- * Mismatches return 403 ``OWNER_NOT_MAKER`` before any on-chain reads.
141
+ * Build the EIP-712 payload to cancel an unfilled order on-chain.
142
+ *
143
+ * Returns ``cancel_safe_tx_eip712``, an EIP-712 payload that authorizes
144
+ * the on-chain cancellation. Sign with the Tokenized Assets Account's
145
+ * owner via ``wallet.signTypedData(...)`` and relay via
146
+ * ``POST /v2/gas_sponsorship/prepare`` so the sponsor broadcasts the
147
+ * cancellation on the product account. The owner can also broadcast
148
+ * the resulting transaction directly without using gas sponsorship.
149
+ *
150
+ * Cancellation works on `pending` and `expired` orders only. Only the
151
+ * Tokenized Assets Account that placed the order can cancel it.
128
152
  */
129
153
  tokenizedAssetsOrderOrderHashCancel(request: operations.V2TokenizedAssetsOrderOrderHashCancelRequest, options?: RequestOptions): Promise<components.TokenizedAssetsCancelOrderResponse>;
130
154
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tokenizedassets.d.ts","sourceRoot":"","sources":["../../../src/sdk/tokenizedassets.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,eAAgB,SAAQ,SAAS;IAC5C;;;;;;;;OAQG;IACG,sBAAsB,CAC1B,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;IAQzD;;;;;;;;;;;OAWG;IACG,4BAA4B,CAChC,OAAO,EAAE,UAAU,CAAC,qCAAqC,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC;IAQnC;;;;;;;;;OASG;IACG,wBAAwB,CAC5B,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAQvD;;;;;;;;;OASG;IACG,6BAA6B,CACjC,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC;IAQlC;;;;;;;;;;;;;;;;;OAiBG;IACG,4BAA4B,CAChC,OAAO,EAAE,UAAU,CAAC,mCAAmC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oCAAoC,CAAC;IAQ3D;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACG,oBAAoB,CACxB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAQxD;;;;;;;;;;;;;;;;OAgBG;IACG,0BAA0B,CAC9B,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;IAQzD;;;;;;;;;;;;;;;;;OAiBG;IACG,mCAAmC,CACvC,OAAO,EAAE,UAAU,CAAC,4CAA4C,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;CAO1D"}
1
+ {"version":3,"file":"tokenizedassets.d.ts","sourceRoot":"","sources":["../../../src/sdk/tokenizedassets.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,eAAgB,SAAQ,SAAS;IAC5C;;;;;;;;;;;;;OAaG;IACG,sBAAsB,CAC1B,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;IAQzD;;;;;;;;;;;;;;;;;;;OAmBG;IACG,4BAA4B,CAChC,OAAO,EAAE,UAAU,CAAC,qCAAqC,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC;IAQnC;;;;;;;;;;;;;;OAcG;IACG,wBAAwB,CAC5B,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC;IAQvD;;;;;;;;;;;;;OAaG;IACG,6BAA6B,CACjC,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC;IAQlC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACG,4BAA4B,CAChC,OAAO,EAAE,UAAU,CAAC,mCAAmC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,oCAAoC,CAAC;IAQ3D;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACG,oBAAoB,CACxB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC;IAQxD;;;;;;;;;;;;;;;OAeG;IACG,0BAA0B,CAC9B,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;IAQzD;;;;;;;;;;;;;;;OAeG;IACG,mCAAmC,CACvC,OAAO,EAAE,UAAU,CAAC,4CAA4C,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC;CAO1D"}
@@ -13,13 +13,18 @@ import { ClientSDK } from "../lib/sdks.js";
13
13
  import { unwrapAsync } from "../types/fp.js";
14
14
  export class TokenizedAssets extends ClientSDK {
15
15
  /**
16
- * List equity markets
16
+ * List tokenized equity markets
17
17
  *
18
18
  * @remarks
19
- * List tokenized equities surfaced on Ethereum.
19
+ * List the tokenized US equities available on Ethereum.
20
20
  *
21
- * Composed from Ondo's metadata + enhanced-prices feeds. Non-Ethereum-only
22
- * assets (BSC/Solana deployments without an Ethereum twin) are skipped.
21
+ * Each entry includes the symbol, the underlying ticker, the on-chain
22
+ * contract address, the latest USD price, and 24h price change. Filter
23
+ * by `category` (sector tag) or `search` (substring match against symbol,
24
+ * ticker, or name).
25
+ *
26
+ * Only Ethereum-deployed tokens are returned; assets that exist only on
27
+ * other chains are omitted.
23
28
  */
24
29
  async tokenizedAssetsMarkets(request, options) {
25
30
  return unwrapAsync(tokenizedAssetsTokenizedAssetsMarkets(this, request, options));
@@ -28,26 +33,39 @@ export class TokenizedAssets extends ClientSDK {
28
33
  * Get a single market
29
34
  *
30
35
  * @remarks
31
- * Single-market detail for the on-chain Ondo symbol (e.g. `TSLAon`).
36
+ * Get extended detail for a single tokenized equity (e.g. `TSLAon`).
37
+ *
38
+ * Includes 52-week range, volume, market cap, holder count, and tradable
39
+ * sessions in addition to the fields returned by `/markets`.
40
+ *
41
+ * **OHLC candles** are opt-in: pass both `interval` and `range` query
42
+ * params to include a `candles` array in the response. They must be
43
+ * provided together and must form one of the supported pairs:
32
44
  *
33
- * OHLC candles are opt-in via `interval` + `range`:
45
+ * - `1min` / `5min` / `15min` with `range=1day`
46
+ * - `1hour` / `4hour` with `range=1month`
47
+ * - `12hour` with `range=3month`
48
+ * - `1day` with `range=3month` / `6month` / `1year` / `all`
34
49
  *
35
- * - Both omitted: 200 with `candles` absent.
36
- * - Both supplied and forming a valid Ondo pair: 200 with `candles` populated.
37
- * - Exactly one supplied, or both supplied with an invalid pair: 400.
50
+ * Omitting both returns the market detail without `candles`.
38
51
  */
39
52
  async tokenizedAssetsMarketsSymbol(request, options) {
40
53
  return unwrapAsync(tokenizedAssetsTokenizedAssetsMarketsSymbol(this, request, options));
41
54
  }
42
55
  /**
43
- * Get on-chain positions for a wallet
56
+ * Get tokenized-asset positions for a wallet
44
57
  *
45
58
  * @remarks
46
- * On-chain ERC-20 balance reads for a wallet across all listed Ondo GM tokens.
59
+ * Get the tokenized-asset holdings for a wallet.
47
60
  *
48
- * Reads each Ethereum-deployed Ondo GM token's `balanceOf(wallet)` via a
49
- * single Multicall3 batch and enriches non-zero balances with the latest USD
50
- * price. Returns human-readable amounts (decimals applied).
61
+ * Returns the balance of every listed tokenized equity at the queried
62
+ * address, plus the latest USD price and a USD-valued balance when
63
+ * pricing is available. Zero balances are omitted, and a `total_usd`
64
+ * aggregate is returned across all priced positions.
65
+ *
66
+ * Pass the **Tokenized Assets Account address** (returned by
67
+ * `/create_account`), not the owner's wallet — proceeds from filled
68
+ * orders settle into the Tokenized Assets Account.
51
69
  */
52
70
  async tokenizedAssetsPositions(request, options) {
53
71
  return unwrapAsync(tokenizedAssetsTokenizedAssetsPositions(this, request, options));
@@ -56,32 +74,40 @@ export class TokenizedAssets extends ClientSDK {
56
74
  * Get order status
57
75
  *
58
76
  * @remarks
59
- * Status of a relayed Fusion order — `pending` / `filled` / `expired` / `cancelled`.
77
+ * Get the lifecycle state of a submitted order.
78
+ *
79
+ * The `status` field is one of `pending`, `filled`, `expired`, or
80
+ * `cancelled`. Partial fills stay in `pending` while `filled_amount` is
81
+ * populated as fills come in; once an order fully fills, `fill_tx_hash`
82
+ * is also returned.
60
83
  *
61
- * Fusion's finer-grained states (`refunded`, `false-predicate`, etc.) are
62
- * collapsed into the 4-value enum the SDK promises. Unknown upstream states
63
- * surface as 502 to alert on schema drift.
84
+ * Upstream protocol states beyond these four (e.g. `partially-filled`,
85
+ * `refunded`) are mapped onto this set.
64
86
  */
65
87
  async tokenizedAssetsOrderOrderHash(request, options) {
66
88
  return unwrapAsync(tokenizedAssetsTokenizedAssetsOrderOrderHash(this, request, options));
67
89
  }
68
90
  /**
69
- * Create account
91
+ * Create a Tokenized Assets Account
70
92
  *
71
93
  * @remarks
72
94
  * Create a Tokenized Assets Account for a wallet address.
73
95
  *
74
- * Each wallet address has one Tokenized Assets Account per chain. It is owned by
75
- * `owner` and isolated from the owner's Earn, Credit, and Traditional Investing
76
- * accounts.
96
+ * Before placing orders, the owner must create a Tokenized Assets Account.
97
+ * Each wallet address has one Tokenized Assets Account, isolated from the
98
+ * owner's Earn, Credit, and other product accounts.
77
99
  *
78
- * Returns an unsigned transaction to create the account. The `sender` signs and
79
- * broadcasts this transaction.
100
+ * The account address is deterministic. If it already exists, the
101
+ * response returns `transaction: null` and you can skip straight to
102
+ * building orders.
103
+ *
104
+ * Returns an unsigned transaction to create the account. The `sender`
105
+ * signs and broadcasts this transaction.
80
106
  *
81
107
  * **If owner pays gas:** Set `sender` to the owner's address.
82
108
  *
83
- * **If someone else pays gas:** Set `sender` to the wallet that will sign and
84
- * broadcast the transaction on behalf of the owner.
109
+ * **If someone else pays gas:** Set `sender` to the wallet that will
110
+ * sign and broadcast the transaction on behalf of the owner.
85
111
  */
86
112
  async tokenizedAssetsCreateAccount(request, options) {
87
113
  return unwrapAsync(tokenizedAssetsTokenizedAssetsCreateAccount(this, request, options));
@@ -90,44 +116,44 @@ export class TokenizedAssets extends ClientSDK {
90
116
  * Build a buy/sell order
91
117
  *
92
118
  * @remarks
93
- * Build a quote, optional approve SafeTx, and SafeMessage EIP-712 to sign.
94
- *
95
- * Returns everything the SDK needs to take an `owner` from "I want to buy"
96
- * to a relayed Fusion order whose maker is the Tokenized Assets Account.
97
- * The flow is **signing-based, not transaction-based**:
98
- *
99
- * 1. If `approval_safe_tx_eip712` is populated (Safe→LOP allowance is
100
- * insufficient), sign it with `wallet.signTypedData(...)` and relay via
101
- * `POST /v2/gas_sponsorship/prepare` so the sponsor broadcasts the resulting
102
- * `Safe.execTransaction(USDC.approve(LOP_v4, ...))`. Wait for that tx
103
- * to confirm before signing the order.
104
- * 2. Sign `order.safe_message_eip712` with the same owner wallet — this is
105
- * a Safe ERC-1271 wrapper around the Fusion order hash. POST the
106
- * resulting 65-byte ECDSA together with the rest of the `order` fields
107
- * to `/order/submit`.
108
- *
109
- * The owner never broadcasts an on-chain transaction in this flow; all
110
- * on-chain action goes through the product account via the sponsor relay.
119
+ * Build a buy or sell order whose maker is the Tokenized Assets Account.
120
+ *
121
+ * Returns up to three pieces in a single round-trip:
122
+ *
123
+ * - **`quote`** preview of the input/output amounts and fees.
124
+ * - **`approval_safe_tx_eip712`** — only present when the account's
125
+ * allowance to the settlement contract is below `amount`. The owner
126
+ * signs this EIP-712 payload, then it is broadcast via
127
+ * `POST /v2/gas_sponsorship/prepare` (or the owner can broadcast
128
+ * directly) to set the on-chain allowance. Wait for that transaction
129
+ * to confirm before signing the order.
130
+ * - **`order`** the order metadata (`order_hash`, `extension`,
131
+ * `quote_id`, `order_message`) plus `safe_message_eip712`, an EIP-712
132
+ * payload the owner signs off-chain to authorize the order. The
133
+ * signature is submitted to `/order/submit` and is **never** broadcast
134
+ * on-chain.
135
+ *
136
+ * The owner never broadcasts the order itself only the (one-time)
137
+ * approval transaction ever hits the chain.
111
138
  */
112
139
  async tokenizedAssetsOrder(request, options) {
113
140
  return unwrapAsync(tokenizedAssetsTokenizedAssetsOrder(this, request, options));
114
141
  }
115
142
  /**
116
- * Submit a signed order to 1inch Fusion
143
+ * Submit a signed order
117
144
  *
118
145
  * @remarks
119
- * Relay an owner-signed Fusion order to the 1inch relayer.
120
- *
121
- * The body carries the signature produced by
122
- * `wallet.signTypedData(order.safe_message_eip712)` from the `/order`
123
- * response, plus the order struct (`signed_order`), opaque `extension`,
124
- * and `quote_id`. The signature is validated via ERC-1271
125
- * (`Safe.isValidSignature`) at fill time — the maker on the order struct
126
- * is the Tokenized Assets Account, not the EOA owner.
127
- *
128
- * Returns the order hash and a server-side timestamp. Subsequent calls to
129
- * `GET /order/{order_hash}` track lifecycle (`pending` → `filled` /
130
- * `expired` / `cancelled`).
146
+ * Submit a signed order to the resolver network.
147
+ *
148
+ * The body echoes the `order` fields from `/order` (`signed_order`,
149
+ * `extension`, `quote_id`, optionally `order_hash`) plus the owner's
150
+ * signature over `order.safe_message_eip712`. The maker on the order
151
+ * struct is the Tokenized Assets Account, not the owner's wallet —
152
+ * pass `signed_order` back unchanged.
153
+ *
154
+ * Returns the order hash and a server-side ISO 8601 timestamp.
155
+ * Subsequent calls to `GET /order/{order_hash}` track the lifecycle
156
+ * (`pending` → `filled` / `expired` / `cancelled`).
131
157
  */
132
158
  async tokenizedAssetsOrderSubmit(request, options) {
133
159
  return unwrapAsync(tokenizedAssetsTokenizedAssetsOrderSubmit(this, request, options));
@@ -136,19 +162,17 @@ export class TokenizedAssets extends ClientSDK {
136
162
  * Cancel an unfilled order
137
163
  *
138
164
  * @remarks
139
- * Build a SafeTx EIP-712 wrapping the on-chain cancel for a Fusion order.
140
- *
141
- * Returns ``cancel_safe_tx_eip712``: an EIP-712 ``Safe.execTransaction``
142
- * payload whose inner call is ``LOP.cancelOrder(makerTraits, orderHash)``.
143
- * Sign with the Tokenized Assets Account's owner via
144
- * ``wallet.signTypedData(...)`` and relay via ``POST /v2/gas_sponsorship/prepare``
145
- * so the sponsor broadcasts ``execTransaction`` on the product account
146
- * (the order's maker). The owner can also broadcast ``execTransaction``
147
- * directly if not using gas sponsorship.
148
- *
149
- * Authorization is on the *predicted* Safe address: the Tokenized Assets
150
- * Account computed from ``owner`` must match the order's on-chain maker.
151
- * Mismatches return 403 ``OWNER_NOT_MAKER`` before any on-chain reads.
165
+ * Build the EIP-712 payload to cancel an unfilled order on-chain.
166
+ *
167
+ * Returns ``cancel_safe_tx_eip712``, an EIP-712 payload that authorizes
168
+ * the on-chain cancellation. Sign with the Tokenized Assets Account's
169
+ * owner via ``wallet.signTypedData(...)`` and relay via
170
+ * ``POST /v2/gas_sponsorship/prepare`` so the sponsor broadcasts the
171
+ * cancellation on the product account. The owner can also broadcast
172
+ * the resulting transaction directly without using gas sponsorship.
173
+ *
174
+ * Cancellation works on `pending` and `expired` orders only. Only the
175
+ * Tokenized Assets Account that placed the order can cancel it.
152
176
  */
153
177
  async tokenizedAssetsOrderOrderHashCancel(request, options) {
154
178
  return unwrapAsync(tokenizedAssetsTokenizedAssetsOrderOrderHashCancel(this, request, options));
@@ -1 +1 @@
1
- {"version":3,"file":"tokenizedassets.js","sourceRoot":"","sources":["../../../src/sdk/tokenizedassets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,2CAA2C,EAAE,MAAM,yDAAyD,CAAC;AACtH,OAAO,EAAE,qCAAqC,EAAE,MAAM,mDAAmD,CAAC;AAC1G,OAAO,EAAE,2CAA2C,EAAE,MAAM,yDAAyD,CAAC;AACtH,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,EAAE,4CAA4C,EAAE,MAAM,0DAA0D,CAAC;AACxH,OAAO,EAAE,kDAAkD,EAAE,MAAM,gEAAgE,CAAC;AACpI,OAAO,EAAE,yCAAyC,EAAE,MAAM,uDAAuD,CAAC;AAClH,OAAO,EAAE,uCAAuC,EAAE,MAAM,qDAAqD,CAAC;AAC9G,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,eAAgB,SAAQ,SAAS;IAC5C;;;;;;;;OAQG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAAmD,EACnD,OAAwB;QAExB,OAAO,WAAW,CAAC,qCAAqC,CACtD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,4BAA4B,CAChC,OAAyD,EACzD,OAAwB;QAExB,OAAO,WAAW,CAAC,2CAA2C,CAC5D,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,wBAAwB,CAC5B,OAAqD,EACrD,OAAwB;QAExB,OAAO,WAAW,CAAC,uCAAuC,CACxD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,6BAA6B,CACjC,OAA0D,EAC1D,OAAwB;QAExB,OAAO,WAAW,CAAC,4CAA4C,CAC7D,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,KAAK,CAAC,4BAA4B,CAChC,OAAuD,EACvD,OAAwB;QAExB,OAAO,WAAW,CAAC,2CAA2C,CAC5D,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,KAAK,CAAC,oBAAoB,CACxB,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,mCAAmC,CACpD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,0BAA0B,CAC9B,OAAqD,EACrD,OAAwB;QAExB,OAAO,WAAW,CAAC,yCAAyC,CAC1D,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,KAAK,CAAC,mCAAmC,CACvC,OAAgE,EAChE,OAAwB;QAExB,OAAO,WAAW,CAAC,kDAAkD,CACnE,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"tokenizedassets.js","sourceRoot":"","sources":["../../../src/sdk/tokenizedassets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,2CAA2C,EAAE,MAAM,yDAAyD,CAAC;AACtH,OAAO,EAAE,qCAAqC,EAAE,MAAM,mDAAmD,CAAC;AAC1G,OAAO,EAAE,2CAA2C,EAAE,MAAM,yDAAyD,CAAC;AACtH,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,EAAE,4CAA4C,EAAE,MAAM,0DAA0D,CAAC;AACxH,OAAO,EAAE,kDAAkD,EAAE,MAAM,gEAAgE,CAAC;AACpI,OAAO,EAAE,yCAAyC,EAAE,MAAM,uDAAuD,CAAC;AAClH,OAAO,EAAE,uCAAuC,EAAE,MAAM,qDAAqD,CAAC;AAC9G,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,eAAgB,SAAQ,SAAS;IAC5C;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAAmD,EACnD,OAAwB;QAExB,OAAO,WAAW,CAAC,qCAAqC,CACtD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CAAC,4BAA4B,CAChC,OAAyD,EACzD,OAAwB;QAExB,OAAO,WAAW,CAAC,2CAA2C,CAC5D,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,wBAAwB,CAC5B,OAAqD,EACrD,OAAwB;QAExB,OAAO,WAAW,CAAC,uCAAuC,CACxD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,6BAA6B,CACjC,OAA0D,EAC1D,OAAwB;QAExB,OAAO,WAAW,CAAC,4CAA4C,CAC7D,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,KAAK,CAAC,4BAA4B,CAChC,OAAuD,EACvD,OAAwB;QAExB,OAAO,WAAW,CAAC,2CAA2C,CAC5D,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,KAAK,CAAC,oBAAoB,CACxB,OAAoD,EACpD,OAAwB;QAExB,OAAO,WAAW,CAAC,mCAAmC,CACpD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CAAC,0BAA0B,CAC9B,OAAqD,EACrD,OAAwB;QAExB,OAAO,WAAW,CAAC,yCAAyC,CAC1D,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CAAC,mCAAmC,CACvC,OAAgE,EAChE,OAAwB;QAExB,OAAO,WAAW,CAAC,kDAAkD,CACnE,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -27,9 +27,9 @@ let value: CompassApiBackendV2ModelsTokenizedAssetsMarketMarket = {
27
27
  | `symbol` | *string* | :heavy_check_mark: | On-chain token symbol (e.g. 'TSLAon'). | |
28
28
  | `underlyingTicker` | *string* | :heavy_check_mark: | Underlying equity ticker (e.g. 'TSLA'). | |
29
29
  | `name` | *string* | :heavy_check_mark: | Underlying equity full name (e.g. 'Tesla, Inc. Common Stock'). | |
30
- | `chain` | [components.CompassApiBackendV2ModelsTokenizedAssetsMarketMarketChain](../../models/components/compassapibackendv2modelstokenizedassetsmarketmarketchain.md) | :heavy_minus_sign: | Chain on which the surfaced contract is deployed. | ethereum |
30
+ | `chain` | [components.CompassApiBackendV2ModelsTokenizedAssetsMarketMarketChain](../../models/components/compassapibackendv2modelstokenizedassetsmarketmarketchain.md) | :heavy_minus_sign: | Chain on which the contract is deployed. | ethereum |
31
31
  | `contractAddress` | *string* | :heavy_check_mark: | Ethereum mainnet ERC-20 address for this token. | |
32
- | `decimals` | *number* | :heavy_check_mark: | ERC-20 decimals on the surfaced chain. | |
32
+ | `decimals` | *number* | :heavy_check_mark: | ERC-20 decimals for this token. | |
33
33
  | `currentPriceUsd` | *string* | :heavy_check_mark: | Latest price in USD as a decimal string. | |
34
34
  | `change24hUsd` | *string* | :heavy_minus_sign: | Absolute USD price change vs 24h ago (decimal string). | |
35
35
  | `change24hPct` | *string* | :heavy_minus_sign: | Percent price change vs 24h ago (decimal string). | |
@@ -1,6 +1,6 @@
1
1
  # CompassApiBackendV2ModelsTokenizedAssetsMarketMarketChain
2
2
 
3
- Chain on which the surfaced contract is deployed.
3
+ Chain on which the contract is deployed.
4
4
 
5
5
  ## Example Usage
6
6
 
@@ -29,15 +29,15 @@ let value: MarketDetail = {
29
29
  | `symbol` | *string* | :heavy_check_mark: | On-chain token symbol (e.g. 'TSLAon'). | |
30
30
  | `underlyingTicker` | *string* | :heavy_check_mark: | Underlying equity ticker (e.g. 'TSLA'). | |
31
31
  | `name` | *string* | :heavy_check_mark: | Underlying equity full name (e.g. 'Tesla, Inc. Common Stock'). | |
32
- | `chain` | [components.MarketDetailChain](../../models/components/marketdetailchain.md) | :heavy_minus_sign: | Chain on which the surfaced contract is deployed. | ethereum |
32
+ | `chain` | [components.MarketDetailChain](../../models/components/marketdetailchain.md) | :heavy_minus_sign: | Chain on which the contract is deployed. | ethereum |
33
33
  | `contractAddress` | *string* | :heavy_check_mark: | Ethereum mainnet ERC-20 address for this token. | |
34
- | `decimals` | *number* | :heavy_check_mark: | ERC-20 decimals on the surfaced chain. | |
34
+ | `decimals` | *number* | :heavy_check_mark: | ERC-20 decimals for this token. | |
35
35
  | `currentPriceUsd` | *string* | :heavy_check_mark: | Latest price in USD as a decimal string. | |
36
36
  | `change24hUsd` | *string* | :heavy_minus_sign: | Absolute USD price change vs 24h ago (decimal string). | |
37
37
  | `change24hPct` | *string* | :heavy_minus_sign: | Percent price change vs 24h ago (decimal string). | |
38
38
  | `sectors` | *string*[] | :heavy_minus_sign: | Sector / industry tags from the issuer (e.g. ['Technology']). | [] |
39
39
  | `regionExposure` | *string*[] | :heavy_minus_sign: | Regional market exposure tags (e.g. ['US']). | [] |
40
- | `priceHistory24h` | [components.PricePoint](../../models/components/pricepoint.md)[] | :heavy_minus_sign: | 24h price sparkline (sampled timestamps, descending or ascending). | [] |
40
+ | `priceHistory24h` | [components.PricePoint](../../models/components/pricepoint.md)[] | :heavy_minus_sign: | 24h price sparkline as `(timestamp, price)` samples in chronological order. | [] |
41
41
  | `priceHigh52w` | *string* | :heavy_minus_sign: | 52-week high of the underlying equity (USD). | |
42
42
  | `priceLow52w` | *string* | :heavy_minus_sign: | 52-week low of the underlying equity (USD). | |
43
43
  | `volume24h` | *string* | :heavy_minus_sign: | 24h trading volume of the underlying equity. | |
@@ -1,6 +1,6 @@
1
1
  # MarketDetailChain
2
2
 
3
- Chain on which the surfaced contract is deployed.
3
+ Chain on which the contract is deployed.
4
4
 
5
5
  ## Example Usage
6
6
 
@@ -1,6 +1,6 @@
1
1
  # OhlcCandle
2
2
 
3
- A single OHLC candle. Note: Ondo does not return per-candle volume.
3
+ A single OHLC candle. Per-candle volume is not provided.
4
4
 
5
5
  ## Example Usage
6
6