-
public final class ProposalA transaction proposal created by the Rust backend in response to a Kotlin request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classProposal.Companion
-
Constructor Summary
Constructors Constructor Description Proposal(ProposalUnsafe inner)
-
Method Summary
Modifier and Type Method Description final ProposalUnsafetoUnsafe()Exposes the type-unsafe proposal variant for passing across the FFI. final ByteArraytoByteArray()Serializes this proposal type-safe data to ByteArray for storing purposes. final IntegertransactionCount()Returns the number of transactions that this proposal will create. final ZatoshitotalFeeRequired()Returns the total fee required by this proposal for its transactions. final StringtoPrettyString()-
-
Method Detail
-
toUnsafe
final ProposalUnsafe toUnsafe()
Exposes the type-unsafe proposal variant for passing across the FFI.
-
toByteArray
final ByteArray toByteArray()
Serializes this proposal type-safe data to ByteArray for storing purposes.
-
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 Zatoshi totalFeeRequired()
Returns the total fee required by this proposal for its transactions.
-
toPrettyString
final String toPrettyString()
-
-
-
-