pub fn event_administrator_changed_get(
contract_id: ContractId,
event_ix: u64
) -> Option<AdministratorChanged>
Expand description
Retrieves the AdministratorChanged
event.
§Parameters
contract_id
: Id of the contract.event_ix
: Contract-scoped index of an event.
§Result
AdministratorChanged
data, null
if not found.
§Sample request
CONTRACT_ID=1_376_994_832_725_996_537_612_682_825_051_864_610_558_585_037_795
EVENT_IX=23
dfx canister call coreledger_backend event_administrator_changed_get "($CONTRACT_ID, $EVENT_IX)"
§Sample response
( opt record {
is_admin_status = true;
affected_address = principal "dimdt-vwpm3-tkwgu-c2nkv-txykr-atn2x-xras5-6xidt-wtti3-i4xr6-vqe";
})