Hierarchy

  • HydratedTxBody

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.HydratedCertificate[]
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.HydratedTxIn[]
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.

networkId?: Cardano.NetworkId
outputs: Cardano.TxOut[]
proposalProcedures?: Cardano.ProposalProcedure[]
referenceInputs?: Cardano.HydratedTxIn[]

Reference inputs allows looking at an output without spending it. This facilitates access to information stored on the blockchain without the need of spending and recreating UTXOs.

requiredExtraSignatures?: Ed25519KeyHashHex[]
scriptIntegrityHash?: Hash32ByteBase16
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