zcash-android-wallet-sdk / cash.z.wallet.sdk.entity / PendingTransactionEntity

PendingTransactionEntity

data class PendingTransactionEntity : PendingTransaction

Constructors

<init>

PendingTransactionEntity(id: Long = 0, toAddress: String = "", value: Long = -1, memo: ByteArray? = byteArrayOf(), accountIndex: Int, minedHeight: Int = -1, expiryHeight: Int = -1, cancelled: Int = 0, encodeAttempts: Int = -1, submitAttempts: Int = -1, errorMessage: String? = null, errorCode: Int? = null, createTime: Long = System.currentTimeMillis(), raw: ByteArray = byteArrayOf(), rawTransactionId: ByteArray? = byteArrayOf())

Properties

accountIndex

val accountIndex: Int

cancelled

val cancelled: Int

createTime

val createTime: Long

encodeAttempts

val encodeAttempts: Int

errorCode

val errorCode: Int?

errorMessage

val errorMessage: String?

expiryHeight

val expiryHeight: Int

id

val id: Long

memo

val memo: ByteArray?

minedHeight

val minedHeight: Int

raw

val raw: ByteArray

rawTransactionId

val rawTransactionId: ByteArray?

submitAttempts

val submitAttempts: Int

toAddress

val toAddress: String

value

val value: Long

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

Extension Functions

isCancelled

fun PendingTransaction.isCancelled(): Boolean

isCreated

fun PendingTransaction.isCreated(): Boolean

isCreating

fun PendingTransaction.isCreating(): Boolean

isFailedEncoding

fun PendingTransaction.isFailedEncoding(): Boolean

isFailedSubmit

fun PendingTransaction.isFailedSubmit(): Boolean

isFailure

fun PendingTransaction.isFailure(): Boolean

isMined

fun PendingTransaction.isMined(): Boolean

isPending

fun PendingTransaction.isPending(currentHeight: Int = -1): Boolean

isSameTxId

fun PendingTransaction.isSameTxId(other: MinedTransaction): Boolean
fun PendingTransaction.isSameTxId(other: PendingTransaction): Boolean

isSubmitSuccess

fun PendingTransaction.isSubmitSuccess(): Boolean

isSubmitted

fun PendingTransaction.isSubmitted(): Boolean