Type Alias: waitForTransactionOptions
waitForTransactionOptions =
object
Defined in: src/types/lib/index.ts:349
Properties
lifeCycleRetries?
optionallifeCycleRetries?:number
Defined in: src/types/lib/index.ts:354
Define the number of retries before throwing an error for the transaction life cycle when the transaction is not found after it had a valid status. This is useful for nodes that are not fully synced yet when connecting to service that rotate nodes.
retries?
optionalretries?:number
Defined in: src/types/lib/index.ts:358
Define the number of retries before throwing an error
retryInterval?
optionalretryInterval?:number
Defined in: src/types/lib/index.ts:362
Define the time interval between retries in milliseconds
successStates?
optionalsuccessStates?: (TransactionFinalityStatus|TransactionExecutionStatus)[]
Defined in: src/types/lib/index.ts:366
Define which states are considered as successful
errorStates?
optionalerrorStates?: (TransactionFinalityStatus|TransactionExecutionStatus)[]
Defined in: src/types/lib/index.ts:370
Define which states are considered as errors