-
Notifications
You must be signed in to change notification settings - Fork 254
Description
I am trying to perform the manual swap, and I have enough SOL in my wallet. Do you know if the pool requires the WSOL? I performed the same swap using jup to compare : https://solscan.io/tx/AFDWJvP5W8i7jaYjej2uDV28c7QrhLR8EVpovq1BiWmHQ2X5wd5iY7yhLcTLeDxpyPyLPZivLsAiE8yVxgqNALN
I compared both and found out, the failed one does not have the 2 inner instructions for transferchecked.
Error log :
#4
Unknown Program Instruction
Program logged: "Instruction: Buy"
Program invoked: Token Program
Program logged: "Instruction: TransferChecked"
Program consumed: 6147 of 40494 compute units
Program returned success
Program invoked: Token Program
Program logged: "Instruction: TransferChecked"
Program logged: "Error: insufficient funds"
Program consumed: 4487 of 31548 compute units
Program returned error: "custom program error: 0x1"
Program consumed: 49294 of 76355 compute units
Program returned error: "custom program error: 0x1"
Transaction : https://explorer.solana.com/tx/5xKhsf7cPNwQmVUNNyFkZ7tkeCGuzTwHePS2ofx8TvDAY4pEqWfR9Dn6tUNwdAdavsLQ7eGziVmkyDrmggHhSqMH