IDIDManager.didManagerGetByAlias() method
Returns a specific identifier by alias
Signature:
didManagerGetByAlias(args: IDIDManagerGetByAliasArgs): Promise<IIdentifier>;
Parameters
Parameter | Type | Description |
---|---|---|
args | IDIDManagerGetByAliasArgs | Required. Arguments to get the identifier |
Returns:
Promise<IIdentifier>
Example
const identifier = await agent.didManagerGetByAlias({
alias: 'charlie',
provider: 'did:ethr:goerli',
})