Skip to main content

Questions tagged [confirmationstrategy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers

Solana sendRawTransaction & confirmTransaction ; confirmTransaction takes forever and fails

Allright I need help.. My Web3.js sign and send wouldn't work. I either get BlockHeightExceeded , Blockhash not found, or it just gets stucked in the confirmTransaction.. I have googled and looked ...
mesnia's user avatar
  • 13
2 votes
1 answer

Using getSignatureStatuses to confirm transaction

I'm using a niche language that doesn't have an existing solana library, thus needing to write my own transaction confirmation logic. This github issue documents what the new approach for both the ts/...
tepefew's user avatar
  • 97
1 vote
2 answers

Confirming transaction seems to be inconsistent?

I have been using the following chunk of code for awhile and it seems to work about 98% of the time, however there are cases where the transaction does go through seemingly immediately, but this does ...
Thud's user avatar
  • 41
0 votes
1 answer

How to confirm a transaction given only the transaction signature and slot number?

I want to confirm a transaction gracefully and wait for it to be finalized. I understand the best way to do this is to use the Connection.confirmTransaction method with the ...
Sumit Ghosh's user avatar
1 vote
1 answer

How to add confirmationStrategy in JS

Hello I already read this question But I don't know how to create the BlockheightBasedTransactionConfirmationStrategy object in JS as in that example TS is used. I will like to get this code in JS: ...
CryptoTioSam's user avatar
2 votes
0 answers

Using a confirmationStrategy to submit a serialized transaction [duplicate]

We are taking a signed and serialized transaction and trying to call sendAndConfirmRawTransaction with a confirmationStrategy. The issue I am running into is that the lastValidBlockHeight on the ...
Smixx's user avatar
  • 151
5 votes
1 answer

how to use sendAndConfirmRawTransaction with BlockheightBasedTransactionConfirmationStrategy, i need a demo

new function: /* Send and confirm a raw transaction If commitment option is not specified, defaults to 'max' commitment. @param {Connection} connection @param {Buffer} rawTransaction @param {...
ghost chen's user avatar