Name | Type | Description |
---|---|---|
domainName | string | The domain name that you want to purchase. |
years | number (Optional) | The number of years you want to register the domain for. Default is 1. |
useWallet | boolean | Set to true if you want to use wallet balance for the purchase. |
{
"domainName": "example.com",
"years": 1,
"useWallet": true
}