emulator.emulator.addutxo
Home > @blaze-cardano/emulator > Emulator > addUtxo
Emulator.addUtxo() method
Adds a given UTxO to the Emulator's ledger. Overwrites any existing UTxO with the same input.
Signature:
addUtxo(utxo: TransactionUnspentOutput): void;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| utxo | TransactionUnspentOutput | The UTxO to add to the ledger. | 
Returns:
void