EmulatorRegularTx
export interface EmulatorRegularTx {
collectUtxos(
addr: Address,
utxos: TxInput[]
): TxInput[]
consumedUtxos(): TxInput[]
consumes(utxo: TxInput): boolean
dump(): void
getUtxo(id: TxOutputId): undefined | TxInput
id(): TxId
kind: "Regular"
newUtxos(): TxInput[]
}
Properties
collectUtxos
collectUtxos(
addr: Address,
utxos: TxInput[]
): TxInput[]
Removes tx inputs from the list, and appends txoutputs sent to the address to the end.
consumedUtxos
consumedUtxos(): TxInput[]
consumes
consumes(utxo: TxInput): boolean
dump
dump(): void
getUtxo
getUtxo(id: TxOutputId): undefined | TxInput
id
id(): TxId
kind
kind: "Regular"
newUtxos
newUtxos(): TxInput[]