Class TransactionOutputBuilder
java.lang.Object
com.bradyrussell.uiscoin.transaction.TransactionOutputBuilder
public class TransactionOutputBuilder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description TransactionOutputBuilder()
-
Method Summary
Modifier and Type Method Description TransactionOutput
get()
TransactionOutputBuilder
setAmount(long Amount)
TransactionOutputBuilder
setMemo(java.lang.String Memo)
TransactionOutputBuilder
setPayToAddress(byte[] Address)
Helper function decides what type of address is provided and writes the appropriate script.TransactionOutputBuilder
setPayToMultiSig(int RequiredSignatures, java.util.List<byte[]> PublicKeys)
Deprecated.TransactionOutputBuilder
setPayToPassword(java.lang.String Password)
TransactionOutputBuilder
setPayToPublicKey(byte[] PublicKey)
TransactionOutputBuilder
setPayToPublicKeyHash(byte[] PublicKeyHash)
TransactionOutputBuilder
setPayToPublicKeyHashWithChecksum(byte[] PublicKeyHash)
Deprecated.TransactionOutputBuilder
setPayToScriptHash(byte[] ScriptHash)
-
Constructor Details
-
TransactionOutputBuilder
public TransactionOutputBuilder()
-
-
Method Details
-
setAmount
-
setPayToAddress
Helper function decides what type of address is provided and writes the appropriate script.- Parameters:
Address
- The full UISCoin address to pay to, including headers and checksum.- Returns:
- The
TransactionOutputBuilder
with the script added.
-
setPayToPublicKey
-
setPayToPublicKeyHash
-
setPayToPublicKeyHashWithChecksum
@Deprecated public TransactionOutputBuilder setPayToPublicKeyHashWithChecksum(byte[] PublicKeyHash)Deprecated. -
setPayToPassword
-
setPayToMultiSig
@Deprecated public TransactionOutputBuilder setPayToMultiSig(int RequiredSignatures, java.util.List<byte[]> PublicKeys)Deprecated. -
setPayToScriptHash
-
setMemo
-
get
-