Skip to main content

ExecutionStatus

ExecutionStatus

enum ExecutionStatus

The status of an executed Transaction

BCS

The BCS serialized form for this type is defined by the following ABNF:

execution-status = success / failure
success = %d00
failure = %d01 execution-error (option u64)

ExecutionStatus.failure(error:command:)

case failure(error: ExecutionError, command: UInt64?)

The Transaction didn't execute successfully.

Failed transactions are still committed to the blockchain but any intended effects are rolled back to prior to this transaction executing with the caveat that gas objects are still smashed and gas usage is still charged.

ExecutionStatus.success

case success

The Transaction successfully executed.