Package org.consensusj.bitcoin.json.pojo
Class UnspentOutput
java.lang.Object
org.consensusj.bitcoin.json.pojo.UnspentOutput
- All Implemented Interfaces:
UtxoInfo
Data class for UnspentOutput as returned by listUnspent RPC
Because the class is immutable we have to give Jackson some hints via annotations.
-
Constructor Summary
ConstructorDescriptionUnspentOutput
(org.bitcoinj.base.Sha256Hash txid, int vout, org.bitcoinj.base.Address address, String label, String scriptPubKey, org.bitcoinj.base.Coin amount, int confirmations, String redeemScript, String witnessScript, boolean spendable, boolean solvable, String desc, boolean safe) -
Method Summary
-
Constructor Details
-
UnspentOutput
-
-
Method Details
-
getTxid
-
getVout
-
getAddress
-
getLabel
-
getScriptPubKey
- Specified by:
getScriptPubKey
in interfaceUtxoInfo
-
getAmount
-
getConfirmations
-
getRedeemScript
- Specified by:
getRedeemScript
in interfaceUtxoInfo
-
getWitnessScript
- Specified by:
getWitnessScript
in interfaceUtxoInfo
-
isSpendable
-
isSolvable
-
getDesc
-
isSafe
-