Signing and broadcasting
To convert a Demoswork object to a transaction, use theprepareDemosWorkPayload function.
Broadcasting the transaction
You can broadcast the transaction using theconfirm and broadcast methods of the demos object.
broadcastAndWait instead — it broadcasts and then polls until the transaction reaches a terminal included or failed state.