TransactionStatus

@Serializable
sealed class TransactionStatus

Represents the status of a blockchain transaction.

A transaction can be in one of several states:

  • Pending: Transaction has been submitted but not yet mined

  • Confirmed: Transaction has been mined and confirmed

  • Failed: Transaction was mined but reverted/failed

  • NotFound: Transaction cannot be found on the blockchain

This sealed class hierarchy allows for type-safe handling of different transaction states while providing state-specific data.

Inheritors

Properties

Link copied to clipboard
abstract val hash: String

The transaction hash