Skip to main content
Version: Next

sdk.kupmios

Home > @blaze-cardano/sdk > Kupmios

Kupmios class

Signature:

declare class Kupmios extends Provider 

Extends: Provider

Constructors

Constructor

Modifiers

Description

(constructor)(kupoUrl, ogmios)

Constructor to initialize Kupmios instance.

Properties

Property

Modifiers

Type

Description

confirmationTimeout

static

readonly

number

kupoUrl

string

ogmios

Unwrapped.Ogmios

plutusVersions

static

readonly

string[]

Methods

Method

Modifiers

Description

awaitTransactionConfirmation(txId, timeout)

Awaits confirmation of a transaction.

evaluateTransaction(tx, additionalUtxos)

Evaluates a transaction.

getParameters()

Gets the protocol parameters from the blockchain.

getUnspentOutputByNFT(unit)

Gets an unspent output containing a specific NFT.

getUnspentOutputs(address)

Gets unspent outputs for a given address.

getUnspentOutputsWithAsset(address, unit)

Gets unspent outputs containing a specific asset.

postTransactionToChain(tx)

Posts a transaction to the blockchain.

resolveDatum(datumHash)

Resolves the datum for a given datum hash.

resolveUnspentOutputs(txIns)

Resolves unspent outputs for given transaction inputs.

serializeUtxos(unspentOutputs)

static

Serialize unspent outputs to JSON format.