pub fn event_administrator_changed_count(contract_id: ContractId) -> u64
Expand description

Retrieves the count of AdministratorChanged events.

§Parameters

  • contract_id: Id of the contract.

§Result

Count of AdministratorChanged events.

§Sample request

CONTRACT_ID=1_376_994_832_725_996_537_612_682_825_051_864_610_558_585_037_795

dfx canister call coreledger_backend event_administrator_changed_count "($CONTRACT_ID)"

§Sample response

(2 : nat64)