SaveSingleTaskForAssociatingEns: submits a task for associating an Ethereum wallet address with a domain.

Description

You can call this operation to submit a task for associating an Ethereum wallet address with a domain. You can call the QueryTaskDetailList operation to query the task execution result.

Request parameters

Parameter Type Required Example Description
Address String Yes 0x1234567890123456789012345678901234567890 The Ethereum address.
DomainName String Yes test.com The domain name.
Action String No SaveSingleTaskForAssociatingEns The operation that you want to perform. Set the value to SaveSingleTaskForAssociatingEns.
Lang String No en The language of the returned error message. Valid values: zh (Chinese) and en (English). Default value: en
UserClientIp String No 127.0.0.1 The user client's IP address.

Response parameters

Parameter Type Example Description
RequestId String E2598CAF-DBFE-494E-95EF-B42A33C178AA The ID of the request.
TaskNo String e893148f-6343-4ae1-9eba-6e2a4116e142 The task number.

Error codes

The operation returns only common errors. For more information about errors common to all operations, see common errors.

Sample request

http(s)://[Endpoint]/? Action=SaveSingleTaskForAssociatingEns
&Address=0x1234567890123456789012345678901234567890
&DomainName=test.luxe
&<Common request parameters>

Sample response

  • XML format
    <SaveSingleTaskForAssociatingEnsResponse>
      <TaskNo>3cbc5b9f-080d-4b5f-a04b-29f54bffdeab</TaskNo>
      <RequestId>722D0361-93BD-4289-824F-D17B218D8BF4</RequestId>
    </SaveSingleTaskForAssociatingEnsResponse>
  • JSON format
    {
        "RequestId":"E2598CAF-DBFE-494E-95EF-B42A33C178AA",
        "TaskNo":"e893148f-6343-4ae1-9eba-6e2a4116e142"
    }