API ReferenceReact provider and hooksInterface
UseWorkflowLifecycleResult
Beta
What useWorkflowLifecycle returns.
Properties
operations
operations: | WalletOperation<AnvilWalletOperationType>[] | undefined;Beta
Operation snapshot, advancing as wallet execution proceeds.
phase
phase: WorkflowPhase;Beta
Where the run currently stands.
settlement
settlement: | WorkflowSettlement | undefined;Beta
How the run ended, or undefined while it is still running or if it settled nothing.