🤝Contacts
Rather than manipulating directly the contacts in the user profile, we recommend using the functions from our SDK.
Contacts interface
Getting user contacts
Parameters description
Parameter | Description | Optional |
---|---|---|
address | Wallet address associated with the user | Yes Default: Own address |
Upserting a user contact
Parameters description
Parameter | Description | Optional |
---|---|---|
contact | Contact information. Passing an existing target will update the contact, while passing a new one will create a new contact | No |
Deleting a user contact
Parameters description
Parameter | Description | Optional |
---|---|---|
address | Address of the contact to be deleted | No |
To notify users when their friendship status with other users is updated, remember to make use of Protico's API after successfully saving the changes on Ceramic.
Last updated