TxChain
export interface TxChain {
collectInputs(
includeRefInputs?: boolean,
includeCollateral?: boolean
): TxInput[]
collectOutputs(): TxInput[]
txs: Tx[]
}
Properties
collectInputs
collectInputs(
includeRefInputs?: boolean,
includeCollateral?: boolean
): TxInput[]
Returns all the inputs that aren't spent by the chain itself
(i.e. these inputs must exist before the chain is submitted)
collectOutputs
collectOutputs(): TxInput[]
Collects all outputs that are spent by the chain itself
(i.e. these outputs will be available as UTxOs once the chain is submitted)
Returns as TxInput instead of TxOutput so that TxOutputId is included
txs
txs: Tx[]