Error codes / Raydium AMM V4
Raydium AMM V4 error codes
Every custom error code published by Raydium AMM V4, with what it means and what to do about it.
675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8
- 0 · 0x0AlreadyInUse
The program raised this named error and published no further explanation.
- 1 · 0x1InvalidProgramAddress
The program raised this named error and published no further explanation.
- 2 · 0x2ExpectedMint
The program raised this named error and published no further explanation.
- 3 · 0x3ExpectedAccount
The program raised this named error and published no further explanation.
- 4 · 0x4InvalidCoinVault
The program raised this named error and published no further explanation.
- 5 · 0x5InvalidPCVault
The program raised this named error and published no further explanation.
- 6 · 0x6InvalidTokenLP
The program raised this named error and published no further explanation.
- 7 · 0x7InvalidDestTokenCoin
The program raised this named error and published no further explanation.
- 8 · 0x8InvalidDestTokenPC
The program raised this named error and published no further explanation.
- 9 · 0x9InvalidPoolMint
The program raised this named error and published no further explanation.
- 10 · 0xaInvalidOpenOrders
The program raised this named error and published no further explanation.
- 11 · 0xbInvalidSerumMarket
The program raised this named error and published no further explanation.
- 12 · 0xcInvalidSerumProgram
The program raised this named error and published no further explanation.
- 13 · 0xdInvalidTargetOrders
The program raised this named error and published no further explanation.
- 14 · 0xeInvalidWithdrawQueue
The program raised this named error and published no further explanation.
- 15 · 0xfInvalidTempLp
The program raised this named error and published no further explanation.
- 16 · 0x10InvalidCoinMint
The program raised this named error and published no further explanation.
- 17 · 0x11InvalidPCMint
The program raised this named error and published no further explanation.
- 18 · 0x12InvalidOwner
The program raised this named error and published no further explanation.
- 19 · 0x13InvalidSupply
The program raised this named error and published no further explanation.
- 20 · 0x14InvalidDelegate
The program raised this named error and published no further explanation.
- 21 · 0x15InvalidSignAccount
Invalid Sign Account
- 22 · 0x16InvalidStatus
The program raised this named error and published no further explanation.
- 23 · 0x17InvalidInstruction
Invalid instruction
- 24 · 0x18WrongAccountsNumber
Wrong accounts number
- 25 · 0x19WithdrawTransferBusy
Withdraw_transfer is busy
- 26 · 0x1aWithdrawQueueFull
WithdrawQueue is full
- 27 · 0x1bWithdrawQueueEmpty
WithdrawQueue is empty
- 28 · 0x1cInvalidParamsSet
Params Set is invalid
- 29 · 0x1dInvalidInput
The program raised this named error and published no further explanation.
- 30 · 0x1eExceededSlippage
instruction exceeds desired slippage limit
- 31 · 0x1fCalculationExRateFailure
The program raised this named error and published no further explanation.
- 32 · 0x20CheckedSubOverflow
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 33 · 0x21CheckedAddOverflow
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 34 · 0x22CheckedMulOverflow
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 35 · 0x23CheckedDivOverflow
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 36 · 0x24CheckedEmptyFunds
Empty Funds
- 37 · 0x25CalcPnlError
Calc pnl error
- 38 · 0x26InvalidSplTokenProgram
The program raised this named error and published no further explanation.
- 39 · 0x27TakePnlError
Take Pnl error
- 40 · 0x28InsufficientFunds
The account does not hold enough of the token or SOL this instruction tried to spend.
- 41 · 0x29ConversionFailure
Conversion to u64 failed with an overflow or underflow
- 42 · 0x2aInvalidUserToken
user token input does not match amm
- 43 · 0x2bInvalidSrmMint
The program raised this named error and published no further explanation.
- 44 · 0x2cInvalidSrmToken
The program raised this named error and published no further explanation.
- 45 · 0x2dTooManyOpenOrders
The program raised this named error and published no further explanation.
- 46 · 0x2eOrderAtSlotIsPlaced
The program raised this named error and published no further explanation.
- 47 · 0x2fInvalidSysProgramAddress
The program raised this named error and published no further explanation.
- 48 · 0x30InvalidFee
The provided fee does not match the program owner's constraints
- 49 · 0x31RepeatCreateAmm
Repeat create amm about market
- 50 · 0x32NotAllowZeroLP
Not allow Zero LP
- 51 · 0x33InvalidCloseAuthority
Token account has a close authority
- 52 · 0x34InvalidFreezeAuthority
Pool token mint has a freeze authority
- 53 · 0x35InvalidReferPCMint
The program raised this named error and published no further explanation.
- 54 · 0x36InvalidConfigAccount
The program raised this named error and published no further explanation.
- 55 · 0x37RepeatCreateConfigAccount
Repeat create staking config account
- 56 · 0x38UnknownAmmError
Unknown Amm Error