Skip to content

Commit 1f9bc9a

Browse files
committed
update-info-endpoints-24-july
1 parent 05eeaaa commit 1f9bc9a

58 files changed

Lines changed: 8286 additions & 1380 deletions

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: 146 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
docs/Account.md
22
docs/AccountApi.md
33
docs/AccountApiKeys.md
4+
docs/AccountLimits.md
5+
docs/AccountMarginStats.md
46
docs/AccountMarketStats.md
57
docs/AccountMetadata.md
8+
docs/AccountMetadatas.md
69
docs/AccountPnL.md
710
docs/AccountPosition.md
811
docs/AccountStats.md
9-
docs/Accounts.md
12+
docs/AccountTradeStats.md
13+
docs/Announcement.md
14+
docs/AnnouncementApi.md
15+
docs/Announcements.md
1016
docs/ApiKey.md
1117
docs/Block.md
1218
docs/BlockApi.md
1319
docs/Blocks.md
20+
docs/BridgeApi.md
1421
docs/BridgeSupportedNetwork.md
1522
docs/Candlestick.md
1623
docs/CandlestickApi.md
@@ -26,16 +33,22 @@ docs/DetailedAccounts.md
2633
docs/DetailedCandlestick.md
2734
docs/EnrichedTx.md
2835
docs/ExchangeStats.md
29-
docs/FeeBucket.md
36+
docs/ExportData.md
3037
docs/Funding.md
38+
docs/FundingApi.md
39+
docs/FundingRate.md
40+
docs/FundingRates.md
3141
docs/Fundings.md
3242
docs/InfoApi.md
33-
docs/IsWhitelisted.md
43+
docs/L1Metadata.md
3444
docs/L1ProviderInfo.md
35-
docs/Layer2BasicInfo.md
45+
docs/LiqTrade.md
3646
docs/Liquidation.md
47+
docs/LiquidationInfo.md
48+
docs/LiquidationInfos.md
3749
docs/MarketInfo.md
3850
docs/NextNonce.md
51+
docs/NotificationApi.md
3952
docs/Order.md
4053
docs/OrderApi.md
4154
docs/OrderBook.md
@@ -47,17 +60,23 @@ docs/OrderBookStats.md
4760
docs/OrderBooks.md
4861
docs/Orders.md
4962
docs/PnLEntry.md
63+
docs/PositionFunding.md
64+
docs/PositionFundings.md
5065
docs/PriceLevel.md
5166
docs/PublicPool.md
5267
docs/PublicPoolInfo.md
5368
docs/PublicPoolShare.md
5469
docs/PublicPools.md
70+
docs/ReferralApi.md
71+
docs/ReferralPointEntry.md
72+
docs/ReferralPoints.md
73+
docs/ReqExportData.md
5574
docs/ReqGetAccount.md
56-
docs/ReqGetAccountActiveOrders.md
5775
docs/ReqGetAccountApiKeys.md
5876
docs/ReqGetAccountByL1Address.md
5977
docs/ReqGetAccountInactiveOrders.md
60-
docs/ReqGetAccountOrders.md
78+
docs/ReqGetAccountLimits.md
79+
docs/ReqGetAccountMetadata.md
6180
docs/ReqGetAccountPendingTxs.md
6281
docs/ReqGetAccountPnL.md
6382
docs/ReqGetAccountTxs.md
@@ -66,24 +85,36 @@ docs/ReqGetBlockTxs.md
6685
docs/ReqGetByAccount.md
6786
docs/ReqGetCandlesticks.md
6887
docs/ReqGetDepositHistory.md
69-
docs/ReqGetFeeBucket.md
88+
docs/ReqGetFastWithdrawInfo.md
7089
docs/ReqGetFundings.md
90+
docs/ReqGetL1Metadata.md
7191
docs/ReqGetL1Tx.md
7292
docs/ReqGetLatestDeposit.md
93+
docs/ReqGetLiquidationInfos.md
7394
docs/ReqGetNextNonce.md
7495
docs/ReqGetOrderBookDetails.md
7596
docs/ReqGetOrderBookOrders.md
7697
docs/ReqGetOrderBooks.md
98+
docs/ReqGetPositionFunding.md
7799
docs/ReqGetPublicPools.md
78100
docs/ReqGetRangeWithCursor.md
79101
docs/ReqGetRangeWithIndex.md
80102
docs/ReqGetRangeWithIndexSortable.md
81103
docs/ReqGetRecentTrades.md
104+
docs/ReqGetReferralPoints.md
82105
docs/ReqGetTrades.md
106+
docs/ReqGetTransferFeeInfo.md
107+
docs/ReqGetTransferHistory.md
83108
docs/ReqGetTx.md
84109
docs/ReqGetWithdrawHistory.md
85-
docs/ReqIsWhitelisted.md
110+
docs/RespChangeAccountTier.md
111+
docs/RespGetFastBridgeInfo.md
112+
docs/RespSendTx.md
113+
docs/RespSendTxBatch.md
114+
docs/RespWithdrawalDelay.md
86115
docs/ResultCode.md
116+
docs/RiskInfo.md
117+
docs/RiskParameters.md
87118
docs/RootApi.md
88119
docs/SimpleOrder.md
89120
docs/Status.md
@@ -92,21 +123,30 @@ docs/Ticker.md
92123
docs/Trade.md
93124
docs/Trades.md
94125
docs/TransactionApi.md
126+
docs/TransferFeeInfo.md
127+
docs/TransferHistory.md
128+
docs/TransferHistoryItem.md
95129
docs/Tx.md
96130
docs/TxHash.md
97131
docs/TxHashes.md
98132
docs/Txs.md
99133
docs/ValidatorInfo.md
100134
docs/WithdrawHistory.md
101-
docs/WithdrawHistoryCursor.md
102135
docs/WithdrawHistoryItem.md
103136
docs/ZkLighterInfo.md
137+
git_push.sh
138+
lighter/__init__.py
104139
lighter/api/__init__.py
105140
lighter/api/account_api.py
141+
lighter/api/announcement_api.py
106142
lighter/api/block_api.py
143+
lighter/api/bridge_api.py
107144
lighter/api/candlestick_api.py
145+
lighter/api/funding_api.py
108146
lighter/api/info_api.py
147+
lighter/api/notification_api.py
109148
lighter/api/order_api.py
149+
lighter/api/referral_api.py
110150
lighter/api/root_api.py
111151
lighter/api/transaction_api.py
112152
lighter/api_client.py
@@ -116,50 +156,145 @@ lighter/exceptions.py
116156
lighter/models/__init__.py
117157
lighter/models/account.py
118158
lighter/models/account_api_keys.py
159+
lighter/models/account_limits.py
160+
lighter/models/account_margin_stats.py
161+
lighter/models/account_market_stats.py
162+
lighter/models/account_metadata.py
163+
lighter/models/account_metadatas.py
119164
lighter/models/account_pn_l.py
120165
lighter/models/account_position.py
166+
lighter/models/account_stats.py
167+
lighter/models/account_trade_stats.py
168+
lighter/models/announcement.py
169+
lighter/models/announcements.py
121170
lighter/models/api_key.py
122171
lighter/models/block.py
123172
lighter/models/blocks.py
173+
lighter/models/bridge_supported_network.py
124174
lighter/models/candlestick.py
125175
lighter/models/candlesticks.py
176+
lighter/models/contract_address.py
126177
lighter/models/current_height.py
178+
lighter/models/cursor.py
127179
lighter/models/daily_return.py
128180
lighter/models/deposit_history.py
129181
lighter/models/deposit_history_item.py
130182
lighter/models/detailed_account.py
131183
lighter/models/detailed_accounts.py
184+
lighter/models/detailed_candlestick.py
132185
lighter/models/enriched_tx.py
133186
lighter/models/exchange_stats.py
134-
lighter/models/fee_bucket.py
187+
lighter/models/export_data.py
135188
lighter/models/funding.py
189+
lighter/models/funding_rate.py
190+
lighter/models/funding_rates.py
136191
lighter/models/fundings.py
137-
lighter/models/layer2_basic_info.py
192+
lighter/models/l1_metadata.py
193+
lighter/models/l1_provider_info.py
194+
lighter/models/liq_trade.py
195+
lighter/models/liquidation.py
196+
lighter/models/liquidation_info.py
197+
lighter/models/liquidation_infos.py
198+
lighter/models/market_info.py
138199
lighter/models/next_nonce.py
139200
lighter/models/order.py
140201
lighter/models/order_book.py
202+
lighter/models/order_book_depth.py
141203
lighter/models/order_book_detail.py
142204
lighter/models/order_book_details.py
143205
lighter/models/order_book_orders.py
144206
lighter/models/order_book_stats.py
145207
lighter/models/order_books.py
146208
lighter/models/orders.py
147209
lighter/models/pn_l_entry.py
210+
lighter/models/position_funding.py
211+
lighter/models/position_fundings.py
212+
lighter/models/price_level.py
148213
lighter/models/public_pool.py
149214
lighter/models/public_pool_info.py
150215
lighter/models/public_pool_share.py
151216
lighter/models/public_pools.py
217+
lighter/models/referral_point_entry.py
218+
lighter/models/referral_points.py
219+
lighter/models/req_export_data.py
220+
lighter/models/req_get_account.py
221+
lighter/models/req_get_account_api_keys.py
222+
lighter/models/req_get_account_by_l1_address.py
223+
lighter/models/req_get_account_inactive_orders.py
224+
lighter/models/req_get_account_limits.py
225+
lighter/models/req_get_account_metadata.py
226+
lighter/models/req_get_account_pending_txs.py
227+
lighter/models/req_get_account_pn_l.py
228+
lighter/models/req_get_account_txs.py
229+
lighter/models/req_get_block.py
230+
lighter/models/req_get_block_txs.py
231+
lighter/models/req_get_by_account.py
232+
lighter/models/req_get_candlesticks.py
233+
lighter/models/req_get_deposit_history.py
234+
lighter/models/req_get_fast_withdraw_info.py
235+
lighter/models/req_get_fundings.py
236+
lighter/models/req_get_l1_metadata.py
237+
lighter/models/req_get_l1_tx.py
238+
lighter/models/req_get_latest_deposit.py
239+
lighter/models/req_get_liquidation_infos.py
240+
lighter/models/req_get_next_nonce.py
241+
lighter/models/req_get_order_book_details.py
242+
lighter/models/req_get_order_book_orders.py
243+
lighter/models/req_get_order_books.py
244+
lighter/models/req_get_position_funding.py
245+
lighter/models/req_get_public_pools.py
246+
lighter/models/req_get_range_with_cursor.py
247+
lighter/models/req_get_range_with_index.py
248+
lighter/models/req_get_range_with_index_sortable.py
249+
lighter/models/req_get_recent_trades.py
250+
lighter/models/req_get_referral_points.py
251+
lighter/models/req_get_trades.py
252+
lighter/models/req_get_transfer_fee_info.py
253+
lighter/models/req_get_transfer_history.py
254+
lighter/models/req_get_tx.py
255+
lighter/models/req_get_withdraw_history.py
256+
lighter/models/resp_change_account_tier.py
257+
lighter/models/resp_get_fast_bridge_info.py
258+
lighter/models/resp_send_tx.py
259+
lighter/models/resp_send_tx_batch.py
260+
lighter/models/resp_withdrawal_delay.py
261+
lighter/models/result_code.py
262+
lighter/models/risk_info.py
263+
lighter/models/risk_parameters.py
152264
lighter/models/simple_order.py
153265
lighter/models/status.py
154266
lighter/models/sub_accounts.py
267+
lighter/models/ticker.py
155268
lighter/models/trade.py
156269
lighter/models/trades.py
270+
lighter/models/transfer_fee_info.py
271+
lighter/models/transfer_history.py
272+
lighter/models/transfer_history_item.py
157273
lighter/models/tx.py
158274
lighter/models/tx_hash.py
159275
lighter/models/tx_hashes.py
160276
lighter/models/txs.py
277+
lighter/models/validator_info.py
161278
lighter/models/withdraw_history.py
162279
lighter/models/withdraw_history_item.py
163280
lighter/models/zk_lighter_info.py
164281
lighter/py.typed
165282
lighter/rest.py
283+
setup.cfg
284+
test-requirements.txt
285+
test/__init__.py
286+
test/test_account_margin_stats.py
287+
test/test_info_api.py
288+
test/test_order_book_orders.py
289+
test/test_req_get_order_book_orders.py
290+
test/test_req_get_transfer_fee_info.py
291+
test/test_req_get_transfer_history.py
292+
test/test_resp_change_account_tier.py
293+
test/test_resp_send_tx.py
294+
test/test_resp_send_tx_batch.py
295+
test/test_resp_withdrawal_delay.py
296+
test/test_risk_parameters.py
297+
test/test_transfer_fee_info.py
298+
test/test_transfer_history.py
299+
test/test_transfer_history_item.py
300+
tox.ini

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ Class | Method | HTTP request | Description
8181
*CandlestickApi* | [**candlesticks**](docs/CandlestickApi.md#candlesticks) | **GET** /api/v1/candlesticks | candlesticks
8282
*CandlestickApi* | [**fundings**](docs/CandlestickApi.md#fundings) | **GET** /api/v1/fundings | fundings
8383
*InfoApi* | [**layer2_basic_info**](docs/InfoApi.md#layer2_basic_info) | **GET** /api/v1/layer2BasicInfo | layer2BasicInfo
84-
*OrderApi* | [**account_active_orders**](docs/OrderApi.md#account_active_orders) | **GET** /api/v1/accountActiveOrders | accountActiveOrders
8584
*OrderApi* | [**account_inactive_orders**](docs/OrderApi.md#account_inactive_orders) | **GET** /api/v1/accountInactiveOrders | accountInactiveOrders
8685
*OrderApi* | [**account_orders**](docs/OrderApi.md#account_orders) | **GET** /api/v1/accountOrders | accountOrders
8786
*OrderApi* | [**exchange_stats**](docs/OrderApi.md#exchange_stats) | **GET** /api/v1/exchangeStats | exchangeStats
@@ -158,7 +157,6 @@ Class | Method | HTTP request | Description
158157
- [PublicPoolShare](docs/PublicPoolShare.md)
159158
- [PublicPools](docs/PublicPools.md)
160159
- [ReqGetAccount](docs/ReqGetAccount.md)
161-
- [ReqGetAccountActiveOrders](docs/ReqGetAccountActiveOrders.md)
162160
- [ReqGetAccountApiKeys](docs/ReqGetAccountApiKeys.md)
163161
- [ReqGetAccountByL1Address](docs/ReqGetAccountByL1Address.md)
164162
- [ReqGetAccountInactiveOrders](docs/ReqGetAccountInactiveOrders.md)

docs/Account.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ 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
**status** | **int** | |
1718
**collateral** | **str** | |

0 commit comments

Comments
 (0)