Confirmed

@Serializable
@SerialName(value = "confirmed")
data class Confirmed(val hash: String, val blockNumber: BigInteger, val gasUsed: BigInteger) : TransactionStatus

Represents a confirmed transaction that has been successfully mined and included in a block.

See also

Constructors

Link copied to clipboard
constructor(hash: String, blockNumber: BigInteger, gasUsed: BigInteger)

Properties

Link copied to clipboard
@Serializable(with = BigIntegerSerializer::class)
val blockNumber: BigInteger

The block number in which the transaction was included

Link copied to clipboard
@Serializable(with = BigIntegerSerializer::class)
val gasUsed: BigInteger

The actual amount of gas consumed by the transaction

Link copied to clipboard
open override val hash: String

The transaction hash