WaitForTransactionOptions

constructor(timeoutSecs: Int = DEFAULT_TXN_TIMEOUT_SEC, checkSuccess: Boolean = true, waitForIndexer: Boolean? = null)

Parameters

timeoutSecs

The maximum number of seconds to wait for the transaction to be finalized.

checkSuccess

If true, the method will return an error if the transaction is not successful.

waitForIndexer

If true, the method will wait for the transaction to be indexed by the indexer.