Questions tagged [sendandconfirmrawtransaction]

Filter by
Sorted by
Tagged with
2 votes
1 answer
107 views

Why use getTransaction or getSignatureStatus for tx confirmation?

Why would I do polling with getTransaction or getSignatureStatus, when I can just use sendAndConfirm to check the tx status?
Burger Bob's user avatar
  • 1,246
2 votes
2 answers
432 views

How to ensure that a transaction is successful?

I am sending transactions using the Solana web3js library: sendRawTransaction confirmTransaction w/ "confirmed" commitment. Although, how would I check that the tx was actually successful?
Burger Bob's user avatar
  • 1,246
1 vote
2 answers
680 views

How to Sign a Transaction with Multiple Signers

I have a transaction that uses 2 signers(the user and the Keypair from the backend). It signs from the Backend and returns a serialized transaction for the user to sign. However, I am getting this ...
chinepun.sol's user avatar
2 votes
1 answer
186 views

How to handle multiple transaction when transaction instruction is too long

I have to send multiple transaction at once but if I will add the transaction like... txn.add([ixn1, ixn2, ixn]); or txn.add(ixn1);txn.add(ixn2)... So, this will handle by the solana runtime right, ...
Aslam's user avatar
  • 423
0 votes
2 answers
133 views

createAccount with pda gives Error: signature verification failed

I am doing something similar to this issue.. here are the two ix: let tx = new anchor.web3.Transaction(); tx.add( anchor.web3.SystemProgram.createAccount({ fromPubkey: ...
Lobo1897's user avatar
  • 153
9 votes
2 answers
164 views

How to bypass wallet approval and use the keypair on backend?

OK, Im trying to make transactions on backend(Nodejs). I want to make transactions that are made on the backend and want to store there as well(This parts easy). I just want to make sure, Because I ...
Syed Murtaza Ali Shah's user avatar
2 votes
0 answers
36 views

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
456 views

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