Solana error codes › Moonshot
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.
| Hex | Code | Error |
|---|---|---|
| 0x1770 | 6000 | InsufficientBalance Insufficient SOL to pay for the transaction. The name points to a balance check: an account holds less than the instruction needs. |
| 0x1771 | 6001 | InvalidAmount The amount must be available in the curve . |
| 0x1772 | 6002 | InvalidSlippage 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. |
| 0x1773 | 6003 | SlippageOverflow 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. |
| 0x1774 | 6004 | ThresholdReached Threshold limit exceeded. |
| 0x1775 | 6005 | InvalidTokenAccount Trade disabled, market cap threshold reached. |
| 0x1776 | 6006 | InvalidCurveAccount Invalid curve account. |
| 0x1777 | 6007 | InvalidFeeAccount Invalid fee account address. |
| 0x1778 | 6008 | CurveLimit Curve limit exceeded. |
| 0x1779 | 6009 | InvalidCurveType Invalid curve type. |
| 0x177a | 6010 | InvalidCurrency Invalid currency. |
| 0x177b | 6011 | Arithmetics Artithmetics error |
| 0x177c | 6012 | ThresholdNotHit Market Cap threshold not hit, cannot migrate funds yet |
| 0x177d | 6013 | InvalidAuthority Invalid Authority provided. The name points to a permission check: the wrong signer or owner account was passed. |
| 0x177e | 6014 | TradeAmountTooLow Trade amount too low , resulting in 0 costs |
| 0x177f | 6015 | ConfigFieldMissing Config field needs to be present during initialization |
| 0x1780 | 6016 | DifferentCurrencies Unsupported different currency types |
| 0x1781 | 6017 | BasisPointTooHigh Basis points too high |
| 0x1782 | 6018 | FeeShareTooHigh Fee share too High |
| 0x1783 | 6019 | TokenDecimalsOutOfRange Token decimals are not within the supported range |
| 0x1784 | 6020 | TokenNameTooLong Token Name too long, max supported length is 32 bytes |
| 0x1785 | 6021 | TokenSymbolTooLong Token Symbol too long, max supported length is 10 bytes |
| 0x1786 | 6022 | TokenURITooLong Token URI too long, max supported length is 200 bytes |
| 0x1787 | 6023 | IncorrectDecimalPlacesBounds Minimum Decimal Places cannot be lower than Maximum Decimal Places |
| 0x1788 | 6024 | IncorrectTokenSupplyBounds Minimum Token Supply cannot be lower than Maximum Token Supply |
| 0x1789 | 6025 | TotalSupplyOutOfBounds Token Total Supply out of bounds |
| 0x178a | 6026 | FinalCollateralTooLow This setup will produce final collateral amount less than the migration fee |
| 0x178b | 6027 | CoefficientZero One of the Coefficients is equal to ZERO |
| 0x178c | 6028 | MarketCapThresholdTooLow Market cap Threshold under the Hard lower bound limits |
| 0x178d | 6029 | CoefBOutofBounds Default coef_b set out of hard limit bounds |
| 0x178e | 6030 | General General 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.