loopholetape

What happened to this transaction?

The transaction reached the chain and failed, and the fee payer spent 5638 lamports in network fees.

The amount offered in the payment coin was too small to cover the trading fees.

What the record showsAmount or value
Failing programpAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA
Outer instruction, counting from zero0
Raw chain error{"InstructionError": [0, {"Custom": 6039}]}
Time in UTCCoin addressVenue and sideOutcomeTokens in base unitsPrice paid or received in quote unitsSigned size and limitUnits for size and limitTransaction fee in lamportsReasonSignature
2026-11-28 18:56:33 UTCHnRPNwcYZFhsuRg5ChqdBEUR7DLx1XrGXdYkuSBqpumpPumpSwap buyfailedUnknownUnknown[2, 1]quote_in/min_tokens5638BuyNotEnoughQuoteTokensToCoverFeesUFVqNXjJcLhcmd9nUAWypTUu9V8H5JnvHSbdmx2twoo3iXJxHsDuNwFnBpb19wEgusRYhR9kheYxZAmrd3Qfzg8
Read the transaction details
What the record showsAmount or value
Slot475062240
Wallet’s roletrader and fee payer
Quote currency addressSo11111111111111111111111111111111111111112
Outer instruction, counting from zero0
Trade instructionbuy_exact_quote_in_v2
Base fee in lamports5000
Priority fee in lamports638
Tips paid by this wallet in the transaction0
Venue fee in quote unitsUnknown
Creator fee in quote unitsUnknown
Liquidity provider fee in quote unitsUnknown
Failing programpAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA
Failing instructionBuyExactQuoteInV2
Outer instruction that failed0
Raw chain error{"InstructionError": [0, {"Custom": 6039}]}
Reason given for the failureThe amount offered in the payment coin was too small to cover the trading fees.
Time sent in Unix secondsUnknown
Quote saved by the botUnknown
Limit saved by the botUnknown
Shortfall against the quoteUnknown
Units for the shortfallUnknown
What the record showsAmount or value
Failing programpAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA
Failing instructionBuyExactQuoteInV2
Outer instruction, counting from zero0
Network fee in lamports5638
Available lamportsUnknown
Required lamportsUnknown
Funding accountUnknown

PumpSwap calls 6039 (0x1797) BuyNotEnoughQuoteTokensToCoverFees. The amount offered in the payment coin was too small to cover the trading fees.

You can check this meaning in idl/pump_amm.json at 8cda1fa30ea658b20909d8aedf002047119388d2 from 2026-10-07 and read the guide with a worked example.

In BuyExactQuoteInV2 the spendable_quote_in amount includes trading fees, and min_base_amount_out sets the smallest return the buyer accepts. Check the payment coin’s decimal places and the fees for this pool before rebuilding the buy for an amount the buyer agrees to spend. Pump uses BuyNotEnoughSolToCoverFees on its bonding curve, which sets the launch price, when the SOL offered for the buy cannot cover the fees. The pool log gives no breakdown of the fee on the recorded buy.

You can open the free day for this wallet to see the fees across its trades.