Solana error codes › Moonshot

Moonshot error codes

31 error codes defined by Moonshot (program ID MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG). In logs they appear as custom program error: 0x… after Program MoonCVVNZFSYkqNXP6bxHLPL6QQJiMagDL3qcqUQTrG failed.

Custom errors start at 6000 (0x1770). If a code is below 6000 and not listed here, see the Anchor framework errors.

HexCodeError
0x17706000InsufficientBalance
Insufficient SOL to pay for the transaction.
The name points to a balance check: an account holds less than the instruction needs.
0x17716001InvalidAmount
The amount must be available in the curve .
0x17726002InvalidSlippage
The slippage must be under 100 percent.
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
0x17736003SlippageOverflow
The cost amount is not in the allowed slippage interval.
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
0x17746004ThresholdReached
Threshold limit exceeded.
0x17756005InvalidTokenAccount
Trade disabled, market cap threshold reached.
0x17766006InvalidCurveAccount
Invalid curve account.
0x17776007InvalidFeeAccount
Invalid fee account address.
0x17786008CurveLimit
Curve limit exceeded.
0x17796009InvalidCurveType
Invalid curve type.
0x177a6010InvalidCurrency
Invalid currency.
0x177b6011Arithmetics
Artithmetics error
0x177c6012ThresholdNotHit
Market Cap threshold not hit, cannot migrate funds yet
0x177d6013InvalidAuthority
Invalid Authority provided.
The name points to a permission check: the wrong signer or owner account was passed.
0x177e6014TradeAmountTooLow
Trade amount too low , resulting in 0 costs
0x177f6015ConfigFieldMissing
Config field needs to be present during initialization
0x17806016DifferentCurrencies
Unsupported different currency types
0x17816017BasisPointTooHigh
Basis points too high
0x17826018FeeShareTooHigh
Fee share too High
0x17836019TokenDecimalsOutOfRange
Token decimals are not within the supported range
0x17846020TokenNameTooLong
Token Name too long, max supported length is 32 bytes
0x17856021TokenSymbolTooLong
Token Symbol too long, max supported length is 10 bytes
0x17866022TokenURITooLong
Token URI too long, max supported length is 200 bytes
0x17876023IncorrectDecimalPlacesBounds
Minimum Decimal Places cannot be lower than Maximum Decimal Places
0x17886024IncorrectTokenSupplyBounds
Minimum Token Supply cannot be lower than Maximum Token Supply
0x17896025TotalSupplyOutOfBounds
Token Total Supply out of bounds
0x178a6026FinalCollateralTooLow
This setup will produce final collateral amount less than the migration fee
0x178b6027CoefficientZero
One of the Coefficients is equal to ZERO
0x178c6028MarketCapThresholdTooLow
Market cap Threshold under the Hard lower bound limits
0x178d6029CoefBOutofBounds
Default coef_b set out of hard limit bounds
0x178e6030General
General error

Decode an error

Free, no sign-up, nothing to connect. Works offline from a bundled list; we do not look anything up on-chain.

Swapping a token you do not know? A free Rugsight check shows mint and freeze authority, Token-2022 extensions, holder concentration and liquidity before you trade.

Source: solana-idls@1.2.1. Data: program error lists from published IDLs (solana-idls 1.2.1, MIT) and the System, SPL Token, Token-2022 and Associated Token Account source code, snapshot 2026-11-16. Programs can be upgraded and add or change errors; the failing program's current IDL is the final word.