TGViewer
Lighter API/MM Updates Lighter API/MM Updates @lighter_api_updates · 1.02K subscribers
Post #61 536
Lighter API/MM Updates Update: We've just merged some breaking changes for the Python SDK. As you might have noticed, the GO SDK was updated a while ago, changing the interface. Major changes on that side include: each sign operation returns the TxType, TxInfo & TxHash each sign…
On the spot side of things, there's an open PR with some changes on the Lighter Go.
It includes precompiled binaries if you want to use it stand alone.
The major changes there include changing the marketId from uint8 to int16 and significant changes to Transfer and Withdraw.

You should be able to use an old Python SDK to trade perpetual markets on testnet right now, with no problems.
All HTTP/WS endpoints are backward compatible.


We've postponed the launch of the Python SDK as we're trying to polish the HTTP / WS endpoints as much as possible.
I'll create a PR shortly with examples specific for spot, including:
- getting all order books
- getting the amount of assets owned by an address
- transferring USDC between perp <> spot account
- receiving WS updates on asset changes due to trades / placed orders

Placing orders has not changed. Spot market ids start from 2048. All order-related endpoints are the same.
  • 👍 5
More from @lighter_api_updates
  1. Sep 18, 2026gm We will be performing a network upgrade on Sunday, September 20 at 11:00 AM UTC. Expect…
  2. Sep 16, 2026- The fun.xyz deposit flow now allows to generate a quote to estimate fees, received amoun…
  3. Sep 13, 2026- Starting tomorrow, the following changes to partner attribution will be deployed: https:…
  4. Sep 11, 2026gm We will be performing a network upgrade on Sunday, September 13 at 11:00 AM UTC. Expect…
  5. Sep 11, 2026Legacy market IDs were bounded to [0, 255) for perp markets, and [2048, 4096) for spot mar…
  6. Sep 9, 2026- Rate limits for L1Withdrawal have been increased to 10 per hour, per user - Fees for fas…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →