TransactionFailedException

class TransactionFailedException(message: String, assembledTransaction: AssembledTransaction<*>) : ContractException

Exception thrown when a transaction fails during execution.

The transaction was submitted to the network and processed, but execution failed. Common causes include contract logic errors, insufficient funds, or invalid state.

Check assembledTransaction.AssembledTransaction.getTransactionResponse for detailed error information.

Constructors

Link copied to clipboard
constructor(message: String, assembledTransaction: AssembledTransaction<*>)

Properties

Link copied to clipboard

The AssembledTransaction that caused the error

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?