contacts

Create a contact

Changed on
post/users/me/contacts

Request

Request body

namestring

Display name. Required unless encryptedPayload is present.

encryptedPayloadstring

The whole contact, sealed by the client. Opaque to the server, and mutually exclusive with name and addresses.

Example request

{
  "name": "Treasury",
  "addresses": {
    "evm": [
      "0x0000000000000000000000000000000000000000"
    ],
    "solana": [],
    "bitcoin": []
  }
}

Response

Contact created

idnumber required

Contact ID

nameobject nullable required

Display name. Null once the contact is sealed.

createdAtstring required

Creation timestamp (ISO-8601)

encryptedPayloadobject nullable required

The sealed contact, exactly as the client stored it

Example response

{
  "addresses": {
    "evm": [
      "0x0000000000000000000000000000000000000000"
    ],
    "solana": [],
    "bitcoin": []
  }
}

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response's property type changed from string to object for status

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      added the required property to the response with the status