IDIDManager.didManagerGetByAlias() method

Returns a specific identifier by alias

Signature:
didManagerGetByAlias(args: IDIDManagerGetByAliasArgs): Promise<IIdentifier>;

Parameters

ParameterTypeDescription
argsIDIDManagerGetByAliasArgsRequired. Arguments to get the identifier
Returns:

Promise<IIdentifier >

Example

const identifier = await agent.didManagerGetByAlias({
alias: 'alice',
provider: 'did:ethr:rinkeby',
})