v2

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-12308185.7 KB
external_domains

Update a self-custody domain (overwriting update)

Perform Self-Custody Domain updates while doing full resets of the records. Usage is the same as the custody variant.

put/external/domains/{name}

Path parameters

namestring required
Example:matt.crypto

Request body

recordsUpdateDomainRecords

Example request

{
  "owner": {
    "address": "0xb4783AeF93923a2d4eEA29C84f347F26E62e4321"
  },
  "records": {
    "crypto.ETH.address": "0xb4783AeF93923a2d4eEA29C84f347F26E62e4321",
    "crypto.MATIC.version.MATIC.address": "0xb4783AeF93923a2d4eEA29C84f347F26E62e5678",
    "crypto.MATIC.version.ERC20.address": "0xb4783AeF93923a2d4eEA29C84f347F26E62e0921"
  }
}

Response

@type'unstoppabledomains.com/partner.v3.DomainOperationResult' required

Example response

{
  "operation": {
    "id": "op-4abb409c-9283-4589-bd36-d27a757a2165",
    "domain": "matt.crypto",
    "lastUpdatedTimestamp": 1684356429790,
    "dependencies": [
      {
        "id": "bc-2db427bd-5613-40c7-85b1-ab38beed0ed0",
        "parameters": {
          "initialRecords": {
            "crypto.ETH.address": "0xb4783AeF93923a2d4eEA29C84f347F26E62e4321",
            "crypto.MATIC.version.MATIC.address": "0xb4783AeF93923a2d4eEA29C84f347F26E62e5678",
            "crypto.MATIC.version.ERC20.address": "0xb4783AeF93923a2d4eEA29C84f347F26E62e0921"
          },
          "toAddress": "0xb4783AeF93923a2d4eEA29C84f347F26E62e4321"
        }
      }
    ]
  }
}