pub fn event_ownership_transferred_count(contract_id: ContractId) -> u64
Expand description
Retrieves the count of OwnershipTransferred
events.
§Parameters
contract_id
: Id of the contract.
§Result
Count of OwnershipTransferred
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_ownership_transferred_count "($CONTRACT_ID)"
§Sample response
(3 : nat64)