Skip to content

Commit 54d3582

Browse files
authored
update-jan-2026 1.0.3 (#109)
* update-jan-2026 1.0.3 * misc * remove more deprecated endpoints, less strict model validation * enable transfers between subaccounts * update existing transfer examples + README
1 parent b489f27 commit 54d3582

217 files changed

Lines changed: 4333 additions & 5906 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 24 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,17 @@ docs/Announcement.md
1515
docs/AnnouncementApi.md
1616
docs/Announcements.md
1717
docs/ApiKey.md
18+
docs/ApiToken.md
1819
docs/Asset.md
1920
docs/AssetDetails.md
20-
docs/Block.md
21-
docs/BlockApi.md
22-
docs/Blocks.md
21+
docs/Auth.md
2322
docs/Bridge.md
2423
docs/BridgeApi.md
2524
docs/BridgeSupportedNetwork.md
26-
docs/Candlestick.md
25+
docs/Candle.md
26+
docs/Candles.md
2727
docs/CandlestickApi.md
28-
docs/Candlesticks.md
2928
docs/ContractAddress.md
30-
docs/CurrentHeight.md
3129
docs/Cursor.md
3230
docs/DailyReturn.md
3331
docs/DepositHistory.md
@@ -57,6 +55,7 @@ docs/Order.md
5755
docs/OrderApi.md
5856
docs/OrderBook.md
5957
docs/OrderBookDepth.md
58+
docs/OrderBookDepthWithBeginNonce.md
6059
docs/OrderBookDetails.md
6160
docs/OrderBookOrders.md
6261
docs/OrderBookStats.md
@@ -71,9 +70,7 @@ docs/PriceLevel.md
7170
docs/PublicPoolInfo.md
7271
docs/PublicPoolMetadata.md
7372
docs/PublicPoolShare.md
74-
docs/ReferralApi.md
75-
docs/ReferralPointEntry.md
76-
docs/ReferralPoints.md
73+
docs/ReqDoFaucet.md
7774
docs/ReqExportData.md
7875
docs/ReqGetAccount.md
7976
docs/ReqGetAccountActiveOrders.md
@@ -84,12 +81,13 @@ docs/ReqGetAccountLimits.md
8481
docs/ReqGetAccountMetadata.md
8582
docs/ReqGetAccountPnL.md
8683
docs/ReqGetAccountTxs.md
84+
docs/ReqGetApiTokens.md
8785
docs/ReqGetAssetDetails.md
8886
docs/ReqGetBlock.md
8987
docs/ReqGetBlockTxs.md
9088
docs/ReqGetBridgesByL1Addr.md
9189
docs/ReqGetByAccount.md
92-
docs/ReqGetCandlesticks.md
90+
docs/ReqGetCandles.md
9391
docs/ReqGetDepositHistory.md
9492
docs/ReqGetFastWithdrawInfo.md
9593
docs/ReqGetFundings.md
@@ -107,21 +105,22 @@ docs/ReqGetRangeWithCursor.md
107105
docs/ReqGetRangeWithIndex.md
108106
docs/ReqGetRangeWithIndexSortable.md
109107
docs/ReqGetRecentTrades.md
110-
docs/ReqGetReferralPoints.md
111108
docs/ReqGetTrades.md
112109
docs/ReqGetTransferFeeInfo.md
113110
docs/ReqGetTransferHistory.md
114111
docs/ReqGetTx.md
115112
docs/ReqGetWithdrawHistory.md
116113
docs/RespChangeAccountTier.md
114+
docs/RespGetApiTokens.md
117115
docs/RespGetBridgesByL1Addr.md
118116
docs/RespGetFastBridgeInfo.md
117+
docs/RespGetFastwithdrawalInfo.md
119118
docs/RespGetIsNextBridgeFast.md
119+
docs/RespPostApiToken.md
120120
docs/RespPublicPoolsMetadata.md
121+
docs/RespRevokeApiToken.md
121122
docs/RespSendTx.md
122123
docs/RespSendTxBatch.md
123-
docs/RespUpdateKickback.md
124-
docs/RespUpdateReferralCode.md
125124
docs/RespWithdrawalDelay.md
126125
docs/ResultCode.md
127126
docs/RiskInfo.md
@@ -140,10 +139,8 @@ docs/TransactionApi.md
140139
docs/TransferFeeInfo.md
141140
docs/TransferHistory.md
142141
docs/TransferHistoryItem.md
143-
docs/Tx.md
144142
docs/TxHash.md
145143
docs/TxHashes.md
146-
docs/Txs.md
147144
docs/ValidatorInfo.md
148145
docs/WithdrawHistory.md
149146
docs/WithdrawHistoryItem.md
@@ -153,14 +150,12 @@ lighter/__init__.py
153150
lighter/api/__init__.py
154151
lighter/api/account_api.py
155152
lighter/api/announcement_api.py
156-
lighter/api/block_api.py
157153
lighter/api/bridge_api.py
158154
lighter/api/candlestick_api.py
159155
lighter/api/funding_api.py
160156
lighter/api/info_api.py
161157
lighter/api/notification_api.py
162158
lighter/api/order_api.py
163-
lighter/api/referral_api.py
164159
lighter/api/root_api.py
165160
lighter/api/transaction_api.py
166161
lighter/api_client.py
@@ -183,16 +178,15 @@ lighter/models/account_trade_stats.py
183178
lighter/models/announcement.py
184179
lighter/models/announcements.py
185180
lighter/models/api_key.py
181+
lighter/models/api_token.py
186182
lighter/models/asset.py
187183
lighter/models/asset_details.py
188-
lighter/models/block.py
189-
lighter/models/blocks.py
184+
lighter/models/auth.py
190185
lighter/models/bridge.py
191186
lighter/models/bridge_supported_network.py
192-
lighter/models/candlestick.py
193-
lighter/models/candlesticks.py
187+
lighter/models/candle.py
188+
lighter/models/candles.py
194189
lighter/models/contract_address.py
195-
lighter/models/current_height.py
196190
lighter/models/cursor.py
197191
lighter/models/daily_return.py
198192
lighter/models/deposit_history.py
@@ -218,6 +212,7 @@ lighter/models/next_nonce.py
218212
lighter/models/order.py
219213
lighter/models/order_book.py
220214
lighter/models/order_book_depth.py
215+
lighter/models/order_book_depth_with_begin_nonce.py
221216
lighter/models/order_book_details.py
222217
lighter/models/order_book_orders.py
223218
lighter/models/order_book_stats.py
@@ -232,8 +227,7 @@ lighter/models/price_level.py
232227
lighter/models/public_pool_info.py
233228
lighter/models/public_pool_metadata.py
234229
lighter/models/public_pool_share.py
235-
lighter/models/referral_point_entry.py
236-
lighter/models/referral_points.py
230+
lighter/models/req_do_faucet.py
237231
lighter/models/req_export_data.py
238232
lighter/models/req_get_account.py
239233
lighter/models/req_get_account_active_orders.py
@@ -244,12 +238,13 @@ lighter/models/req_get_account_limits.py
244238
lighter/models/req_get_account_metadata.py
245239
lighter/models/req_get_account_pn_l.py
246240
lighter/models/req_get_account_txs.py
241+
lighter/models/req_get_api_tokens.py
247242
lighter/models/req_get_asset_details.py
248243
lighter/models/req_get_block.py
249244
lighter/models/req_get_block_txs.py
250245
lighter/models/req_get_bridges_by_l1_addr.py
251246
lighter/models/req_get_by_account.py
252-
lighter/models/req_get_candlesticks.py
247+
lighter/models/req_get_candles.py
253248
lighter/models/req_get_deposit_history.py
254249
lighter/models/req_get_fast_withdraw_info.py
255250
lighter/models/req_get_fundings.py
@@ -267,21 +262,22 @@ lighter/models/req_get_range_with_cursor.py
267262
lighter/models/req_get_range_with_index.py
268263
lighter/models/req_get_range_with_index_sortable.py
269264
lighter/models/req_get_recent_trades.py
270-
lighter/models/req_get_referral_points.py
271265
lighter/models/req_get_trades.py
272266
lighter/models/req_get_transfer_fee_info.py
273267
lighter/models/req_get_transfer_history.py
274268
lighter/models/req_get_tx.py
275269
lighter/models/req_get_withdraw_history.py
276270
lighter/models/resp_change_account_tier.py
271+
lighter/models/resp_get_api_tokens.py
277272
lighter/models/resp_get_bridges_by_l1_addr.py
278273
lighter/models/resp_get_fast_bridge_info.py
274+
lighter/models/resp_get_fastwithdrawal_info.py
279275
lighter/models/resp_get_is_next_bridge_fast.py
276+
lighter/models/resp_post_api_token.py
280277
lighter/models/resp_public_pools_metadata.py
278+
lighter/models/resp_revoke_api_token.py
281279
lighter/models/resp_send_tx.py
282280
lighter/models/resp_send_tx_batch.py
283-
lighter/models/resp_update_kickback.py
284-
lighter/models/resp_update_referral_code.py
285281
lighter/models/resp_withdrawal_delay.py
286282
lighter/models/result_code.py
287283
lighter/models/risk_info.py
@@ -298,10 +294,8 @@ lighter/models/trades.py
298294
lighter/models/transfer_fee_info.py
299295
lighter/models/transfer_history.py
300296
lighter/models/transfer_history_item.py
301-
lighter/models/tx.py
302297
lighter/models/tx_hash.py
303298
lighter/models/tx_hashes.py
304-
lighter/models/txs.py
305299
lighter/models/validator_info.py
306300
lighter/models/withdraw_history.py
307301
lighter/models/withdraw_history_item.py
@@ -311,19 +305,4 @@ lighter/rest.py
311305
setup.cfg
312306
test-requirements.txt
313307
test/__init__.py
314-
test/test_account_asset.py
315-
test/test_asset.py
316-
test/test_asset_details.py
317-
test/test_bridge.py
318-
test/test_market_config.py
319-
test/test_perps_market_stats.py
320-
test/test_perps_order_book_detail.py
321-
test/test_req_get_asset_details.py
322-
test/test_req_get_bridges_by_l1_addr.py
323-
test/test_resp_get_bridges_by_l1_addr.py
324-
test/test_resp_get_is_next_bridge_fast.py
325-
test/test_resp_update_kickback.py
326-
test/test_resp_update_referral_code.py
327-
test/test_spot_market_stats.py
328-
test/test_spot_order_book_detail.py
329308
tox.ini

README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ Class | Method | HTTP request | Description
7474
*AccountApi* | [**accounts_by_l1_address**](docs/AccountApi.md#accounts_by_l1_address) | **GET** /api/v1/accountsByL1Address | accountsByL1Address
7575
*AccountApi* | [**apikeys**](docs/AccountApi.md#apikeys) | **GET** /api/v1/apikeys | apikeys
7676
*AccountApi* | [**pnl**](docs/AccountApi.md#pnl) | **GET** /api/v1/pnl | pnl
77-
*AccountApi* | [**public_pools**](docs/AccountApi.md#public_pools) | **GET** /api/v1/publicPools | publicPools
78-
*BlockApi* | [**block**](docs/BlockApi.md#block) | **GET** /api/v1/block | block
79-
*BlockApi* | [**blocks**](docs/BlockApi.md#blocks) | **GET** /api/v1/blocks | blocks
80-
*BlockApi* | [**current_height**](docs/BlockApi.md#current_height) | **GET** /api/v1/currentHeight | currentHeight
81-
*CandlestickApi* | [**candlesticks**](docs/CandlestickApi.md#candlesticks) | **GET** /api/v1/candlesticks | candlesticks
8277
*CandlestickApi* | [**fundings**](docs/CandlestickApi.md#fundings) | **GET** /api/v1/fundings | fundings
8378
*OrderApi* | [**account_inactive_orders**](docs/OrderApi.md#account_inactive_orders) | **GET** /api/v1/accountInactiveOrders | accountInactiveOrders
8479
*OrderApi* | [**exchange_stats**](docs/OrderApi.md#exchange_stats) | **GET** /api/v1/exchangeStats | exchangeStats
@@ -89,13 +84,10 @@ Class | Method | HTTP request | Description
8984
*OrderApi* | [**trades**](docs/OrderApi.md#trades) | **GET** /api/v1/trades | trades
9085
*RootApi* | [**info**](docs/RootApi.md#info) | **GET** /info | info
9186
*RootApi* | [**status**](docs/RootApi.md#status) | **GET** / | status
92-
*TransactionApi* | [**account_txs**](docs/TransactionApi.md#account_txs) | **GET** /api/v1/accountTxs | accountTxs
93-
*TransactionApi* | [**block_txs**](docs/TransactionApi.md#block_txs) | **GET** /api/v1/blockTxs | blockTxs
9487
*TransactionApi* | [**deposit_history**](docs/TransactionApi.md#deposit_history) | **GET** /api/v1/deposit/history | deposit_history
9588
*TransactionApi* | [**next_nonce**](docs/TransactionApi.md#next_nonce) | **GET** /api/v1/nextNonce | nextNonce
9689
*TransactionApi* | [**send_tx**](docs/TransactionApi.md#send_tx) | **POST** /api/v1/sendTx | sendTx
9790
*TransactionApi* | [**send_tx_batch**](docs/TransactionApi.md#send_tx_batch) | **POST** /api/v1/sendTxBatch | sendTxBatch
98-
*TransactionApi* | [**tx**](docs/TransactionApi.md#tx) | **GET** /api/v1/tx | tx
9991
*TransactionApi* | [**tx_from_l1_tx_hash**](docs/TransactionApi.md#tx_from_l1_tx_hash) | **GET** /api/v1/txFromL1TxHash | txFromL1TxHash
10092
*TransactionApi* | [**txs**](docs/TransactionApi.md#txs) | **GET** /api/v1/txs | txs
10193
*TransactionApi* | [**withdraw_history**](docs/TransactionApi.md#withdraw_history) | **GET** /api/v1/withdraw/history | withdraw_history
@@ -111,13 +103,8 @@ Class | Method | HTTP request | Description
111103
- [AccountPosition](docs/AccountPosition.md)
112104
- [AccountStats](docs/AccountStats.md)
113105
- [ApiKey](docs/ApiKey.md)
114-
- [Block](docs/Block.md)
115-
- [Blocks](docs/Blocks.md)
116106
- [BridgeSupportedNetwork](docs/BridgeSupportedNetwork.md)
117-
- [Candlestick](docs/Candlestick.md)
118-
- [Candlesticks](docs/Candlesticks.md)
119107
- [ContractAddress](docs/ContractAddress.md)
120-
- [CurrentHeight](docs/CurrentHeight.md)
121108
- [Cursor](docs/Cursor.md)
122109
- [DepositHistory](docs/DepositHistory.md)
123110
- [DepositHistoryItem](docs/DepositHistoryItem.md)
@@ -181,10 +168,8 @@ Class | Method | HTTP request | Description
181168
- [Ticker](docs/Ticker.md)
182169
- [Trade](docs/Trade.md)
183170
- [Trades](docs/Trades.md)
184-
- [Tx](docs/Tx.md)
185171
- [TxHash](docs/TxHash.md)
186172
- [TxHashes](docs/TxHashes.md)
187-
- [Txs](docs/Txs.md)
188173
- [ValidatorInfo](docs/ValidatorInfo.md)
189174
- [WithdrawHistory](docs/WithdrawHistory.md)
190175
- [WithdrawHistoryItem](docs/WithdrawHistoryItem.md)

docs/Account.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ Name | Type | Description | Notes
1212
**l1_address** | **str** | |
1313
**cancel_all_time** | **int** | |
1414
**total_order_count** | **int** | |
15+
**total_isolated_order_count** | **int** | |
1516
**pending_order_count** | **int** | |
1617
**available_balance** | **str** | |
1718
**status** | **int** | |
1819
**collateral** | **str** | |
20+
**transaction_time** | **int** | |
1921

2022
## Example
2123

0 commit comments

Comments
 (0)