pub fn event_account_update_get(event_ix: u64) -> Option<AccountUpdate>
Expand description

Retrieves the AccountUpdate event.

§Parameters

  • event_ix: Canister-scoped event index.

§Result

AccountUpdate data, null if not exist.

§Sample request

EVENT_IX=23

dfx canister call coreledger_backend event_account_update_get "($EVENT_IX)"

§Sample response

( opt record {
  account_id = 103_519_800_807_175_032_716_591_528_572_968_691_787_708_233_486_304_528_146_031_558_486_991_492_388_405_314_731_732_668_113_944_577 : nat;
  previous_amount = 0 : nat;
  current_amount = 600 : nat;
})