final case class TrackedBox(creationTxId: ModifierId, creationOutIndex: Short, inclusionHeightOpt: Option[Int], spendingTxIdOpt: Option[ModifierId], spendingHeightOpt: Option[Int], box: ErgoBox, scans: Set[ScanId]) extends ErgoBoxAssets with Product with Serializable
A box tracked by a wallet that contains Ergo box itself as well as its state (e.g. spent or not, confirmed or not etc).
- creationTxId
- Id of transaction created the box
- creationOutIndex
- Output index in the creation transaction
- inclusionHeightOpt
- Height the transaction was included into blockchain
- spendingTxIdOpt
- Id of transaction which spends the box if exists and known
- spendingHeightOpt
- Height of the spending transaction block in blockchain if known
- box
- Underlying Ergo box
- scans
- Identifiers of scans the box refers to
- Alphabetic
- By Inheritance
- TrackedBox
- Serializable
- Serializable
- Product
- Equals
- ErgoBoxAssets
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TrackedBox(creationTxId: ModifierId, creationOutIndex: Short, inclusionHeightOpt: Option[Int], spendingTxIdOpt: Option[ModifierId], spendingHeightOpt: Option[Int], box: ErgoBox, scans: Set[ScanId])
- creationTxId
- Id of transaction created the box
- creationOutIndex
- Output index in the creation transaction
- inclusionHeightOpt
- Height the transaction was included into blockchain
- spendingTxIdOpt
- Id of transaction which spends the box if exists and known
- spendingHeightOpt
- Height of the spending transaction block in blockchain if known
- box
- Underlying Ergo box
- scans
- Identifiers of scans the box refers to
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val box: ErgoBox
- lazy val boxId: ModifierId
-
def
chainStatus: ChainStatus
Same as
creationChainStatusfor unspent boxes, same asspendingChainStatusfor spent boxes -
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
creationChainStatus: ChainStatus
Whether box creation is confirmed or not.
Whether box creation is confirmed or not. Can be derived from
spendingStatusandchainStatuscombination - val creationOutIndex: Short
- val creationTxId: ModifierId
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- TrackedBox → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- TrackedBox → AnyRef → Any
- val inclusionHeightOpt: Option[Int]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSpent: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val scans: Set[ScanId]
-
def
spendingChainStatus: ChainStatus
Whether box spending is confirmed or not,
Offchainfor unspent boxes.Whether box spending is confirmed or not,
Offchainfor unspent boxes. Can be derived fromspendingStatusandchainStatuscombination - val spendingHeightOpt: Option[Int]
-
def
spendingStatus: SpendingStatus
Whether the box is spent or not
- val spendingTxIdOpt: Option[ModifierId]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
lazy val
tokens: TokensMap
- Definition Classes
- TrackedBox → ErgoBoxAssets
-
def
value: Long
- Definition Classes
- TrackedBox → ErgoBoxAssets
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()