OnChainTransaction

Transaction happened on Bitcoin blockchain.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract override val amount: CurrencyAmount

The amount of money involved in this transaction.

Link copied to clipboard
abstract val blockHash: String?

The hash of the block that included this transaction. This will be null for unconfirmed transactions.

Link copied to clipboard
abstract val blockHeight: Int

The height of the block that included this transaction. This will be zero for unconfirmed transactions.

Link copied to clipboard
abstract override val createdAt: Instant

The date and time when this transaction was initiated.

Link copied to clipboard

The Bitcoin blockchain addresses this transaction was sent to.

Link copied to clipboard
abstract val fees: CurrencyAmount?

The fees that were paid by the wallet sending the transaction to commit it to the Bitcoin blockchain.

Link copied to clipboard
abstract override val id: String

The unique identifier of this entity across all Lightspark systems. Should be treated as an opaque string.

Link copied to clipboard
abstract val numConfirmations: Int?

The number of blockchain confirmations for this transaction in real time.

Link copied to clipboard
abstract override val resolvedAt: Instant?

The date and time when this transaction was completed or failed.

Link copied to clipboard
abstract override val status: TransactionStatus

The current status of this transaction.

Link copied to clipboard
abstract override val transactionHash: String?

The hash of this transaction, so it can be uniquely identified on the Lightning Network.

Link copied to clipboard
abstract override val updatedAt: Instant

The date and time when the entity was last updated.