Package monero.wallet.model
Class MoneroTxQuery
java.lang.Object
monero.daemon.model.MoneroTx
monero.wallet.model.MoneroTxWallet
monero.wallet.model.MoneroTxQuery
- All Implemented Interfaces:
Filter<MoneroTxWallet>
Configures a query to retrieve transactions.
All transactions are returned except those that do not meet the criteria defined in this query.
-
Field Summary
Fields inherited from class monero.daemon.model.MoneroTx
DEFAULT_PAYMENT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanIndicates if the given item meets the criteria of this filter.setBlock(MoneroBlock block) setExtra(byte[] extra) setFee(BigInteger fee) setFullHex(String hex) setHasPaymentId(Boolean hasPaymentId) setIncludeOutputs(Boolean includeOutputs) setIncomingTransfers(List<MoneroIncomingTransfer> incomingTransfers) setInputQuery(MoneroOutputQuery inputQuery) setInputs(List<MoneroOutput> inputs) Set the tx's inputs (MoneroOutputWallet) which contain information relative to a wallet.setInTxPool(Boolean inTxPool) setIsConfirmed(Boolean isConfirmed) setIsDoubleSpendSeen(Boolean isDoubleSpend) setIsFailed(Boolean isFailed) setIsIncoming(Boolean isIncoming) setIsKeptByBlock(Boolean isKeptByBlock) setIsLocked(Boolean isLocked) setIsMinerTx(Boolean isMinerTx) setIsOutgoing(Boolean isOutgoing) setIsRelayed(Boolean isRelayed) setLastFailedHash(String lastFailedId) setLastFailedHeight(Long lastFailedHeight) setLastRelayedTimestamp(Long lastRelayedTimestamp) setMaxHeight(Long maxHeight) setMaxUsedBlockHash(String maxUsedBlockId) setMaxUsedBlockHeight(Long maxUsedBlockHeight) setMetadata(String metadata) setMinHeight(Long minHeight) setNumConfirmations(Long numConfirmations) setOutgoingTransfer(MoneroOutgoingTransfer outgoingTransfer) setOutputIndices(List<Long> outputIndices) setOutputQuery(MoneroOutputQuery outputQuery) setOutputs(List<MoneroOutput> outputs) Set the tx's outputs (MoneroOutputWallet) which contain information relative to a wallet.setPaymentId(String paymentId) setPaymentIds(List<String> paymentIds) setPrunableHash(String prunableHash) setPrunableHex(String prunableHex) setPrunedHex(String prunedHex) setRctSignatures(Object rctSignatures) setRctSigPrunable(Object rctSigPrunable) setReceivedTimestamp(Long receivedTimestamp) setRingSize(Integer ringSize) setSignatures(List<String> signatures) setTransferQuery(MoneroTransferQuery transferQuery) setTxSet(MoneroTxSet commonTxSets) setUnlockTime(Long unlockTime) setUnlockTime(BigInteger unlockTime) setVersion(Integer version) toString()Methods inherited from class monero.wallet.model.MoneroTxWallet
equals, filterOutputsWallet, filterTransfers, getChangeAddress, getChangeAmount, getExtraHex, getIncomingAmount, getIncomingTransfers, getInputSum, getInputsWallet, getInputsWallet, getNote, getNumDummyOutputs, getOutgoingAmount, getOutgoingTransfer, getOutputSum, getOutputsWallet, getOutputsWallet, getTransfers, getTransfers, getTxSet, hashCode, isLocked, merge, merge, setChangeAddress, setChangeAmount, setExtraHex, setInputSum, setInputsWallet, setNumDummyOutputs, setOutputSum, setOutputsWallet, toString, toStringMethods inherited from class monero.daemon.model.MoneroTx
getBlock, getExtra, getFee, getFullHex, getHash, getInputs, getKey, getLastFailedHash, getLastFailedHeight, getLastRelayedTimestamp, getMaxUsedBlockHash, getMaxUsedBlockHeight, getMetadata, getNumConfirmations, getOutputIndices, getOutputs, getPaymentId, getPrunableHash, getPrunableHex, getPrunedHex, getRctSignatures, getRctSigPrunable, getReceivedTimestamp, getRelay, getRingSize, getSignatures, getSize, getUnlockTime, getVersion, getWeight, inTxPool, isConfirmed, isDoubleSpendSeen, isFailed, isKeptByBlock, isMinerTx, isRelayed
-
Constructor Details
-
MoneroTxQuery
public MoneroTxQuery() -
MoneroTxQuery
-
-
Method Details
-
copy
- Overrides:
copyin classMoneroTxWallet
-
isOutgoing
- Overrides:
isOutgoingin classMoneroTxWallet
-
setIsOutgoing
- Overrides:
setIsOutgoingin classMoneroTxWallet
-
isIncoming
- Overrides:
isIncomingin classMoneroTxWallet
-
setIsIncoming
- Overrides:
setIsIncomingin classMoneroTxWallet
-
setHash
- Overrides:
setHashin classMoneroTxWallet
-
getHashes
-
setHashes
-
setHashes
-
hasPaymentId
-
setHasPaymentId
-
getPaymentIds
-
setPaymentIds
-
setPaymentId
- Overrides:
setPaymentIdin classMoneroTxWallet
-
getHeight
-
setHeight
-
getMinHeight
-
setMinHeight
-
getMaxHeight
-
setMaxHeight
-
setUnlockTime
-
getIncludeOutputs
-
setIncludeOutputs
-
getTransferQuery
-
setTransferQuery
-
getInputQuery
-
setInputQuery
-
getOutputQuery
-
setOutputQuery
-
meetsCriteria
Description copied from interface:FilterIndicates if the given item meets the criteria of this filter.- Specified by:
meetsCriteriain interfaceFilter<MoneroTxWallet>- Parameters:
tx- is the item to test- Returns:
- true if the item meets the criteria of this filter, false otherwise
-
toString
- Overrides:
toStringin classMoneroTxWallet
-
setIncomingTransfers
- Overrides:
setIncomingTransfersin classMoneroTxWallet
-
setOutgoingTransfer
- Overrides:
setOutgoingTransferin classMoneroTxWallet
-
setOutputs
Description copied from class:MoneroTxWalletSet the tx's outputs (MoneroOutputWallet) which contain information relative to a wallet. Callers must cast to extended type (MoneroOutput) because Java paramaterized types do not recognize inheritance.- Overrides:
setOutputsin classMoneroTxWallet- Parameters:
outputs- are MoneroOutputWallets to set for the wallet tx- Returns:
- MoneroTxWallet is a reference to this tx for chaining
-
setNote
- Overrides:
setNotein classMoneroTxWallet
-
setIsLocked
- Overrides:
setIsLockedin classMoneroTxWallet
-
setBlock
- Overrides:
setBlockin classMoneroTxWallet
-
setVersion
- Overrides:
setVersionin classMoneroTxWallet
-
setIsMinerTx
- Overrides:
setIsMinerTxin classMoneroTxWallet
-
setFee
- Overrides:
setFeein classMoneroTxWallet
-
setRingSize
- Overrides:
setRingSizein classMoneroTxWallet
-
setRelay
- Overrides:
setRelayin classMoneroTxWallet
-
setIsRelayed
- Overrides:
setIsRelayedin classMoneroTxWallet
-
setIsConfirmed
- Overrides:
setIsConfirmedin classMoneroTxWallet
-
setInTxPool
- Overrides:
setInTxPoolin classMoneroTxWallet
-
setNumConfirmations
- Overrides:
setNumConfirmationsin classMoneroTxWallet
-
setUnlockTime
- Overrides:
setUnlockTimein classMoneroTxWallet
-
setLastRelayedTimestamp
- Overrides:
setLastRelayedTimestampin classMoneroTxWallet
-
setReceivedTimestamp
- Overrides:
setReceivedTimestampin classMoneroTxWallet
-
setIsDoubleSpendSeen
- Overrides:
setIsDoubleSpendSeenin classMoneroTxWallet
-
setKey
- Overrides:
setKeyin classMoneroTxWallet
-
setFullHex
- Overrides:
setFullHexin classMoneroTxWallet
-
setPrunedHex
- Overrides:
setPrunedHexin classMoneroTxWallet
-
setPrunableHex
- Overrides:
setPrunableHexin classMoneroTxWallet
-
setPrunableHash
- Overrides:
setPrunableHashin classMoneroTxWallet
-
setSize
- Overrides:
setSizein classMoneroTxWallet
-
setWeight
- Overrides:
setWeightin classMoneroTxWallet
-
setInputs
Description copied from class:MoneroTxWalletSet the tx's inputs (MoneroOutputWallet) which contain information relative to a wallet. Callers must cast to extended type (MoneroOutput) because Java paramaterized types do not recognize inheritance.- Overrides:
setInputsin classMoneroTxWallet- Parameters:
inputs- are MoneroOutputWallets to set for the wallet tx- Returns:
- MoneroTxWallet is a reference to this tx for chaining
-
setOutputIndices
- Overrides:
setOutputIndicesin classMoneroTxWallet
-
setMetadata
- Overrides:
setMetadatain classMoneroTxWallet
-
setTxSet
- Overrides:
setTxSetin classMoneroTxWallet
-
setExtra
- Overrides:
setExtrain classMoneroTxWallet
-
setRctSignatures
- Overrides:
setRctSignaturesin classMoneroTxWallet
-
setRctSigPrunable
- Overrides:
setRctSigPrunablein classMoneroTxWallet
-
setIsKeptByBlock
- Overrides:
setIsKeptByBlockin classMoneroTxWallet
-
setIsFailed
- Overrides:
setIsFailedin classMoneroTxWallet
-
setLastFailedHeight
- Overrides:
setLastFailedHeightin classMoneroTxWallet
-
setLastFailedHash
- Overrides:
setLastFailedHashin classMoneroTxWallet
-
setMaxUsedBlockHeight
- Overrides:
setMaxUsedBlockHeightin classMoneroTxWallet
-
setMaxUsedBlockHash
- Overrides:
setMaxUsedBlockHashin classMoneroTxWallet
-
setSignatures
- Overrides:
setSignaturesin classMoneroTxWallet
-