ExceededQuoteTokenSlippage
Heaven DEX · Custom(6024) · 0x1788
custom program error: 0x1788
What it means
The swap would have paid out less than the minimum this transaction allowed (or cost more than its maximum). The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
The program's own message: “Exceeded quote token slippage”
What to do
Get a fresh quote and resend with the same tolerance; the price has moved on. Widen the tolerance only if it keeps failing on a fast-moving token, and know that a wide tolerance is what sandwich bots feed on.
TxWhy can repair this one
When the swap was routed through Jupiter, TxWhy replaces only the stale swap instruction with a current quote for the same tokens, amount and slippage tolerance, keeps every other instruction byte for byte, and proves the result passes simulation.
Code 6024 means something else in other programs
Custom codes are private to each program. Check which program actually raised it: it is the innermost failed call, not necessarily the program you called.
- OperatorDoesNotExistBoop
- ExchangePausedDrift V2
- ProgramMismatchJupiter DCA
- InvalidNotaryMagic Eden V2
- TradeStateDoesntExistMetaplex Auction House
- UpdateAuthorityIncorrectMetaplex Bubblegum
- SuspiciousTransactionMetaplex Candy Machine
- PayoutTicketExistsMetaplex Fixed Price Sale
- InvalidCloseAccountDestinationMetaplex Hydra
- InvalidAmplificationMeteora AMM
- InvalidVestingAccountMeteora CP AMM (DAMM V2)
- IdenticalFunderMeteora DLMM