emulator.emulator.getoutput
Home > @blaze-cardano/emulator > Emulator > getOutput
Emulator.getOutput() method
Retrieves an output from the ledger by input.
Signature:
getOutput(inp: TransactionInput): TransactionOutput | undefined;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| inp | TransactionInput | The input to retrieve the output for. | 
Returns:
TransactionOutput | undefined
The output corresponding to the input, or undefined if the input is not found.