Solana instructions › OpenBook V2

OpenBook V2 instructions

Program ID opnb2LAfJYbRMAHHvqjCwQxanZn7ReEHp1k81EohpZb. 29 instructions in this snapshot. Source: solana-idls@1.2.1.

InstructionDiscriminator or tag
createMarket0x67e261ebc8bcfbfe21 accounts
closeMarket0x589af8ba300e7bf47 accounts
createOpenOrdersIndexer0x404099ffd947f9854 accounts
closeOpenOrdersIndexer0x67f9e5e7f7fdc5884 accounts
createOpenOrdersAccount0xccb5afde287dbc477 accounts
closeOpenOrdersAccount0xb04a73d236b35b675 accounts
placeOrder0x33c29baf6d82606a12 accounts
editOrder0xfed0761dadf8c84612 accounts
editOrderPegged0x3ebb7d451add9d8512 accounts
placeOrders0x3c3f327b0cc53cbe14 accounts
cancelAllAndPlaceOrders0x809bde3cba28e13214 accounts
placeOrderPegged0x8db9fb3f4a55d29112 accounts
placeTakeOrder0x032c47031ac7cb5516 accounts
consumeEvents0xdd91b1341f2f3fc93 accounts
consumeGivenEvents0xd1e336046dac29473 accounts
cancelOrder0x5f81edf00831df845 accounts
cancelOrderByClientOrderId0x73b2c908afb77b775 accounts
cancelAllOrders0xc453f3ab1164a08f5 accounts
deposit0xf223c68952e1f2b68 accounts
refill0x80cf8e0b36e826c98 accounts
settleFunds0xee40a3604bab102112 accounts
settleFundsExpired0x6b123845e43837a413 accounts
sweepFees0xafe16247764222946 accounts
setDelegate0xf21e2e4c6ceb80b53 accounts
setMarketExpired0xdb52dbec3c73c5402 accounts
pruneOrders0x1bd59fbf0c7470795 accounts
stubOracleCreate0xac3f65538d4cc7d85 accounts
stubOracleClose0x5c892d032d3c75e04 accounts
stubOracleSet0x6dc64f7941caa18e2 accounts

To see which instructions a confirmed transaction actually ran, paste its signature into the Rugsight transaction explainer.

Instruction lists and published discriminators come from solana-idls@1.2.1 (MIT) and, for the System Program, Compute Budget and Associated Token Account programs, from their public instruction enums (Apache-2.0). Snapshot date 2026-11-17. Programs can upgrade, so a live program may differ from this snapshot. Computed Anchor discriminators are the first 8 bytes of sha256("global:<snake_case_name>") and are labelled as computed.