POST
/
queryLedgers
curl --request POST \
  --url https://gateway.varchev.com/crypto/queryLedgers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "nonce": "-96416318",
  "id": "in non Lorem pariatur",
  "trades": false
}'
{
  "error": [],
  "result": {
    "L4UESK-KG3EQ-UFO4T5": {
      "refid": "TJKLXF-PGMUI-4NTLXU",
      "time": 1610464484.1787,
      "type": "trade",
      "subtype": "",
      "aclass": "currency",
      "asset": "ZGBP",
      "amount": "-24.5000",
      "fee": "0.0490",
      "balance": "459567.9171"
    }
  }
}

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.