final case class TrackedBox(creationTxId: ModifierId, creationOutIndex: Short, inclusionHeightOpt: Option[Int], spendingTxIdOpt: Option[ModifierId], spendingHeightOpt: Option[Int], box: ErgoBox, certainty: BoxCertainty, applicationId: Short) extends 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
- certainty
- Whether the box is definitely belongs to the user or not
- applicationId
- Identifier of the application the box refers to
- Alphabetic
- By Inheritance
- TrackedBox
- Serializable
- Serializable
- Product
- Equals
- 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, certainty: BoxCertainty, applicationId: Short)
- 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
- certainty
- Whether the box is definitely belongs to the user or not
- applicationId
- Identifier of the application 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
- val applicationId: Short
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assets: Map[ModifierId, Long]
- val box: ErgoBox
- def boxId: ModifierId
- val certainty: BoxCertainty
-
def
chainStatus: ChainStatus
Same as
creationChainStatusfor unspent boxes, same asspendingChainStatusfor spent boxes -
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val inclusionHeightOpt: Option[Int]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
- def value: Long
-
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()
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.