Skip to main content

resolveKaid

resolveKaid(identifier): Promise<Kaid>

Resolve a KAID from a username or email address

Parameters

identifier: string

A KAID, username, or email address

Returns

Promise<Kaid>

Example

const kaid = await resolveKaid('bhavjitChauhan')
console.log(kaid) // kaid_376749826184384230772276

Source

src/utils/resolvers.ts:39