Skip to main content
Version: 0.2.38

sdk.maestro

Home > @blaze-cardano/sdk > Maestro

Maestro class​

Signature:

declare class Maestro extends Provider 

Extends: Provider

Constructors​

Constructor

Modifiers

Description

(constructor)({ network, apiKey, })

Constructs a new instance of the Maestro class

Methods​

Method

Modifiers

Description

awaitTransactionConfirmation(txId, timeout)

evaluateTransaction(tx, additionalUtxos)

getParameters()

This method fetches the protocol parameters from the Maestro API. It constructs the query URL, sends a GET request with the appropriate headers, and processes the response. The response is parsed into a ProtocolParameters object, which is then returned. If the response is not in the expected format, an error is thrown.

getUnspentOutputByNFT(unit)

getUnspentOutputs(address)

getUnspentOutputsWithAsset(address, unit)

postTransactionToChain(tx)

resolveDatum(datumHash)

resolveUnspentOutputs(txIns)