cURL
curl --request GET \ --url http://localhost:55001/api/ledger/{ledger}/stats \ --header 'Authorization: Bearer <token>'
{ "data": { "accounts": 1, "transactions": 1 } }
Get statistics from a ledger. (aggregate metrics on accounts and transactions)
The access token received from the authorization server in the OAuth 2.0 flow.
name of the ledger
"ledger001"
OK
The response is of type object.
object