Class/Object

org.ergoplatform.wallet.boxes

TrackedBox

Related Docs: object TrackedBox | package boxes

Permalink

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])

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val box: ErgoBox

    Permalink

    - Underlying Ergo box

  6. lazy val boxId: ModifierId

    Permalink
  7. def chainStatus: ChainStatus

    Permalink

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

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def creationChainStatus: ChainStatus

    Permalink

    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

    Permalink

    - Output index in the creation transaction

  11. val creationTxId: ModifierId

    Permalink

    - Id of transaction created the box

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    TrackedBox → Equals → AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    TrackedBox → AnyRef → Any
  17. val inclusionHeightOpt: Option[Int]

    Permalink

    - Height the transaction was included into blockchain

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isSpent: Boolean

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val scans: Set[ScanId]

    Permalink

    - Identifiers of scans the box refers to

  24. def spendingChainStatus: ChainStatus

    Permalink

    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]

    Permalink

    - Height of the spending transaction block in blockchain if known

  26. def spendingStatus: SpendingStatus

    Permalink

    Whether the box is spent or not

  27. val spendingTxIdOpt: Option[ModifierId]

    Permalink

    - Id of transaction which spends the box if exists and known

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. lazy val tokens: TokensMap

    Permalink
    Definition Classes
    TrackedBox → ErgoBoxAssets
  30. def value: Long

    Permalink
    Definition Classes
    TrackedBox → ErgoBoxAssets
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ErgoBoxAssets

Inherited from AnyRef

Inherited from Any

Ungrouped