v1

latestOpenAPI 3.0.0raw.githubusercontent.com2026-04-102137.0 KB
domains

Request on-chain purchase parameters

Request on-chain purchase parameters. There parameters contain all necessary data to make a purchase on-chain. It includes tx parameters with signatue. Parameters are valid for 4 hours.

post/domains/{domainName}/parameters/purchase

Path parameters

domainNamestring required
Example:beresnev.crypto

Request body

recordsDomainRecords required

Domain crypto records

currency'MATIC' required

Purchase cryptocurrency

Example request

{
  "owner": {
    "address": "0x1234567890123456789012345678901234567890"
  },
  "records": {
    "crypto.ETH.address": "0x6EC0DEeD30605Bcd19342f3c30201DB263291589",
    "crypto.BTC.address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
  },
  "currency": "MATIC"
}

Response

Valid

domainstring

Domain name

Example response

{
  "availability": {
    "status": "AVAILABLE"
  }
}