In Rust the access path for the sent event is generated like this:
let mut path = AccessPath::resource_access_vec(
let access_path = AccessPath::new(account, path.to_vec());
Similarly for the received event. But change
This is extrapolated from how
ACCOUNT_SENT_EVENT_PATH are defined in the Libra source code.
And if you print these access paths you get
Received Events Access Path:
Sent Events Access Path:
Where address is the address you want access those event for.
However, as explained above this doesn’t seem to be an actual access path but rather just a way to tell the validator to get the sent events which it happens to keep track of. However, this is not the case in general. In general events are just stored with the transcations and are not fetchable this way. Someone working on Libra might be able to clarify if I am wrong though.