Unable to send transactions to phantom wallet

See original GitHub issue

Describe the bug When trying to send transaction to phantom it is throwing an error “WalletSendTransactionError: Missing or invalid parameters. at PhantomWalletAdapter.sendTransaction”, However when I try to send the same with solflare wallet, it works.

To Reproduce Steps to reproduce the behavior: These are the related packages which I am using.

    "@solana-mobile/wallet-adapter-mobile": "^0.9.1",
    "@solana/wallet-adapter-base": "^0.9.16",
    "@solana/wallet-adapter-react": "^0.15.18",
    "@solana/wallet-adapter-react-ui": "^0.9.16",
    "@solana/wallet-adapter-wallets": "0.18.9",
    "@solana/web3.js": "^1.61.1",

If I am not missing anything, It should be reproducible by sending any transactions to a phantom wallet. image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
pan0plycommented, Oct 10, 2022

I was having this problem as well. @johnvsnagendra thank you for the solution!

1reaction
JohnVersuscommented, Oct 7, 2022

Hi, So… the good news is adding preflightCommitment: 'processed', in the sendTransaction options solved it, But I did not know why it only affected when using phantom but not with solflare. If you have any explanation please do share. Thank you 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Phantom wallet - unable to send : r/solana - Reddit
I 'solved' this issue by opening same SLP wallet via Sollet and then sending it to desiered address, it worked without any problem....
Read more >
Why did my transaction fail? - Phantom
Gas is a network fee for sending a transaction, and every transaction on Solana will need some SOL.
Read more >
How can I send tokens to an exchange? - Phantom Wallet
Never free-hand type the address, always copy-paste. Open up your Phantom wallet and click on "Send", search for the token you would like...
Read more >
FAQ - Phantom
I sent tokens to the wrong wallet address. All transactions made on the blockchain are final and irreversible. The decentralized nature of blockchains...
Read more >
I sent tokens to an exchange and it hasn't arrived yet - Phantom
There is no way to reverse a transaction, it is impossible, so ensure you only copy and paste, or use the QR reader,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found