Contract transaction

Contract fee inquiry

POST https://service.xxx.com/platformapi/chainup/open/futures/feeList

It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body

Headers

NameTypeDescription

Content-Type

String

application/json

Request Body

NameTypeDescription

app_id*

String

Merchant unique identifier appKey

sign*

String

Signature

data*

String

time*

String

{
  "code":"",
  "msg":"",
  "sign":"",
  "data":""
}

data:
{
    "count": "20",
    "list": [
        {
            "itemDate": 10008902123, // Date, in timestamp format accurate to seconds
            "uid": "20300021", // User ID
            "coin": "btc", // Coin symbol
            "tradeAmount": "2000", // Trade amount
            "feeAmount": "1" // Fee amount
        }
    ]
}

The following are the parameters involved in rsa encryption:

nametyperequiredexampleDescription

startDate

String

YES

200001

Start date, accurate to the day, timestamp accurate to the second

endDate

String

YES

xxxxx@.com

End date, accurate to the day, timestamp accurate to the second

page

String

NO

1

Page number, default 1

pageSize

String

NO

10

Items per page, default 100

Contract broker role inquiry

POST https://service.xxx.com/platformapi/chainup/open/futures/agentUser

It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body

Headers

NameTypeDescription

Content-Type

String

application/json

Request Body

NameTypeDescription

app_id*

String

Merchant unique identifier appKey

time*

String

data*

String

sign*

String

{
  "code":"",
  "msg":"",
  "data":"",
  "sign":""
}

data:
{
  "count": "sed in ipsum",
  "list": [
    {
      "itemDate": 42617625.97714323,//Date, in timestamp format accurate to seconds
      "uid": "voluptate minim Duis",// User ID
      "coin": "amet sunt est dolore aute",//Coin type
      "tradeAmount": "commodo Excepteur nisi",//Trade amount
      "feeAmount": "amet commodo in Duis nostrud"//手续费
    }
  ]
}

The following are the parameters involved in rsa encryption:

nametyperequiredexampleDescription

startDate

String

YES

200001

Start date, accurate to the day, timestamp accurate to the second

endDate

String

YES

xxxxx@.com

End date, accurate to the day, timestamp accurate to the second

page

String

NO

1

Page number, default 1

pageSize

String

NO

10

Items per page, default 100

Last updated