Users
Last updated
Last updated
POST
https://www.phoenix.global/sdk/computation/user/genToken
Generate a new token.
Name | Type | Description |
---|---|---|
Good to know: The token is valid for 60 minutes. The token is invalid after expiration, so it needs to be regenerated.
The usage of curl and golang sdk is as follows:
GET
https://www.phoenix.global/sdk/computation/user/userInfo
Use the generated token to query wallet address, balance and other information of the user.
The usage of curl and golang sdk is as follows:
Name | Type | Description |
---|---|---|
email*
string
Registered email address of the user
passwd*
string
Password of the registered account
token*
string
The token generated in the previous step