Skip to content

getKeyRelationshipForTx

getKeyRelationshipForTx(extrinsic): VerificationKeyRelationship | undefined

Detect the key relationship for a key which should be used to DID-authorize the provided extrinsic.

Parameters

extrinsic: Extrinsic

The unsigned extrinsic to inspect.

Returns

VerificationKeyRelationship | undefined

The key relationship.

Source

did/src/DidDetails/FullDidDetails.ts:74