Solana IDL reference › OpenBook V2
Program ID opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb. IDL name openbook_v2, version 0.1.0. Format: legacy Anchor IDL (discriminators computed). 32 type definitions. Source: solana-idls@1.2.1.
| Account | Discriminator | Size (bytes) |
|---|---|---|
| Market | 0xdbbed53700e3c69a | 848 |
| OpenOrdersAccount | 0xffc24e7b1069d0a5 | 1264 |
| OpenOrdersIndexer | 0xc35380d5cc5b1396 | varies |
| StubOracle | 0xe0fbfe63b1ae8904 | 208 |
| BookSide | 0x482ce18db2826139 | 90952 |
| EventHeap | 0x773b3d13a55439af | 91288 |
| Event | Discriminator |
|---|---|
| DepositLog | 0x8dbaa8fc6c8d485e |
| FillLog | 0x9617299498a2d740 |
| MarketMetaDataLog | 0xd157d4eca43a3c75 |
| TotalOrderFillEvent | 0x08eb303aae4c9c69 |
| SetDelegateLog | 0x3582975c6d399170 |
| SettleFundsLog | 0x0a32f075ed43e6e9 |
| SweepFeesLog | 0xd2f21a4d5e30ff3d |
| OpenOrdersPositionLog | 0xc4f99421a8e44906 |
GET /api/idl/open-book-v2 (Rugsight's normalized JSON, not the original IDL file)Decoding runs on Rugsight's server against the bundled snapshot. Nothing is fetched from the chain. Paste public account data only; never paste a private key or seed phrase.
Data: solana-idls@1.2.1 (MIT, © Obsidian Protocol) and SPL Token / Token-2022 state layouts (Apache-2.0), snapshot 2026-11-17. Programs can upgrade and an IDL snapshot can lag the deployed program, so check important offsets against current account data.