Interface Description:
  • to get deposit address
request URL:
  • https://apiv2.bitz.com/Trade/getCoinAddress
Request Mode:
  • POST
Parameters:
Parameter Required Type Description
apiKey true string the apiKey requested by the user
timeStamp true string current time mark
nonce true string random 6 characters
sign true string signature for the requested parameter
coin true string coin name
type optional string type, usdt required,accepted value: erc20,omni
How to sign for required parameter:**

All parameters submitted by users except sign require signature.

First, sort signature strings in alphabetical order based on parameters (compare the first letter of all parameter, if they differ, then the string whose first letter comes earlier in the alphabet comes before the other string. If the first letters are the same, then the second letters are compared, and so on).

For example:Sign for the following parameter**

apiKey=376892265asdad5d12726d8bbfbd8912b3&coin=btc&timeStamp=1510235730&nonce= 309127and add application secretKey (only needs value, parameter and ‘&” is not required.)

Example:secretKey=aQmE8U7bxj16KdJcSd3yX8F8Sakd8aO6LopnHXh27d4kWyb28PxcaTvGrajLDvAw

Signature string after splicing: apiKey=376892265asdad5d12726d8bbfbd8912b3&coin=btc&timeStamp=1510235730&nonce=309127aQmE8U7bxj16KdJcSd3yX8F8Sakd8aO6LopnHXh27d4kWyb28PxcaTvGrajLDvAw

Note,"sign" is a required parameter.

Last,use md5 32bit algorithm to apply signature algorithm to the parameter, and then generate final signature string (the string assigns value to parameter ‘sign’).

Example of Return Result:
{
    "status":200,
    "msg":"",
    "data":{
        "wallet":{
            "id":"196979",
            "uid":"2073056",
            "email":"*****@email.com",
            "name":"btc",
            "wallet":"1AG1gZvQAYu3WBvgg7p4BMMghQD2gE693k",
            "coin":"btc",
            "status":"0",
            "created":"1552639225",
            "createip":"114.242.218.134",
            "bak":"",
            "checking":"1"
        }
    },
    "time":1552639231,
    "microtime":"0.33773000 1552639231",
    "source":"api"
}

results matching ""

    No results matching ""