Solnet icon indicating copy to clipboard operation
Solnet copied to clipboard

SendTransaction and batch.Composer.Execute is not reliable?

Open JavinYang opened this issue 3 years ago • 0 comments

When SendTransaction is used, it is possible that the request has been sent to the block and write succeeded, but it still returns a request failure(For example, timeout). At this time, it is impossible to judge whether the transaction is successful. If the transaction is retried, there will be two transactions, which will cause serious consequences. As far as I know, there is a way to avoid this situation: https://docs.solana.com/integrations/retrying-transactions, But it seems that Solnet does not support this function. I urgently need a method to know whether the transaction is successful or not.

JavinYang avatar Nov 25 '22 06:11 JavinYang