Function coreledger_backend::event_limit_consumed_get
pub fn event_limit_consumed_get(
contract_id: ContractId,
event_ix: u64
) -> Option<LimitConsumed>Expand description
Retrieves the LimitConsumed event.
§Parameters
contract_id: Id of the controller contract.event_ix: Contract-scoped index of an event.
§Result
LimitConsumed 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_limit_consumed_get "($CONTRACT_ID, $EVENT_IX)"
§Sample response
(null)