Solana error codes › BonkSwap
16 error codes defined by BonkSwap (program ID BSwp6bEBihVLdqJRKGgzjcGLHkcTuzmSo1TQkHepzH8p). In logs they appear as custom program error: 0x… after Program BSwp6bEBihVLdqJRKGgzjcGLHkcTuzmSo1TQkHepzH8p 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 | DeltaTooBig Delta greater than provider's tokens |
| 0x1771 | 6001 | TokenUnderflow Token amount underflow The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1772 | 6002 | WrongRatio Wrong tokens ratio |
| 0x1773 | 6003 | TooMuchShares Too much shares provided |
| 0x1774 | 6004 | SwapToBig Swap too big |
| 0x1775 | 6005 | FeeExceeded Fee exceeded 100% |
| 0x1777 | 6007 | ScalesNotEqual Scales have to be equal |
| 0x1778 | 6008 | FeeExceededDeltaOut Fees exceeded delta_out |
| 0x1779 | 6009 | PriceLimitExceeded Price limit exceeded |
| 0x177a | 6010 | MintMismatch Mint mismatch |
| 0x177b | 6011 | TokensAreTheSame Tokens are the same |
| 0x177c | 6012 | WrongFarm Cannot add supply to wrong farm |
| 0x177d | 6013 | RewardsExceedingSupply Cannot withdraw rewards exceeding supply left |
| 0x177e | 6014 | FarmNotEnded Farm has not ended, cannot add additional rewards The name points to a feature or pool state that currently blocks this action. |
| 0x177f | 6015 | ZeroAmount Must provide a nonzero amount |
| 0x1780 | 6016 | InvariantDecreased Invariant has changed |
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.