Skip to main content

query.routedprovider

Home > @blaze-cardano/query > RoutedProvider

RoutedProvider class

Provider that routes calls to separate underlying providers.

Signature:

export declare class RoutedProvider extends Provider 

Extends: Provider

Remarks

This is useful when one backend is preferred for chain queries while another backend is preferred for transaction evaluation or submission. Individual operations can also be overridden with perOperation.

Constructors

Constructor

Modifiers

Description

(constructor)(config)

Constructs a new instance of the RoutedProvider class

Methods

Method

Modifiers

Description

awaitTransactionConfirmation(txId, timeout)

evaluateTransaction(tx, additionalUtxos)

getParameters()

getUnspentOutputByNFT(unit)

getUnspentOutputs(address)

getUnspentOutputsWithAsset(address, unit)

postTransactionToChain(tx)

resolveDatum(datumHash)

resolveScriptRef(script, address)

resolveUnspentOutputs(txIns)