Evolution SDK
ModulesSdkBuildersPhases

sdk/builders/phases/Phases.ts

Phases overview

Core type definitions for transaction builder phases.

Each phase is modularized into its own file and executes as part of the transaction state machine.

Added in v2.0.0


Table of contents


utils

Phase (type alias)

Build phases of the transaction state machine.

Signature

export type Phase =
  | "selection"
  | "changeCreation"
  | "feeCalculation"
  | "balance"
  | "evaluation"
  | "collateral"
  | "fallback"
  | "complete"

Added in v2.0.0

PhaseResult (interface)

Result returned by a phase indicating the next phase to execute.

Signature

export interface PhaseResult {
  readonly next: Phase
}

Added in v2.0.0