Closed BillInUK closed 5 months ago
txSig, err := rpcClient.SendTransaction(context.Background(), tx)
always return success,but somtimes,transaction can not located at blockchain.
I personally doing this: https://docs.triton.one/chains/solana/sending-txs#tl-dr
works fine for me so far except fee calculation needs to be precise.
When you send a transaction to an RPC, there are no guarantees that it will land on-chain.
There are many factors that influence your success chances.
Hello, I have encountered a bug that occurs probabilistically. I want to send a transaction containing multiple instructions to the blockchain. Although I can successfully call
and get a transaction ID, I sometimes find that the transaction is dropped by the Solana cluster when I search for it on the blockchain. What could be the reason?
The instructions in my transaction include:
Here is my code: