{"title":"Pump errors 0x1784 (6020) and 0x1786 (6022) mean the buy or sale has a size of zero","answer":"The seller offered zero token units and set the minimum return to zero, and Pump reported SellZeroAmount. In the recorded buys the signed token amount was also zero, and Pump reported BuyZeroAmount.","next_check":"Read the signed trade size in the coin’s smallest units and check that the amount to buy or sell is at least one unit.","log_limit":"A pasted log line alone cannot show the fee, and the meaning stays open if you cannot identify the program that failed.","json_url":"/errors/zero-amount.json","transaction_url":"/tx/3FyzbEZ8B2EamajLv5SYPZs4h3CMak9sBtaW4GFR29zYTQvFgwsuHRA5fHpLHMCaJKx4bQywg4tu9wgXhBVUxUuo","related_guide":null,"checks":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","venue":"Pump","code":6020,"hex":"0x1784","name":"BuyZeroAmount","meaning":"The token amount written into the buy was zero.","source":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/idl/pump.json","revision":"idl/pump.json at 639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22 from 2026-10-13","guide":"zero-amount"},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","venue":"Pump","code":6022,"hex":"0x1786","name":"SellZeroAmount","meaning":"The token amount written into the sale was zero.","source":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/idl/pump.json","revision":"idl/pump.json at 639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22 from 2026-10-13","guide":"zero-amount"},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","venue":"PumpSwap","code":6001,"hex":"0x1771","name":"ZeroBaseAmount","meaning":"The trade had a zero amount of the pool’s base coin.","source":"https://github.com/pump-fun/pump-public-docs/blob/8cda1fa30ea658b20909d8aedf002047119388d2/idl/pump_amm.json","revision":"idl/pump_amm.json at 8cda1fa30ea658b20909d8aedf002047119388d2 from 2026-10-07","guide":"zero-amount"},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","venue":"PumpSwap","code":6002,"hex":"0x1772","name":"ZeroQuoteAmount","meaning":"The trade had a zero amount of the pool’s payment coin.","source":"https://github.com/pump-fun/pump-public-docs/blob/8cda1fa30ea658b20909d8aedf002047119388d2/idl/pump_amm.json","revision":"idl/pump_amm.json at 8cda1fa30ea658b20909d8aedf002047119388d2 from 2026-10-07","guide":"zero-amount"}],"next":"Compare the size your bot intended with the whole number it wrote into the instruction after converting for the coin’s decimal places. PumpSwap names the side with the zero amount because the base coin is the token being priced and the quote coin is the coin used to pay. Check both amounts before rebuilding the trade, and skip a trade whose intended size amounts to zero units.","reviewed":"2026-11-28","receipt":{"signature":"3FyzbEZ8B2EamajLv5SYPZs4h3CMak9sBtaW4GFR29zYTQvFgwsuHRA5fHpLHMCaJKx4bQywg4tu9wgXhBVUxUuo","fee_lamports":20301,"time":"2026-11-28 18:55:02 UTC","instruction":"Sell","outer_index":2,"source":"decoded receipt","url":"https://explorer.solana.com/tx/3FyzbEZ8B2EamajLv5SYPZs4h3CMak9sBtaW4GFR29zYTQvFgwsuHRA5fHpLHMCaJKx4bQywg4tu9wgXhBVUxUuo","program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","venue":"Pump","code":6022,"hex":"0x1786","error_name":"SellZeroAmount","fee_sol":"0.000020301"},"sources":[{"label":"idl/pump.json at 639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22 from 2026-10-13","url":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/idl/pump.json"},{"label":"idl/pump_amm.json at 8cda1fa30ea658b20909d8aedf002047119388d2 from 2026-10-07","url":"https://github.com/pump-fun/pump-public-docs/blob/8cda1fa30ea658b20909d8aedf002047119388d2/idl/pump_amm.json"},{"label":"the guide to the amounts and accounts in SellV3","url":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/docs/instructions/TRADE_V3.md"},{"label":"the October 2026 guide to pool trade amounts and accounts","url":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/docs/instructions/PUMP_SWAP_TRADE_V2.md"}],"decoder":"/errors","report":"/wallet-report","live":{"source":"These counts come from the live stream of confirmed transactions that touch pump.fun or PumpSwap.","method":"Each transaction contributes its fee once, and a failure belongs to the program that reported it. A successful transaction belongs to the first pump.fun or PumpSwap instruction we could identify. An instruction is one step in a transaction, and its attempts include transactions that failed at a later step. The fees include the extra amount paid for priority, and one billion lamports make one SOL.","payers":"Each minute counts a sender once per instruction and outcome, and adding minutes could count the same sender twice.","updated_at":"2026-11-29 04:57:55 UTC","periods_end_at":"2026-11-29 04:57:00 UTC","windows":{"hour":{"start":"2026-11-29 03:57:00 UTC","end":"2026-11-29 04:57:00 UTC","status":"complete","errors":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","code":"6020","transactions":32,"fee_lamports":711422,"instructions":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Buy","outcome":"6020","transactions":32,"fee_lamports":711422,"priority_lamports":551422,"attempts":27670,"share":0.0011564871702204554}],"has_attempts":true},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","code":"6022","transactions":34,"fee_lamports":832644,"instructions":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Sell","outcome":"6022","transactions":34,"fee_lamports":832644,"priority_lamports":662644,"attempts":29554,"share":0.001150436489138526}],"has_attempts":true},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","code":"6001","transactions":24,"fee_lamports":3311445,"instructions":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Buy","outcome":"6001","transactions":7,"fee_lamports":192519,"priority_lamports":157519,"attempts":71624,"share":9.773260359655981e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteIn","outcome":"6001","transactions":9,"fee_lamports":45009,"priority_lamports":9,"attempts":155733,"share":5.779121958737069e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Sell","outcome":"6001","transactions":8,"fee_lamports":3073917,"priority_lamports":3033917,"attempts":267926,"share":2.9858990915402014e-05}],"has_attempts":true},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","code":"6002","transactions":0,"fee_lamports":0,"instructions":[],"has_attempts":true}]},"day":{"start":"2026-11-28 04:57:00 UTC","end":"2026-11-29 04:57:00 UTC","status":"partial","errors":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","code":"6020","transactions":891,"fee_lamports":28188958,"instructions":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Buy","outcome":"6020","transactions":877,"fee_lamports":24916623,"priority_lamports":20531623,"attempts":862844,"share":0.001016406210160817},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"BuyExactQuoteInV3","outcome":"6020","transactions":4,"fee_lamports":3031000,"priority_lamports":3011000,"attempts":2639507,"share":1.5154345110658922e-06},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"BuyV2","outcome":"6020","transactions":10,"fee_lamports":241335,"priority_lamports":191335,"attempts":42387,"share":0.00023592139099252128}],"has_attempts":true},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","code":"6022","transactions":2421,"fee_lamports":513894033,"instructions":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Sell","outcome":"6022","transactions":2405,"fee_lamports":512601317,"priority_lamports":500576317,"attempts":1052974,"share":0.0022840070125188278},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV2","outcome":"6022","transactions":11,"fee_lamports":336731,"priority_lamports":281731,"attempts":295787,"share":3.7188923110211064e-05},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV3","outcome":"6022","transactions":5,"fee_lamports":955985,"priority_lamports":930985,"attempts":857042,"share":5.834019802996819e-06}],"has_attempts":true},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","code":"6001","transactions":1210,"fee_lamports":259884738,"instructions":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Buy","outcome":"6001","transactions":221,"fee_lamports":7236544,"priority_lamports":6131544,"attempts":1879656,"share":0.00011757470515881629},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteIn","outcome":"6001","transactions":124,"fee_lamports":2568491,"priority_lamports":1948491,"attempts":4266734,"share":2.9062041364659714e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteInV2","outcome":"6001","transactions":17,"fee_lamports":242007,"priority_lamports":157007,"attempts":2124440,"share":8.002108791022575e-06},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"MultiHopSwap","outcome":"6001","transactions":2,"fee_lamports":17390,"priority_lamports":7390,"attempts":250170,"share":7.994563696686253e-06},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Sell","outcome":"6001","transactions":796,"fee_lamports":246430786,"priority_lamports":242450786,"attempts":7214594,"share":0.00011033191888552565},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"SellV2","outcome":"6001","transactions":50,"fee_lamports":3389520,"priority_lamports":3139520,"attempts":1519491,"share":3.290575594064065e-05}],"has_attempts":true},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","code":"6002","transactions":371,"fee_lamports":5443246,"instructions":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteIn","outcome":"6002","transactions":11,"fee_lamports":160060,"priority_lamports":105060,"attempts":4266734,"share":2.57808431460691e-06},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteInV2","outcome":"6002","transactions":131,"fee_lamports":1460805,"priority_lamports":800805,"attempts":2124440,"share":6.166330891905632e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"MultiHopSwap","outcome":"6002","transactions":229,"fee_lamports":3822381,"priority_lamports":2522381,"attempts":250170,"share":0.000915377543270576}],"has_attempts":true}],"missing_seconds":17.5,"gaps":[{"start":"2026-11-28 19:46:42 UTC","end":"2026-11-28 19:47:01 UTC"}]}}},"live_url":"/errors/live.json"}