POST
/
queryTradesInfo
curl --request POST \
  --url https://gateway.varchev.com/crypto/queryTradesInfo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "nonce": "-77456201",
  "txid": "ut do",
  "trades": false
}'
{
  "error": [],
  "result": {
    "THVRQM-33VKH-UCI7BS": {
      "ordertxid": "OQCLML-BW3P3-BUCMWZ",
      "postxid": "TKH2SE-M7IF5-CFI7LT",
      "pair": "XXBTZUSD",
      "time": 1616667796.8802,
      "type": "buy",
      "ordertype": "limit",
      "price": "30010.00000",
      "cost": "600.20000",
      "fee": "0.00000",
      "vol": "0.02000000",
      "margin": "0.00000",
      "misc": ""
    },
    "TTEUX3-HDAAA-RC2RUO": {
      "ordertxid": "OH76VO-UKWAD-PSBDX6",
      "postxid": "TKH2SE-M7IF5-CFI7LT",
      "pair": "XXBTZEUR",
      "time": 1614082549.3138,
      "type": "buy",
      "ordertype": "limit",
      "price": "1001.00000",
      "cost": "0.20020",
      "fee": "0.00000",
      "vol": "0.00020000",
      "margin": "0.00000",
      "misc": ""
    }
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Content-Type
string

Body

application/json

Response

200 - application/json

OK

The response is of type object.