-
public final class JniAccountBalanceServes as cross layer (Kotlin, Rust) communication class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classJniAccountBalance.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ByteArrayaccountUuidprivate final LongsaplingVerifiedBalanceprivate final LongsaplingChangePendingprivate final LongsaplingValuePendingprivate final LongorchardVerifiedBalanceprivate final LongorchardChangePendingprivate final LongorchardValuePendingprivate final LongunshieldedBalance
-
Method Summary
Modifier and Type Method Description final ByteArraygetAccountUuid()final LonggetSaplingVerifiedBalance()final LonggetSaplingChangePending()final LonggetSaplingValuePending()final LonggetOrchardVerifiedBalance()final LonggetOrchardChangePending()final LonggetOrchardValuePending()final LonggetUnshieldedBalance()-
-
Constructor Detail
-
JniAccountBalance
JniAccountBalance(ByteArray accountUuid, Long saplingVerifiedBalance, Long saplingChangePending, Long saplingValuePending, Long orchardVerifiedBalance, Long orchardChangePending, Long orchardValuePending, Long unshieldedBalance)
- Parameters:
accountUuid- the account UUID in ByteArraysaplingVerifiedBalance- The verified account balance in the Sapling pool.saplingChangePending- The value in the account of Sapling change notes that do not yet have sufficient confirmations to be spendable.saplingValuePending- The value in the account of all remaining received Sapling notes that either do not have sufficient confirmations to be spendable, or for which witnesses cannot yet be constructed without additional scanning.orchardVerifiedBalance- The verified account balance in the Orchard pool.orchardChangePending- The value in the account of Orchard change notes that do not yet have sufficient confirmations to be spendable.orchardValuePending- The value in the account of all remaining received Orchard notes that either do not have sufficient confirmations to be spendable, or for which witnesses cannot yet be constructed without additional scanning.unshieldedBalance- The total account balance in the transparent pool, including unconfirmed funds, that must be shielded before use.
-
-
Method Detail
-
getAccountUuid
final ByteArray getAccountUuid()
-
getSaplingVerifiedBalance
final Long getSaplingVerifiedBalance()
-
getSaplingChangePending
final Long getSaplingChangePending()
-
getSaplingValuePending
final Long getSaplingValuePending()
-
getOrchardVerifiedBalance
final Long getOrchardVerifiedBalance()
-
getOrchardChangePending
final Long getOrchardChangePending()
-
getOrchardValuePending
final Long getOrchardValuePending()
-
getUnshieldedBalance
final Long getUnshieldedBalance()
-
-
-
-