Fetch Identities on Network
Before you begin
Fetch the information of validated identities owned on a given network and their associated content.
Let's start ๐
To fetch identities, use https://custody.arianee.com/{{client}}/{{network}}/identity/getOwnedSmartAssetsIdentities
.
Example:
curl --request POST \
--url https://custody.arianee.com/client/mainnet/identity/getOwnedSmartAssetsIdentities \
--header 'accept: application/json; charset=utf-8' \
--header 'authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVC...'
Result:
httpCode | Description |
---|---|
200 | The identities and their content are returned. |
[
{
"data": {
"address": "0x57F5111A7e997a7Ba63CC8976C92decbd86C1B08",
"imprint": "0xdfee9c6b92e2cb9a5fc6b4b394f46926510fc66db9faa694c53c61d4307cf883",
"isApproved": true,
"isAuthentic": true,
"content": {
"$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
"name": "NMP Arianee",
"companyName": "Arianee",
"arianeeMembership": "associate_member",
"rpcEndpoint": "https://nmp.arianee.com/rpc"
},
"rawContent": {
"$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
"name": "NMP Arianee",
"companyName": "Arianee",
"arianeeMembership": "associate_member",
"rpcEndpoint": "https://nmp.arianee.com/rpc"
},
"protocol": {
"name": "testnet",
"chainId": 77
},
"ownedCount": 1
}
}
]
Updated 12 months ago