A Dijkstra sub transaction (CIP-0118 nested transactions).

A sub transaction is carried inside the enclosing top level transaction (body key 23) and is serialized as exactly three elements: its body, its witness set and its nullable auxiliary data. Unlike top level transactions there is no is_valid flag, not even the grace-period 4-element mempool form - the enclosing transaction's flag covers the whole batch.

Sub transactions are identified by their own transaction id, derived exactly like a top level transaction id: the blake2b-256 hash of the body bytes.

Hierarchy

  • SubTransaction

Constructors

Properties

#auxiliaryData: undefined | Serialization.AuxiliaryData
#originalBytes: undefined | HexBlob = undefined

Methods

Generated using TypeDoc