Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public static final class BitcoinTransaction.Output
- Object
- BitcoinTransaction.Output
One output: an amount in satoshis and the script that locks it.
Constructors
public Output(long value, Script scriptPubKey) | An output of value satoshis to scriptPubKey. |
Methods
public long getValue() | The amount in satoshis. |
public Script getScriptPubKey() | The locking script. |
Inherited methods
Constructor details
Output
public Output(long value, Script scriptPubKey)An output of
value satoshis to scriptPubKey.Method details
getValue
public long getValue()The amount in satoshis.
getScriptPubKey
public Script getScriptPubKey()The locking script.