Account Profiles
Open any profile
const did = 'did:vda:polyamoy:0x6B2a1bE81ee770cbB4648801e343E135e8D2Aa6F';
const profileConnection = await client.openPublicProfile(did, 'Verida: Vault', 'basicProfile');
const publicProfile = await profileConnection.getMany()
console.log('Account name', publicProfile.name)
console.log('Account country', publicProfile.country)
// Example showing how to inject the avatar into a <img id="avatar-img"> tag
const elm = document.getElementById("#avatar-img")
elm.src = publicProfile.avatar.uriOpen and modify the current user's profile
Advanced
Open an external profile without authentication

Last updated
Was this helpful?