You can call this operation to submit a task for associating an Ethereum name service (ENS) address with a domain name.

You can call the QueryTaskDetailList operation to query the execution result.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SaveSingleTaskForAssociatingEns

The operation that you want to perform. Set the value to SaveSingleTaskForAssociatingEns.

Address String Yes 0x1234567890123456789012345678901234567890

The ENS address to be associated.

DomainName String Yes

The domain name to be associated.

Lang String No en

The language of the error message to return. Valid values:

  • zh: Chinese
  • en: English

Default value:en

UserClientIp String No

The IP address of the client used by the user to submit the task.

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 ID of the task.


Sample requests

http(s)://[Endpoint]/? Action=SaveSingleTaskForAssociatingEns
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.