SubmitResult

scalus.cardano.node.SubmitResult
See theSubmitResult companion object
final class SubmitResult

Outcome of a transaction submission, usable from Java.

A null-based view over Either[SubmitError, TransactionHash] so non-Scala callers can inspect results without pattern matching — and tests that expect a rejection can assert on getErrorOrNull without try/catch. Scala code should keep using the Either-returning submit/submitSync (or toEither).

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def getErrorMessageOrNull: String

The submission error message on failure, null on success.

The submission error message on failure, null on success.

Attributes

The submission error on failure, null on success.

The submission error on failure, null on success.

Attributes

The transaction hash on success, null on failure.

The transaction hash on success, null on failure.

Attributes

def isSuccess: Boolean

Scala escape hatch.

Scala escape hatch.

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any