Skip to content

Conversation

ke6jjj
Copy link
Contributor

@ke6jjj ke6jjj commented Feb 4, 2025

Use send_and_confirm_transaction instead of send_transaction_with_config as the former only returns once the transaction has been confirmed (via the "finalized" strategy) or has timed out. The latter method only sends the transaction in the hopes that it will be confirmed, which, during periods of high congestion, isn't a secure strategy.

Use `send_and_confirm_transaction` instead of `send_transaction_with_config`
as the former only returns once the transaction has been confirmed
(via the "finalized" strategy) or has timed out. The latter method only
sends the transaction in the _hopes_ that it will be confirmed, which, during
periods of high congestion, isn't a secure strategy.
@ke6jjj ke6jjj marked this pull request as draft February 16, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants