Solana IDL reference › Raydium AMM V4 › AmmInfo
Raydium AMM V4 account type. Program ID 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8. Raydium AMM V4 accounts have no discriminator: the data starts with the first field.
| Field | Type | Offset | Size |
|---|---|---|---|
| status | u64 | 0 | 8 |
| nonce | u64 | 8 | 8 |
| orderNum | u64 | 16 | 8 |
| depth | u64 | 24 | 8 |
| coinDecimals | u64 | 32 | 8 |
| pcDecimals | u64 | 40 | 8 |
| state | u64 | 48 | 8 |
| resetFlag | u64 | 56 | 8 |
| minSize | u64 | 64 | 8 |
| volMaxCutRatio | u64 | 72 | 8 |
| amountWave | u64 | 80 | 8 |
| coinLotSize | u64 | 88 | 8 |
| pcLotSize | u64 | 96 | 8 |
| minPriceMultiplier | u64 | 104 | 8 |
| maxPriceMultiplier | u64 | 112 | 8 |
| sysDecimalValue | u64 | 120 | 8 |
| fees | Fees | 128 | 64 |
| minSeparateNumerator | u64 | 128 | 8 |
| minSeparateDenominator | u64 | 136 | 8 |
| tradeFeeNumerator | u64 | 144 | 8 |
| tradeFeeDenominator | u64 | 152 | 8 |
| pnlNumerator | u64 | 160 | 8 |
| pnlDenominator | u64 | 168 | 8 |
| swapFeeNumerator | u64 | 176 | 8 |
| swapFeeDenominator | u64 | 184 | 8 |
| outPut | OutPutData | 192 | 144 |
| needTakePnlCoin | u64 | 192 | 8 |
| needTakePnlPc | u64 | 200 | 8 |
| totalPnlPc | u64 | 208 | 8 |
| totalPnlCoin | u64 | 216 | 8 |
| poolOpenTime | u64 | 224 | 8 |
| punishPcAmount | u64 | 232 | 8 |
| punishCoinAmount | u64 | 240 | 8 |
| orderbookToInitTime | u64 | 248 | 8 |
| swapCoinInAmount | u128 | 256 | 16 |
| swapPcOutAmount | u128 | 272 | 16 |
| swapTakePcFee | u64 | 288 | 8 |
| swapPcInAmount | u128 | 296 | 16 |
| swapCoinOutAmount | u128 | 312 | 16 |
| swapTakeCoinFee | u64 | 328 | 8 |
| tokenCoin | pubkey | 336 | 32 |
| tokenPc | pubkey | 368 | 32 |
| coinMint | pubkey | 400 | 32 |
| pcMint | pubkey | 432 | 32 |
| lpMint | pubkey | 464 | 32 |
| openOrders | pubkey | 496 | 32 |
| market | pubkey | 528 | 32 |
| serumDex | pubkey | 560 | 32 |
| targetOrders | pubkey | 592 | 32 |
| withdrawQueue | pubkey | 624 | 32 |
| tokenTempLp | pubkey | 656 | 32 |
| ammOwner | pubkey | 688 | 32 |
| lpAmount | u64 | 720 | 8 |
| clientOrderId | u64 | 728 | 8 |
| padding | [u64; 2] | 736 | 16 |
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.
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.