Last updated
Last updated
Input Parameters:
Output Parameters:
MXDIDListResponse
If the returned array is empty, log in using the wallet address; otherwise, use the first element of the array as the 'did' parameter.
Input Parameters:
Output Parameters:
Input Parameters: parameter
IdentifierModel
Type:
Output Parameters:
MXDIDLoginResponse
The login process and APIs described below are deprecated. Please avoid using them.
Get DID list. If the list is empty, register a decentralized identity. Otherwise, call pre_login
in step 4 to log in to an existing DID.
Create a DID document with the current wallet address by calling the DIDCreate
method.
Sign the message returned in step 2 and call the DIDSave
method.
Call pre_login
to get the message to be signed.
Sign the message returned in step 4 and use the signature to log in to DID with postLoginDID
method.
Parameters:
Returns:
Parameters:
Returns:
controllers
and public_keys
type:
Parameters:
Returns:
Parameters:
Parameters:
Message Prefix
Parameters:
POST Body
Returns:
Parameters:
Returns:
Parameters:
identifier type:
Returns: