Generating transaction via ApiPromise
through api.tx.xxx
method generated a SubmittableExtrinsicFunction
object. Which has a toJSON()
function that return what I would call a raw transaction.
Is there any way I can recreate a SubmittableExtrinsicFunction
from the raw transaction?
Also if you sign the SubmittableExtrinsicFunction
you get a Submittable
object. Which again has a toJSON()
function the question again is how to go from json result back to Submittable
object.