2.5.1 Single Wallet Description

### Communication Protocol Use HTTP POST for communication, (Content-Type = application/json) All requests share the same interface address. Please use the Action field to determine the request type. ### Encryption Rules Send data, for example: ```json { "Action":"Balance", "Sign":"1AB8768A97DEE85B942349282296A6CB", "Timestamp":"1585764202492", "UserName":"ceshi01_7f" } ``` 1. Parse the json, exclude the Sign field, and sort from small to large according to the ASCII order of Key, and then piece it together into the following content: `Action=Balance&Timestamp=1585764202492&UserName=ceshi01_7f` 2. Add the communication key after the string, as follows Action=Balance&Timestamp=1585764202492&UserName=ceshi01_7f**c438f3805d7f49b7b687d79dbfe96082** 3. MD5 encryption of the above string to get ciphertext (capital letter) **1AB8768A97DEE85B942349282296A6CB** 4. Compare with the content of the Sign field. If they are the same, then pass the check. ### Public field |Field name|Description| |-|-| |Action|Action name| |Sign|Signature verification| |Timestamp|Timestamp (milliseconds, timestamps must be executed , the time error value does not exceed 5 minutes is recommended.)|