bind-account
POST
/wallet/eth/bind-to-accountBind you wallet address to your SSO account represented by your email.
- Require to verify the ownership of the user email: receive a verification code by using the api /wallet/eth/request-email-code
- The user will have to sign the message returned by /wallet/eth/challenge/bind-account with his web3 wallet in order to prove ownership
Request
Body Params application/json
email
string
required
verificationCode
integer
required
walletAddress
string
user web3 wallet address
signature
string
signed message
Example
{
"email": "kevin@rct.ai",
"verificationCode": "123456",
"walletAddress": "0xcb05C03A2063f331EB1520a65Cb99172E67B999a",
"signature": "ewaekgcqwle;DSKCBWALEADSCVWKEAJDSGCV"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
Not configured
Last modified: 2 年前