3

I am trying to send a simple transaction to transfer funds. When I invoke sendAndConfirmTransaction it just hangs and never returns.

I've tried configuring a few options in the command but that doesn't change anything. Here is the command I am sending:

    const tx = await web3.sendAndConfirmTransaction(connection, transferTransaction, [signer], {skipPreflight: true, maxRetries: 1})

Is there a way to see where the SDK is getting stuck?

1 Answer 1

3

Solana devnet was down for the past few days which is most likely the cause of your issue, not anything on your side.

You can stay updated at https://explorer.solana.com/?cluster=devnet

Generally, if the ping goes into the red, devnet is unusable.

1
  • 1
    That was it! fwiw I had checked the url https://api.devnet.solana.com/haproxy_status and that had showed a 200 OK, even though it was unavailable. Feb 14 at 17:07

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.