POST
/
api
/
user
/
getUserAddress
curl --request POST \
  --url https://waas2-out-api.powersafe-rel.cc/api/v1/api/user/getUserAddress \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data 'data=U2FsdGVkX1+Jfz0VjXJbZ0tZz8G8v4w3Z2jWk3h6S7ADtX1i8PqNvJlU0a9T...'
{
"code": 0,
"message": "",
"data": "G+RlQN2lJ4qQtiXJC7Y6rgHm5UI7TqM1fhPQ8CEf2C4e3jHu4yoK6pUkGIv+6FNyYKqNrVnqj5RqLAH/mtvrhI6rf235aUvv0gK/rVrpCUKDN46F2PFJ/PAe7H32tzd0iJn4Dn/EKt4TRmqm3rgoFZSbkvEnuzVYS+6ikPDrkgMzgx6Xg7U+y4esvWqMsJzt7x/CllGdJj6Me386qXD1PD558HydR9TteDWl4FqfvACx/6T64BAy/F4f3HqSfoBt9NuUN3s0SdXFVZt2Lq8Nycem0lDWuvacqlOkCMgCcTvmDyDPDG3Kn8Mq1wtiCxikBOlwGoxMDN/yyN30N7EaBA=="
}

API Description

Obtain the user’s deposit address. If the user does not exist, the system will automatically register the user ID and return the wallet address. Generally, the same user will receive the same address when using different currencies (symbols) on the same chain. Therefore, when creating a unique index in the database, do not include the address to allow for the existence of the same address.

Headers

Content-Type
string
required

必须设置为 application/x-www-form-urlencoded

X-API-KEY
string
required

平台分配的商户身份凭证

Example:

"53af2797-3eca-4412-b0cc-15273afe2d3e"

Body

application/x-www-form-urlencoded

Response

200
application/json

成功响应

The response is of type object.

POST
/
api
/
user
/
getUserAddress
curl --request POST \
  --url https://waas2-out-api.powersafe-rel.cc/api/v1/api/user/getUserAddress \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data 'data=U2FsdGVkX1+Jfz0VjXJbZ0tZz8G8v4w3Z2jWk3h6S7ADtX1i8PqNvJlU0a9T...'
{
"code": 0,
"message": "",
"data": "G+RlQN2lJ4qQtiXJC7Y6rgHm5UI7TqM1fhPQ8CEf2C4e3jHu4yoK6pUkGIv+6FNyYKqNrVnqj5RqLAH/mtvrhI6rf235aUvv0gK/rVrpCUKDN46F2PFJ/PAe7H32tzd0iJn4Dn/EKt4TRmqm3rgoFZSbkvEnuzVYS+6ikPDrkgMzgx6Xg7U+y4esvWqMsJzt7x/CllGdJj6Me386qXD1PD558HydR9TteDWl4FqfvACx/6T64BAy/F4f3HqSfoBt9NuUN3s0SdXFVZt2Lq8Nycem0lDWuvacqlOkCMgCcTvmDyDPDG3Kn8Mq1wtiCxikBOlwGoxMDN/yyN30N7EaBA=="
}

API Description

Obtain the user’s deposit address. If the user does not exist, the system will automatically register the user ID and return the wallet address. Generally, the same user will receive the same address when using different currencies (symbols) on the same chain. Therefore, when creating a unique index in the database, do not include the address to allow for the existence of the same address.

Headers

Content-Type
string
required

必须设置为 application/x-www-form-urlencoded

X-API-KEY
string
required

平台分配的商户身份凭证

Example:

"53af2797-3eca-4412-b0cc-15273afe2d3e"

Body

application/x-www-form-urlencoded

Response

200
application/json

成功响应

The response is of type object.