The DID data.
The unsigned extrinsic to sign.
The callback to sign the operation.
The KILT account to bind the DID operation to (to avoid MitM and replay attacks).
The signing options.
Optional
txThe optional DID nonce to include in the operation signatures. By default, it uses the next value of the nonce stored on chain.
Signs and returns the provided unsigned extrinsic with the right DID key, if present. Otherwise, it will throw an error.
Returns
The DID-signed submittable extrinsic.