API Reference

Global convention

Except for the logout api, all other apis need to be finally assembled into two fields:

  • data <json string> request json string

  • sig <json string> signature of data, generated by user's access_key

At the same time, the request header needs to carry two keys:

  • user_id <string> user id

  • access_key_pub <string> public key of access key

  • application_id <string> application

  • application_sig <string> use app key to sign the request, get the signature

All response will follow below struct:

  • code <int> response status code, 0 means success, otherwise means error

  • message <string> response message, human readable message, for example, if code is 0, the message will be "success"

  • data <json array/json object> response data, all data will be included in this field.

Apis

UserAuthWalletSign

Last updated