{"title":"PumpSwap error 0x177d (6013) means the pool rejected the account supplied to receive its protocol fee","answer":"The wallet offered 288,292,831,560 of the token’s smallest units for sale and set its minimum return to zero, but PumpSwap rejected the address supplied to receive the protocol’s trading fee.","next_check":"Read the pool’s settings and compare the fee recipient in the signed sale with the addresses PumpSwap allows for that pool.","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/pumpswap-6013.json","transaction_url":"/tx/jSWLqtMHGo3aTikUU2MuLJRKroHafbyQtiv2mhQtuX7UeZbZBfruSsgomHTANtoSebwPSjecx7kuryRo16W4EDM","related_guide":null,"checks":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","venue":"PumpSwap","code":6013,"hex":"0x177d","name":"InvalidProtocolFeeRecipient","meaning":"The address supplied to receive the protocol fee was not a valid recipient for this pool trade.","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":"pumpswap-6013"}],"next":"Read the pool’s mode and the fee recipients in PumpSwap’s global settings because pools with Mayhem mode enabled use reserved recipients and ordinary pools use the normal list. Compare the address in the protocol_fee_recipient position of the signed Sell instruction with the list for that mode, and rebuild the sale if the address or its position differs. The receipt does not show why the bot supplied that recipient.","reviewed":"2026-11-26","receipt":{"signature":"jSWLqtMHGo3aTikUU2MuLJRKroHafbyQtiv2mhQtuX7UeZbZBfruSsgomHTANtoSebwPSjecx7kuryRo16W4EDM","fee_lamports":15200,"time":"2026-11-27 06:49:08 UTC","instruction":"Sell","outer_index":3,"source":"decoded receipt","url":"https://explorer.solana.com/tx/jSWLqtMHGo3aTikUU2MuLJRKroHafbyQtiv2mhQtuX7UeZbZBfruSsgomHTANtoSebwPSjecx7kuryRo16W4EDM","program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","venue":"PumpSwap","code":6013,"hex":"0x177d","error_name":"InvalidProtocolFeeRecipient"},"sources":[{"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 PumpSwap pool accounts and settings","url":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/docs/PUMP_SWAP_README.md"},{"label":"the guide to fee recipient lists","url":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/docs/FEE_RECIPIENTS.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-27 08:07:29 UTC","periods_end_at":"2026-11-27 08:07:00 UTC","windows":{"hour":{"start":"2026-11-27 07:07:00 UTC","end":"2026-11-27 08:07:00 UTC","status":"complete","errors":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","code":"6013","transactions":466,"fee_lamports":16781151,"instructions":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Buy","outcome":"6013","transactions":3,"fee_lamports":55000,"priority_lamports":40000,"attempts":63615,"share":4.715868898844612e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteIn","outcome":"6013","transactions":171,"fee_lamports":3829033,"priority_lamports":2974033,"attempts":145777,"share":0.0011730245511980628},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Sell","outcome":"6013","transactions":292,"fee_lamports":12897118,"priority_lamports":11407118,"attempts":273152,"share":0.0010690018744142456}],"has_attempts":true}]},"day":{"start":"2026-11-26 08:07:00 UTC","end":"2026-11-27 08:07:00 UTC","status":"partial","errors":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","code":"6013","transactions":37170,"fee_lamports":4271377708,"instructions":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Buy","outcome":"6013","transactions":2061,"fee_lamports":113604160,"priority_lamports":103299160,"attempts":1625018,"share":0.001268293643516564},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteIn","outcome":"6013","transactions":19102,"fee_lamports":2521292349,"priority_lamports":2425747349,"attempts":4324016,"share":0.004417652478621726},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Sell","outcome":"6013","transactions":16007,"fee_lamports":1636481199,"priority_lamports":1555951199,"attempts":6128217,"share":0.002612015860404421}],"has_attempts":true}],"missing_seconds":1.2,"gaps":[{"start":"2026-11-26 16:59:28 UTC","end":"2026-11-26 16:59:30 UTC"},{"start":"2026-11-26 16:59:29 UTC","end":"2026-11-26 16:59:30 UTC"}]}}},"live_url":"/errors/live.json"}