setPrice
Sets the registration price for each second-level domain length (for Neo Committee only).
The committee multi-signature address is required to generate a new transaction.
Parameters
Name
Type
Description
Required
priceList
Long Array
The price list for each domain length
Required
[!Note]
The first value of the array stands for the default price.
The price should not be greater than 10000 GAS.
Example
In this example, the price for each domain length is set as follows:
1 or 2-length domains: unavailable
3-length domains: 200 GAS
4-length domains: 60 GAS
5+ length domains: 8 GAS
Therefore, the domain name "alice.neo" costs 8 GAS, "test.neo" costs 60 GAS, and "pay.neo" costs 200GAS.
Request body
Response body
Last updated