Solana IDL reference › Raydium AMM V4 › TargetOrders

TargetOrders account layout

Raydium AMM V4 account type. Program ID 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8. Raydium AMM V4 accounts have no discriminator: the data starts with the first field.

Fields

FieldTypeOffsetSize
owner[u64; 4]032
buyOrders[TargetOrder; 50]32800
padding1[u64; 8]83264
targetXu12889616
targetYu12891216
planXBuyu12892816
planYBuyu12894416
planXSellu12896016
planYSellu12897616
placedXu12899216
placedYu128100816
calcPnlXu128102416
calcPnlYu128104016
sellOrders[TargetOrder; 50]1056800
padding2[u64; 6]185648
replaceBuyClientId[u64; 10]190480
replaceSellClientId[u64; 10]198480
lastOrderNumeratoru6420648
lastOrderDenominatoru6420728
planOrdersCuru6420808
placeOrdersCuru6420888
validBuyOrderNumu6420968
validSellOrderNumu6421048
padding3[u64; 10]211280
freeSlotBitsu128219216

Decode account data

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.

Other Raydium AMM V4 account types

Raydium AMM V4 instructions · Explain a transaction

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.