Skip to main content
Version: 0.3.30

emulator.emulatorprovider

Home > @blaze-cardano/emulator > EmulatorProvider

EmulatorProvider class

The EmulatorProvider class implements the Provider interface. It provides methods to interact with the Emulator.

Signature:

export declare class EmulatorProvider extends Provider 

Extends: Provider

Constructors

Constructor

Modifiers

Description

(constructor)(emulator)

Constructs a new instance of the EmulatorProvider class

Methods

Method

Modifiers

Description

awaitTransactionConfirmation(txId, _timeout)

evaluateTransaction(tx, additionalUtxos)

getParameters()

getSlotConfig()

getUnspentOutputByNFT(unit)

getUnspentOutputs(address)

getUnspentOutputsWithAsset(address, unit)

postTransactionToChain(tx)

resolveDatum(datumHash)

resolveUnspentOutputs(txIns)