public final class BroadcastTransaction
extends java.lang.Object
CreateTransaction
without providing the secret phrase.
The client then signs and submits the signed transaction using BroadcastTransaction
The default wallet implements this procedure in nrs.server.js which you can use as reference.
BroadcastTransaction
accepts the following parameters:
transactionJSON - JSON representation of the signed transaction
transactionBytes - row bytes composing the signed transaction bytes excluding the prunable appendages
prunableAttachmentJSON - JSON representation of the prunable appendages
Clients can submit either the signed transactionJSON or the signed transactionBytes but not both.
In case the client submits transactionBytes for a transaction containing prunable appendages, the client also needs
to submit the prunableAttachmentJSON parameter which includes the attachment JSON for the prunable appendages.
Prunable appendages are classes implementing the Appendix.Prunable
interface.