Package 

Class ProposalUnsafe


  • 
    public final class ProposalUnsafe
    
                        

    A transaction proposal created by the Rust backend in response to a Kotlin request.

    • Method Summary

      Modifier and Type Method Description
      final ByteArray toByteArray() Serializes this proposal for passing back across the FFI.
      final Integer transactionCount() Returns the number of transactions that this proposal will create.
      final Long totalFeeRequired() Returns the total fee required by this proposal for its transactions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProposalUnsafe

        ProposalUnsafe(ProposalOuterClass.Proposal inner)
        Parameters:
        inner - the parsed Proposal protobuf received across the FFI.
    • Method Detail

      • toByteArray

         final ByteArray toByteArray()

        Serializes this proposal for passing back across the FFI.

      • transactionCount

         final Integer transactionCount()

        Returns the number of transactions that this proposal will create.

        This is equal to the number of TransactionSubmitResults that will be returned from Synchronizer.createProposedTransactions.

        Proposals always create at least one transaction.

      • totalFeeRequired

         final Long totalFeeRequired()

        Returns the total fee required by this proposal for its transactions.