Skip to Content

InitialTransaction

InitialTransaction = InitialTransactionParams & object

Defined in: types.ts:276 

The state of a transaction while executeTxAction runs, before it is added to the pool. UI layers use it for immediate feedback (signature prompts, preflight errors).

Type Declaration

error?

optional error?: TuwaErrorState

The normalized error when the flow failed before tracking started, for example a rejected signature.

isInitializing

isInitializing: boolean

true from the start of executeTxAction until the transaction is added to the pool or the flow fails.

lastTxKey?

optional lastTxKey?: string

The txKey of the transaction this action added to the pool.

localTimestamp

localTimestamp: number

Unix timestamp (seconds) when executeTxAction started.

Last updated on