swap icon indicating copy to clipboard operation
swap copied to clipboard

Custom program error 0x12e: Swap from SPL Token to Native SOL

Open bigearsenal opened this issue 4 years ago • 4 comments

Hi there! When trying to Swap from a SPL Token (SRM for example) to SOL, I faced this problem which I couldn't understand. Program returned error: custom program error: 0x12e Any idea why? Thank you. You can follow this link and simulate transaction to see the logs.

bigearsenal avatar Aug 31 '21 09:08 bigearsenal

Is this because there is a minimum limit that is required to be sent? Can you provide details of what amount you transferred?

munanadi avatar Sep 24 '21 22:09 munanadi

Hi @Aadhinana, the amount was 1 USDC. I don't think It was a small number. Thus the error for minimum limit is different

bigearsenal avatar Sep 25 '21 03:09 bigearsenal

Was it 1USDC to SRM? I am not able to understand the transaction. Could you help me out here?

munanadi avatar Sep 26 '21 20:09 munanadi