Solana IDL reference › Raydium AMM V4 › AmmInfo

AmmInfo 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
statusu6408
nonceu6488
orderNumu64168
depthu64248
coinDecimalsu64328
pcDecimalsu64408
stateu64488
resetFlagu64568
minSizeu64648
volMaxCutRatiou64728
amountWaveu64808
coinLotSizeu64888
pcLotSizeu64968
minPriceMultiplieru641048
maxPriceMultiplieru641128
sysDecimalValueu641208
feesFees12864
minSeparateNumeratoru641288
minSeparateDenominatoru641368
tradeFeeNumeratoru641448
tradeFeeDenominatoru641528
pnlNumeratoru641608
pnlDenominatoru641688
swapFeeNumeratoru641768
swapFeeDenominatoru641848
outPutOutPutData192144
needTakePnlCoinu641928
needTakePnlPcu642008
totalPnlPcu642088
totalPnlCoinu642168
poolOpenTimeu642248
punishPcAmountu642328
punishCoinAmountu642408
orderbookToInitTimeu642488
swapCoinInAmountu12825616
swapPcOutAmountu12827216
swapTakePcFeeu642888
swapPcInAmountu12829616
swapCoinOutAmountu12831216
swapTakeCoinFeeu643288
tokenCoinpubkey33632
tokenPcpubkey36832
coinMintpubkey40032
pcMintpubkey43232
lpMintpubkey46432
openOrderspubkey49632
marketpubkey52832
serumDexpubkey56032
targetOrderspubkey59232
withdrawQueuepubkey62432
tokenTempLppubkey65632
ammOwnerpubkey68832
lpAmountu647208
clientOrderIdu647288
padding[u64; 2]73616

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.