- amount of money associated with the box
- guarding script, which should be evaluated to true in order to open this box
- height when a transaction containing the box was created. This height is declared by user and should not exceed height of the block, containing the transaction with this box.
- secondary tokens the box contains
- additional registers the box can carry over
- additional registers the box can carry over
- secondary tokens the box contains
Serialized bytes of this Box without transaction reference data (transactionId and boxIndex).
- height when a transaction containing the box was created.
- height when a transaction containing the box was created. This height is declared by user and should not exceed height of the block, containing the transaction with this box.
- guarding script, which should be evaluated to true in order to open this box
Extracts register by id.
Extracts register by id.
id of the register to return.
Some(value) if the register is present, None otherwise
Transforms this tree to a proposition, substituting the constants if the constant segregation flag is set.
Transforms this tree to a proposition, substituting the constants if the constant segregation flag is set.
SigmaPropValue
Returns the serialized bytes of the guarding ErgoTree.
Creates a new ErgoBox based on this candidate using the given transaction reference data.
Creates a new ErgoBox based on this candidate using the given transaction reference data.
id of transaction which created the box
index of the box in the transaction's OUTPUTS
Additional tokens stored in the box.
Additional tokens stored in the box.
- amount of money associated with the box
- amount of money associated with the box
(Since version ) see corresponding Javadoc for more information.
Contains the same fields as
org.ergoplatform.ErgoBox
, except if transaction id and index, that will be calculated after full transaction formation.org.ergoplatform.ErgoBox for more details