zetamarkets / sdk

SDK for accessing the Zeta program
Other
85 stars 29 forks source link

Use confirmTransaction with new args #235

Closed filipzeta closed 1 year ago

filipzeta commented 1 year ago

Using confirmTransaction() with the new BlockheightBasedTransactionConfirmationStrategy provides a better UX in regards to transactions that time out or take a while to confirm. This PR changes that, and there's some extra syntax bits regarding the optional blockhash argument