Skip to main content
POST
/
getTradeBalance
Get Trade Balance
curl --request POST \
  --url https://gateway.varchev.com/crypto/getTradeBalance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '
{
  "nonce": "-33240218",
  "asset": "ZUSD"
}
'
{
  "error": [],
  "result": {
    "eb": "1101.3425",
    "tb": "392.2264",
    "m": "7.0354",
    "n": "-10.0232",
    "c": "21.1063",
    "v": "31.1297",
    "e": "382.2032",
    "mf": "375.1678",
    "ml": "5432.57"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.varchev.com/llms.txt

Use this file to discover all available pages before exploring further.

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
nonce
string

(Required)

Example:

"-33240218"

asset
string

Base asset used to determine balance

Example:

"ZUSD"

Response

200 - application/json

OK

The response is of type object.