Interface Description:
  • Get Transaction Detail of Certain Order
Request URL:
Request Mode:
  • POST
Parameter Required Type Comment
apiKey true string User-applied apiKey
timeStamp true string Current timestamp
nonce true string Signature for requesting parameters
sign true string Request signature
entrustSheetId true int Order ID in the returned value
page true int Default 1 range:1-10
pageSize true int Default 50 range:1-50

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&timeStamp=1510235730&nonce=309127&entrustSheetId=1 and add application secretKey (only needs value, parameter and ‘&” is not required.)

For example:


Signature string after splicing:


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:
            "tradeId":"6534702673362395142",//Transaction ID
            "contractId":"101",//Contract ID
            "pair":"BTC_USD",//Contract Market
            "price":"8000.00",//Exec Price
            "tradeNum":"500",//Exec Quantity
            "time":1557994526,//Trade time
            "orderId":"732204",//order ID
            "orderPrice":"8000.00",//order price
            "tradeFee":"0.00001250",//Trading fee
            "isCross":"-1"//Cross Margin or not  1: Cross Margin,-1:Isolated Margin
    "microtime":"0.41892000 1533035297",

results matching ""

    No results matching ""