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