cURL
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": "" } } }
Retrieve information about specific trades/fills.
The access token received from the authorization server in the OAuth 2.0 flow.
Tenant/Owner id
(Required)
"-77456201"
Comma delimited list of transaction IDs to query info about (20 maximum)
"ut do"
Whether or not to include trades related to position in output
false
OK
The response is of type object.
object