{"title":"Anchor error 0xbc4 (3012) on Pump and PumpSwap means an account needed for the trade had not been set up","answer":"The PumpSwap seller offered 1,805,742,045 of the token’s smallest units and required at least 0.063880037 SOL in return. PumpSwap reported that an account needed for the sale had not been set up, which is error 3012 in Anchor, the framework that both PumpSwap and Pump use to check accounts.","next_check":"Find the program that reported 3012 and check whether its log names the account it expected to be ready.","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/anchor-3012.json","transaction_url":"/tx/2aV3uaE2hmNVchCzRc55ge63hEawm7QxD4H5oJ73fbzohcd9QeQUVrMtn2Cgtz3UX2iDKRHyLEKnbobgrQKaT5uL","related_guide":null,"checks":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","venue":"Pump","code":3012,"hex":"0xbc4","name":"AccountNotInitialized","meaning":"The instruction required an account that had not yet been set up.","source":"https://github.com/coral-xyz/anchor/blob/47284f8f0b9844c6b83234aa90f556bad00e12ed/lang/src/error.rs#L241-L243","revision":"Anchor’s error list at 47284f8f0b9844c6b83234aa90f556bad00e12ed","guide":"anchor-3012"},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","venue":"PumpSwap","code":3012,"hex":"0xbc4","name":"AccountNotInitialized","meaning":"The instruction required an account that had not yet been set up.","source":"https://github.com/coral-xyz/anchor/blob/47284f8f0b9844c6b83234aa90f556bad00e12ed/lang/src/error.rs#L241-L243","revision":"Anchor’s error list at 47284f8f0b9844c6b83234aa90f556bad00e12ed","guide":"anchor-3012"}],"next":"Use the account list for the failing program and instruction to match the account named in the log to its address in the signed trade. If the log gives no account name, check the required accounts against that list and read their state before retrying. Correct a mismatched address or complete the required setup for the intended account before building another trade.","reviewed":"2026-11-26","receipt":{"signature":"2aV3uaE2hmNVchCzRc55ge63hEawm7QxD4H5oJ73fbzohcd9QeQUVrMtn2Cgtz3UX2iDKRHyLEKnbobgrQKaT5uL","fee_lamports":15000,"time":"2026-11-27 06:49:34 UTC","instruction":"Sell","outer_index":3,"source":"decoded receipt","url":"https://explorer.solana.com/tx/2aV3uaE2hmNVchCzRc55ge63hEawm7QxD4H5oJ73fbzohcd9QeQUVrMtn2Cgtz3UX2iDKRHyLEKnbobgrQKaT5uL","program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","venue":"PumpSwap","code":3012,"hex":"0xbc4","error_name":"AccountNotInitialized"},"sources":[{"label":"Anchor’s error list at 47284f8f0b9844c6b83234aa90f556bad00e12ed","url":"https://github.com/coral-xyz/anchor/blob/47284f8f0b9844c6b83234aa90f556bad00e12ed/lang/src/error.rs#L241-L243"},{"label":"the Pump instruction account lists","url":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/idl/pump.json"},{"label":"the PumpSwap instruction account lists","url":"https://github.com/pump-fun/pump-public-docs/blob/8cda1fa30ea658b20909d8aedf002047119388d2/idl/pump_amm.json"}],"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:28 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":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","code":"3012","transactions":1401,"fee_lamports":103055402,"instructions":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Buy","outcome":"3012","transactions":205,"fee_lamports":1318000,"priority_lamports":293000,"attempts":26407,"share":0.007763093119248684},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"CloseUserVolumeAccumulator","outcome":"3012","transactions":2,"fee_lamports":10802,"priority_lamports":802,"attempts":5897,"share":0.0003391555027980329},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Sell","outcome":"3012","transactions":1098,"fee_lamports":85278177,"priority_lamports":79788177,"attempts":32295,"share":0.03399907106363214},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV2","outcome":"3012","transactions":8,"fee_lamports":47618,"priority_lamports":7618,"attempts":9973,"share":0.0008021658477890304},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV3","outcome":"3012","transactions":88,"fee_lamports":16400805,"priority_lamports":15960805,"attempts":26251,"share":0.0033522532474953336}],"has_attempts":true},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","code":"3012","transactions":1907,"fee_lamports":31921338,"instructions":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteIn","outcome":"3012","transactions":1,"fee_lamports":20688,"priority_lamports":15688,"attempts":145777,"share":6.859792697064695e-06},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteInV2","outcome":"3012","transactions":1,"fee_lamports":6100,"priority_lamports":1100,"attempts":20673,"share":4.837227301310889e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"MultiHopSwap","outcome":"3012","transactions":2,"fee_lamports":5710000,"priority_lamports":5700000,"attempts":8259,"share":0.000242160067804819},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Sell","outcome":"3012","transactions":1902,"fee_lamports":26179550,"priority_lamports":16669550,"attempts":273152,"share":0.006963156044985942},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"SellV2","outcome":"3012","transactions":1,"fee_lamports":5000,"priority_lamports":0,"attempts":23453,"share":4.263846842621413e-05}],"has_attempts":true}]},"day":{"start":"2026-11-26 08:07:00 UTC","end":"2026-11-27 08:07:00 UTC","status":"partial","errors":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","code":"3012","transactions":40543,"fee_lamports":4790895371,"instructions":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Buy","outcome":"3012","transactions":5102,"fee_lamports":36569500,"priority_lamports":11059500,"attempts":872917,"share":0.005844771037796262},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"BuyExactQuoteInV2","outcome":"3012","transactions":526,"fee_lamports":17337669,"priority_lamports":14707669,"attempts":363071,"share":0.0014487524478683234},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"BuyExactQuoteInV3","outcome":"3012","transactions":91,"fee_lamports":21172568,"priority_lamports":20717568,"attempts":2577959,"share":3.5299242540319685e-05},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"BuyV2","outcome":"3012","transactions":13,"fee_lamports":5039405,"priority_lamports":4974405,"attempts":43272,"share":0.0003004252172305417},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"BuyV3","outcome":"3012","transactions":229,"fee_lamports":28385557,"priority_lamports":27240557,"attempts":321756,"share":0.0007117194395753303},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"CloseUserVolumeAccumulator","outcome":"3012","transactions":17,"fee_lamports":90614,"priority_lamports":5614,"attempts":165651,"share":0.00010262539918261889},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Sell","outcome":"3012","transactions":31255,"fee_lamports":2876408989,"priority_lamports":2717693989,"attempts":943168,"share":0.033138316821605486},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV2","outcome":"3012","transactions":393,"fee_lamports":62909730,"priority_lamports":60934730,"attempts":296935,"share":0.001323521982925556},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV3","outcome":"3012","transactions":2909,"fee_lamports":1733341329,"priority_lamports":1718791329,"attempts":997328,"share":0.002916793672693437},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SweepCreatorFee","outcome":"3012","transactions":8,"fee_lamports":9640010,"priority_lamports":9600010,"attempts":183293,"share":4.364596574882838e-05}],"has_attempts":true},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","code":"3012","transactions":84823,"fee_lamports":1915881676,"instructions":[{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Buy","outcome":"3012","transactions":119,"fee_lamports":1153499,"priority_lamports":558499,"attempts":1625018,"share":7.322995806815678e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteIn","outcome":"3012","transactions":49,"fee_lamports":2277051,"priority_lamports":2032051,"attempts":4324016,"share":1.133205797573367e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyExactQuoteInV2","outcome":"3012","transactions":74,"fee_lamports":169715312,"priority_lamports":169345312,"attempts":2795990,"share":2.6466475201985702e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"BuyV2","outcome":"3012","transactions":17,"fee_lamports":78371780,"priority_lamports":78286780,"attempts":228735,"share":7.432181345224824e-05},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"ClaimCashback","outcome":"3012","transactions":7,"fee_lamports":45000,"priority_lamports":0,"attempts":4079,"share":0.0017161068889433686},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"CloseUserVolumeAccumulator","outcome":"3012","transactions":67,"fee_lamports":3095000,"priority_lamports":0,"attempts":478070,"share":0.00014014684042085886},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"CollectCoinCreatorFee","outcome":"3012","transactions":7,"fee_lamports":35000,"priority_lamports":0,"attempts":13334,"share":0.0005249737513124343},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Deposit","outcome":"3012","transactions":1,"fee_lamports":5100,"priority_lamports":100,"attempts":402,"share":0.0024875621890547263},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"MultiHopSwap","outcome":"3012","transactions":98,"fee_lamports":146211000,"priority_lamports":145721000,"attempts":297406,"share":0.00032951588064800304},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Sell","outcome":"3012","transactions":83906,"fee_lamports":1366399768,"priority_lamports":946864768,"attempts":6128217,"share":0.013691747534397036},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"SellV2","outcome":"3012","transactions":474,"fee_lamports":146753166,"priority_lamports":144383166,"attempts":1732868,"share":0.00027353497208096637},{"program":"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA","instruction":"Withdraw","outcome":"3012","transactions":4,"fee_lamports":1820000,"priority_lamports":1800000,"attempts":2309,"share":0.0017323516673884798}],"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"}