Get balance

Get the balance for a sub-user

Get the balance of a sub-user

GET https://api.venly.market/users/{id}/balance

Path Parameters

NameTypeDescription

*

String

The id of the sub-user

{
  "success": true,
  "result": [
    {
      "currency": "USDC",
      "balance": 0,
      "lockedBalance": 0
    }
  ]
}

Example

URL

https://api.venly.market/users/8cf5f1a8-b3bb-4a81-9f1c-c1746d8eb59f/balance

Response

{
  "success": true,
  "result": [
    {
      "currency": "USDC",
      "balance": 10,
      "lockedBalance": 0
    }
  ]
}

Last updated