Failed

@Serializable
@SerialName(value = "failed")
data class Failed(val hash: String, val error: String) : TransactionStatus

Represents a failed transaction that was mined but reverted.

This can happen when:

  • A smart contract call reverts

  • Insufficient gas was provided

  • A require/assert statement fails

See also

Constructors

Link copied to clipboard
constructor(hash: String, error: String)

Properties

Link copied to clipboard

The error message or reason for the failure

Link copied to clipboard
open override val hash: String

The transaction hash