TxWhy

Error codes / Pump.fun Bonding Curve

Overflow

Pump.fun Bonding Curve · Custom(6024) · 0x1788

custom program error: 0x1788

What it means

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.

What to do

The error name is the program's own diagnosis. Paste the failed transaction into TxWhy to see which instruction raised it and with which accounts.

Seen on mainnet

Raised inside sell_v2's fee arithmetic (programs/pump/src/lib.rs), right after the fee program prices the trade. Every case the replay sampled in October 2026 came through a router's percentage sell (an instruction such as SellBondingCurvePercentage calling sell_v2), never a direct sell. Nothing on your side is short. Sell the amount directly with the Pump SDK's sell builder, or a smaller amount through the router.

From replaying real landed failures through the repair engine, around the clock since September 21, 2026. Every verdict and its reason is on the failure index.

Have the transaction that failed with this?

Paste its signature. TxWhy shows the exact instruction and inner call that raised the error, and rebuilds the transaction when the cause is one it can fix (compute limit, expired blockhash, priority fee, a stale swap quote or a moved limit).

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.