You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.xsn.explorer.models
|
|
|
|
|
|
|
|
import com.xsn.explorer.models.values.{Address, Blockhash, Size, TransactionId}
|
|
|
|
|
|
|
|
case class LightWalletTransaction(
|
|
|
|
id: TransactionId,
|
|
|
|
blockhash: Blockhash,
|
|
|
|
size: Size,
|
|
|
|
time: Long,
|
|
|
|
inputs: List[LightWalletTransaction.Input],
|
|
|
|
outputs: List[LightWalletTransaction.Output])
|
|
|
|
|
|
|
|
object LightWalletTransaction {
|
|
|
|
|
|
|
|
case class Input(txid: TransactionId, index: Int, value: BigDecimal)
|
|
|
|
case class Output(index: Int, value: BigDecimal, address: Address)
|
|
|
|
|
|
|
|
}
|