0

I am getting this error using "solana transfer" at the command line. "solana address," and "solana balance" both work fine, so it seems like the wallet is properly connected.

the error is as follows:

Error: RPC response error -32002: Transaction simulation failed: This account may not be used to pay transaction fees

The address I am using was used as a seed in "findProgramAddressSync" for a creating an off curve PDA address.

There is nothing else particularly interesting about the account. I am trying to zero it.

3
  • 1
    Check the owner of your provider wallet(the wallet that signs and pays for the transaction). If it's not the system program then that might be the issue
    – Ademola
    Mar 15, 2023 at 4:11
  • are you using the PDA to sign the tx or creating a PDA ?
    – Pratik.js
    Mar 15, 2023 at 11:59
  • I ended up resolving this. I had to use a CPI to close the wallet. The address was not owned by the system program. Mar 16, 2023 at 1:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.