v1

latestOpenAPI 3.1.02026-07-2685154311.7 KB
Relationships

List relationships for an entity

Retrieves all relationships associated with the specified entity, including ownership proofs for each relationship. Supports optional filtering by 'from', 'to', 'custodian', and 'asset'.

get/entities/{entityDID}/relationships

Path parameters

entityDIDstring did required

Decentralized Identifier (DID)

Example:did:web:vasps.id:jxnl0411:at

The DID of the entity

Query parameters

fromstring
tostring
custodianstring
Example:did:web:example.com
assetAssetIdentifier[]

Filter transfers by asset identifier

[
  "bip122:000000000019d6689c085ae165831e93/slip44:0"
]

Response

List of relationships retrieved successfully

Example response

{
  "relationships": [
    {
      "custodian": "did:web:example.com",
      "proofs": [
        {
          "attestation": "I certify that\n\neip155:1 account 0x2D436435576848B3a22748F5eE642c80A6368065\n\nbelonged to did:ethr:0x348bdb4fe9bdb4ef09a4b9955ae4d236f7c304e5\n\non Tue, 10 Dec 2024 12:37:28 GMT",
          "address": "eip155:1:0x2D436435576848B3a22748F5eE642c80A6368065",
          "status": "verified"
        }
      ]
    }
  ]
}
All 85 operations