Package org.consensusj.bitcoin.json.pojo
Class BitcoinTransactionInfo
java.lang.Object
org.consensusj.bitcoin.json.pojo.BitcoinTransactionInfo
(Mostly) Immutable representation of BitcoinTransaction info JSON
It is not fully-immutable because of addOtherInfo(String, Object)
which should only be used by Jackson
when deserializing.
This is returned by BitcoinClient.listTransactions()
.
-
Constructor Summary
ConstructorDescriptionBitcoinTransactionInfo
(boolean involvesWatchOnly, org.bitcoinj.base.Address address, String category, org.bitcoinj.base.Coin amount, String label, int vout, org.bitcoinj.base.Coin fee, int confirmations, boolean generated, boolean trusted, org.bitcoinj.base.Sha256Hash blockHash, int blockHeight, int blockIndex, long blockTime, org.bitcoinj.base.Sha256Hash txId, List<org.bitcoinj.base.Sha256Hash> walletConflicts, long time, long timeReceived, String comment, String bip125Replaceable, boolean abandoned) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOtherInfo
(String propertyKey, Object value) org.bitcoinj.base.Address
org.bitcoinj.base.Coin
org.bitcoinj.base.Sha256Hash
int
int
int
org.bitcoinj.base.Coin
getFee()
getLabel()
getTime()
org.bitcoinj.base.Sha256Hash
getTxId()
int
getVout()
List
<org.bitcoinj.base.Sha256Hash> boolean
boolean
boolean
boolean
-
Constructor Details
-
BitcoinTransactionInfo
public BitcoinTransactionInfo(boolean involvesWatchOnly, org.bitcoinj.base.Address address, String category, org.bitcoinj.base.Coin amount, String label, int vout, org.bitcoinj.base.Coin fee, int confirmations, boolean generated, boolean trusted, org.bitcoinj.base.Sha256Hash blockHash, int blockHeight, int blockIndex, long blockTime, org.bitcoinj.base.Sha256Hash txId, List<org.bitcoinj.base.Sha256Hash> walletConflicts, long time, long timeReceived, String comment, String bip125Replaceable, boolean abandoned)
-
-
Method Details
-
addOtherInfo
-
getOtherInfo
-
isInvolvesWatchOnly
-
getAddress
-
getCategory
-
getAmount
-
getLabel
-
getVout
-
getFee
-
getConfirmations
-
isGenerated
-
isTrusted
-
getBlockHash
-
getBlockHeight
-
getBlockIndex
-
getBlockTime
-
getTxId
-
getWalletConflicts
-
getTime
-
getTimeReceived
-
getComment
-
isBip125Replaceable
-
isAbandoned
-