TxFailedError
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / TxFailedError
Class: TxFailedError
An error indicating that a transaction submitted to a consensus node failed.
Extendsβ
Error
Extended byβ
CallTxFailedErrorDeployTxFailedErrorReplaceMaintenanceAuthorityTxFailedErrorInsertVerifierKeyTxFailedErrorRemoveVerifierKeyTxFailedError
Constructorsβ
Constructorβ
new TxFailedError(
finalizedTxData,circuitId?):TxFailedError
Parametersβ
finalizedTxDataβ
The finalization data of the transaction that failed.
circuitId?β
string
The name of the circuit that was called to create the call transaction that failed. Only defined if a call transaction failed.
Returnsβ
TxFailedError
Overridesβ
Error.constructor
Propertiesβ
circuitId?β
readonlyoptionalcircuitId:string
The name of the circuit that was called to create the call transaction that failed. Only defined if a call transaction failed.
finalizedTxDataβ
readonlyfinalizedTxData:FinalizedTxData
The finalization data of the transaction that failed.