Type Alias: waitForTransactionOptions
waitForTransactionOptions =
object
Defined in: src/types/lib/index.ts:325
Properties
lifeCycleRetries?
optionallifeCycleRetries?:number
Defined in: src/types/lib/index.ts:330
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:334
Define the number of retries before throwing an error
retryInterval?
optionalretryInterval?:number
Defined in: src/types/lib/index.ts:338
Define the time interval between retries in milliseconds
successStates?
optionalsuccessStates?: (TransactionFinalityStatus|TransactionExecutionStatus)[]
Defined in: src/types/lib/index.ts:342
Define which states are considered as successful
errorStates?
optionalerrorStates?: (TransactionFinalityStatus|TransactionExecutionStatus)[]
Defined in: src/types/lib/index.ts:346
Define which states are considered as errors