Hierarchy

Properties

accountBalanceIntervals?: Cardano.AccountBalanceIntervalEntry[]

Account balance intervals (Dijkstra body key 26): asserts that each credential's account balance lies in a half-open range at validation time. Non-empty when present.

auxiliaryDataHash?: Hash32ByteBase16
certificates?: Cardano.Certificate[]
collateralReturn?: Cardano.TxOut

Return collateral allows us to specify an output with the remainder of our collateral input(s) in the event we over-collateralize our transaction. This allows us to avoid overpaying the collateral and also creates the possibility for native assets to be also present in the collateral, though they will not serve as a payment for the fee.

collaterals?: Cardano.TxIn[]
directDeposits?: Cardano.Withdrawal[]

Direct deposits (Dijkstra body key 25): coin deposited directly into reward accounts without a withdrawal-style witness. Non-empty when present.

donation?: bigint
fee: bigint
guards?: Cardano.Credential[]

Guard credentials that must authorize the transaction (Dijkstra body key 14, credential form). When present it takes precedence over requiredExtraSignatures, which then holds the key-hash subset of the guards as a read-only compatibility view.

inputs: Cardano.TxIn[]
networkId?: Cardano.NetworkId
outputs: Cardano.TxOut[]
proposalProcedures?: Cardano.ProposalProcedure[]
referenceInputs?: Cardano.TxIn[]
requiredExtraSignatures?: Ed25519KeyHashHex[]
scriptIntegrityHash?: Hash32ByteBase16
subTransactions?: Cardano.SubTransaction[]

Sub transactions (Dijkstra body key 23, CIP-0118 nested transactions): the ordered set of sub transactions carried by this top-level transaction, keyed by each sub transaction's own id with duplicates rejected. Non-empty when present and admitted only on a top-level body.

totalCollateral?: bigint

The total collateral field lets users write transactions whose collateral is evident by just looking at the tx body instead of requiring information in the UTxO. The specification of total collateral is optional.

It does not change how the collateral is computed but transactions whose collateral is different from the amount specified will be invalid.

treasuryValue?: bigint
update?: Cardano.Update
validityInterval?: Cardano.ValidityInterval
votingProcedures?: Cardano.VotingProcedures
withdrawals?: Cardano.Withdrawal[]

Generated using TypeDoc