The DID or DID Document of the authorizing DID.
The unsigned extrinsic to sign.
An array of signer interfaces. The function will select the appropriate signer for signing this extrinsic.
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.
The DID-signed submittable extrinsic.
Signs and returns the provided unsigned extrinsic with the right DID verification method, if present. Otherwise, it will throw an error.