Brand Identity
Methods related to the identity management.
Read Identity
Get information related to a registered identity on Arianee's network.
Method
ArianeeWallets.methods.getIdentity(address)
Parameter | Type | Mandatory | Description |
---|---|---|---|
address | String | ✅ | Identity address. |
Output
promise
returns object
: An Arianee Identity object.
Example
// Read identity information
wallet.methods.getIdentity('0x5f89d20c4a88FC2479b08522d5adD0b605001E3e').then((data) => {
console.log(data);
})
> { data:
{ '$schema':
'https://cert.arianee.org/version1/ArianeeBrandIdentity-i18n.json',
name: 'Arianee Live Demo',
companyName: 'Arianee Live Demo',
arianeeMembership: 'not_member',
pictures: [ [Object] ],
rpcEndpoint: 'https://bdhalex-826d5.firebaseapp.com/rpc' },
isAuthentic: true,
isApproved: true,
address: '0x5f89d20c4a88FC2479b08522d5adD0b605001E3e' }
Read Identity using short code
Get information related to a registered identity on Arianee's network based on shortcode.
ArianeeWallets.methods.getIdentitByShortcode(shortcode)
Parameter | Type | Mandatory | Description |
---|---|---|---|
shortcode | String | ✅ | Identity address shortcode. |
Output
promise
returns object
: an Arianee Identity object.
Example
// Read identity information
wallet.methods.getIdentitByShortcode('0xb908B6').then((data) => {
console.log(data);
})
> { data:
{ '$schema':
'https://cert.arianee.org/version1/ArianeeBrandIdentity-i18n.json',
name: 'Arianee Live Demo',
companyName: 'Arianee Live Demo',
arianeeMembership: 'not_member',
pictures: [ [Object] ],
rpcEndpoint: 'https://bdhalex-826d5.firebaseapp.com/rpc' },
isAuthentic: true,
isApproved: true,
address: '0x5f89d20c4a88FC2479b08522d5adD0b605001E3e' }
Updated over 1 year ago