0

I am trying to send a transaction that consists of:

  1. SOL transfer
  2. Anchor Program instruction

enter image description here

Although, for the "Estimated Balance Changes" part of Phantom Wallet, it will always say "Transaction may fail to confirm"

enter image description here

Is there any way to not display "Transaction may fail to confirm"?

By the way, I have skipPreflight set to false so that transaction simulations are allowed

1 Answer 1

3

Phantom simulates transactions via Solana web3js's simulateTransation method. If your transaction is able to be simulated via this method, but consistently fails simulation within Phantom, please double check that your Phantom wallet is set to the same network you intend to simulate on.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.