Expand description

Ergo transaction

Modules

Represent reduced transaction, i.e. unsigned transaction where each unsigned input is augmented with ReducedInput which contains a script reduction result.

Structs

CommitmentHint

HintsBag

  • ErgoTransaction is an atomic state transition operation. It destroys Boxes from the state
  • and creates new ones. If transaction is spending boxes protected by some non-trivial scripts,
  • its inputs should also contain proof of spending correctness - context extension (user-defined
  • key-value map) and data inputs (links to existing boxes in the state) that may be used during
  • script reduction to crypto, signatures that satisfies the remaining cryptographic protection
  • of the script.
  • Transactions are not encrypted, so it is possible to browse and view every transaction ever
  • collected into a block.
  • TransactionHintsBag

    Transaction id

    Unsigned (inputs without proofs) transaction

    Functions

    Extracting hints form singed(invalid) Transaction