get_citizen_statistics

@mount("citizens.get_citizen_statistics") query get_citizen_statistics(account_id: byte_array): (total_proposals: big_integer, total_votes: big_integer)?

Retrieves statistics for a citizen based on the provided account ID. The query is used to retrieve and format statistical data for the specified citizen account.

Return

A mapped citizen statistics object if both the citizen and their statistics exist, or null if either is not found.

Parameters

account_id
  • The account ID used to identify the citizen.