Questions tagged [blockhash]
The blockhash tag has no usage guidance.
10
questions
0
votes
0
answers
9
views
API mainbet: recent blockhash behind
I created an application that send a tx to a client but recently the recent blockhash from solana mainbet is behind
3
votes
2
answers
35
views
Can I somehow subscribe to the latest block hash?
I am trying to get a bit better performance for a game and would like to have the block hash already there when I send the transaction so I don't have to wait for the roundtrip to get it just before I ...
3
votes
1
answer
46
views
spl-token 2.2.0 at solana 1.13.5 getting multisig error: Client(PresignerError(VerificationFailure))
I've been using spl-token multisig for quite a while, but recently it stopped working and I'm getting this error:
Client(PresignerError(VerificationFailure))
We checked everything 10 times, rotated ...
2
votes
1
answer
40
views
Can I send the same transaction twice in the same block?
I am building a game and want to send multiple move transactions in quick succession.
But when I do that I get two transactions with the same hash when the recent block hash didn't change yet and I ...
2
votes
2
answers
405
views
Blockhash expired. 5 retries remaining
trying to deploy a program to the devnet I keep encountering this issue when my program just tries and retry to deploy with no success, any idea why this may be?:
cargo-build-bpf child: /Users/juan/....
1
vote
0
answers
27
views
Latest block hash does not work on mainnet
I have a program launched onto mainnet, but I cannot connect to it. Every time I try, I get a Blockhash not found error. I have confirmed my connection works on devnet without an issue. I have tried ...
0
votes
1
answer
55
views
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 ...
1
vote
1
answer
156
views
signTransaction() wallet adapter
const {signTransaction} = useWallet()
const transaction = new Transaction()
const tx = .... //arbitrary anchor program method as transaction
transaction.add(tx)
const signature = signTransaction(...
10
votes
1
answer
81
views
Find the last valid block height for a given blockhash
https://docs.solana.com/developing/clients/jsonrpc-api#getlatestblockhash provides a way to get the latest blockhash and last valid block height for a given commitment.
https://docs.solana.com/...
5
votes
5
answers
160
views
Getting Error: failed to send transaction: Transaction simulation failed: Attempt to load a program that does not exist
I'm currently trying to run an escrow program and when i turn on the solana-test-validator in a different terminal it gives me this error:
failed to send transaction: Transaction simulation failed: ...