Skip to main content

@midnight-ntwrk/midnight-js-contracts v0.2.5 • API


Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-contracts / DeployTxFailedError

Class: DeployTxFailedError

An error indicating that a deploy transaction was not successfully applied by the consensus node.

Extends

Constructors

new DeployTxFailedError(finalizedTxData)

new DeployTxFailedError(finalizedTxData): DeployTxFailedError

Parameters

finalizedTxData: FinalizedTxData

The finalization data of the deployment transaction that failed.

Returns

DeployTxFailedError

Overrides

TxFailedError.constructor

Properties

circuitId?

optional readonly circuitId: string

The name of the circuit that was called to create the call transaction that failed. Only defined if a call transaction failed.

Inherited from

TxFailedError.circuitId


finalizedTxData

readonly finalizedTxData: FinalizedTxData

The finalization data of the transaction that failed.

Inherited from

TxFailedError.finalizedTxData