GET
/
api
/
ledger
/
{ledger}
/
stats
curl --request GET \
  --url http://localhost:55001/api/ledger/{ledger}/stats \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "accounts": 1,
    "transactions": 1
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

ledger
string
required

name of the ledger

Example:

"ledger001"

Response

200
application/json

OK

The response is of type object.