Deposit

constructor(id: String, createdAt: Instant, updatedAt: Instant, status: TransactionStatus, amount: CurrencyAmount, blockHeight: Int, destinationAddresses: List<String>, resolvedAt: Instant? = null, transactionHash: String? = null, fees: CurrencyAmount? = null, blockHash: String? = null, numConfirmations: Int? = null)

Parameters

id

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

createdAt

The date and time when this transaction was initiated.

updatedAt

The date and time when the entity was last updated.

status

The current status of this transaction.

amount

The amount of money involved in this transaction.

blockHeight

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

destinationAddresses

The Bitcoin blockchain addresses this transaction was sent to.

resolvedAt

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

transactionHash

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

fees

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

blockHash

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

numConfirmations

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