The body of a Dijkstra sub transaction (CIP-0118 nested transactions).

A sub transaction body reuses the top level transaction body keys but excludes fee (2), collateral inputs (13), collateral return (16), total collateral (17) and sub transactions (23) - the enclosing transaction pays the fee and posts collateral for the whole batch - and adds key 24 required_top_level_guards: guards the enclosing transaction must carry, each with an optional plutus datum.

Unlike the permissive top level decoder, decoding mirrors the ledger decoderByKey exactly: keys 0 and 1 are required and any key outside the CDDL sub_transaction_body key set is rejected rather than skipped.

Hierarchy

  • SubTransactionBody

Constructors

Properties

#accountBalanceIntervals: undefined | Map<Serialization.Credential, Serialization.AccountBalanceInterval>
#auxiliaryDataHash: undefined | Hash32ByteBase16
#currentTreasuryValue: undefined | bigint
#directDeposits: undefined | Map<Cardano.RewardAccount, bigint>
#donation: undefined | bigint
#guards: undefined | Serialization.Guards
#mint: undefined | Cardano.TokenMap
#networkId: undefined | Cardano.NetworkId
#originalBytes: undefined | HexBlob = undefined
#referenceInputs: undefined | TransactionInputSet
#requiredTopLevelGuards: undefined | Map<Serialization.Credential, null | Serialization.PlutusData>
#scriptDataHash: undefined | Hash32ByteBase16
#ttl: undefined | Cardano.Slot
#validityStartInterval: undefined | Cardano.Slot
#votingProcedures: undefined | Serialization.VotingProcedures
#withdrawals: undefined | Map<Cardano.RewardAccount, bigint>

Methods

Generated using TypeDoc