Last updated
Last updated
setDisplayName(name, callback)
name
: nick name
callback
(optional):
N/A
setAvatarUrl(url, callback)
url
: new profile image URL
callback
(optional):
N/A
getProfileInfo(userId,info,callback)
userId
: user id
info
(optional): information requested (e.g. 'displayname', 'avatar_url')
callback
(optional):
avatar_url: profile image
displayname: user nick name
wallet_address: user wallet address
getUidByAddress(addr)
addr
: user wallet address;
userId: string | null
JavaScript User APIs