Package zephyr.wallet.model
Class ZephyrCheckTx
java.lang.Object
zephyr.wallet.model.ZephyrCheck
zephyr.wallet.model.ZephyrCheckTx
Results from checking a transaction key.
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class zephyr.wallet.model.ZephyrCheck
isGood -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the amount the checked transaction paid to the address.inTxPool()voidsetInTxPool(Boolean inTxPool) voidsetNumConfirmations(Long numConfirmations) voidsetReceivedAmount(BigInteger receivedAmount) Methods inherited from class zephyr.wallet.model.ZephyrCheck
isGood, setIsGood
-
Field Details
-
inTxPool
-
numConfirmations
-
receivedAmount
-
-
Constructor Details
-
ZephyrCheckTx
public ZephyrCheckTx()
-
-
Method Details
-
inTxPool
-
setInTxPool
-
getNumConfirmations
-
setNumConfirmations
-
getReceivedAmount
Returns the amount the checked transaction paid to the address.Zephyr: in the full wallet (
ZephyrWalletFull) this is 0 for every current transaction. The core reads the amount of the assetZEPHonly, and since hard fork 11 (height 536,000) no output isZEPH;ZephyrCheck.isGood()and the confirmations are right. Read the amount from the wallet'sgetTxs(hash): the receiver's incoming transfers or the sender's outgoing destinations, each with its asset. ThroughZephyrWalletRpcthis isnullfor now (the RPC client does not read the per-asset amounts yet). See the user guide,docs/guide/08-known-limitations.md, section "checkTxKey returns amount 0".- Returns:
- the received amount in atomic units, 0 for current transactions (see above)
-
setReceivedAmount
-