Skip to main content
GET
/
wallets
/
{id}
/
metrics
Get Wallet Account Metrics
curl --request GET \
  --url https://sandbox.api.btdx.io/wallets/{id}/metrics \
  --header 'authorization: <authorization>'
{
  "_meta": {
    "_count": 123,
    "_page": {
      "_pageNumber": 123,
      "_pageSize": 123,
      "_totalElements": 123,
      "_totalPages": 123
    }
  },
  "walletMetrics": {
    "open": {
      "total": 123,
      "count": 123
    },
    "matched": {
      "total": 123,
      "count": 123
    },
    "cancelled": {
      "total": 123,
      "count": 123
    },
    "settled": {
      "total": 123,
      "count": 123
    },
    "voided": {
      "total": 123,
      "count": 123
    }
  }
}

Headers

authorization
string
required

Header with the accessToken for the current session

Path Parameters

id
string
required

wallet id for which to fetch metrics

Query Parameters

currencyId
string
required

currency id for which to fetch metrics

fromDateTime
string<date-time>
required

starting from date

toDateTime
string<date-time>
required

starting to date

Response

OK

_meta
object
walletMetrics
object

collection of wallet metrics