I'm building an application whose architecture decouples transaction composition, signing, and publishing. These processes literally live in separate components that communicate with each other, but do not belong on the same application.
This means that after composing a transaction with:
const tx = api.tx.pallet.dispatchable(...args);
I don't want to use
signAndSend, but instead sign the raw encoded call, and once I have the signature, I need to publish it to a substrate node. The info I have at this point is
How can I publish a transaction with that information alone? Is there a way to reconstruct the
SubmittableExtrinsic object to use
.send()? Or is there a way to make a raw RPC call that achieves the same result?
My question is: what would the third parameter of