Package wf.bitcoin.javabitcoindrpcclient
Interface BitcoindRpcClient.TxOutput
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
BitcoindRpcClient.Unspent
- All Known Implementing Classes:
BitcoindRpcClient.BasicTxOutput
- Enclosing interface:
- BitcoindRpcClient
public static interface BitcoindRpcClient.TxOutput extends java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringaddress()java.math.BigDecimalamount()byte[]data()java.lang.Stringdesc()java.lang.Stringlabel()java.lang.Booleansafe()java.lang.Booleansolvable()java.lang.Booleanspendable()
-
-
-
Method Detail
-
address
java.lang.String address()
-
label
java.lang.String label()
- Returns:
- The label associated with
address()
-
amount
java.math.BigDecimal amount()
-
spendable
java.lang.Boolean spendable()
- Returns:
- Whether we have the private keys to spend this output
-
solvable
java.lang.Boolean solvable()
- Returns:
- Whether we know how to spend this output, ignoring the lack of keys
-
desc
java.lang.String desc()
- Returns:
- (only when solvable) A descriptor for spending this output
-
safe
java.lang.Boolean safe()
- Returns:
- Whether this output is considered safe to spend. Unconfirmed transactions from outside keys and unconfirmed replacement transactions are considered unsafe and are not eligible for spending by fundrawtransaction and sendtoaddress.
-
data
byte[] data()
-
-