pub fn event_blacklist_changed_get(
contract_id: ContractId,
event_ix: u64
) -> Option<BlacklistChanged>
Expand description
Retrieves the BlacklistChanged
event.
§Parameters
contract_id
: Id of the controller contract.event_ix
: Contract-scoped index of an event.
§Result
BlacklistChanged
data, null
if not exist.
§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_blacklist_changed_get "($CONTRACT_ID, $EVENT_IX)"
§Sample response
( opt record {
id = 309_349_945_966_973_558_265_014_088_945_361_536_971_568_750_417 : nat;
code = 1 : nat8;
affected_address = principal "eb3f4-itju3-j3o7u-tuhrd-vkhzd-6pu4m-6bfu3-kh6qf-zi6dp-h7fzu-hae";
})