Mandatory: Monetary value, in Ergo tokens
Mandatory: Monetary value, in Ergo tokens
Mandatory: Guarding script
Mandatory: Guarding script
Mandatory: Secondary tokens
Mandatory: Secondary tokens
Mandatory: Reference to transaction and output id where the box was created
Mandatory: Reference to transaction and output id where the box was created
Non-mandatory register
Non-mandatory register
Non-mandatory register
Non-mandatory register
Non-mandatory register
Non-mandatory register
Non-mandatory register
Non-mandatory register
Non-mandatory register
Non-mandatory register
Non-mandatory register
Non-mandatory register
Serialized bytes of this box's content, including proposition bytes.
Serialized bytes of this box's content, including proposition bytes.
Serialized bytes of this box's content, excluding transactionId and index of output.
Serialized bytes of this box's content, excluding transactionId and index of output.
If tx
is a transaction which generated this box, then creationInfo._1
is a height of the tx's block.
If tx
is a transaction which generated this box, then creationInfo._1
is a height of the tx's block.
The creationInfo._2
is a serialized transaction identifier followed by box index in the transaction outputs.
Extracts register as Coll[Byte], deserializes it to script and then executes this script in the current context.
Extracts register as Coll[Byte], deserializes it to script and then executes this script in the current context. The original Coll[Byte] of the script is available as getReg[Coll[Byte]](id)
result type of the deserialized script.
identifier of the register
result of the script execution in the current context
Mainnet
IllegalArgumentException
if the actual script type doesn't conform to T
Extracts register by id and type.
Extracts register by id and type.
expected type of the register.
Some(value) if the register is defined and has given type. None otherwise
2.0
Blake2b256 hash of this box's content, basically equals to blake2b256(bytes)
Blake2b256 hash of this box's content, basically equals to blake2b256(bytes)
Serialized bytes of guarding script, which should be evaluated to true in order to open this box.
Serialized bytes of guarding script, which should be evaluated to true in order to open this box. (aka spend it in a transaction)
Secondary tokens
Secondary tokens
Mandatory: Monetary value, in Ergo tokens (NanoErg unit of measure)
Mandatory: Monetary value, in Ergo tokens (NanoErg unit of measure)