-
public final class ProposalUnsafeA transaction proposal created by the Rust backend in response to a Kotlin request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classProposalUnsafe.Companion
-
Constructor Summary
Constructors Constructor Description ProposalUnsafe(ProposalOuterClass.Proposal inner)
-
Method Summary
Modifier and Type Method Description final ByteArraytoByteArray()Serializes this proposal for passing back across the FFI. final IntegertransactionCount()Returns the number of transactions that this proposal will create. final LongtotalFeeRequired()Returns the total fee required by this proposal for its transactions. -
-
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 fromSynchronizer.createProposedTransactions.Proposals always create at least one transaction.
-
totalFeeRequired
final Long totalFeeRequired()
Returns the total fee required by this proposal for its transactions.
-
-
-
-