Skip to main content

CallTxFailedError

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.0.4


Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / CallTxFailedError

Class: CallTxFailedError

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

Extends​

Constructors​

Constructor​

new CallTxFailedError(finalizedTxData, circuitId): CallTxFailedError

Parameters​

finalizedTxData​

FinalizedTxData

The finalization data of the call transaction that failed.

circuitId​

string | string[]

The name of the circuit that was called to build the transaction.

Returns​

CallTxFailedError

Overrides​

TxFailedError.constructor

Properties​

circuitId?​

readonly optional circuitId?: string | 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