WaitForTransactionOptions

data class WaitForTransactionOptions(val timeoutSecs: Int = DEFAULT_TXN_TIMEOUT_SEC, val checkSuccess: Boolean = true, val waitForIndexer: Boolean? = null)

Options for waiting for a transaction to be finalized.

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.

Constructors

Link copied to clipboard
constructor(timeoutSecs: Int = DEFAULT_TXN_TIMEOUT_SEC, checkSuccess: Boolean = true, waitForIndexer: Boolean? = null)

Properties

Link copied to clipboard
val checkSuccess: Boolean = true
Link copied to clipboard
Link copied to clipboard
val waitForIndexer: Boolean? = null