Lighter API/MM Updates
1.02K subscribers
1 photo
1 video
78 links
Official Channel for API and Market-maker updates on Lighter
Download Telegram
Please note: We’ve introduced a new requirement β€” users must now sign with their wallet for internal transfers and fast withdrawals. This is currently only available on the frontend. SDK support will come with its next upgrade.
πŸ‘3
FYI β€” We will be restarting testnet in 10 mins.
Change for account_api endpoint. We are not returning pool info for non pool accounts anymore (PublicPoolInfo)

Please pip install git+https://github.com/elliottech/lighter-python@main to use the endpoint in its new version.
❀1
We're doing a quick network upgrade today at 8:30PM UTC. Downtime should be under 15 minutes.

After the upgrade is done, please expect the following:

limit orders will now use order margin, checked at creation as size Γ— price Γ· leverage
- opposite-side limit orders won’t affect each other
- same-side positions will decrease available order margin
- opposite-side positions will increase available order margin
- liquidation engine will work the same as before
Heads up: Transaction rate limits increased from 2400 req/min to 4000 req/min for Premium Accounts
❀3
Re: Active orders
We've brought back this endpoint: /accountActiveOrders. You can also fetch via Web Socket.

https://apibetadocs.lighter.xyz/reference/accountactiveorders
https://github.com/elliottech/lighter-python/blob/main/lighter/api/order_api.py#L49
πŸ‘5
We're doing a quick network upgrade today at 8:30PM UTC. Downtime should be under 10 minutes.
πŸ‘1
We are seeing limit orders are getting rejected given the order margin changes we've made. If there is any assistance needed, please let us know.

For context, these are the changes: https://t.me/c/2654829739/13
gm, some updates

1 - The /api/v1/publicPools endpoint will be removed on Monday, Aug 25th at 9PM UTC

For static pool information, use /api/v1/publicPoolsMetadata instead:
# Get basic pool catalog with current APY
GET /api/v1/publicPoolsMetadata?limit=50


For account-specific pool data:
# Get your pool shares and basic pool info
GET /api/v1/account?by=index&value=123
# Returns: pool_info and public_pool_shares for that account


For real-time pool updates via WebSocket, use streams/pool_info and streams/account_all_positions.

2 - Send Batch Tx via WS now available: https://apibetadocs.lighter.xyz/docs/websocket-reference#send-batch-tx
gm, these are new examples for sendtx and sendbatchtx for WS β€” they are in the docs as well:

WS SendTx: https://github.com/elliottech/lighter-python/blob/main/examples/ws_send_tx.py
WS SendBatchTx: https://github.com/elliottech/lighter-python/blob/main/examples/ws_send_batch_tx.py
❀4
gm, some updates:

- We're removing the /api/v1/pendingTxs endpoint.
- We're removing nonce field from /api/v1/apikeys.
πŸ‘1
gm

- Add ID param to WS send_Tx for transaction tracking. Example here: https://github.com/elliottech/lighter-python/pull/46/files
πŸ‘4
gm

We're doing a quick network upgrade on September 16 at 8:30 PM UTC. Downtime should be under 15 minutes.
Premium Accounts: Volume Quota Updates

- Previously: 10 USDC volume = +1 transaction quota
- Now: 1 USDC volume = +1 transaction quota

- Also, every new premium account starts off with 1000 volume quota
πŸ‘6❀3
We're doing a quick network upgrade on 26 September 2025 at 20:30 UTC. Expect brief performance degradation lasting less than 5 minutes.
We're doing a quick network upgrade on 29 September 2025 at 20:30 UTC. Downtime should be under 20 minutes.
gm

We're doing a quick network upgrade on October 1 at 12:00 UTC. Downtime should be under 5 minutes.
gm

While scaling our infrastructure, some users experienced order execution delays. We’ve pushed a fix and will roll out further improvements in this week’s network update.
❀4πŸ‘4
gm

We're temporarily reducing rate limits to help stabilize performance. This change will help the system return to normal soon.
❀1
We are currently experiencing an outage. We are working on a fix. Orders are not going through/executing. More info to come in the next minutes.
❀2
We're doing a network upgrade on October 12, 2025 at 11:00 AM UTC. Downtime should be under 20 minutes.