UNPKG

blockstack

Version:

The Blockstack Javascript library for authentication, identity, and storage.

11 lines (10 loc) 465 B
/** * Look up a user profile by blockstack ID * * @param {string} username - The Blockstack ID of the profile to look up * @param {string} [zoneFileLookupURL=null] - The URL * to use for zonefile lookup. If falsey, lookupProfile will use the * blockstack.js [[getNameInfo]] function. * @returns {Promise} that resolves to a profile object */ export declare function lookupProfile(username: string, zoneFileLookupURL?: string): Promise<Record<string, any>>;