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 |
Input referencing the desired UTxO. |
Returns:
TransactionOutput | undefined
{TransactionOutput | undefined} The corresponding output, if found.