Interface Protos.TransactionOutputOrBuilder

    • Method Detail

      • hasValue

        boolean hasValue()
        required int64 value = 1;
        Returns:
        Whether the value field is set.
      • getValue

        long getValue()
        required int64 value = 1;
        Returns:
        The value.
      • hasScriptBytes

        boolean hasScriptBytes()
         script of transaction output
         
        required bytes script_bytes = 2;
        Returns:
        Whether the scriptBytes field is set.
      • getScriptBytes

        com.google.protobuf.ByteString getScriptBytes()
         script of transaction output
         
        required bytes script_bytes = 2;
        Returns:
        The scriptBytes.
      • hasSpentByTransactionHash

        boolean hasSpentByTransactionHash()
         If spent, the hash of the transaction doing the spend.
         
        optional bytes spent_by_transaction_hash = 3;
        Returns:
        Whether the spentByTransactionHash field is set.
      • getSpentByTransactionHash

        com.google.protobuf.ByteString getSpentByTransactionHash()
         If spent, the hash of the transaction doing the spend.
         
        optional bytes spent_by_transaction_hash = 3;
        Returns:
        The spentByTransactionHash.
      • hasSpentByTransactionIndex

        boolean hasSpentByTransactionIndex()
         If spent, the index of the transaction input of the transaction doing the spend.
         
        optional int32 spent_by_transaction_index = 4;
        Returns:
        Whether the spentByTransactionIndex field is set.
      • getSpentByTransactionIndex

        int getSpentByTransactionIndex()
         If spent, the index of the transaction input of the transaction doing the spend.
         
        optional int32 spent_by_transaction_index = 4;
        Returns:
        The spentByTransactionIndex.