The Registry API v1 allows to purchase domains on-chain. No authorization required.
{- "domain": "string",
- "availability": {
- "status": "AVAILABLE",
- "price": {
- "listPrice": {
- "usdCents": 0
}, - "subTotal": {
- "usdCents": 0
}
}
}
}
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.
Valid
Bad Request
{- "owner": {
- "address": "0x1234567890123456789012345678901234567890"
}, - "records": {
- "crypto.ETH.address": "0x6EC0DEeD30605Bcd19342f3c30201DB263291589",
- "crypto.BTC.address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
}, - "currency": "MATIC"
}
{- "domain": "string",
- "availability": {
- "status": "AVAILABLE",
- "price": {
- "listPrice": {
- "usdCents": 0
}, - "subTotal": {
- "usdCents": 0
}
}
}, - "tx": {
- "chainId": 0,
- "function": "string",
- "arguments": {
- "owner": "string",
- "expiration": 0,
- "labels": [
- "string"
], - "keys": [
- "string"
], - "values": [
- "string"
], - "price": "string",
- "signature": "string"
}, - "params": {
- "to": "string",
- "data": "string",
- "value": "string"
}
}
}