Class BitcoinTransaction.Output

java.lang.Object
com.codename1.crypto.bitcoin.BitcoinTransaction.Output
Enclosing class:
BitcoinTransaction

public static final class BitcoinTransaction.Output extends Object
One output: an amount in satoshis and the script that locks it.
  • 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.