Has anyone experienced this "Transaction expired" issue inside Phantom and knows how to fix it?

Im trying to make a transaction in my local environment, and it used to work.

enter image description here

1 Answer 1


Nevermind, I had to change the phantom wallet to use localhost.

  • Going forward, the Phantom should always be set to the same network as the dapp that's requesting the tx. This error shows because Phantom doesn't recognize the blockhash that's on localhost when it looks for it on mainnet. We'll improve this error message and make it easier to change to the correct network! Oct 3, 2022 at 20:19
  • Hi @BrianFriel, I have definitely seen you as an author for some Solana blog! Thanks for sharing the knowledge. It was just weird to me, since it must have been a recent update. Previously, my wallet could be connected to mainnnet and I would still be able to interact with Apps in local env.
    – Burger Bob
    Oct 4, 2022 at 8:45

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.