Package-level declarations

Types

Link copied to clipboard
@Serializable
data class KeyImage(val keyImage: String, val privateSpendKey: String)

Data class that represents a key image

Link copied to clipboard
@Serializable
data class TransactionInput(val amount: Long, val blockHeight: Long, val keyImage: KeyImage, val txPubKey: String, val key: String, val privateEphemeral: String, val txHash: String, val txIndex: Long, val spendHeight: Long, val unlockTime: Long, val globalIndex: Long)

Represents a transaction input for a wallet.

Link copied to clipboard
@Serializable
data class UnconfirmedInput(val amount: Long, val key: String, val parentTransactionHash: String)

Data class that represents an unconfirmed input

Link copied to clipboard
@Serializable
data class Wallet(var unspentInputs: List<TransactionInput> = emptyList(), val lockedInputs: List<TransactionInput> = emptyList(), val spentInputs: List<TransactionInput> = emptyList(), val unconfirmedIncomingAmounts: List<UnconfirmedInput> = emptyList(), val publicSpendKey: String, val privateSpendKey: String, val publicViewKey: String, val privateViewKey: String, val syncStartTimestamp: Long = 0, val syncStartHeight: Long = 0, val address: String = "", val primaryAddress: Boolean = false)

Wallet model.

Link copied to clipboard
data class WalletKeyPairs(val publicSpendKey: String, val privateSpendKey: String, val publicViewKey: String, val privateViewKey: String)

Wallet Key pairs model.