cURL
curl --request GET \ --url http://localhost/api/ledger/v2/{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
Show child attributes
x >= 0