Tips & Tricks đź’ˇ
✦ Default polling is 6000ms, default timeout is 90000ms, default patience is 0ms. Patience is an extra wait after the predicate fires — useful because outcome (events, logs, contract results) can lag the status flip slightly.
✦ Pass shorter intervals for faster confirmation in tests against a chain simulator. Pass longer intervals to avoid hammering production RPCs.
✦ The entrypoint's awaitCompletedTransaction uses the defaults. If you need custom cadence or predicates, instantiate TransactionWatcher directly.
✦ Failures throw typed errors — ErrExpectedTransactionStatusNotReached, ErrIsCompletedFieldIsMissingOnTransaction, ErrExpectedTransactionEventsNotFound. Catch and handle the case you care about, don't swallow them all.