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

Linear Supertypes
Serializable, Serializable, Product, Equals, ErgoBoxAssets, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TrackedBox
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ErgoBoxAssets
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val box: ErgoBox
  6. lazy val boxId: ModifierId
  7. def chainStatus: ChainStatus

    Same as creationChainStatus for unspent boxes, same as spendingChainStatus for spent boxes

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def creationChainStatus: ChainStatus

    Whether box creation is confirmed or not.

    Whether box creation is confirmed or not. Can be derived from spendingStatus and chainStatus combination

  10. val creationOutIndex: Short
  11. val creationTxId: ModifierId
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(obj: Any): Boolean
    Definition Classes
    TrackedBox → Equals → AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    TrackedBox → AnyRef → Any
  17. val inclusionHeightOpt: Option[Int]
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isSpent: Boolean
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val scans: Set[ScanId]
  24. def spendingChainStatus: ChainStatus

    Whether box spending is confirmed or not, Offchain for unspent boxes.

    Whether box spending is confirmed or not, Offchain for unspent boxes. Can be derived from spendingStatus and chainStatus combination

  25. val spendingHeightOpt: Option[Int]
  26. def spendingStatus: SpendingStatus

    Whether the box is spent or not

  27. val spendingTxIdOpt: Option[ModifierId]
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. lazy val tokens: TokensMap
    Definition Classes
    TrackedBox → ErgoBoxAssets
  30. def value: Long
    Definition Classes
    TrackedBox → ErgoBoxAssets
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ErgoBoxAssets

Inherited from AnyRef

Inherited from Any

Ungrouped